You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2017/10/18 09:32:54 UTC

[06/10] kylin git commit: KYLIN-2775 fix non-default database issue in sample model/cube (#2791)

KYLIN-2775 fix non-default database issue in sample model/cube (#2791)



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

Branch: refs/heads/2.2.x
Commit: 5095f1fe165dc82f860e6801f3b53144496f9c44
Parents: a794544
Author: Billy(Yiming) Liu <li...@gmail.com>
Authored: Tue Oct 17 09:17:59 2017 -0500
Committer: Billy Liu <bi...@apache.org>
Committed: Tue Oct 17 22:19:41 2017 +0800

----------------------------------------------------------------------
 build/bin/sample.sh | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/5095f1fe/build/bin/sample.sh
----------------------------------------------------------------------
diff --git a/build/bin/sample.sh b/build/bin/sample.sh
index ee4aa25..0809d2b 100755
--- a/build/bin/sample.sh
+++ b/build/bin/sample.sh
@@ -97,7 +97,9 @@ sed -i "s/%default_version%/${kylin_version}/g" ${KYLIN_HOME}/sample_cube/metada
 
 #### Replace the 'DEFAULT' with kylin.source.hive.database-for-flat-table
 sed -i "s/DEFAULT./$sample_database./g" ${KYLIN_HOME}/sample_cube/metadata/cube_desc/kylin_sales_cube.json
+sed -i "s/DEFAULT./$sample_database./g" ${KYLIN_HOME}/sample_cube/metadata/cube_desc/kylin_streaming_cube.json
 sed -i "s/DEFAULT./$sample_database./g" ${KYLIN_HOME}/sample_cube/metadata/model_desc/kylin_sales_model.json
+sed -i "s/DEFAULT./$sample_database./g" ${KYLIN_HOME}/sample_cube/metadata/model_desc/kylin_streaming_model.json
 sed -i "s/DEFAULT./$sample_database./g" ${KYLIN_HOME}/sample_cube/metadata/project/learn_kylin.json
 sed -i "s/DEFAULT/$sample_database/g" ${KYLIN_HOME}/sample_cube/metadata/table/*.json
 cd ${KYLIN_HOME}/sample_cube/metadata/table