Fix test case failures in TestParquetWriter * Use different table names for different test cases.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/b5bbed84 Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/b5bbed84 Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/b5bbed84 Branch: refs/heads/master Commit: b5bbed84bccdff39f1b13c4d529fa8dbf8652220 Parents: f1a46e6 Author: Aditya Kishore <adi...@maprtech.com> Authored: Mon Aug 25 23:48:18 2014 +0530 Committer: Aditya Kishore <adi...@maprtech.com> Committed: Mon Aug 25 23:48:18 2014 +0530 ---------------------------------------------------------------------- .../drill/exec/physical/impl/writer/TestParquetWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/b5bbed84/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/writer/TestParquetWriter.java ---------------------------------------------------------------------- diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/writer/TestParquetWriter.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/writer/TestParquetWriter.java index d399fa9..b4fd09d 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/writer/TestParquetWriter.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/writer/TestParquetWriter.java @@ -92,7 +92,7 @@ public class TestParquetWriter extends BaseTestQuery { @Test public void testTPCHReadWrite1() throws Exception { String inputTable = "cp.`tpch/lineitem.parquet`"; - runTestAndValidate("*", "*", inputTable, "lineitem_parquet"); + runTestAndValidate("*", "*", inputTable, "lineitem_parquet_all"); } @Test @@ -102,7 +102,7 @@ public class TestParquetWriter extends BaseTestQuery { String validationSelection = "L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER, L_QUANTITY, L_EXTENDEDPRICE, L_DISCOUNT, L_TAX, " + "L_RETURNFLAG, L_LINESTATUS, L_SHIPDATE,L_COMMITDATE ,L_RECEIPTDATE, L_SHIPINSTRUCT, L_SHIPMODE, L_COMMENT"; String inputTable = "cp.`tpch/lineitem.parquet`"; - runTestAndValidate(selection, validationSelection, inputTable, "lineitem_parquet"); + runTestAndValidate(selection, validationSelection, inputTable, "lineitem_parquet_converted"); } @Test