Repository: kylin
Updated Branches:
  refs/heads/yang21 0c2beec32 -> e27f545fb


KYLIN-2099 fix sample table/cube desc


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

Branch: refs/heads/yang21
Commit: e27f545fb2af50f9259aa9af40ec47ac6f2ec25a
Parents: 0c2beec
Author: Li Yang <liy...@apache.org>
Authored: Mon Oct 17 16:42:44 2016 +0800
Committer: Li Yang <liy...@apache.org>
Committed: Mon Oct 17 16:42:44 2016 +0800

----------------------------------------------------------------------
 examples/sample_cube/create_sample_tables.sql       | 16 ++++++++--------
 .../template/cube_desc/kylin_sales_cube_desc.json   |  2 +-
 .../table/DEFAULT.KYLIN_CATEGORY_GROUPINGS.json     |  4 ++--
 3 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/e27f545f/examples/sample_cube/create_sample_tables.sql
----------------------------------------------------------------------
diff --git a/examples/sample_cube/create_sample_tables.sql 
b/examples/sample_cube/create_sample_tables.sql
index 8399ee8..bc78802 100644
--- a/examples/sample_cube/create_sample_tables.sql
+++ b/examples/sample_cube/create_sample_tables.sql
@@ -116,10 +116,10 @@ CAL_DT date
 ,YTM_YN_ID tinyint
 ,YTQ_YN_ID tinyint
 ,YTW_YN_ID tinyint
-,CRE_DATE string
-,CRE_USER string
-,UPD_DATE string
-,UPD_USER string
+,KYLIN_CAL_DT_CRE_DATE string
+,KYLIN_CAL_DT_CRE_USER string
+,KYLIN_CAL_DT_UPD_DATE string
+,KYLIN_CAL_DT_UPD_USER string
 )
 ROW FORMAT DELIMITED FIELDS TERMINATED BY ','
 STORED AS TEXTFILE;
@@ -136,10 +136,10 @@ LEAF_CATEG_ID bigint
 ,REGN_CATEG string
 ,USER_DEFINED_FIELD1 string
 ,USER_DEFINED_FIELD3 string
-,CRE_DATE string
-,UPD_DATE string
-,CRE_USER string
-,UPD_USER string
+,KYLIN_GROUPINGS_CRE_DATE string
+,KYLIN_GROUPINGS_UPD_DATE string
+,KYLIN_GROUPINGS_CRE_USER string
+,KYLIN_GROUPINGS_UPD_USER string
 ,META_CATEG_ID decimal
 ,META_CATEG_NAME string
 ,CATEG_LVL2_ID decimal

http://git-wip-us.apache.org/repos/asf/kylin/blob/e27f545f/examples/sample_cube/template/cube_desc/kylin_sales_cube_desc.json
----------------------------------------------------------------------
diff --git a/examples/sample_cube/template/cube_desc/kylin_sales_cube_desc.json 
b/examples/sample_cube/template/cube_desc/kylin_sales_cube_desc.json
index cc1cd76..3e9bff4 100644
--- a/examples/sample_cube/template/cube_desc/kylin_sales_cube_desc.json
+++ b/examples/sample_cube/template/cube_desc/kylin_sales_cube_desc.json
@@ -14,7 +14,7 @@
     "name" : "CATEGORY",
     "table" : "DEFAULT.KYLIN_CATEGORY_GROUPINGS",
     "column" : "{FK}",
-    "derived" : [ "USER_DEFINED_FIELD1", "USER_DEFINED_FIELD3", "UPD_DATE", 
"UPD_USER" ]
+    "derived" : [ "USER_DEFINED_FIELD1", "USER_DEFINED_FIELD3" ]
   }, {
     "name" : "CATEGORY_HIERARCHY",
     "table" : "DEFAULT.KYLIN_CATEGORY_GROUPINGS",

http://git-wip-us.apache.org/repos/asf/kylin/blob/e27f545f/examples/sample_cube/template/table/DEFAULT.KYLIN_CATEGORY_GROUPINGS.json
----------------------------------------------------------------------
diff --git 
a/examples/sample_cube/template/table/DEFAULT.KYLIN_CATEGORY_GROUPINGS.json 
b/examples/sample_cube/template/table/DEFAULT.KYLIN_CATEGORY_GROUPINGS.json
index 8e97309..1e1c6a2 100644
--- a/examples/sample_cube/template/table/DEFAULT.KYLIN_CATEGORY_GROUPINGS.json
+++ b/examples/sample_cube/template/table/DEFAULT.KYLIN_CATEGORY_GROUPINGS.json
@@ -40,7 +40,7 @@
     "datatype" : "string"
   }, {
     "id" : "10",
-    "name" : "UPD_DATE",
+    "name" : "KYLIN_GROUPINGS_UPD_DATE",
     "datatype" : "string"
   }, {
     "id" : "11",
@@ -48,7 +48,7 @@
     "datatype" : "string"
   }, {
     "id" : "12",
-    "name" : "UPD_USER",
+    "name" : "KYLIN_GROUPINGS_UPD_USER",
     "datatype" : "string"
   }, {
     "id" : "13",

Reply via email to