You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by xx...@apache.org on 2020/06/18 08:46:38 UTC
[kylin] branch master updated: KYLIN-4371 Fix ut
This is an automated email from the ASF dual-hosted git repository.
xxyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git
The following commit(s) were added to refs/heads/master by this push:
new 8d0fc5d KYLIN-4371 Fix ut
8d0fc5d is described below
commit 8d0fc5df370cb731457025a13ab9e7cf543bff33
Author: XiaoxiangYu <hi...@126.com>
AuthorDate: Thu Jun 18 16:03:52 2020 +0800
KYLIN-4371 Fix ut
---
.../java/org/apache/kylin/tool/metrics/systemcube/SCCreatorTest.java | 1 +
tool/src/test/resources/SCSinkTools.json | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/tool/src/test/java/org/apache/kylin/tool/metrics/systemcube/SCCreatorTest.java b/tool/src/test/java/org/apache/kylin/tool/metrics/systemcube/SCCreatorTest.java
index c1ef1ee..9f1602f 100644
--- a/tool/src/test/java/org/apache/kylin/tool/metrics/systemcube/SCCreatorTest.java
+++ b/tool/src/test/java/org/apache/kylin/tool/metrics/systemcube/SCCreatorTest.java
@@ -93,6 +93,7 @@ public class SCCreatorTest extends LocalFileMetadataTestCase {
MetricsSinkDesc metricsSinkDesc = new MetricsSinkDesc();
metricsSinkDesc.setCubeDescOverrideProperties(cubeDescOverrideProperties);
List<MetricsSinkDesc> metricsSinkDescList = Lists.newArrayList();
+ metricsSinkDescList.add(metricsSinkDesc);
String outputPath = "src/test/resources/SCSinkTools.json";
JsonUtil.writeValue(new FileOutputStream(outputPath), metricsSinkDescList);
diff --git a/tool/src/test/resources/SCSinkTools.json b/tool/src/test/resources/SCSinkTools.json
index 6f69794..b633785 100644
--- a/tool/src/test/resources/SCSinkTools.json
+++ b/tool/src/test/resources/SCSinkTools.json
@@ -1 +1 @@
-[["org.apache.kylin.tool.metrics.systemcube.util.HiveSinkTool",{"storage_type":2,"cube_desc_override_properties":["java.util.HashMap",{"kylin.cube.algorithm":"INMEM"}]}]]
\ No newline at end of file
+[{"sink":null,"storage_type":2,"cube_desc_override_properties":{"kylin.cube.algorithm":"INMEM"},"table_properties":{}}]
\ No newline at end of file