hit-lacus commented on a change in pull request #246: KYLIN-3574 Close 
underlying resource of lookup table
URL: https://github.com/apache/kylin/pull/246#discussion_r220773778
 
 

 ##########
 File path: 
core-cube/src/main/java/org/apache/kylin/cube/cli/DictionaryGeneratorCLI.java
 ##########
 @@ -98,7 +100,10 @@ private static void processSegment(KylinConfig config, 
CubeSegment cubeSeg, Stri
             logger.info("Checking snapshot of " + lookup);
             try {
                 JoinDesc join = 
cubeSeg.getModel().getJoinsTree().getJoinByPKSide(lookup);
-                cubeMgr.getLookupTable(cubeSeg, join);
+                ILookupTable table = cubeMgr.getLookupTable(cubeSeg, join);
+                if(table != null){
 
 Review comment:
   Sorry, I will fix it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to