fix sample cube model

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

Branch: refs/heads/master
Commit: d67bf453aa791f90edd89f1f7a40e8ce6a399312
Parents: 3beef26
Author: Li Yang <[email protected]>
Authored: Mon Jun 19 14:11:15 2017 +0800
Committer: Luwei-Chen <[email protected]>
Committed: Mon Jun 19 15:38:01 2017 +0800

----------------------------------------------------------------------
 examples/sample_cube/template/model_desc/kylin_sales_model.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/d67bf453/examples/sample_cube/template/model_desc/kylin_sales_model.json
----------------------------------------------------------------------
diff --git a/examples/sample_cube/template/model_desc/kylin_sales_model.json 
b/examples/sample_cube/template/model_desc/kylin_sales_model.json
index 50864fc..bcfc1ec 100644
--- a/examples/sample_cube/template/model_desc/kylin_sales_model.json
+++ b/examples/sample_cube/template/model_desc/kylin_sales_model.json
@@ -58,7 +58,7 @@
     "columns" : [ "TRANS_ID", "SELLER_ID", "BUYER_ID", "PART_DT", 
"LEAF_CATEG_ID", "LSTG_FORMAT_NAME", "LSTG_SITE_ID", "OPS_USER_ID", 
"OPS_REGION" ]
   }, {
     "table" : "KYLIN_CAL_DT",
-    "columns" : ["CAL_DT", "WEEK_BEG_DT"]
+    "columns" : [ "CAL_DT", "WEEK_BEG_DT", "MONTH_BEG_DT", "YEAR_BEG_DT" ]
   }, {
     "table" : "KYLIN_CATEGORY_GROUPINGS",
     "columns" : [ "USER_DEFINED_FIELD1", "USER_DEFINED_FIELD3", 
"META_CATEG_NAME", "CATEG_LVL2_NAME", "CATEG_LVL3_NAME", "LEAF_CATEG_ID", 
"SITE_ID" ]

Reply via email to