Repository: kylin
Updated Branches:
  refs/heads/2.0-rc 5516466b3 -> ac2ae13ff


KYLIN-1277 Uptake new attribute on cube_desc for upgrade tool


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/ac2ae13f
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/ac2ae13f
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/ac2ae13f

Branch: refs/heads/2.0-rc
Commit: ac2ae13ff6ac540b69118b7d62f6700445b35b31
Parents: 5516466
Author: lidongsjtu <don...@ebay.com>
Authored: Wed Jan 6 11:37:00 2016 +0800
Committer: lidongsjtu <don...@ebay.com>
Committed: Wed Jan 6 11:38:05 2016 +0800

----------------------------------------------------------------------
 core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/ac2ae13f/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
----------------------------------------------------------------------
diff --git a/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java 
b/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
index 3c2527a..abcd6ef 100644
--- a/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
+++ b/core-cube/src/main/java/org/apache/kylin/cube/model/CubeDesc.java
@@ -870,6 +870,8 @@ public class CubeDesc extends RootPersistentEntity {
         newCubeDesc.setNotifyList(cubeDesc.getNotifyList());
         newCubeDesc.setStatusNeedNotify(cubeDesc.getStatusNeedNotify());
         newCubeDesc.setAutoMergeTimeRanges(cubeDesc.getAutoMergeTimeRanges());
+        newCubeDesc.setPartitionDateStart(cubeDesc.getPartitionDateStart());
+        newCubeDesc.setPartitionDateEnd(cubeDesc.getPartitionDateEnd());
         newCubeDesc.setRetentionRange(cubeDesc.getRetentionRange());
         newCubeDesc.setEngineType(cubeDesc.getEngineType());
         newCubeDesc.setStorageType(cubeDesc.getStorageType());

Reply via email to