Skip to content

Commit

Permalink
[HOTFIX] fix compile error after merging PR-2749
Browse files Browse the repository at this point in the history
fix compile error after merging PR-2749

This closes #2763
  • Loading branch information
zzcclp authored and jackylk committed Sep 26, 2018
1 parent b3a5e3a commit a9ddfbd
Showing 1 changed file with 4 additions and 12 deletions.
Expand Up @@ -45,10 +45,8 @@ public void before() throws IOException {
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
Expand Down Expand Up @@ -102,10 +100,7 @@ public void testSummaryOutputIndividual() {
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();
Expand Down Expand Up @@ -163,10 +158,7 @@ public void testSummaryOutputAll() {
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(
Expand Down

0 comments on commit a9ddfbd

Please sign in to comment.