shaofengshi 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_r220773205
##########
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:
Seems its code format is invalid; Please check
https://kylin.apache.org/development/dev_env.html to enable code formatter.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services