Repository: kylin Updated Branches: refs/heads/master d06b72e3e -> bc040a9dd
Minor, make the sample kylin_streaming_cube be consistent with kylin_sales Signed-off-by: shaofengshi <shaofeng...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/bc040a9d Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/bc040a9d Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/bc040a9d Branch: refs/heads/master Commit: bc040a9ddbd3f94d7a865eb192eeb94dcccd8f26 Parents: d06b72e Author: shaofengshi <shaofeng...@apache.org> Authored: Tue Feb 6 11:28:42 2018 +0800 Committer: shaofengshi <shaofeng...@apache.org> Committed: Thu Feb 8 16:04:56 2018 +0800 ---------------------------------------------------------------------- build/bin/sample.sh | 2 ++ .../sample_cube/template/cube_desc/kylin_streaming_cube.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/bc040a9d/build/bin/sample.sh ---------------------------------------------------------------------- diff --git a/build/bin/sample.sh b/build/bin/sample.sh index 0809d2b..18823ae 100755 --- a/build/bin/sample.sh +++ b/build/bin/sample.sh @@ -87,6 +87,8 @@ cp -rf ${KYLIN_HOME}/sample_cube/template/* ${KYLIN_HOME}/sample_cube/metadata sed -i "s/%default_storage_type%/${default_storage_type}/g" ${KYLIN_HOME}/sample_cube/metadata/cube_desc/kylin_sales_cube.json sed -i "s/%default_engine_type%/${default_engine_type}/g" ${KYLIN_HOME}/sample_cube/metadata/cube_desc/kylin_sales_cube.json +sed -i "s/%default_storage_type%/${default_storage_type}/g" ${KYLIN_HOME}/sample_cube/metadata/cube_desc/kylin_streaming_cube.json +sed -i "s/%default_engine_type%/${default_engine_type}/g" ${KYLIN_HOME}/sample_cube/metadata/cube_desc/kylin_streaming_cube.json #### Add version info into cubes kylin_version_str=`bash ${KYLIN_HOME}/bin/kylin.sh version | grep kylin.version` http://git-wip-us.apache.org/repos/asf/kylin/blob/bc040a9d/examples/sample_cube/template/cube_desc/kylin_streaming_cube.json ---------------------------------------------------------------------- diff --git a/examples/sample_cube/template/cube_desc/kylin_streaming_cube.json b/examples/sample_cube/template/cube_desc/kylin_streaming_cube.json index 2bd5584..21466e0 100644 --- a/examples/sample_cube/template/cube_desc/kylin_streaming_cube.json +++ b/examples/sample_cube/template/cube_desc/kylin_streaming_cube.json @@ -145,7 +145,7 @@ "status_need_notify" : [ ], "auto_merge_time_ranges" : null, "retention_range" : 0, - "engine_type" : 2, - "storage_type" : 2, + "engine_type" : %default_engine_type%, + "storage_type" : %default_storage_type%, "partition_date_start": 0 } \ No newline at end of file