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

[kylin] 01/03: KYLIN-5097 Fix bug

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

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

commit 33117f0e0e729af9981ee2d743f478b72146d963
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();