Repository: kylin Updated Branches: refs/heads/master 7043f144b -> 90a234e3d
KYLIN-1838 Fix sample cube definition Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/90a234e3 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/90a234e3 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/90a234e3 Branch: refs/heads/master Commit: 90a234e3d893edd1993aeb2ff89c346a41fd41e7 Parents: 7043f14 Author: shaofengshi <[email protected]> Authored: Wed Jun 29 11:31:50 2016 +0800 Committer: shaofengshi <[email protected]> Committed: Wed Jun 29 11:31:50 2016 +0800 ---------------------------------------------------------------------- .../metadata/cube_desc/kylin_sales_cube_desc.json | 1 - .../metadata/model_desc/kylin_sales_model.json | 12 +++++------- 2 files changed, 5 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/90a234e3/examples/sample_cube/metadata/cube_desc/kylin_sales_cube_desc.json ---------------------------------------------------------------------- diff --git a/examples/sample_cube/metadata/cube_desc/kylin_sales_cube_desc.json b/examples/sample_cube/metadata/cube_desc/kylin_sales_cube_desc.json index 32b284a..b4aa205 100644 --- a/examples/sample_cube/metadata/cube_desc/kylin_sales_cube_desc.json +++ b/examples/sample_cube/metadata/cube_desc/kylin_sales_cube_desc.json @@ -1,6 +1,5 @@ { "uuid" : "0ef9b7a8-3929-4dff-b59d-2100aadc8dbf", - "name" : "kylin_sales_cube_desc", "description" : null, "dimensions" : [ { http://git-wip-us.apache.org/repos/asf/kylin/blob/90a234e3/examples/sample_cube/metadata/model_desc/kylin_sales_model.json ---------------------------------------------------------------------- diff --git a/examples/sample_cube/metadata/model_desc/kylin_sales_model.json b/examples/sample_cube/metadata/model_desc/kylin_sales_model.json index d4ca30a..7ae47c1 100644 --- a/examples/sample_cube/metadata/model_desc/kylin_sales_model.json +++ b/examples/sample_cube/metadata/model_desc/kylin_sales_model.json @@ -1,6 +1,5 @@ { "uuid" : "0928468a-9fab-4185-9a14-6f2e7c74823f", - "name" : "kylin_sales_model", "lookups" : [ { "table" : "DEFAULT.KYLIN_CAL_DT", @@ -22,17 +21,16 @@ "columns" : ["CAL_DT", "WEEK_BEG_DT"] }, { "table" : "DEFAULT.KYLIN_CATEGORY_GROUPINGS", - "columns" : [ "USER_DEFINED_FIELD1", "USER_DEFINED_FIELD3", "UPD_DATE", "UPD_USER" ] - }, { - "table" : "DEFAULT.KYLIN_CATEGORY_GROUPINGS", - "columns" : [ "META_CATEG_NAME", "CATEG_LVL2_NAME", "CATEG_LVL3_NAME" ] + "columns" : [ "USER_DEFINED_FIELD1", "USER_DEFINED_FIELD3", "UPD_DATE", "UPD_USER", "META_CATEG_NAME", "CATEG_LVL2_NAME", "CATEG_LVL3_NAME" ] }, { "table" : "DEFAULT.KYLIN_SALES", - "columns" : [ "LSTG_FORMAT_NAME", "SELLER_ID" ] + "columns" : [ "LSTG_FORMAT_NAME", "SELLER_ID", "PART_DT" ] } ], "metrics": [ "PRICE", - "ITEM_COUNT" + "ITEM_COUNT", + "SELLER_ID", + "LSTG_FORMAT_NAME" ], "last_modified" : 1422435345362, "fact_table" : "DEFAULT.KYLIN_SALES",
