[ https://issues.apache.org/jira/browse/KYLIN-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15124832#comment-15124832 ]
Hao Chen commented on KYLIN-1366: --------------------------------- [~mahongbin] Please help review the patch. It mainly includes an attribute named "model_version" in RootPersistentEntity and the value will come from org.apache.kylin.common.KylinVersion.CURRENT_KYLIN_VERSION by default and will be filled by calling RootPersistentEntity.updateVersionAndRandomUuid while creating new persistence entities. Sample metadata: {code} { uuid: "dcea60b8-caf9-45d8-98af-909f0c3d842d", name: "tutorial", tables: [ "EDW.TEST_CAL_DT", "EDW.TEST_SELLER_TYPE_DIM", "EDW.TEST_SITES" ], owner: "ADMIN", status: "ENABLED", description: "The tutorial cube project.", models: [ ], last_modified: 1454086485867, model_version: "2.1", create_time_utc: 1454086358800, last_update_time: null, realizations: [ ] } {code} > Bind metadata version with release version > ------------------------------------------ > > Key: KYLIN-1366 > URL: https://issues.apache.org/jira/browse/KYLIN-1366 > Project: Kylin > Issue Type: Improvement > Components: Metadata > Affects Versions: all > Reporter: hongbin ma > Assignee: Hao Chen > Labels: newbie > Fix For: v2.1 > > Attachments: KYLIN-1366.2.x-staging.patch > > > Currently metadata does not have special property to identify its version, > even though we already versions of metadata in 1.x, 2.0 and 2.x. If each file > in the metadata is bound with version it will be easier for upgrading related > issues. -- This message was sent by Atlassian JIRA (v6.3.4#6332)