hit-lacus commented on a change in pull request #1779:
URL: https://github.com/apache/kylin/pull/1779#discussion_r776196021



##########
File path: 
source-hive/src/main/java/org/apache/kylin/source/hive/MRHiveDictUtil.java
##########
@@ -114,33 +122,39 @@ public static String generateDropTableStatement(String 
tableName) {
     }
 
     public static String 
generateDistinctValueTableStatement(IJoinedFlatTableDesc flatDesc) {
-        StringBuilder ddl = new StringBuilder();
-        String table = flatDesc.getTableName()
-                + 
flatDesc.getSegment().getConfig().getMrHiveDistinctValueTableSuffix();
+        KylinConfig config = flatDesc.getSegment().getConfig();
+        String table = config.getMrHiveDistinctValueTableSuffix();

Review comment:
       `table` should be `flatDesc.getTableName() + 
config().getMrHiveDistinctValueTableSuffix()`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to