Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,42 +45,49 @@ public static void setUp() {

@SimpleTest
@Test
@Option(sort = true)
public void testProjectedColumns() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testFixedLengthFields() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testVariableLengthFields() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testDateTimeTypes() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testTPCH_Q1() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testTPCH_Q2_Part() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testTPCH_Q2_Part_MixedStorage() throws Exception {
// Manually enable broadcast feature
try {
Expand All @@ -104,6 +111,7 @@ public void testTPCH_Q2_Part_MixedStorage() throws Exception {

@SimpleTest
@Test
@Option(sort = true)
public void testTPCH_Q3() throws Exception {
runSimpleTests();
}
Expand All @@ -119,54 +127,63 @@ public void testTPCH_Q5() throws Exception {

@SimpleTest
@Test
@Option(sort = true)
public void testSimpleFilter() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testInPredicateWithNumbers() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testInPredicateWithLiterals() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testBetweenNumbers() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testBetweenDates() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testCaseWhenFilter() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testFunctionWithinFilter() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testCountAsterisk() throws Exception {
runSimpleTests();
}

@SimpleTest
@Test
@Option(sort = true)
public void testCtasToHdfs() throws Exception {
try {
executeString("CREATE DATABASE pgtmp").close();
Expand All @@ -182,6 +199,7 @@ public void testCtasToHdfs() throws Exception {

@SimpleTest
@Test
@Option(sort = true)
public void testQueryWithConnProperties() throws Exception {
Map<String, String> connProperties = new HashMap<>();
connProperties.put("user", "postgres");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
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
-------------------------------
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
1,1,7311,2,36.0,45983.16,0.09,0.06,N,O,1996-04-12,1996-02-28,1996-04-20,TAKE BACK RETURN,MAIL,ly final dependencies: slyly bold
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
2,2,1191,1,38.0,44694.46,0.0,0.05,N,O,1997-01-28,1997-01-14,1997-02-02,TAKE BACK RETURN,RAIL,ven requests. deposits breach a
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
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
-------------------------------
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
1,1,7311,2,36.0,45983.16,0.09,0.06,N,O,1996-04-12,1996-02-28,1996-04-20,TAKE BACK RETURN,MAIL,ly final dependencies: slyly bold
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
2,2,1191,1,38.0,44694.46,0.0,0.05,N,O,1997-01-28,1997-01-14,1997-02-02,TAKE BACK RETURN,RAIL,ven requests. deposits breach a
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
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
-------------------------------
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
1,1,7311,2,36.0,45983.16,0.09,0.06,N,O,1996-04-12,1996-02-28,1996-04-20,TAKE BACK RETURN,MAIL,ly final dependencies: slyly bold
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
2,2,1191,1,38.0,44694.46,0.0,0.05,N,O,1997-01-28,1997-01-14,1997-02-02,TAKE BACK RETURN,RAIL,ven requests. deposits breach a
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
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
-------------------------------
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
1,1,7311,2,36.0,45983.16,0.09,0.06,N,O,1996-04-12,1996-02-28,1996-04-20,TAKE BACK RETURN,MAIL,ly final dependencies: slyly bold
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
2,2,1191,1,38.0,44694.46,0.0,0.05,N,O,1997-01-28,1997-01-14,1997-02-02,TAKE BACK RETURN,RAIL,ven requests. deposits breach a
3,2,1798,1,45.0,54058.05,0.06,0.0,R,F,1994-02-02,1994-01-04,1994-02-23,NONE,AIR,ongside of the furiously brave acco
3,3,6540,2,49.0,46796.47,0.1,0.0,R,F,1993-11-09,1993-12-20,1993-11-24,TAKE BACK RETURN,RAIL,unusual accounts. eve
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
l_shipinstruct,l_shipmode
-------------------------------
TAKE BACK RETURN,RAIL
NONE,AIR
TAKE BACK RETURN,RAIL
TAKE BACK RETURN,RAIL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
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
-------------------------------
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
1,1,7311,2,36.0,45983.16,0.09,0.06,N,O,1996-04-12,1996-02-28,1996-04-20,TAKE BACK RETURN,MAIL,ly final dependencies: slyly bold
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
2,2,1191,1,38.0,44694.46,0.0,0.05,N,O,1997-01-28,1997-01-14,1997-02-02,TAKE BACK RETURN,RAIL,ven requests. deposits breach a
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
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
-------------------------------
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
1,1,7311,2,36.0,45983.16,0.09,0.06,N,O,1996-04-12,1996-02-28,1996-04-20,TAKE BACK RETURN,MAIL,ly final dependencies: slyly bold
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
2,2,1191,1,38.0,44694.46,0.0,0.05,N,O,1997-01-28,1997-01-14,1997-02-02,TAKE BACK RETURN,RAIL,ven requests. deposits breach a
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
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
-------------------------------
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
1,1,7311,2,36.0,45983.16,0.09,0.06,N,O,1996-04-12,1996-02-28,1996-04-20,TAKE BACK RETURN,MAIL,ly final dependencies: slyly bold
1,1,7706,1,17.0,21168.23,0.04,0.02,N,O,1996-03-13,1996-02-12,1996-03-22,DELIVER IN PERSON,TRUCK,egular courts above the
2,2,1191,1,38.0,44694.46,0.0,0.05,N,O,1997-01-28,1997-01-14,1997-02-02,TAKE BACK RETURN,RAIL,ven requests. deposits breach a
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
l_orderkey,l_shipdate
-------------------------------
2,1997-01-28
3,1994-02-02
3,1993-11-09
3,1994-02-02
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
l_orderkey,revenue,o_orderdate,o_shippriority
-------------------------------
3,92931.39000000001,1993-10-14,0
1,62166.1764,1996-01-02,0
2,44694.46,1996-12-01,0
3,92931.39000000001,1993-10-14,0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
l_comment
-------------------------------
ven requests. deposits breach a
ongside of the furiously brave acco
unusual accounts. eve
ven requests. deposits breach a