You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by xx...@apache.org on 2021/12/29 08:35:58 UTC

[kylin] branch kylin3 updated: KYLIN-5097 Fix bug

This is an automated email from the ASF dual-hosted git repository.

xxyu pushed a commit to branch kylin3
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/kylin3 by this push:
     new c5672e9  KYLIN-5097 Fix bug
c5672e9 is described below

commit c5672e9ad1a2639b774cc246a2662636c5f04bbd
Author: yaqian.zhang <59...@qq.com>
AuthorDate: Wed Dec 29 16:06:09 2021 +0800

    KYLIN-5097 Fix bug
---
 .../src/main/java/org/apache/kylin/source/hive/MRHiveDictUtil.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source-hive/src/main/java/org/apache/kylin/source/hive/MRHiveDictUtil.java b/source-hive/src/main/java/org/apache/kylin/source/hive/MRHiveDictUtil.java
index 62bf03d..236910d 100644
--- a/source-hive/src/main/java/org/apache/kylin/source/hive/MRHiveDictUtil.java
+++ b/source-hive/src/main/java/org/apache/kylin/source/hive/MRHiveDictUtil.java
@@ -123,7 +123,7 @@ public class MRHiveDictUtil {
 
     public static String generateDistinctValueTableStatement(IJoinedFlatTableDesc flatDesc) {
         KylinConfig config = flatDesc.getSegment().getConfig();
-        String table = config.getMrHiveDistinctValueTableSuffix();
+        String table = flatDesc.getTableName() + config.getMrHiveDistinctValueTableSuffix();
         String tableFormat = config.getMrHiveDictTableFormat();
 
         StringBuilder ddl = new StringBuilder();