nichunen commented on a change in pull request #568: KYLIN-3841 Build Global 
Dict by Hive
URL: https://github.com/apache/kylin/pull/568#discussion_r272076371
 
 

 ##########
 File path: core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
 ##########
 @@ -1339,6 +1341,25 @@ public void setParentForward(int parentForward) {
             }
         }
 
+        //mr - hive global dict
+        if 
(overrideKylinProps.containsKey("kylin.dictionary.mr-hive.columns")) {
+            String mrHiveDictColumns = 
overrideKylinProps.get("kylin.dictionary.mr-hive.columns");
+            if (Objects.nonNull(mrHiveDictColumns) && 
StringUtils.isNotEmpty(mrHiveDictColumns)) {
 
 Review comment:
   StringUtils.isNotEmpty will also do null check

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to