nichunen commented on a change in pull request #629: KYLIN-3983 Add extra 
metadata for measure. Add test case and example/…
URL: https://github.com/apache/kylin/pull/629#discussion_r282483148
 
 

 ##########
 File path: core-cube/src/main/java/org/apache/kylin/cube/CubeManager.java
 ##########
 @@ -238,7 +239,7 @@ public CubeInstance createCube(String cubeName, String 
projectName, CubeDesc des
 
             
ProjectManager.getInstance(config).moveRealizationToProject(RealizationType.CUBE,
 cubeName, projectName,
                     owner);
-
+            getMeasureManager().createMeasuresOnCube(cube);
 
 Review comment:
   why not put the logic of update measure in updateSegmentsOnCube()

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to