minor, add models to project instance in example data
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/5268c545 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/5268c545 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/5268c545 Branch: refs/heads/1.5.x-CDH5.7 Commit: 5268c5458f2a55abfb43edadbaa872d8e3c4b5d5 Parents: 4bd685a Author: Hongbin Ma <mahong...@apache.org> Authored: Tue Jul 19 14:49:53 2016 +0800 Committer: shaofengshi <shaofeng...@apache.org> Committed: Tue Jul 19 21:17:52 2016 +0800 ---------------------------------------------------------------------- examples/sample_cube/metadata/project/learn_kylin.json | 13 ++++++++++--- examples/test_case_data/localmeta/project/default.json | 13 ++++++++++--- 2 files changed, 20 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/5268c545/examples/sample_cube/metadata/project/learn_kylin.json ---------------------------------------------------------------------- diff --git a/examples/sample_cube/metadata/project/learn_kylin.json b/examples/sample_cube/metadata/project/learn_kylin.json index a4cb1a2..fcfd505 100644 --- a/examples/sample_cube/metadata/project/learn_kylin.json +++ b/examples/sample_cube/metadata/project/learn_kylin.json @@ -1,12 +1,19 @@ { "uuid": "1eaca32a-a33e-4b69-83dd-0bb8b1f8c91b", - "name": "learn_kylin", "realizations": [ { "name": "kylin_sales_cube", "type": "CUBE", "realization": "kylin_sales_cube" - }], - "tables": ["DEFAULT.KYLIN_SALES", "DEFAULT.KYLIN_CAL_DT", "DEFAULT.KYLIN_CATEGORY_GROUPINGS"] + } + ], + "tables": [ + "DEFAULT.KYLIN_SALES", + "DEFAULT.KYLIN_CAL_DT", + "DEFAULT.KYLIN_CATEGORY_GROUPINGS" + ], + "models": [ + "kylin_sales_model" + ] } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/kylin/blob/5268c545/examples/test_case_data/localmeta/project/default.json ---------------------------------------------------------------------- diff --git a/examples/test_case_data/localmeta/project/default.json b/examples/test_case_data/localmeta/project/default.json index 3026ff8..695f3b7 100644 --- a/examples/test_case_data/localmeta/project/default.json +++ b/examples/test_case_data/localmeta/project/default.json @@ -1,5 +1,4 @@ { - "uuid": "1eaca32a-a33e-4b69-83dd-0bb8b1f8c91b", "name": "default", "realizations": [ @@ -43,8 +42,8 @@ "type": "CUBE", "realization": "test_kylin_cube_with_view_inner_join_empty" } - ], - "tables" : [ + ], + "tables": [ "DEFAULT.TEST_KYLIN_FACT", "EDW.TEST_CAL_DT", "EDW.V_TEST_CAL_DT", @@ -52,5 +51,13 @@ "EDW.TEST_SITES", "EDW.TEST_SELLER_TYPE_DIM", "DEFAULT.STREAMING_TABLE" + ], + "models": [ + "ssb", + "test_kylin_inner_join_model_desc", + "test_kylin_inner_join_view_model_desc", + "test_kylin_left_join_model_desc", + "test_kylin_left_join_view_model_desc", + "test_streaming_table_model_desc" ] } \ No newline at end of file