You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ra...@apache.org on 2018/10/09 15:50:09 UTC
[07/45] carbondata git commit: [HOTFIX] fix compile error after
merging PR-2749
[HOTFIX] fix compile error after merging PR-2749
fix compile error after merging PR-2749
This closes #2763
Project: http://git-wip-us.apache.org/repos/asf/carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/carbondata/commit/a9ddfbd7
Tree: http://git-wip-us.apache.org/repos/asf/carbondata/tree/a9ddfbd7
Diff: http://git-wip-us.apache.org/repos/asf/carbondata/diff/a9ddfbd7
Branch: refs/heads/branch-1.5
Commit: a9ddfbd7bdc9dc2e4c68b9bc53878ba257c80cd3
Parents: b3a5e3a
Author: Zhang Zhichao <44...@qq.com>
Authored: Wed Sep 26 01:00:11 2018 +0800
Committer: Jacky Li <ja...@qq.com>
Committed: Wed Sep 26 18:48:50 2018 +0800
----------------------------------------------------------------------
.../org/apache/carbondata/tool/CarbonCliTest.java | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/carbondata/blob/a9ddfbd7/tools/cli/src/test/java/org/apache/carbondata/tool/CarbonCliTest.java
----------------------------------------------------------------------
diff --git a/tools/cli/src/test/java/org/apache/carbondata/tool/CarbonCliTest.java b/tools/cli/src/test/java/org/apache/carbondata/tool/CarbonCliTest.java
index 4dc34c4..fcd46c8 100644
--- a/tools/cli/src/test/java/org/apache/carbondata/tool/CarbonCliTest.java
+++ b/tools/cli/src/test/java/org/apache/carbondata/tool/CarbonCliTest.java
@@ -45,10 +45,8 @@ public class CarbonCliTest {
fields[0] = new Field("name", DataTypes.STRING);
fields[1] = new Field("age", DataTypes.INT);
- TestUtil.writeFilesAndVerify(5000000, new Schema(fields), path, new String[]{"name"},
- true, 3, 8, true);
- TestUtil.writeFilesAndVerify(5000000, new Schema(fields), path, new String[]{"name"},
- true, 3, 8, true);
+ TestUtil.writeFilesAndVerify(5000000, new Schema(fields), path, new String[]{"name"}, 3, 8);
+ TestUtil.writeFilesAndVerify(5000000, new Schema(fields), path, new String[]{"name"}, 3, 8);
}
@Test
@@ -102,10 +100,7 @@ public class CarbonCliTest {
Assert.assertTrue(
output.contains(
"## Table Properties\n"
- + "Property Name Property Value \n"
- + "'table_blocksize' '8' \n"
- + "'table_blocklet_size' '3' \n"
- + "'local_dictionary_enable' 'false' "));
+ + "schema file not found"));
String[] args4 = {"-cmd", "summary", "-p", path, "-b"};
out = new ByteArrayOutputStream();
@@ -163,10 +158,7 @@ public class CarbonCliTest {
Assert.assertTrue(
output.contains(
"## Table Properties\n"
- + "Property Name Property Value \n"
- + "'table_blocksize' '8' \n"
- + "'table_blocklet_size' '3' \n"
- + "'local_dictionary_enable' 'false' "));
+ + "schema file not found"));
Assert.assertTrue(
output.contains(