shaofengshi commented on a change in pull request #408: KYLIN-3655 reinitialize
CubeInstance when clear segments
URL: https://github.com/apache/kylin/pull/408#discussion_r243721913
##########
File path: core-cube/src/main/java/org/apache/kylin/cube/CubeManager.java
##########
@@ -394,6 +411,14 @@ private void setCubeMember(CubeInstance cube, CubeUpdate
update) {
cube.putSnapshotResPath(lookupSnapshotPathEntry.getKey(),
lookupSnapshotPathEntry.getValue());
}
}
+
+ if (update.getCreateTimeUTC() >= 0) {
+ cube.setCreateTimeUTC(update.getCreateTimeUTC());
Review comment:
Same as above, why to reset the "createTimeUTC" on an update, that is a
little strange.
----------------------------------------------------------------
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