You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by jo...@apache.org on 2020/05/02 02:29:54 UTC
[impala] 01/02: IMPALA-9539: Enable CNF rewrites by default
This is an automated email from the ASF dual-hosted git repository.
joemcdonnell pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit d0325b2ac176d536fc9c8959b1f2d01335bc32a2
Author: Aman Sinha <am...@cloudera.com>
AuthorDate: Fri Apr 24 17:32:38 2020 -0700
IMPALA-9539: Enable CNF rewrites by default
This patch enables the conjunctive normal form rewrites
by default by setting enable_cnf_rewrites to true. Since
the CNF rule does an explicit analyze of the predicate
if it was not previously analyzed, in case no rewrite
was done we were previously returning the analyzed
predicate. This causes some side effects hence I have
fixed it by returning the original un-analyzed predicate
when no rewrite is done.
Other functional and performance testing with this flag
set to true did not uncover major regressions and showed
significant performance gains for queries with disjunctions
in the tpch and tpcds suites.
Testing:
- Updated the PlannerTest tests with plan changes
in various test suites. Removed previously added tpch
tests which were explicitly setting this flag to true.
- I had previously added a test in convert-to-cnf.test
with enable_cnf_rewrites=false, so I did not add any
new tests with this flag disabled.
Change-Id: I4dde86e092c61d71ddf9081f768072ced470b589
Reviewed-on: http://gerrit.cloudera.org:8080/15807
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
common/thrift/ImpalaInternalService.thrift | 2 +-
.../apache/impala/rewrite/ConvertToCNFRule.java | 6 +-
.../org/apache/impala/planner/PlannerTest.java | 6 +-
.../queries/PlannerTest/constant-folding.test | 23 +-
.../queries/PlannerTest/tpcds-all.test | 4 +-
.../queries/PlannerTest/tpch-all.test | 376 ++++++---------------
.../queries/PlannerTest/tpch-kudu.test | 70 ++--
.../queries/PlannerTest/tpch-nested.test | 220 ++++++------
.../queries/PlannerTest/tpch-views.test | 222 ++++++------
9 files changed, 386 insertions(+), 543 deletions(-)
diff --git a/common/thrift/ImpalaInternalService.thrift b/common/thrift/ImpalaInternalService.thrift
index 1ca85b4..d447d69 100644
--- a/common/thrift/ImpalaInternalService.thrift
+++ b/common/thrift/ImpalaInternalService.thrift
@@ -412,7 +412,7 @@ struct TQueryOptions {
99: optional i64 preagg_bytes_limit = -1;
// See comment in ImpalaService.thrift
- 100: optional bool enable_cnf_rewrites = false;
+ 100: optional bool enable_cnf_rewrites = true;
// See comment in ImpalaService.thrift
101: optional i32 max_cnf_exprs = 0;
diff --git a/fe/src/main/java/org/apache/impala/rewrite/ConvertToCNFRule.java b/fe/src/main/java/org/apache/impala/rewrite/ConvertToCNFRule.java
index 9b95f1a..0925fd5 100644
--- a/fe/src/main/java/org/apache/impala/rewrite/ConvertToCNFRule.java
+++ b/fe/src/main/java/org/apache/impala/rewrite/ConvertToCNFRule.java
@@ -110,11 +110,15 @@ public class ConvertToCNFRule implements ExprRewriteRule {
// we can skip the rewrite since the disjunct can be pushed down as-is
List<TupleId> tids = new ArrayList<>();
if (!cpred.isAnalyzed()) {
+ // clone before analyzing to avoid side effects of analysis
+ cpred = (CompoundPredicate) (cpred.clone());
cpred.analyzeNoThrow(analyzer);
}
cpred.getIds(tids, null);
if (tids.size() <= 1) {
- return cpred;
+ // if no transform is done, return the original predicate,
+ // not the one that that may have been analyzed above
+ return pred;
}
}
if (cpred.getOp() == CompoundPredicate.Operator.OR) {
diff --git a/fe/src/test/java/org/apache/impala/planner/PlannerTest.java b/fe/src/test/java/org/apache/impala/planner/PlannerTest.java
index c452332..d0cbb3f 100644
--- a/fe/src/test/java/org/apache/impala/planner/PlannerTest.java
+++ b/fe/src/test/java/org/apache/impala/planner/PlannerTest.java
@@ -129,7 +129,7 @@ public class PlannerTest extends PlannerTestBase {
}
@Test
- public void testConstantPropagataion() {
+ public void testConstantPropagation() {
runPlannerTestFile("constant-propagation");
}
@@ -1016,8 +1016,6 @@ public class PlannerTest extends PlannerTestBase {
*/
@Test
public void testConvertToCNF() {
- TQueryOptions options = new TQueryOptions();
- options.setEnable_cnf_rewrites(true);
- runPlannerTestFile("convert-to-cnf", "tpch_parquet", options);
+ runPlannerTestFile("convert-to-cnf", "tpch_parquet");
}
}
diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/constant-folding.test b/testdata/workloads/functional-planner/queries/PlannerTest/constant-folding.test
index 99990c9..6eeb8c0 100644
--- a/testdata/workloads/functional-planner/queries/PlannerTest/constant-folding.test
+++ b/testdata/workloads/functional-planner/queries/PlannerTest/constant-folding.test
@@ -59,14 +59,14 @@ PLAN-ROOT SINK
| in pipelines: 00(GETNEXT)
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: c_custkey > CAST(10 AS BIGINT), !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderkey = CAST(4 AS BIGINT)
predicates on o_lineitems: CAST(20 AS BIGINT) + CAST(l_linenumber AS BIGINT) < CAST(0 AS BIGINT)
stored statistics:
- table: rows=150.00K size=288.99MB
+ table: rows=150.00K size=289.14MB
columns missing stats: c_orders
- extrapolated-rows=disabled max-scan-range-rows=50.12K
+ extrapolated-rows=disabled max-scan-range-rows=50.03K
parquet statistics predicates: c_custkey > CAST(10 AS BIGINT)
parquet statistics predicates on o: o_orderkey = CAST(4 AS BIGINT)
parquet dictionary predicates: c_custkey > CAST(10 AS BIGINT)
@@ -147,7 +147,7 @@ PLAN-ROOT SINK
| group by: timestamp_col = TIMESTAMP '2016-11-15 00:00:00'
| having: sum(2 + id) <= CAST(10 AS BIGINT), sum(2 + id) > CAST(1 AS BIGINT), sum(2 + id) >= CAST(5 AS BIGINT), CAST(1048576 AS BIGINT) * count(*) % CAST(2 AS BIGINT) = CAST(0 AS BIGINT)
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
-| tuple-ids=1 row-size=17B cardinality=0
+| tuple-ids=1 row-size=17B cardinality=1
| in pipelines: 01(GETNEXT), 00(OPEN)
|
00:SCAN HDFS [functional.alltypes]
@@ -221,11 +221,12 @@ left outer join functional.alltypes b
where cast(b.double_col as decimal(3, 2)) > round(1.11 + 2.22 + 3.33 + 4.44, 1)
---- PLAN
Analyzed query: SELECT CAST(1 AS TINYINT) FROM functional.alltypes a LEFT OUTER
-JOIN functional.alltypes b ON (CAST(2 AS BIGINT) + CAST(a.id AS BIGINT) =
+JOIN functional.alltypes b ON CAST(2 AS BIGINT) + CAST(a.id AS BIGINT) =
+CAST(b.id AS BIGINT) - CAST(2 AS BIGINT) OR CAST(a.int_col AS BIGINT) <=
+b.bigint_col + CAST(97 AS BIGINT) AND CAST(2 AS BIGINT) + CAST(a.id AS BIGINT) =
CAST(b.id AS BIGINT) - CAST(2 AS BIGINT) OR CAST(a.int_col AS BIGINT) >= CAST(0
-AS BIGINT) + b.bigint_col AND CAST(a.int_col AS BIGINT) <= b.bigint_col +
-CAST(97 AS BIGINT)) WHERE CAST(b.double_col AS DECIMAL(3,2)) > CAST(11.1 AS
-DECIMAL(6,1))
+AS BIGINT) + b.bigint_col WHERE CAST(b.double_col AS DECIMAL(3,2)) > CAST(11.1
+AS DECIMAL(6,1))
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=256.01MB mem-reservation=64.00KB thread-reservation=3
PLAN-ROOT SINK
@@ -233,7 +234,7 @@ PLAN-ROOT SINK
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
02:NESTED LOOP JOIN [LEFT OUTER JOIN]
-| join predicates: (CAST(2 AS BIGINT) + CAST(a.id AS BIGINT) = CAST(b.id AS BIGINT) - CAST(2 AS BIGINT) OR CAST(a.int_col AS BIGINT) >= CAST(0 AS BIGINT) + b.bigint_col AND CAST(a.int_col AS BIGINT) <= b.bigint_col + CAST(97 AS BIGINT))
+| join predicates: CAST(2 AS BIGINT) + CAST(a.id AS BIGINT) = CAST(b.id AS BIGINT) - CAST(2 AS BIGINT) OR CAST(a.int_col AS BIGINT) <= b.bigint_col + CAST(97 AS BIGINT), CAST(2 AS BIGINT) + CAST(a.id AS BIGINT) = CAST(b.id AS BIGINT) - CAST(2 AS BIGINT) OR CAST(a.int_col AS BIGINT) >= CAST(0 AS BIGINT) + b.bigint_col
| predicates: CAST(b.double_col AS DECIMAL(3,2)) > CAST(11.1 AS DECIMAL(6,1))
| mem-estimate=14.26KB mem-reservation=0B thread-reservation=0
| tuple-ids=0,1N row-size=28B cardinality=7.30K
@@ -283,7 +284,7 @@ PLAN-ROOT SINK
| group by: timestamp_col = TIMESTAMP '2016-11-15 00:00:00'
| having: CAST(1048576 AS BIGINT) * count(*) % CAST(2 AS BIGINT) = CAST(0 AS BIGINT)
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
-| tuple-ids=2 row-size=17B cardinality=0
+| tuple-ids=2 row-size=17B cardinality=1
| in pipelines: 02(GETNEXT), 01(OPEN)
|
01:AGGREGATE
@@ -322,7 +323,7 @@ PLAN-ROOT SINK
| output: sum(2 + id), count:merge(*)
| having: CAST(1048576 AS BIGINT) * zeroifnull(count(*)) % CAST(2 AS BIGINT) = CAST(0 AS BIGINT)
| mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0
-| tuple-ids=2 row-size=16B cardinality=0
+| tuple-ids=2 row-size=16B cardinality=1
| in pipelines: 02(GETNEXT), 01(OPEN)
|
01:AGGREGATE
diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds-all.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds-all.test
index 1382e42..8d79757 100644
--- a/testdata/workloads/functional-planner/queries/PlannerTest/tpcds-all.test
+++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpcds-all.test
@@ -770,7 +770,7 @@ PLAN-ROOT SINK
runtime filters: RF002 -> store_sales.ss_store_sk
row-size=8B cardinality=84.40K
====
-# TPCDS-Q13 (with CNF rewrite enabled)
+# TPCDS-Q13
select avg(ss_quantity)
,avg(ss_ext_sales_price)
,avg(ss_ext_wholesale_cost)
@@ -819,8 +819,6 @@ select avg(ss_quantity)
and ca_state in ('VA', 'TX', 'MS')
and ss_net_profit between 50 and 250
))
----- QUERYOPTIONS
-ENABLE_CNF_REWRITES=true
---- PLAN
Max Per-Host Resource Reservation: Memory=45.01MB Threads=7
Per-Host Resource Estimates: Memory=461MB
diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpch-all.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpch-all.test
index dc1d795..0729145 100644
--- a/testdata/workloads/functional-planner/queries/PlannerTest/tpch-all.test
+++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpch-all.test
@@ -1252,48 +1252,50 @@ order by
cust_nation,
l_year
---- PLAN
-Max Per-Host Resource Reservation: Memory=89.69MB Threads=7
+Max Per-Host Resource Reservation: Memory=73.70MB Threads=7
Per-Host Resource Estimates: Memory=648MB
PLAN-ROOT SINK
|
12:SORT
| order by: supp_nation ASC, cust_nation ASC, l_year ASC
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
11:AGGREGATE [FINALIZE]
| output: sum(l_extendedprice * (1 - l_discount))
| group by: n1.n_name, n2.n_name, year(l_shipdate)
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
10:HASH JOIN [INNER JOIN]
| hash predicates: c_nationkey = n2.n_nationkey
-| other predicates: ((n1.n_name = 'FRANCE' AND n2.n_name = 'GERMANY') OR (n1.n_name = 'GERMANY' AND n2.n_name = 'FRANCE'))
+| other predicates: n1.n_name = 'FRANCE' OR n2.n_name = 'FRANCE', n2.n_name = 'GERMANY' OR n1.n_name = 'GERMANY'
| runtime filters: RF000 <- n2.n_nationkey
-| row-size=132B cardinality=575.77K
+| row-size=132B cardinality=3.69K
|
|--05:SCAN HDFS [tpch.nation n2]
| HDFS partitions=1/1 files=1 size=2.15KB
-| row-size=21B cardinality=25
+| predicates: n2.n_name IN ('GERMANY', 'FRANCE')
+| row-size=21B cardinality=2
|
09:HASH JOIN [INNER JOIN]
-| hash predicates: s_nationkey = n1.n_nationkey
-| runtime filters: RF002 <- n1.n_nationkey
-| row-size=111B cardinality=575.77K
-|
-|--04:SCAN HDFS [tpch.nation n1]
-| HDFS partitions=1/1 files=1 size=2.15KB
-| row-size=21B cardinality=25
-|
-08:HASH JOIN [INNER JOIN]
| hash predicates: o_custkey = c_custkey
-| runtime filters: RF004 <- c_custkey
-| row-size=90B cardinality=575.77K
+| runtime filters: RF002 <- c_custkey
+| row-size=111B cardinality=46.06K
|
|--03:SCAN HDFS [tpch.customer]
| HDFS partitions=1/1 files=1 size=23.08MB
| runtime filters: RF000 -> c_nationkey
| row-size=10B cardinality=150.00K
|
+08:HASH JOIN [INNER JOIN]
+| hash predicates: s_nationkey = n1.n_nationkey
+| runtime filters: RF004 <- n1.n_nationkey
+| row-size=101B cardinality=46.06K
+|
+|--04:SCAN HDFS [tpch.nation n1]
+| HDFS partitions=1/1 files=1 size=2.15KB
+| predicates: n1.n_name IN ('FRANCE', 'GERMANY')
+| row-size=21B cardinality=2
+|
07:HASH JOIN [INNER JOIN]
| hash predicates: l_suppkey = s_suppkey
| runtime filters: RF006 <- s_suppkey
@@ -1301,7 +1303,7 @@ PLAN-ROOT SINK
|
|--00:SCAN HDFS [tpch.supplier]
| HDFS partitions=1/1 files=1 size=1.33MB
-| runtime filters: RF002 -> s_nationkey
+| runtime filters: RF004 -> s_nationkey
| row-size=10B cardinality=10.00K
|
06:HASH JOIN [INNER JOIN]
@@ -1311,7 +1313,7 @@ PLAN-ROOT SINK
|
|--02:SCAN HDFS [tpch.orders]
| HDFS partitions=1/1 files=1 size=162.56MB
-| runtime filters: RF004 -> o_custkey
+| runtime filters: RF002 -> o_custkey
| row-size=16B cardinality=1.50M
|
01:SCAN HDFS [tpch.lineitem]
@@ -1320,64 +1322,68 @@ PLAN-ROOT SINK
runtime filters: RF006 -> l_suppkey, RF008 -> l_orderkey
row-size=54B cardinality=600.12K
---- DISTRIBUTEDPLAN
-Max Per-Host Resource Reservation: Memory=86.95MB Threads=15
-Per-Host Resource Estimates: Memory=699MB
+Max Per-Host Resource Reservation: Memory=68.20MB Threads=16
+Per-Host Resource Estimates: Memory=682MB
PLAN-ROOT SINK
|
-21:MERGING-EXCHANGE [UNPARTITIONED]
+22:MERGING-EXCHANGE [UNPARTITIONED]
| order by: supp_nation ASC, cust_nation ASC, l_year ASC
|
12:SORT
| order by: supp_nation ASC, cust_nation ASC, l_year ASC
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
-20:AGGREGATE [FINALIZE]
+21:AGGREGATE [FINALIZE]
| output: sum:merge(volume)
| group by: supp_nation, cust_nation, l_year
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
-19:EXCHANGE [HASH(supp_nation,cust_nation,l_year)]
+20:EXCHANGE [HASH(supp_nation,cust_nation,l_year)]
|
11:AGGREGATE [STREAMING]
| output: sum(l_extendedprice * (1 - l_discount))
| group by: n1.n_name, n2.n_name, year(l_shipdate)
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
10:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: c_nationkey = n2.n_nationkey
-| other predicates: ((n1.n_name = 'FRANCE' AND n2.n_name = 'GERMANY') OR (n1.n_name = 'GERMANY' AND n2.n_name = 'FRANCE'))
+| other predicates: n1.n_name = 'FRANCE' OR n2.n_name = 'FRANCE', n2.n_name = 'GERMANY' OR n1.n_name = 'GERMANY'
| runtime filters: RF000 <- n2.n_nationkey
-| row-size=132B cardinality=575.77K
+| row-size=132B cardinality=3.69K
|
-|--18:EXCHANGE [BROADCAST]
+|--19:EXCHANGE [BROADCAST]
| |
| 05:SCAN HDFS [tpch.nation n2]
| HDFS partitions=1/1 files=1 size=2.15KB
-| row-size=21B cardinality=25
-|
-09:HASH JOIN [INNER JOIN, BROADCAST]
-| hash predicates: s_nationkey = n1.n_nationkey
-| runtime filters: RF002 <- n1.n_nationkey
-| row-size=111B cardinality=575.77K
-|
-|--17:EXCHANGE [BROADCAST]
-| |
-| 04:SCAN HDFS [tpch.nation n1]
-| HDFS partitions=1/1 files=1 size=2.15KB
-| row-size=21B cardinality=25
+| predicates: n2.n_name IN ('GERMANY', 'FRANCE')
+| row-size=21B cardinality=2
|
-08:HASH JOIN [INNER JOIN, BROADCAST]
+09:HASH JOIN [INNER JOIN, PARTITIONED]
| hash predicates: o_custkey = c_custkey
-| runtime filters: RF004 <- c_custkey
-| row-size=90B cardinality=575.77K
+| runtime filters: RF002 <- c_custkey
+| row-size=111B cardinality=46.06K
|
-|--16:EXCHANGE [BROADCAST]
+|--18:EXCHANGE [HASH(c_custkey)]
| |
| 03:SCAN HDFS [tpch.customer]
| HDFS partitions=1/1 files=1 size=23.08MB
| runtime filters: RF000 -> c_nationkey
| row-size=10B cardinality=150.00K
|
+17:EXCHANGE [HASH(o_custkey)]
+|
+08:HASH JOIN [INNER JOIN, BROADCAST]
+| hash predicates: s_nationkey = n1.n_nationkey
+| runtime filters: RF004 <- n1.n_nationkey
+| row-size=101B cardinality=46.06K
+|
+|--16:EXCHANGE [BROADCAST]
+| |
+| 04:SCAN HDFS [tpch.nation n1]
+| HDFS partitions=1/1 files=1 size=2.15KB
+| predicates: n1.n_name IN ('FRANCE', 'GERMANY')
+| row-size=21B cardinality=2
+|
07:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: l_suppkey = s_suppkey
| runtime filters: RF006 <- s_suppkey
@@ -1387,7 +1393,7 @@ PLAN-ROOT SINK
| |
| 00:SCAN HDFS [tpch.supplier]
| HDFS partitions=1/1 files=1 size=1.33MB
-| runtime filters: RF002 -> s_nationkey
+| runtime filters: RF004 -> s_nationkey
| row-size=10B cardinality=10.00K
|
06:HASH JOIN [INNER JOIN, PARTITIONED]
@@ -1399,7 +1405,7 @@ PLAN-ROOT SINK
| |
| 02:SCAN HDFS [tpch.orders]
| HDFS partitions=1/1 files=1 size=162.56MB
-| runtime filters: RF004 -> o_custkey
+| runtime filters: RF002 -> o_custkey
| row-size=16B cardinality=1.50M
|
13:EXCHANGE [HASH(l_orderkey)]
@@ -1410,75 +1416,79 @@ PLAN-ROOT SINK
runtime filters: RF006 -> l_suppkey, RF008 -> l_orderkey
row-size=54B cardinality=600.12K
---- PARALLELPLANS
-Max Per-Host Resource Reservation: Memory=117.77MB Threads=18
-Per-Host Resource Estimates: Memory=499MB
+Max Per-Host Resource Reservation: Memory=102.89MB Threads=21
+Per-Host Resource Estimates: Memory=494MB
PLAN-ROOT SINK
|
-21:MERGING-EXCHANGE [UNPARTITIONED]
+22:MERGING-EXCHANGE [UNPARTITIONED]
| order by: supp_nation ASC, cust_nation ASC, l_year ASC
|
12:SORT
| order by: supp_nation ASC, cust_nation ASC, l_year ASC
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
-20:AGGREGATE [FINALIZE]
+21:AGGREGATE [FINALIZE]
| output: sum:merge(volume)
| group by: supp_nation, cust_nation, l_year
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
-19:EXCHANGE [HASH(supp_nation,cust_nation,l_year)]
+20:EXCHANGE [HASH(supp_nation,cust_nation,l_year)]
|
11:AGGREGATE [STREAMING]
| output: sum(l_extendedprice * (1 - l_discount))
| group by: n1.n_name, n2.n_name, year(l_shipdate)
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
10:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: c_nationkey = n2.n_nationkey
-| other predicates: ((n1.n_name = 'FRANCE' AND n2.n_name = 'GERMANY') OR (n1.n_name = 'GERMANY' AND n2.n_name = 'FRANCE'))
-| row-size=132B cardinality=575.77K
+| other predicates: n1.n_name = 'FRANCE' OR n2.n_name = 'FRANCE', n2.n_name = 'GERMANY' OR n1.n_name = 'GERMANY'
+| row-size=132B cardinality=3.69K
|
|--JOIN BUILD
| | join-table-id=00 plan-id=01 cohort-id=01
| | build expressions: n2.n_nationkey
| | runtime filters: RF000 <- n2.n_nationkey
| |
-| 18:EXCHANGE [BROADCAST]
+| 19:EXCHANGE [BROADCAST]
| |
| 05:SCAN HDFS [tpch.nation n2]
| HDFS partitions=1/1 files=1 size=2.15KB
-| row-size=21B cardinality=25
+| predicates: n2.n_name IN ('GERMANY', 'FRANCE')
+| row-size=21B cardinality=2
|
-09:HASH JOIN [INNER JOIN, BROADCAST]
-| hash predicates: s_nationkey = n1.n_nationkey
-| row-size=111B cardinality=575.77K
+09:HASH JOIN [INNER JOIN, PARTITIONED]
+| hash predicates: o_custkey = c_custkey
+| row-size=111B cardinality=46.06K
|
|--JOIN BUILD
| | join-table-id=01 plan-id=02 cohort-id=01
-| | build expressions: n1.n_nationkey
-| | runtime filters: RF002 <- n1.n_nationkey
+| | build expressions: c_custkey
+| | runtime filters: RF002 <- c_custkey
| |
-| 17:EXCHANGE [BROADCAST]
+| 18:EXCHANGE [HASH(c_custkey)]
| |
-| 04:SCAN HDFS [tpch.nation n1]
-| HDFS partitions=1/1 files=1 size=2.15KB
-| row-size=21B cardinality=25
+| 03:SCAN HDFS [tpch.customer]
+| HDFS partitions=1/1 files=1 size=23.08MB
+| runtime filters: RF000 -> c_nationkey
+| row-size=10B cardinality=150.00K
+|
+17:EXCHANGE [HASH(o_custkey)]
|
08:HASH JOIN [INNER JOIN, BROADCAST]
-| hash predicates: o_custkey = c_custkey
-| row-size=90B cardinality=575.77K
+| hash predicates: s_nationkey = n1.n_nationkey
+| row-size=101B cardinality=46.06K
|
|--JOIN BUILD
| | join-table-id=02 plan-id=03 cohort-id=01
-| | build expressions: c_custkey
-| | runtime filters: RF004 <- c_custkey
+| | build expressions: n1.n_nationkey
+| | runtime filters: RF004 <- n1.n_nationkey
| |
| 16:EXCHANGE [BROADCAST]
| |
-| 03:SCAN HDFS [tpch.customer]
-| HDFS partitions=1/1 files=1 size=23.08MB
-| runtime filters: RF000 -> c_nationkey
-| row-size=10B cardinality=150.00K
+| 04:SCAN HDFS [tpch.nation n1]
+| HDFS partitions=1/1 files=1 size=2.15KB
+| predicates: n1.n_name IN ('FRANCE', 'GERMANY')
+| row-size=21B cardinality=2
|
07:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: l_suppkey = s_suppkey
@@ -1493,7 +1503,7 @@ PLAN-ROOT SINK
| |
| 00:SCAN HDFS [tpch.supplier]
| HDFS partitions=1/1 files=1 size=1.33MB
-| runtime filters: RF002 -> s_nationkey
+| runtime filters: RF004 -> s_nationkey
| row-size=10B cardinality=10.00K
|
06:HASH JOIN [INNER JOIN, PARTITIONED]
@@ -1509,7 +1519,7 @@ PLAN-ROOT SINK
| |
| 02:SCAN HDFS [tpch.orders]
| HDFS partitions=1/1 files=1 size=162.56MB
-| runtime filters: RF004 -> o_custkey
+| runtime filters: RF002 -> o_custkey
| row-size=16B cardinality=1.50M
|
13:EXCHANGE [HASH(l_orderkey)]
@@ -1520,119 +1530,6 @@ PLAN-ROOT SINK
runtime filters: RF006 -> l_suppkey, RF008 -> l_orderkey
row-size=54B cardinality=600.12K
====
-# TPCH-Q7 (with CNF rewrite enabled)
-# Q7 - Volume Shipping Query
-select
- supp_nation,
- cust_nation,
- l_year,
- sum(volume) as revenue
-from (
- select
- n1.n_name as supp_nation,
- n2.n_name as cust_nation,
- year(l_shipdate) as l_year,
- l_extendedprice * (1 - l_discount) as volume
- from
- supplier,
- lineitem,
- orders,
- customer,
- nation n1,
- nation n2
- where
- s_suppkey = l_suppkey
- and o_orderkey = l_orderkey
- and c_custkey = o_custkey
- and s_nationkey = n1.n_nationkey
- and c_nationkey = n2.n_nationkey
- and (
- (n1.n_name = 'FRANCE' and n2.n_name = 'GERMANY')
- or (n1.n_name = 'GERMANY' and n2.n_name = 'FRANCE')
- )
- and l_shipdate between '1995-01-01' and '1996-12-31'
- ) as shipping
-group by
- supp_nation,
- cust_nation,
- l_year
-order by
- supp_nation,
- cust_nation,
- l_year
----- QUERYOPTIONS
-ENABLE_CNF_REWRITES=true
----- PLAN
-Max Per-Host Resource Reservation: Memory=73.70MB Threads=7
-Per-Host Resource Estimates: Memory=648MB
-PLAN-ROOT SINK
-|
-12:SORT
-| order by: supp_nation ASC, cust_nation ASC, l_year ASC
-| row-size=58B cardinality=3.69K
-|
-11:AGGREGATE [FINALIZE]
-| output: sum(l_extendedprice * (1 - l_discount))
-| group by: n1.n_name, n2.n_name, year(l_shipdate)
-| row-size=58B cardinality=3.69K
-|
-10:HASH JOIN [INNER JOIN]
-| hash predicates: c_nationkey = n2.n_nationkey
-| other predicates: n1.n_name = 'FRANCE' OR n2.n_name = 'FRANCE', n2.n_name = 'GERMANY' OR n1.n_name = 'GERMANY'
-| runtime filters: RF000 <- n2.n_nationkey
-| row-size=132B cardinality=3.69K
-|
-|--05:SCAN HDFS [tpch.nation n2]
-| HDFS partitions=1/1 files=1 size=2.15KB
-| predicates: n2.n_name IN ('GERMANY', 'FRANCE')
-| row-size=21B cardinality=2
-|
-09:HASH JOIN [INNER JOIN]
-| hash predicates: o_custkey = c_custkey
-| runtime filters: RF002 <- c_custkey
-| row-size=111B cardinality=46.06K
-|
-|--03:SCAN HDFS [tpch.customer]
-| HDFS partitions=1/1 files=1 size=23.08MB
-| runtime filters: RF000 -> c_nationkey
-| row-size=10B cardinality=150.00K
-|
-08:HASH JOIN [INNER JOIN]
-| hash predicates: s_nationkey = n1.n_nationkey
-| runtime filters: RF004 <- n1.n_nationkey
-| row-size=101B cardinality=46.06K
-|
-|--04:SCAN HDFS [tpch.nation n1]
-| HDFS partitions=1/1 files=1 size=2.15KB
-| predicates: n1.n_name IN ('FRANCE', 'GERMANY')
-| row-size=21B cardinality=2
-|
-07:HASH JOIN [INNER JOIN]
-| hash predicates: l_suppkey = s_suppkey
-| runtime filters: RF006 <- s_suppkey
-| row-size=80B cardinality=575.77K
-|
-|--00:SCAN HDFS [tpch.supplier]
-| HDFS partitions=1/1 files=1 size=1.33MB
-| runtime filters: RF004 -> s_nationkey
-| row-size=10B cardinality=10.00K
-|
-06:HASH JOIN [INNER JOIN]
-| hash predicates: l_orderkey = o_orderkey
-| runtime filters: RF008 <- o_orderkey
-| row-size=70B cardinality=575.77K
-|
-|--02:SCAN HDFS [tpch.orders]
-| HDFS partitions=1/1 files=1 size=162.56MB
-| runtime filters: RF002 -> o_custkey
-| row-size=16B cardinality=1.50M
-|
-01:SCAN HDFS [tpch.lineitem]
- HDFS partitions=1/1 files=1 size=718.94MB
- predicates: l_shipdate <= '1996-12-31', l_shipdate >= '1995-01-01'
- runtime filters: RF006 -> l_suppkey, RF008 -> l_orderkey
- row-size=54B cardinality=600.12K
-====
# TPCH-Q8
# Q8 - National Market Share Query
select
@@ -4201,20 +4098,20 @@ PLAN-ROOT SINK
|
02:HASH JOIN [INNER JOIN]
| hash predicates: l_partkey = p_partkey
-| other predicates: ((p_brand = 'Brand#12' AND p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') AND l_quantity >= 1 AND l_quantity <= 11 AND p_size <= 5) OR (p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') AND l_quantity >= 10 AND l_quantity <= 20 AND p_size <= 10) OR (p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG') AND l_quantity >= 20 AND l_quantity <= 30 AND p_size <= 15))
+| other predicates: l_quantity <= 11 OR l_quantity <= 20 OR p_size <= 15, l_quantity <= 11 OR l_quantity >= 10 OR p_size <= 15, l_quantity <= 11 OR p_size <= 10 OR l_quantity <= 30, l_quantity <= 11 OR p_size <= 10 OR l_quantity >= 20, l_quantity <= 11 OR p_size <= 10 OR p_size <= 15, l_quantity >= 1 OR l_quantity <= 20 OR p_size <= 15, l_quantity >= 1 OR l_quantity >= 10 OR p_size <= 15, l_quantity >= 1 OR p_size <= 10 OR l_quantity <= 30, l_quantity >= 1 OR p_size <= 10 OR l_quantity [...]
| runtime filters: RF000 <- p_partkey
-| row-size=124B cardinality=79.99K
+| row-size=124B cardinality=1.41K
|
|--01:SCAN HDFS [tpch.part]
| HDFS partitions=1/1 files=1 size=22.83MB
-| predicates: p_size >= 1
-| row-size=52B cardinality=20.00K
+| predicates: p_brand = 'Brand#12' OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_size >= 1, p_size <= 5 OR p_size <= 10 OR [...]
+| row-size=52B cardinality=1.43K
|
00:SCAN HDFS [tpch.lineitem]
HDFS partitions=1/1 files=1 size=718.94MB
- predicates: l_shipmode IN ('AIR', 'AIR REG'), l_shipinstruct = 'DELIVER IN PERSON'
+ predicates: l_shipmode IN ('AIR', 'AIR REG'), l_shipinstruct = 'DELIVER IN PERSON', l_quantity <= 11 OR l_quantity <= 20 OR l_quantity <= 30, l_quantity <= 11 OR l_quantity <= 20 OR l_quantity >= 20, l_quantity <= 11 OR l_quantity >= 10 OR l_quantity <= 30, l_quantity <= 11 OR l_quantity >= 10 OR l_quantity >= 20, l_quantity >= 1 OR l_quantity <= 20 OR l_quantity <= 30, l_quantity >= 1 OR l_quantity <= 20 OR l_quantity >= 20, l_quantity >= 1 OR l_quantity >= 10 OR l_quantity <= 30, l_ [...]
runtime filters: RF000 -> l_partkey
- row-size=72B cardinality=801.95K
+ row-size=72B cardinality=197.63K
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=18.94MB Threads=5
Per-Host Resource Estimates: Memory=351MB
@@ -4232,25 +4129,25 @@ PLAN-ROOT SINK
|
02:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: l_partkey = p_partkey
-| other predicates: ((p_brand = 'Brand#12' AND p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') AND l_quantity >= 1 AND l_quantity <= 11 AND p_size <= 5) OR (p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') AND l_quantity >= 10 AND l_quantity <= 20 AND p_size <= 10) OR (p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG') AND l_quantity >= 20 AND l_quantity <= 30 AND p_size <= 15))
+| other predicates: l_quantity <= 11 OR l_quantity <= 20 OR p_size <= 15, l_quantity <= 11 OR l_quantity >= 10 OR p_size <= 15, l_quantity <= 11 OR p_size <= 10 OR l_quantity <= 30, l_quantity <= 11 OR p_size <= 10 OR l_quantity >= 20, l_quantity <= 11 OR p_size <= 10 OR p_size <= 15, l_quantity >= 1 OR l_quantity <= 20 OR p_size <= 15, l_quantity >= 1 OR l_quantity >= 10 OR p_size <= 15, l_quantity >= 1 OR p_size <= 10 OR l_quantity <= 30, l_quantity >= 1 OR p_size <= 10 OR l_quantity [...]
| runtime filters: RF000 <- p_partkey
-| row-size=124B cardinality=79.99K
+| row-size=124B cardinality=1.41K
|
|--04:EXCHANGE [BROADCAST]
| |
| 01:SCAN HDFS [tpch.part]
| HDFS partitions=1/1 files=1 size=22.83MB
-| predicates: p_size >= 1
-| row-size=52B cardinality=20.00K
+| predicates: p_brand = 'Brand#12' OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_size >= 1, p_size <= 5 OR p_size <= 10 OR [...]
+| row-size=52B cardinality=1.43K
|
00:SCAN HDFS [tpch.lineitem]
HDFS partitions=1/1 files=1 size=718.94MB
- predicates: l_shipmode IN ('AIR', 'AIR REG'), l_shipinstruct = 'DELIVER IN PERSON'
+ predicates: l_shipmode IN ('AIR', 'AIR REG'), l_shipinstruct = 'DELIVER IN PERSON', l_quantity <= 11 OR l_quantity <= 20 OR l_quantity <= 30, l_quantity <= 11 OR l_quantity <= 20 OR l_quantity >= 20, l_quantity <= 11 OR l_quantity >= 10 OR l_quantity <= 30, l_quantity <= 11 OR l_quantity >= 10 OR l_quantity >= 20, l_quantity >= 1 OR l_quantity <= 20 OR l_quantity <= 30, l_quantity >= 1 OR l_quantity <= 20 OR l_quantity >= 20, l_quantity >= 1 OR l_quantity >= 10 OR l_quantity <= 30, l_ [...]
runtime filters: RF000 -> l_partkey
- row-size=72B cardinality=801.95K
+ row-size=72B cardinality=197.63K
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=29.88MB Threads=5
-Per-Host Resource Estimates: Memory=245MB
+Per-Host Resource Estimates: Memory=244MB
PLAN-ROOT SINK
|
06:AGGREGATE [FINALIZE]
@@ -4265,8 +4162,8 @@ PLAN-ROOT SINK
|
02:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: l_partkey = p_partkey
-| other predicates: ((p_brand = 'Brand#12' AND p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') AND l_quantity >= 1 AND l_quantity <= 11 AND p_size <= 5) OR (p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') AND l_quantity >= 10 AND l_quantity <= 20 AND p_size <= 10) OR (p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG') AND l_quantity >= 20 AND l_quantity <= 30 AND p_size <= 15))
-| row-size=124B cardinality=79.99K
+| other predicates: l_quantity <= 11 OR l_quantity <= 20 OR p_size <= 15, l_quantity <= 11 OR l_quantity >= 10 OR p_size <= 15, l_quantity <= 11 OR p_size <= 10 OR l_quantity <= 30, l_quantity <= 11 OR p_size <= 10 OR l_quantity >= 20, l_quantity <= 11 OR p_size <= 10 OR p_size <= 15, l_quantity >= 1 OR l_quantity <= 20 OR p_size <= 15, l_quantity >= 1 OR l_quantity >= 10 OR p_size <= 15, l_quantity >= 1 OR p_size <= 10 OR l_quantity <= 30, l_quantity >= 1 OR p_size <= 10 OR l_quantity [...]
+| row-size=124B cardinality=1.41K
|
|--JOIN BUILD
| | join-table-id=00 plan-id=01 cohort-id=01
@@ -4277,71 +4174,6 @@ PLAN-ROOT SINK
| |
| 01:SCAN HDFS [tpch.part]
| HDFS partitions=1/1 files=1 size=22.83MB
-| predicates: p_size >= 1
-| row-size=52B cardinality=20.00K
-|
-00:SCAN HDFS [tpch.lineitem]
- HDFS partitions=1/1 files=1 size=718.94MB
- predicates: l_shipmode IN ('AIR', 'AIR REG'), l_shipinstruct = 'DELIVER IN PERSON'
- runtime filters: RF000 -> l_partkey
- row-size=72B cardinality=801.95K
-====
-# TPCH-Q19 (with CNF rewrite enabled)
-# Q19 - Discounted Revenue Query
-select
- sum(l_extendedprice * (1 - l_discount)) as revenue
-from
- lineitem,
- part
-where
- p_partkey = l_partkey
- and (
- (
- p_brand = 'Brand#12'
- and p_container in ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG')
- and l_quantity >= 1 and l_quantity <= 11
- and p_size between 1 and 5
- and l_shipmode in ('AIR', 'AIR REG')
- and l_shipinstruct = 'DELIVER IN PERSON'
- )
- or
- (
- p_brand = 'Brand#23'
- and p_container in ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK')
- and l_quantity >= 10 and l_quantity <= 20
- and p_size between 1 and 10
- and l_shipmode in ('AIR', 'AIR REG')
- and l_shipinstruct = 'DELIVER IN PERSON'
- )
- or
- (
- p_brand = 'Brand#34'
- and p_container in ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG')
- and l_quantity >= 20 and l_quantity <= 30
- and p_size between 1 and 15
- and l_shipmode in ('AIR', 'AIR REG')
- and l_shipinstruct = 'DELIVER IN PERSON'
- )
- )
----- QUERYOPTIONS
-ENABLE_CNF_REWRITES=true
----- PLAN
-Max Per-Host Resource Reservation: Memory=18.94MB Threads=3
-Per-Host Resource Estimates: Memory=331MB
-PLAN-ROOT SINK
-|
-03:AGGREGATE [FINALIZE]
-| output: sum(l_extendedprice * (1 - l_discount))
-| row-size=16B cardinality=1
-|
-02:HASH JOIN [INNER JOIN]
-| hash predicates: l_partkey = p_partkey
-| other predicates: l_quantity <= 11 OR l_quantity <= 20 OR p_size <= 15, l_quantity <= 11 OR l_quantity >= 10 OR p_size <= 15, l_quantity <= 11 OR p_size <= 10 OR l_quantity <= 30, l_quantity <= 11 OR p_size <= 10 OR l_quantity >= 20, l_quantity <= 11 OR p_size <= 10 OR p_size <= 15, l_quantity >= 1 OR l_quantity <= 20 OR p_size <= 15, l_quantity >= 1 OR l_quantity >= 10 OR p_size <= 15, l_quantity >= 1 OR p_size <= 10 OR l_quantity <= 30, l_quantity >= 1 OR p_size <= 10 OR l_quantity [...]
-| runtime filters: RF000 <- p_partkey
-| row-size=124B cardinality=1.41K
-|
-|--01:SCAN HDFS [tpch.part]
-| HDFS partitions=1/1 files=1 size=22.83MB
| predicates: p_brand = 'Brand#12' OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_size >= 1, p_size <= 5 OR p_size <= 10 OR [...]
| row-size=52B cardinality=1.43K
|
diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpch-kudu.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpch-kudu.test
index c923eb5..32fbf0f 100644
--- a/testdata/workloads/functional-planner/queries/PlannerTest/tpch-kudu.test
+++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpch-kudu.test
@@ -109,7 +109,7 @@ PLAN-ROOT SINK
| 15:HASH JOIN [INNER JOIN]
| | hash predicates: s_nationkey = n_nationkey
| | runtime filters: RF013 <- n_nationkey
-| | row-size=328B cardinality=5.04K
+| | row-size=328B cardinality=5.05K
| |
| |--03:SCAN KUDU [tpch_kudu.nation]
| | runtime filters: RF011 -> n_regionkey
@@ -118,12 +118,12 @@ PLAN-ROOT SINK
| 14:HASH JOIN [INNER JOIN]
| | hash predicates: s_suppkey = ps_suppkey
| | runtime filters: RF015 <- ps_suppkey
-| | row-size=301B cardinality=5.04K
+| | row-size=301B cardinality=5.05K
| |
| |--13:HASH JOIN [INNER JOIN]
| | | hash predicates: ps_partkey = p_partkey
| | | runtime filters: RF017 <- p_partkey
-| | | row-size=99B cardinality=5.04K
+| | | row-size=99B cardinality=5.05K
| | |
| | |--00:SCAN KUDU [tpch_kudu.part]
| | | predicates: p_type LIKE '%BRASS'
@@ -438,52 +438,54 @@ order by
cust_nation,
l_year
---- PLAN
-Max Per-Host Resource Reservation: Memory=76.69MB Threads=7
-Per-Host Resource Estimates: Memory=85MB
+Max Per-Host Resource Reservation: Memory=44.62MB Threads=7
+Per-Host Resource Estimates: Memory=61MB
PLAN-ROOT SINK
|
12:SORT
| order by: supp_nation ASC, cust_nation ASC, l_year ASC
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
11:AGGREGATE [FINALIZE]
| output: sum(round(l_extendedprice * (1 - l_discount), 2))
| group by: n1.n_name, n2.n_name, year(l_shipdate)
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
10:HASH JOIN [INNER JOIN]
| hash predicates: c_nationkey = n2.n_nationkey
-| other predicates: ((n1.n_name = 'FRANCE' AND n2.n_name = 'GERMANY') OR (n1.n_name = 'GERMANY' AND n2.n_name = 'FRANCE'))
+| other predicates: n1.n_name = 'FRANCE' OR n2.n_name = 'FRANCE', n2.n_name = 'GERMANY' OR n1.n_name = 'GERMANY'
| runtime filters: RF001 <- n2.n_nationkey
-| row-size=144B cardinality=575.77K
+| row-size=144B cardinality=3.69K
|
|--05:SCAN KUDU [tpch_kudu.nation n2]
-| row-size=25B cardinality=25
+| kudu predicates: n2.n_name IN ('GERMANY', 'FRANCE')
+| row-size=25B cardinality=2
|
09:HASH JOIN [INNER JOIN]
-| hash predicates: s_nationkey = n1.n_nationkey
-| runtime filters: RF003 <- n1.n_nationkey
-| row-size=119B cardinality=575.77K
-|
-|--04:SCAN KUDU [tpch_kudu.nation n1]
-| row-size=25B cardinality=25
-|
-08:HASH JOIN [INNER JOIN]
| hash predicates: o_custkey = c_custkey
-| runtime filters: RF005 <- c_custkey
-| row-size=94B cardinality=575.77K
+| runtime filters: RF003 <- c_custkey
+| row-size=119B cardinality=46.06K
|
|--03:SCAN KUDU [tpch_kudu.customer]
| runtime filters: RF001 -> c_nationkey
| row-size=10B cardinality=150.00K
|
+08:HASH JOIN [INNER JOIN]
+| hash predicates: s_nationkey = n1.n_nationkey
+| runtime filters: RF005 <- n1.n_nationkey
+| row-size=109B cardinality=46.06K
+|
+|--04:SCAN KUDU [tpch_kudu.nation n1]
+| kudu predicates: n1.n_name IN ('FRANCE', 'GERMANY')
+| row-size=25B cardinality=2
+|
07:HASH JOIN [INNER JOIN]
| hash predicates: l_suppkey = s_suppkey
| runtime filters: RF007 <- s_suppkey
| row-size=84B cardinality=575.77K
|
|--00:SCAN KUDU [tpch_kudu.supplier]
-| runtime filters: RF003 -> s_nationkey
+| runtime filters: RF005 -> s_nationkey
| row-size=10B cardinality=10.00K
|
06:HASH JOIN [INNER JOIN]
@@ -492,7 +494,7 @@ PLAN-ROOT SINK
| row-size=74B cardinality=575.77K
|
|--02:SCAN KUDU [tpch_kudu.orders]
-| runtime filters: RF005 -> o_custkey
+| runtime filters: RF003 -> o_custkey
| row-size=16B cardinality=1.50M
|
01:SCAN KUDU [tpch_kudu.lineitem]
@@ -572,7 +574,7 @@ PLAN-ROOT SINK
12:HASH JOIN [INNER JOIN]
| hash predicates: c_nationkey = n1.n_nationkey
| runtime filters: RF005 <- n1.n_nationkey
-| row-size=114B cardinality=3.80K
+| row-size=114B cardinality=3.81K
|
|--05:SCAN KUDU [tpch_kudu.nation n1]
| runtime filters: RF003 -> n1.n_regionkey
@@ -581,12 +583,12 @@ PLAN-ROOT SINK
11:HASH JOIN [INNER JOIN]
| hash predicates: c_custkey = o_custkey
| runtime filters: RF007 <- o_custkey
-| row-size=110B cardinality=3.80K
+| row-size=110B cardinality=3.81K
|
|--10:HASH JOIN [INNER JOIN]
| | hash predicates: l_suppkey = s_suppkey
| | runtime filters: RF009 <- s_suppkey
-| | row-size=100B cardinality=3.80K
+| | row-size=100B cardinality=3.81K
| |
| |--01:SCAN KUDU [tpch_kudu.supplier]
| | runtime filters: RF001 -> s_nationkey
@@ -595,12 +597,12 @@ PLAN-ROOT SINK
| 09:HASH JOIN [INNER JOIN]
| | hash predicates: o_orderkey = l_orderkey
| | runtime filters: RF011 <- l_orderkey
-| | row-size=90B cardinality=3.80K
+| | row-size=90B cardinality=3.81K
| |
| |--08:HASH JOIN [INNER JOIN]
| | | hash predicates: l_partkey = p_partkey
| | | runtime filters: RF013 <- p_partkey
-| | | row-size=48B cardinality=39.63K
+| | | row-size=48B cardinality=39.66K
| | |
| | |--00:SCAN KUDU [tpch_kudu.part]
| | | kudu predicates: p_type = 'ECONOMY ANODIZED STEEL'
@@ -1359,8 +1361,8 @@ where
)
)
---- PLAN
-Max Per-Host Resource Reservation: Memory=2.88MB Threads=3
-Per-Host Resource Estimates: Memory=22MB
+Max Per-Host Resource Reservation: Memory=1.94MB Threads=3
+Per-Host Resource Estimates: Memory=21MB
PLAN-ROOT SINK
|
03:AGGREGATE [FINALIZE]
@@ -1369,18 +1371,20 @@ PLAN-ROOT SINK
|
02:HASH JOIN [INNER JOIN]
| hash predicates: l_partkey = p_partkey
-| other predicates: ((p_brand = 'Brand#12' AND p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') AND l_quantity >= 1 AND l_quantity <= 11 AND p_size <= 5) OR (p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') AND l_quantity >= 10 AND l_quantity <= 20 AND p_size <= 10) OR (p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG') AND l_quantity >= 20 AND l_quantity <= 30 AND p_size <= 15))
+| other predicates: l_quantity <= 11 OR l_quantity <= 20 OR p_size <= 15, l_quantity <= 11 OR l_quantity >= 10 OR p_size <= 15, l_quantity <= 11 OR p_size <= 10 OR l_quantity <= 30, l_quantity <= 11 OR p_size <= 10 OR l_quantity >= 20, l_quantity <= 11 OR p_size <= 10 OR p_size <= 15, l_quantity >= 1 OR l_quantity <= 20 OR p_size <= 15, l_quantity >= 1 OR l_quantity >= 10 OR p_size <= 15, l_quantity >= 1 OR p_size <= 10 OR l_quantity <= 30, l_quantity >= 1 OR p_size <= 10 OR l_quantity [...]
| runtime filters: RF001 <- p_partkey
-| row-size=92B cardinality=79.99K
+| row-size=92B cardinality=1.41K
|
|--01:SCAN KUDU [tpch_kudu.part]
+| predicates: p_brand = 'Brand#12' OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_size <= 5 OR p_size <= 10 OR p_size <= 15 [...]
| kudu predicates: p_size >= 1
-| row-size=60B cardinality=20.00K
+| row-size=60B cardinality=1.43K
|
00:SCAN KUDU [tpch_kudu.lineitem]
+ predicates: l_quantity <= 11 OR l_quantity <= 20 OR l_quantity <= 30, l_quantity <= 11 OR l_quantity <= 20 OR l_quantity >= 20, l_quantity <= 11 OR l_quantity >= 10 OR l_quantity <= 30, l_quantity <= 11 OR l_quantity >= 10 OR l_quantity >= 20, l_quantity >= 1 OR l_quantity <= 20 OR l_quantity <= 30, l_quantity >= 1 OR l_quantity <= 20 OR l_quantity >= 20, l_quantity >= 1 OR l_quantity >= 10 OR l_quantity <= 30, l_quantity >= 1 OR l_quantity >= 10 OR l_quantity >= 20
kudu predicates: l_shipmode IN ('AIR', 'AIR REG'), l_shipinstruct = 'DELIVER IN PERSON'
runtime filters: RF001 -> l_partkey
- row-size=32B cardinality=801.95K
+ row-size=32B cardinality=197.63K
====
# Q20 - Potential Part Promotion Query
select
diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpch-nested.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpch-nested.test
index d62f50d..9eaca45 100644
--- a/testdata/workloads/functional-planner/queries/PlannerTest/tpch-nested.test
+++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpch-nested.test
@@ -36,7 +36,7 @@ PLAN-ROOT SINK
| row-size=120B cardinality=1.50M
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: l_shipdate <= '1998-09-02'
row-size=68B cardinality=1.50M
---- DISTRIBUTEDPLAN
@@ -64,7 +64,7 @@ PLAN-ROOT SINK
| row-size=120B cardinality=1.50M
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: l_shipdate <= '1998-09-02'
row-size=68B cardinality=1.50M
====
@@ -147,7 +147,7 @@ PLAN-ROOT SINK
| | | row-size=0B cardinality=10
| | |
| | 16:SCAN HDFS [tpch_nested_parquet.region r]
-| | HDFS partitions=1/1 files=1 size=3.45KB
+| | HDFS partitions=1/1 files=1 size=3.50KB
| | predicates: r_name = 'EUROPE', !empty(r.r_nations)
| | row-size=31B cardinality=1
| |
@@ -164,7 +164,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 11:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| predicates: !empty(s.s_partsupps)
| runtime filters: RF008 -> s_nationkey
| row-size=14B cardinality=10.00K
@@ -187,7 +187,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 06:SCAN HDFS [tpch_nested_parquet.region r]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| predicates: r_name = 'EUROPE', !empty(r.r_nations)
| row-size=31B cardinality=1
|
@@ -214,7 +214,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.supplier s]
- HDFS partitions=1/1 files=1 size=41.79MB
+ HDFS partitions=1/1 files=1 size=41.80MB
predicates: !empty(s.s_partsupps)
runtime filters: RF004 -> s_nationkey
row-size=191B cardinality=10.00K
@@ -270,7 +270,7 @@ PLAN-ROOT SINK
| | | row-size=0B cardinality=10
| | |
| | 16:SCAN HDFS [tpch_nested_parquet.region r]
-| | HDFS partitions=1/1 files=1 size=3.45KB
+| | HDFS partitions=1/1 files=1 size=3.50KB
| | predicates: r_name = 'EUROPE', !empty(r.r_nations)
| | row-size=31B cardinality=1
| |
@@ -287,7 +287,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 11:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| predicates: !empty(s.s_partsupps)
| runtime filters: RF008 -> s_nationkey
| row-size=14B cardinality=10.00K
@@ -312,7 +312,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 06:SCAN HDFS [tpch_nested_parquet.region r]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| predicates: r_name = 'EUROPE', !empty(r.r_nations)
| row-size=31B cardinality=1
|
@@ -341,7 +341,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.supplier s]
- HDFS partitions=1/1 files=1 size=41.79MB
+ HDFS partitions=1/1 files=1 size=41.80MB
predicates: !empty(s.s_partsupps)
runtime filters: RF004 -> s_nationkey
row-size=191B cardinality=10.00K
@@ -408,7 +408,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: c_mktsegment = 'BUILDING', !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderdate < '1995-03-15'
predicates on l: l_shipdate > '1995-03-15'
@@ -463,7 +463,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: c_mktsegment = 'BUILDING', !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderdate < '1995-03-15'
predicates on l: l_shipdate > '1995-03-15'
@@ -531,7 +531,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: o_orderdate >= '1993-07-01', o_orderdate < '1993-10-01'
predicates on o_lineitems: l_commitdate < l_receiptdate
@@ -585,7 +585,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: o_orderdate >= '1993-07-01', o_orderdate < '1993-10-01'
predicates on o_lineitems: l_commitdate < l_receiptdate
@@ -634,7 +634,7 @@ PLAN-ROOT SINK
| row-size=117B cardinality=6.00G
|
|--09:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| row-size=10B cardinality=10.00K
|
15:HASH JOIN [INNER JOIN]
@@ -655,7 +655,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 10:SCAN HDFS [tpch_nested_parquet.region r]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| predicates: r_name = 'ASIA', !empty(r.r_nations)
| row-size=31B cardinality=1
|
@@ -684,7 +684,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderdate >= '1994-01-01', o_orderdate < '1995-01-01'
runtime filters: RF000 -> c_nationkey, RF004 -> c.c_nationkey
@@ -721,7 +721,7 @@ PLAN-ROOT SINK
|--20:EXCHANGE [BROADCAST]
| |
| 09:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| row-size=10B cardinality=10.00K
|
15:HASH JOIN [INNER JOIN, BROADCAST]
@@ -744,7 +744,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 10:SCAN HDFS [tpch_nested_parquet.region r]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| predicates: r_name = 'ASIA', !empty(r.r_nations)
| row-size=31B cardinality=1
|
@@ -773,7 +773,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderdate >= '1994-01-01', o_orderdate < '1995-01-01'
runtime filters: RF000 -> c_nationkey, RF004 -> c.c_nationkey
@@ -800,7 +800,7 @@ PLAN-ROOT SINK
| row-size=16B cardinality=1
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: l_discount <= 0.07, l_discount >= 0.05, l_quantity < 24, l_shipdate < '1995-01-01', l_shipdate >= '1994-01-01'
row-size=36B cardinality=1.50M
---- DISTRIBUTEDPLAN
@@ -819,7 +819,7 @@ PLAN-ROOT SINK
| row-size=16B cardinality=1
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: l_discount <= 0.07, l_discount >= 0.05, l_quantity < 24, l_shipdate < '1995-01-01', l_shipdate >= '1994-01-01'
row-size=36B cardinality=1.50M
====
@@ -877,13 +877,14 @@ PLAN-ROOT SINK
|
14:HASH JOIN [INNER JOIN]
| hash predicates: c_nationkey = n2.n_nationkey
-| other predicates: ((n1.n_name = 'FRANCE' AND n2.n_name = 'GERMANY') OR (n1.n_name = 'GERMANY' AND n2.n_name = 'FRANCE'))
+| other predicates: n1.n_name = 'FRANCE' OR n2.n_name = 'FRANCE', n2.n_name = 'GERMANY' OR n1.n_name = 'GERMANY'
| runtime filters: RF000 <- n2.n_nationkey
| row-size=100B cardinality=15.00M
|
|--11:SCAN HDFS [tpch_nested_parquet.region.r_nations n2]
-| HDFS partitions=1/1 files=1 size=3.45KB
-| row-size=14B cardinality=50
+| HDFS partitions=1/1 files=1 size=3.50KB
+| predicates: n2.n_name IN ('GERMANY', 'FRANCE')
+| row-size=14B cardinality=5
|
13:HASH JOIN [INNER JOIN]
| hash predicates: s_nationkey = n1.n_nationkey
@@ -891,15 +892,16 @@ PLAN-ROOT SINK
| row-size=86B cardinality=15.00M
|
|--10:SCAN HDFS [tpch_nested_parquet.region.r_nations n1]
-| HDFS partitions=1/1 files=1 size=3.45KB
-| row-size=14B cardinality=50
+| HDFS partitions=1/1 files=1 size=3.50KB
+| predicates: n1.n_name IN ('FRANCE', 'GERMANY')
+| row-size=14B cardinality=5
|
12:HASH JOIN [INNER JOIN]
| hash predicates: l_suppkey = s_suppkey
| row-size=72B cardinality=15.00M
|
|--09:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| runtime filters: RF002 -> s_nationkey
| row-size=10B cardinality=10.00K
|
@@ -928,7 +930,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems)
predicates on l: l_shipdate >= '1995-01-01', l_shipdate <= '1996-12-31'
@@ -960,15 +962,16 @@ PLAN-ROOT SINK
|
14:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: c_nationkey = n2.n_nationkey
-| other predicates: ((n1.n_name = 'FRANCE' AND n2.n_name = 'GERMANY') OR (n1.n_name = 'GERMANY' AND n2.n_name = 'FRANCE'))
+| other predicates: n1.n_name = 'FRANCE' OR n2.n_name = 'FRANCE', n2.n_name = 'GERMANY' OR n1.n_name = 'GERMANY'
| runtime filters: RF000 <- n2.n_nationkey
| row-size=100B cardinality=15.00M
|
|--19:EXCHANGE [BROADCAST]
| |
| 11:SCAN HDFS [tpch_nested_parquet.region.r_nations n2]
-| HDFS partitions=1/1 files=1 size=3.45KB
-| row-size=14B cardinality=50
+| HDFS partitions=1/1 files=1 size=3.50KB
+| predicates: n2.n_name IN ('GERMANY', 'FRANCE')
+| row-size=14B cardinality=5
|
13:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: s_nationkey = n1.n_nationkey
@@ -978,8 +981,9 @@ PLAN-ROOT SINK
|--18:EXCHANGE [BROADCAST]
| |
| 10:SCAN HDFS [tpch_nested_parquet.region.r_nations n1]
-| HDFS partitions=1/1 files=1 size=3.45KB
-| row-size=14B cardinality=50
+| HDFS partitions=1/1 files=1 size=3.50KB
+| predicates: n1.n_name IN ('FRANCE', 'GERMANY')
+| row-size=14B cardinality=5
|
12:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: l_suppkey = s_suppkey
@@ -988,7 +992,7 @@ PLAN-ROOT SINK
|--17:EXCHANGE [BROADCAST]
| |
| 09:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| runtime filters: RF002 -> s_nationkey
| row-size=10B cardinality=10.00K
|
@@ -1017,7 +1021,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems)
predicates on l: l_shipdate >= '1995-01-01', l_shipdate <= '1996-12-31'
@@ -1080,7 +1084,7 @@ PLAN-ROOT SINK
| row-size=167B cardinality=15.00M
|
|--16:SCAN HDFS [tpch_nested_parquet.region.r_nations n2]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| row-size=14B cardinality=50
|
19:HASH JOIN [INNER JOIN]
@@ -1101,7 +1105,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 11:SCAN HDFS [tpch_nested_parquet.region r]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| predicates: r_name = 'AMERICA', !empty(r.r_nations)
| row-size=31B cardinality=1
|
@@ -1119,7 +1123,7 @@ PLAN-ROOT SINK
| row-size=80B cardinality=15.00M
|
|--09:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| runtime filters: RF000 -> s_nationkey
| row-size=10B cardinality=10.00K
|
@@ -1148,7 +1152,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderdate >= '1995-01-01', o_orderdate <= '1996-12-31'
runtime filters: RF002 -> c_nationkey
@@ -1185,7 +1189,7 @@ PLAN-ROOT SINK
|--26:EXCHANGE [BROADCAST]
| |
| 16:SCAN HDFS [tpch_nested_parquet.region.r_nations n2]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| row-size=14B cardinality=50
|
19:HASH JOIN [INNER JOIN, BROADCAST]
@@ -1208,7 +1212,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 11:SCAN HDFS [tpch_nested_parquet.region r]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| predicates: r_name = 'AMERICA', !empty(r.r_nations)
| row-size=31B cardinality=1
|
@@ -1230,7 +1234,7 @@ PLAN-ROOT SINK
|--23:EXCHANGE [BROADCAST]
| |
| 09:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| runtime filters: RF000 -> s_nationkey
| row-size=10B cardinality=10.00K
|
@@ -1259,7 +1263,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderdate >= '1995-01-01', o_orderdate <= '1996-12-31'
runtime filters: RF002 -> c_nationkey
@@ -1316,7 +1320,7 @@ PLAN-ROOT SINK
| row-size=169B cardinality=15.00M
|
|--11:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| row-size=14B cardinality=50
|
13:HASH JOIN [INNER JOIN]
@@ -1345,7 +1349,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 05:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| predicates: !empty(s.s_partsupps)
| runtime filters: RF000 -> s_nationkey
| row-size=22B cardinality=10.00K
@@ -1363,7 +1367,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders o]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(o.o_lineitems)
row-size=24B cardinality=1.50M
---- DISTRIBUTEDPLAN
@@ -1398,7 +1402,7 @@ PLAN-ROOT SINK
|--19:EXCHANGE [BROADCAST]
| |
| 11:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| row-size=14B cardinality=50
|
13:HASH JOIN [INNER JOIN, BROADCAST]
@@ -1431,7 +1435,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 05:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| predicates: !empty(s.s_partsupps)
| runtime filters: RF000 -> s_nationkey
| row-size=22B cardinality=10.00K
@@ -1449,7 +1453,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders o]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(o.o_lineitems)
row-size=24B cardinality=1.50M
====
@@ -1506,7 +1510,7 @@ PLAN-ROOT SINK
| row-size=275B cardinality=15.00M
|
|--09:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| row-size=14B cardinality=50
|
01:SUBPLAN
@@ -1534,7 +1538,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderdate >= '1993-10-01', o_orderdate < '1994-01-01'
predicates on l: l_returnflag = 'R'
@@ -1573,7 +1577,7 @@ PLAN-ROOT SINK
|--13:EXCHANGE [BROADCAST]
| |
| 09:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| row-size=14B cardinality=50
|
01:SUBPLAN
@@ -1601,7 +1605,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderdate >= '1993-10-01', o_orderdate < '1994-01-01'
predicates on l: l_returnflag = 'R'
@@ -1664,7 +1668,7 @@ PLAN-ROOT SINK
| | row-size=40B cardinality=100.00K
| |
| |--13:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| | HDFS partitions=1/1 files=1 size=3.45KB
+| | HDFS partitions=1/1 files=1 size=3.50KB
| | predicates: n_name = 'GERMANY'
| | row-size=14B cardinality=5
| |
@@ -1681,7 +1685,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 08:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| predicates: !empty(s.s_partsupps)
| runtime filters: RF002 -> s_nationkey
| row-size=14B cardinality=10.00K
@@ -1697,7 +1701,7 @@ PLAN-ROOT SINK
| row-size=48B cardinality=100.00K
|
|--05:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| predicates: n_name = 'GERMANY'
| row-size=14B cardinality=5
|
@@ -1714,7 +1718,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.supplier s]
- HDFS partitions=1/1 files=1 size=41.79MB
+ HDFS partitions=1/1 files=1 size=41.80MB
predicates: !empty(s.s_partsupps)
runtime filters: RF000 -> s_nationkey
row-size=14B cardinality=10.00K
@@ -1754,7 +1758,7 @@ PLAN-ROOT SINK
| |--21:EXCHANGE [BROADCAST]
| | |
| | 13:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| | HDFS partitions=1/1 files=1 size=3.45KB
+| | HDFS partitions=1/1 files=1 size=3.50KB
| | predicates: n_name = 'GERMANY'
| | row-size=14B cardinality=5
| |
@@ -1771,7 +1775,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 08:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| predicates: !empty(s.s_partsupps)
| runtime filters: RF002 -> s_nationkey
| row-size=14B cardinality=10.00K
@@ -1796,7 +1800,7 @@ PLAN-ROOT SINK
|--18:EXCHANGE [BROADCAST]
| |
| 05:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| predicates: n_name = 'GERMANY'
| row-size=14B cardinality=5
|
@@ -1813,7 +1817,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.supplier s]
- HDFS partitions=1/1 files=1 size=41.79MB
+ HDFS partitions=1/1 files=1 size=41.80MB
predicates: !empty(s.s_partsupps)
runtime filters: RF000 -> s_nationkey
row-size=14B cardinality=10.00K
@@ -1874,7 +1878,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders o]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(o.o_lineitems)
predicates on l: l_shipmode IN ('MAIL', 'SHIP'), l_commitdate < l_receiptdate, l_shipdate < l_commitdate, l_receiptdate >= '1994-01-01', l_receiptdate < '1995-01-01'
row-size=24B cardinality=1.50M
@@ -1915,7 +1919,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders o]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(o.o_lineitems)
predicates on l: l_shipmode IN ('MAIL', 'SHIP'), l_commitdate < l_receiptdate, l_shipdate < l_commitdate, l_receiptdate >= '1994-01-01', l_receiptdate < '1995-01-01'
row-size=24B cardinality=1.50M
@@ -1973,7 +1977,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates on c_orders: (NOT o_comment LIKE '%special%requests%')
row-size=20B cardinality=150.00K
---- DISTRIBUTEDPLAN
@@ -2025,7 +2029,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates on c_orders: (NOT o_comment LIKE '%special%requests%')
row-size=20B cardinality=150.00K
====
@@ -2063,7 +2067,7 @@ PLAN-ROOT SINK
| row-size=41B cardinality=200.00K
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: l_shipdate < '1995-10-01', l_shipdate >= '1995-09-01'
runtime filters: RF000 -> l_partkey
row-size=36B cardinality=1.50M
@@ -2094,7 +2098,7 @@ PLAN-ROOT SINK
| row-size=41B cardinality=200.00K
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: l_shipdate < '1995-10-01', l_shipdate >= '1995-09-01'
runtime filters: RF000 -> l_partkey
row-size=36B cardinality=1.50M
@@ -2154,7 +2158,7 @@ PLAN-ROOT SINK
| | row-size=24B cardinality=1.50M
| |
| 03:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
-| HDFS partitions=1/1 files=4 size=288.99MB
+| HDFS partitions=1/1 files=4 size=289.14MB
| predicates: l_shipdate < '1996-04-01', l_shipdate >= '1996-01-01'
| row-size=36B cardinality=1.50M
|
@@ -2164,7 +2168,7 @@ PLAN-ROOT SINK
| row-size=126B cardinality=1.50M
|
|--00:SCAN HDFS [tpch_nested_parquet.supplier]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| row-size=102B cardinality=10.00K
|
02:AGGREGATE [FINALIZE]
@@ -2173,7 +2177,7 @@ PLAN-ROOT SINK
| row-size=24B cardinality=1.50M
|
01:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: l_shipdate < '1996-04-01', l_shipdate >= '1996-01-01'
runtime filters: RF000 -> l.l_suppkey
row-size=36B cardinality=1.50M
@@ -2218,7 +2222,7 @@ PLAN-ROOT SINK
| | row-size=24B cardinality=1.50M
| |
| 03:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
-| HDFS partitions=1/1 files=4 size=288.99MB
+| HDFS partitions=1/1 files=4 size=289.14MB
| predicates: l_shipdate < '1996-04-01', l_shipdate >= '1996-01-01'
| row-size=36B cardinality=1.50M
|
@@ -2230,7 +2234,7 @@ PLAN-ROOT SINK
|--11:EXCHANGE [HASH(s_suppkey)]
| |
| 00:SCAN HDFS [tpch_nested_parquet.supplier]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| row-size=102B cardinality=10.00K
|
10:AGGREGATE [FINALIZE]
@@ -2246,7 +2250,7 @@ PLAN-ROOT SINK
| row-size=24B cardinality=1.50M
|
01:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: l_shipdate < '1996-04-01', l_shipdate >= '1996-01-01'
runtime filters: RF000 -> l.l_suppkey
row-size=36B cardinality=1.50M
@@ -2317,7 +2321,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.supplier s]
- HDFS partitions=1/1 files=1 size=41.79MB
+ HDFS partitions=1/1 files=1 size=41.80MB
predicates: NOT s_comment LIKE '%Customer%Complaints%', !empty(s.s_partsupps)
row-size=95B cardinality=1.00K
---- DISTRIBUTEDPLAN
@@ -2378,7 +2382,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.supplier s]
- HDFS partitions=1/1 files=1 size=41.79MB
+ HDFS partitions=1/1 files=1 size=41.80MB
predicates: NOT s_comment LIKE '%Customer%Complaints%', !empty(s.s_partsupps)
row-size=95B cardinality=1.00K
====
@@ -2422,7 +2426,7 @@ PLAN-ROOT SINK
| | row-size=16B cardinality=15.00M
| |
| 02:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
-| HDFS partitions=1/1 files=4 size=288.99MB
+| HDFS partitions=1/1 files=4 size=289.14MB
| row-size=16B cardinality=15.00M
|
04:HASH JOIN [INNER JOIN]
@@ -2437,7 +2441,7 @@ PLAN-ROOT SINK
| row-size=48B cardinality=1.00K
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
runtime filters: RF000 -> l.l_partkey, RF002 -> l_partkey
row-size=24B cardinality=15.00M
---- DISTRIBUTEDPLAN
@@ -2474,7 +2478,7 @@ PLAN-ROOT SINK
| | row-size=16B cardinality=15.00M
| |
| 02:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
-| HDFS partitions=1/1 files=4 size=288.99MB
+| HDFS partitions=1/1 files=4 size=289.14MB
| row-size=16B cardinality=15.00M
|
10:EXCHANGE [HASH(p_partkey)]
@@ -2493,7 +2497,7 @@ PLAN-ROOT SINK
| row-size=48B cardinality=1.00K
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
runtime filters: RF000 -> l.l_partkey, RF002 -> l_partkey
row-size=24B cardinality=15.00M
====
@@ -2555,7 +2559,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
row-size=50B cardinality=150.00K
---- DISTRIBUTEDPLAN
@@ -2601,7 +2605,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
row-size=50B cardinality=150.00K
====
@@ -2653,18 +2657,18 @@ PLAN-ROOT SINK
|
02:HASH JOIN [INNER JOIN]
| hash predicates: l_partkey = p_partkey
-| other predicates: ((p_brand = 'Brand#12' AND p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') AND l_quantity >= 1 AND l_quantity <= 11 AND p_size <= 5) OR (p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') AND l_quantity >= 10 AND l_quantity <= 20 AND p_size <= 10) OR (p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG') AND l_quantity >= 20 AND l_quantity <= 30 AND p_size <= 15))
+| other predicates: l_quantity <= 11 OR l_quantity <= 20 OR p_size <= 15, l_quantity <= 11 OR l_quantity >= 10 OR p_size <= 15, l_quantity <= 11 OR p_size <= 10 OR l_quantity <= 30, l_quantity <= 11 OR p_size <= 10 OR l_quantity >= 20, l_quantity <= 11 OR p_size <= 10 OR p_size <= 15, l_quantity >= 1 OR l_quantity <= 20 OR p_size <= 15, l_quantity >= 1 OR l_quantity >= 10 OR p_size <= 15, l_quantity >= 1 OR p_size <= 10 OR l_quantity <= 30, l_quantity >= 1 OR p_size <= 10 OR l_quantity [...]
| runtime filters: RF000 <- p_partkey
| row-size=108B cardinality=1.50M
|
|--01:SCAN HDFS [tpch_nested_parquet.part p]
| HDFS partitions=1/1 files=1 size=6.24MB
-| predicates: p_size >= 1
-| row-size=52B cardinality=20.00K
+| predicates: p_brand = 'Brand#12' OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_size >= 1, p_size <= 5 OR p_size <= 10 OR [...]
+| row-size=52B cardinality=1.43K
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
- HDFS partitions=1/1 files=4 size=288.99MB
- predicates: l_shipmode IN ('AIR', 'AIR REG'), l_shipinstruct = 'DELIVER IN PERSON'
+ HDFS partitions=1/1 files=4 size=289.14MB
+ predicates: l_shipmode IN ('AIR', 'AIR REG'), l_quantity <= 11 OR l_quantity <= 20 OR l_quantity <= 30, l_quantity <= 11 OR l_quantity <= 20 OR l_quantity >= 20, l_quantity <= 11 OR l_quantity >= 10 OR l_quantity <= 30, l_quantity <= 11 OR l_quantity >= 10 OR l_quantity >= 20, l_quantity >= 1 OR l_quantity <= 20 OR l_quantity <= 30, l_quantity >= 1 OR l_quantity <= 20 OR l_quantity >= 20, l_quantity >= 1 OR l_quantity >= 10 OR l_quantity <= 30, l_quantity >= 1 OR l_quantity >= 10 OR l [...]
runtime filters: RF000 -> l_partkey
row-size=56B cardinality=1.50M
---- DISTRIBUTEDPLAN
@@ -2684,7 +2688,7 @@ PLAN-ROOT SINK
|
02:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: l_partkey = p_partkey
-| other predicates: ((p_brand = 'Brand#12' AND p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') AND l_quantity >= 1 AND l_quantity <= 11 AND p_size <= 5) OR (p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') AND l_quantity >= 10 AND l_quantity <= 20 AND p_size <= 10) OR (p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG') AND l_quantity >= 20 AND l_quantity <= 30 AND p_size <= 15))
+| other predicates: l_quantity <= 11 OR l_quantity <= 20 OR p_size <= 15, l_quantity <= 11 OR l_quantity >= 10 OR p_size <= 15, l_quantity <= 11 OR p_size <= 10 OR l_quantity <= 30, l_quantity <= 11 OR p_size <= 10 OR l_quantity >= 20, l_quantity <= 11 OR p_size <= 10 OR p_size <= 15, l_quantity >= 1 OR l_quantity <= 20 OR p_size <= 15, l_quantity >= 1 OR l_quantity >= 10 OR p_size <= 15, l_quantity >= 1 OR p_size <= 10 OR l_quantity <= 30, l_quantity >= 1 OR p_size <= 10 OR l_quantity [...]
| runtime filters: RF000 <- p_partkey
| row-size=108B cardinality=1.50M
|
@@ -2692,12 +2696,12 @@ PLAN-ROOT SINK
| |
| 01:SCAN HDFS [tpch_nested_parquet.part p]
| HDFS partitions=1/1 files=1 size=6.24MB
-| predicates: p_size >= 1
-| row-size=52B cardinality=20.00K
+| predicates: p_brand = 'Brand#12' OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') OR p_brand = 'Brand#23' AND p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR p_brand = 'Brand#34' AND p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), p_size >= 1, p_size <= 5 OR p_size <= 10 OR [...]
+| row-size=52B cardinality=1.43K
|
00:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
- HDFS partitions=1/1 files=4 size=288.99MB
- predicates: l_shipmode IN ('AIR', 'AIR REG'), l_shipinstruct = 'DELIVER IN PERSON'
+ HDFS partitions=1/1 files=4 size=289.14MB
+ predicates: l_shipmode IN ('AIR', 'AIR REG'), l_quantity <= 11 OR l_quantity <= 20 OR l_quantity <= 30, l_quantity <= 11 OR l_quantity <= 20 OR l_quantity >= 20, l_quantity <= 11 OR l_quantity >= 10 OR l_quantity <= 30, l_quantity <= 11 OR l_quantity >= 10 OR l_quantity >= 20, l_quantity >= 1 OR l_quantity <= 20 OR l_quantity <= 30, l_quantity >= 1 OR l_quantity <= 20 OR l_quantity >= 20, l_quantity >= 1 OR l_quantity >= 10 OR l_quantity <= 30, l_quantity >= 1 OR l_quantity >= 10 OR l [...]
runtime filters: RF000 -> l_partkey
row-size=56B cardinality=1.50M
====
@@ -2769,7 +2773,7 @@ PLAN-ROOT SINK
| | row-size=115B cardinality=100.00K
| |
| |--05:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| | HDFS partitions=1/1 files=1 size=3.45KB
+| | HDFS partitions=1/1 files=1 size=3.50KB
| | predicates: n_name = 'CANADA'
| | row-size=14B cardinality=5
| |
@@ -2786,7 +2790,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 00:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| predicates: !empty(s.s_partsupps)
| runtime filters: RF006 -> s_nationkey
| row-size=89B cardinality=10.00K
@@ -2797,7 +2801,7 @@ PLAN-ROOT SINK
| row-size=32B cardinality=1.50M
|
07:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: l_shipdate < '1995-01-01', l_shipdate >= '1994-01-01'
runtime filters: RF000 -> l.l_partkey, RF001 -> l.l_suppkey
row-size=36B cardinality=1.50M
@@ -2850,7 +2854,7 @@ PLAN-ROOT SINK
| |--16:EXCHANGE [BROADCAST]
| | |
| | 05:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| | HDFS partitions=1/1 files=1 size=3.45KB
+| | HDFS partitions=1/1 files=1 size=3.50KB
| | predicates: n_name = 'CANADA'
| | row-size=14B cardinality=5
| |
@@ -2867,7 +2871,7 @@ PLAN-ROOT SINK
| | row-size=0B cardinality=10
| |
| 00:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| predicates: !empty(s.s_partsupps)
| runtime filters: RF006 -> s_nationkey
| row-size=89B cardinality=10.00K
@@ -2885,7 +2889,7 @@ PLAN-ROOT SINK
| row-size=32B cardinality=1.50M
|
07:SCAN HDFS [tpch_nested_parquet.customer.c_orders.o_lineitems l]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: l_shipdate < '1995-01-01', l_shipdate >= '1994-01-01'
runtime filters: RF000 -> l.l_partkey, RF001 -> l.l_suppkey
row-size=36B cardinality=1.50M
@@ -2970,7 +2974,7 @@ PLAN-ROOT SINK
| row-size=146B cardinality=15.00M
|
|--10:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| predicates: n_name = 'SAUDI ARABIA'
| row-size=14B cardinality=5
|
@@ -2979,7 +2983,7 @@ PLAN-ROOT SINK
| row-size=132B cardinality=15.00M
|
|--00:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| runtime filters: RF000 -> s_nationkey
| row-size=40B cardinality=10.00K
|
@@ -3008,7 +3012,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
01:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderstatus = 'F'
predicates on l1: l1.l_receiptdate > l1.l_commitdate
@@ -3067,7 +3071,7 @@ PLAN-ROOT SINK
|--22:EXCHANGE [BROADCAST]
| |
| 10:SCAN HDFS [tpch_nested_parquet.region.r_nations n]
-| HDFS partitions=1/1 files=1 size=3.45KB
+| HDFS partitions=1/1 files=1 size=3.50KB
| predicates: n_name = 'SAUDI ARABIA'
| row-size=14B cardinality=5
|
@@ -3078,7 +3082,7 @@ PLAN-ROOT SINK
|--21:EXCHANGE [BROADCAST]
| |
| 00:SCAN HDFS [tpch_nested_parquet.supplier s]
-| HDFS partitions=1/1 files=1 size=41.79MB
+| HDFS partitions=1/1 files=1 size=41.80MB
| runtime filters: RF000 -> s_nationkey
| row-size=40B cardinality=10.00K
|
@@ -3107,7 +3111,7 @@ PLAN-ROOT SINK
| row-size=0B cardinality=10
|
01:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: !empty(c.c_orders)
predicates on o: !empty(o.o_lineitems), o_orderstatus = 'F'
predicates on l1: l1.l_receiptdate > l1.l_commitdate
@@ -3183,12 +3187,12 @@ PLAN-ROOT SINK
| | row-size=8B cardinality=1
| |
| 01:SCAN HDFS [tpch_nested_parquet.customer c]
-| HDFS partitions=1/1 files=4 size=288.99MB
+| HDFS partitions=1/1 files=4 size=289.14MB
| predicates: c_acctbal > 0, substr(c_phone, 1, 2) IN ('13', '31', '23', '29', '30', '18', '17')
| row-size=35B cardinality=15.00K
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: substr(c_phone, 1, 2) IN ('13', '31', '23', '29', '30', '18', '17')
row-size=47B cardinality=15.00K
---- DISTRIBUTEDPLAN
@@ -3244,12 +3248,12 @@ PLAN-ROOT SINK
| | row-size=8B cardinality=1
| |
| 01:SCAN HDFS [tpch_nested_parquet.customer c]
-| HDFS partitions=1/1 files=4 size=288.99MB
+| HDFS partitions=1/1 files=4 size=289.14MB
| predicates: c_acctbal > 0, substr(c_phone, 1, 2) IN ('13', '31', '23', '29', '30', '18', '17')
| row-size=35B cardinality=15.00K
|
00:SCAN HDFS [tpch_nested_parquet.customer c]
- HDFS partitions=1/1 files=4 size=288.99MB
+ HDFS partitions=1/1 files=4 size=289.14MB
predicates: substr(c_phone, 1, 2) IN ('13', '31', '23', '29', '30', '18', '17')
row-size=47B cardinality=15.00K
====
diff --git a/testdata/workloads/functional-planner/queries/PlannerTest/tpch-views.test b/testdata/workloads/functional-planner/queries/PlannerTest/tpch-views.test
index 6a62e3d..0bb9990 100644
--- a/testdata/workloads/functional-planner/queries/PlannerTest/tpch-views.test
+++ b/testdata/workloads/functional-planner/queries/PlannerTest/tpch-views.test
@@ -34,7 +34,7 @@ PLAN-ROOT SINK
| row-size=122B cardinality=6
|
00:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
predicates: tpch.lineitem.l_shipdate <= '1998-09-02'
row-size=80B cardinality=600.12K
====
@@ -102,7 +102,7 @@ PLAN-ROOT SINK
| | row-size=325B cardinality=1.01K
| |
| |--04:SCAN HDFS [tpch.region]
-| | partitions=1/1 files=1 size=384B
+| | HDFS partitions=1/1 files=1 size=384B
| | predicates: tpch.region.r_name = 'EUROPE'
| | row-size=21B cardinality=1
| |
@@ -112,7 +112,7 @@ PLAN-ROOT SINK
| | row-size=304B cardinality=5.05K
| |
| |--03:SCAN HDFS [tpch.nation]
-| | partitions=1/1 files=1 size=2.15KB
+| | HDFS partitions=1/1 files=1 size=2.15KB
| | runtime filters: RF010 -> tpch.nation.n_regionkey
| | row-size=23B cardinality=25
| |
@@ -127,17 +127,17 @@ PLAN-ROOT SINK
| | | row-size=95B cardinality=5.05K
| | |
| | |--00:SCAN HDFS [tpch.part]
-| | | partitions=1/1 files=1 size=22.83MB
+| | | HDFS partitions=1/1 files=1 size=22.83MB
| | | predicates: tpch.part.p_size = 15, tpch.part.p_type LIKE '%BRASS'
| | | row-size=71B cardinality=1.26K
| | |
| | 02:SCAN HDFS [tpch.partsupp]
-| | partitions=1/1 files=1 size=112.71MB
+| | HDFS partitions=1/1 files=1 size=112.71MB
| | runtime filters: RF016 -> tpch.partsupp.ps_partkey
| | row-size=24B cardinality=800.00K
| |
| 01:SCAN HDFS [tpch.supplier]
-| partitions=1/1 files=1 size=1.33MB
+| HDFS partitions=1/1 files=1 size=1.33MB
| runtime filters: RF012 -> tpch.supplier.s_nationkey, RF014 -> tpch.supplier.s_suppkey
| row-size=187B cardinality=10.00K
|
@@ -152,7 +152,7 @@ PLAN-ROOT SINK
| row-size=59B cardinality=160.00K
|
|--08:SCAN HDFS [tpch.region]
-| partitions=1/1 files=1 size=384B
+| HDFS partitions=1/1 files=1 size=384B
| predicates: tpch.region.r_name = 'EUROPE'
| row-size=21B cardinality=1
|
@@ -162,7 +162,7 @@ PLAN-ROOT SINK
| row-size=38B cardinality=800.00K
|
|--07:SCAN HDFS [tpch.nation]
-| partitions=1/1 files=1 size=2.15KB
+| HDFS partitions=1/1 files=1 size=2.15KB
| runtime filters: RF004 -> tpch.nation.n_regionkey
| row-size=4B cardinality=25
|
@@ -172,12 +172,12 @@ PLAN-ROOT SINK
| row-size=34B cardinality=800.00K
|
|--06:SCAN HDFS [tpch.supplier]
-| partitions=1/1 files=1 size=1.33MB
+| HDFS partitions=1/1 files=1 size=1.33MB
| runtime filters: RF006 -> tpch.supplier.s_nationkey
| row-size=10B cardinality=10.00K
|
05:SCAN HDFS [tpch.partsupp]
- partitions=1/1 files=1 size=112.71MB
+ HDFS partitions=1/1 files=1 size=112.71MB
runtime filters: RF000 -> tpch.partsupp.ps_partkey, RF008 -> tpch.partsupp.ps_suppkey
row-size=24B cardinality=800.00K
====
@@ -224,7 +224,7 @@ PLAN-ROOT SINK
| row-size=117B cardinality=17.56K
|
|--00:SCAN HDFS [tpch.customer]
-| partitions=1/1 files=1 size=23.08MB
+| HDFS partitions=1/1 files=1 size=23.08MB
| predicates: tpch.customer.c_mktsegment = 'BUILDING'
| row-size=29B cardinality=30.00K
|
@@ -234,13 +234,13 @@ PLAN-ROOT SINK
| row-size=88B cardinality=57.58K
|
|--01:SCAN HDFS [tpch.orders]
-| partitions=1/1 files=1 size=162.56MB
+| HDFS partitions=1/1 files=1 size=162.56MB
| predicates: tpch.orders.o_orderdate < '1995-03-15'
| runtime filters: RF000 -> tpch.orders.o_custkey
| row-size=42B cardinality=150.00K
|
02:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
predicates: tpch.lineitem.l_shipdate > '1995-03-15'
runtime filters: RF002 -> tpch.lineitem.l_orderkey
row-size=46B cardinality=600.12K
@@ -286,12 +286,12 @@ PLAN-ROOT SINK
| row-size=50B cardinality=150.00K
|
|--00:SCAN HDFS [tpch.orders]
-| partitions=1/1 files=1 size=162.56MB
+| HDFS partitions=1/1 files=1 size=162.56MB
| predicates: tpch.orders.o_orderdate < '1993-10-01', tpch.orders.o_orderdate >= '1993-07-01'
| row-size=50B cardinality=150.00K
|
01:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
predicates: tpch.lineitem.l_commitdate < tpch.lineitem.l_receiptdate
runtime filters: RF000 -> tpch.lineitem.l_orderkey
row-size=52B cardinality=600.12K
@@ -340,7 +340,7 @@ PLAN-ROOT SINK
| row-size=134B cardinality=115.16K
|
|--05:SCAN HDFS [tpch.region]
-| partitions=1/1 files=1 size=384B
+| HDFS partitions=1/1 files=1 size=384B
| predicates: tpch.region.r_name = 'ASIA'
| row-size=21B cardinality=1
|
@@ -350,7 +350,7 @@ PLAN-ROOT SINK
| row-size=113B cardinality=575.77K
|
|--04:SCAN HDFS [tpch.nation]
-| partitions=1/1 files=1 size=2.15KB
+| HDFS partitions=1/1 files=1 size=2.15KB
| runtime filters: RF000 -> tpch.nation.n_regionkey
| row-size=23B cardinality=25
|
@@ -360,7 +360,7 @@ PLAN-ROOT SINK
| row-size=90B cardinality=575.77K
|
|--03:SCAN HDFS [tpch.supplier]
-| partitions=1/1 files=1 size=1.33MB
+| HDFS partitions=1/1 files=1 size=1.33MB
| runtime filters: RF002 -> tpch.supplier.s_nationkey
| row-size=10B cardinality=10.00K
|
@@ -370,7 +370,7 @@ PLAN-ROOT SINK
| row-size=80B cardinality=575.77K
|
|--00:SCAN HDFS [tpch.customer]
-| partitions=1/1 files=1 size=23.08MB
+| HDFS partitions=1/1 files=1 size=23.08MB
| runtime filters: RF002 -> tpch.customer.c_nationkey, RF004 -> tpch.customer.c_nationkey
| row-size=10B cardinality=150.00K
|
@@ -380,13 +380,13 @@ PLAN-ROOT SINK
| row-size=70B cardinality=575.77K
|
|--01:SCAN HDFS [tpch.orders]
-| partitions=1/1 files=1 size=162.56MB
+| HDFS partitions=1/1 files=1 size=162.56MB
| predicates: tpch.orders.o_orderdate < '1995-01-01', tpch.orders.o_orderdate >= '1994-01-01'
| runtime filters: RF008 -> tpch.orders.o_custkey
| row-size=38B cardinality=150.00K
|
02:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
runtime filters: RF005 -> tpch.lineitem.l_suppkey, RF010 -> tpch.lineitem.l_orderkey
row-size=32B cardinality=6.00M
====
@@ -409,7 +409,7 @@ PLAN-ROOT SINK
| row-size=16B cardinality=1
|
00:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
predicates: tpch.lineitem.l_discount <= 0.07, tpch.lineitem.l_discount >= 0.05, tpch.lineitem.l_quantity < 24, tpch.lineitem.l_shipdate < '1995-01-01', tpch.lineitem.l_shipdate >= '1994-01-01'
row-size=46B cardinality=600.12K
====
@@ -458,50 +458,52 @@ PLAN-ROOT SINK
|
12:SORT
| order by: supp_nation ASC, cust_nation ASC, l_year ASC
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
11:AGGREGATE [FINALIZE]
| output: sum(tpch.lineitem.l_extendedprice * (1 - tpch.lineitem.l_discount))
| group by: tpch.nation.n_name, tpch.nation.n_name, year(tpch.lineitem.l_shipdate)
-| row-size=58B cardinality=575.77K
+| row-size=58B cardinality=3.69K
|
10:HASH JOIN [INNER JOIN]
| hash predicates: tpch.customer.c_nationkey = tpch.nation.n_nationkey
-| other predicates: ((tpch.nation.n_name = 'FRANCE' AND tpch.nation.n_name = 'GERMANY') OR (tpch.nation.n_name = 'GERMANY' AND tpch.nation.n_name = 'FRANCE'))
+| other predicates: tpch.nation.n_name = 'FRANCE' OR tpch.nation.n_name = 'FRANCE', tpch.nation.n_name = 'GERMANY' OR tpch.nation.n_name = 'GERMANY'
| runtime filters: RF000 <- tpch.nation.n_nationkey
-| row-size=132B cardinality=575.77K
+| row-size=132B cardinality=3.69K
|
|--05:SCAN HDFS [tpch.nation]
-| partitions=1/1 files=1 size=2.15KB
-| row-size=21B cardinality=25
+| HDFS partitions=1/1 files=1 size=2.15KB
+| predicates: tpch.nation.n_name IN ('GERMANY', 'FRANCE')
+| row-size=21B cardinality=2
|
09:HASH JOIN [INNER JOIN]
-| hash predicates: tpch.supplier.s_nationkey = tpch.nation.n_nationkey
-| runtime filters: RF002 <- tpch.nation.n_nationkey
-| row-size=111B cardinality=575.77K
-|
-|--04:SCAN HDFS [tpch.nation]
-| partitions=1/1 files=1 size=2.15KB
-| row-size=21B cardinality=25
-|
-08:HASH JOIN [INNER JOIN]
| hash predicates: tpch.orders.o_custkey = tpch.customer.c_custkey
-| runtime filters: RF004 <- tpch.customer.c_custkey
-| row-size=90B cardinality=575.77K
+| runtime filters: RF002 <- tpch.customer.c_custkey
+| row-size=111B cardinality=46.06K
|
|--03:SCAN HDFS [tpch.customer]
-| partitions=1/1 files=1 size=23.08MB
+| HDFS partitions=1/1 files=1 size=23.08MB
| runtime filters: RF000 -> tpch.customer.c_nationkey
| row-size=10B cardinality=150.00K
|
+08:HASH JOIN [INNER JOIN]
+| hash predicates: tpch.supplier.s_nationkey = tpch.nation.n_nationkey
+| runtime filters: RF004 <- tpch.nation.n_nationkey
+| row-size=101B cardinality=46.06K
+|
+|--04:SCAN HDFS [tpch.nation]
+| HDFS partitions=1/1 files=1 size=2.15KB
+| predicates: tpch.nation.n_name IN ('FRANCE', 'GERMANY')
+| row-size=21B cardinality=2
+|
07:HASH JOIN [INNER JOIN]
| hash predicates: tpch.lineitem.l_suppkey = tpch.supplier.s_suppkey
| runtime filters: RF006 <- tpch.supplier.s_suppkey
| row-size=80B cardinality=575.77K
|
|--00:SCAN HDFS [tpch.supplier]
-| partitions=1/1 files=1 size=1.33MB
-| runtime filters: RF002 -> tpch.supplier.s_nationkey
+| HDFS partitions=1/1 files=1 size=1.33MB
+| runtime filters: RF004 -> tpch.supplier.s_nationkey
| row-size=10B cardinality=10.00K
|
06:HASH JOIN [INNER JOIN]
@@ -510,12 +512,12 @@ PLAN-ROOT SINK
| row-size=70B cardinality=575.77K
|
|--02:SCAN HDFS [tpch.orders]
-| partitions=1/1 files=1 size=162.56MB
-| runtime filters: RF004 -> tpch.orders.o_custkey
+| HDFS partitions=1/1 files=1 size=162.56MB
+| runtime filters: RF002 -> tpch.orders.o_custkey
| row-size=16B cardinality=1.50M
|
01:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
predicates: tpch.lineitem.l_shipdate <= '1996-12-31', tpch.lineitem.l_shipdate >= '1995-01-01'
runtime filters: RF006 -> tpch.lineitem.l_suppkey, RF008 -> tpch.lineitem.l_orderkey
row-size=54B cardinality=600.12K
@@ -577,7 +579,7 @@ PLAN-ROOT SINK
| row-size=184B cardinality=761
|
|--06:SCAN HDFS [tpch.nation]
-| partitions=1/1 files=1 size=2.15KB
+| HDFS partitions=1/1 files=1 size=2.15KB
| row-size=21B cardinality=25
|
13:HASH JOIN [INNER JOIN]
@@ -586,7 +588,7 @@ PLAN-ROOT SINK
| row-size=163B cardinality=761
|
|--07:SCAN HDFS [tpch.region]
-| partitions=1/1 files=1 size=384B
+| HDFS partitions=1/1 files=1 size=384B
| predicates: tpch.region.r_name = 'AMERICA'
| row-size=21B cardinality=1
|
@@ -596,7 +598,7 @@ PLAN-ROOT SINK
| row-size=143B cardinality=3.81K
|
|--05:SCAN HDFS [tpch.nation]
-| partitions=1/1 files=1 size=2.15KB
+| HDFS partitions=1/1 files=1 size=2.15KB
| runtime filters: RF002 -> tpch.nation.n_regionkey
| row-size=4B cardinality=25
|
@@ -611,7 +613,7 @@ PLAN-ROOT SINK
| | row-size=129B cardinality=3.81K
| |
| |--01:SCAN HDFS [tpch.supplier]
-| | partitions=1/1 files=1 size=1.33MB
+| | HDFS partitions=1/1 files=1 size=1.33MB
| | runtime filters: RF000 -> tpch.supplier.s_nationkey
| | row-size=10B cardinality=10.00K
| |
@@ -626,23 +628,23 @@ PLAN-ROOT SINK
| | | row-size=81B cardinality=39.66K
| | |
| | |--00:SCAN HDFS [tpch.part]
-| | | partitions=1/1 files=1 size=22.83MB
+| | | HDFS partitions=1/1 files=1 size=22.83MB
| | | predicates: tpch.part.p_type = 'ECONOMY ANODIZED STEEL'
| | | row-size=41B cardinality=1.32K
| | |
| | 02:SCAN HDFS [tpch.lineitem]
-| | partitions=1/1 files=1 size=718.94MB
+| | HDFS partitions=1/1 files=1 size=718.94MB
| | runtime filters: RF008 -> tpch.lineitem.l_suppkey, RF012 -> tpch.lineitem.l_partkey
| | row-size=40B cardinality=6.00M
| |
| 03:SCAN HDFS [tpch.orders]
-| partitions=1/1 files=1 size=162.56MB
+| HDFS partitions=1/1 files=1 size=162.56MB
| predicates: tpch.orders.o_orderdate <= '1996-12-31', tpch.orders.o_orderdate >= '1995-01-01'
| runtime filters: RF010 -> tpch.orders.o_orderkey
| row-size=38B cardinality=150.00K
|
04:SCAN HDFS [tpch.customer]
- partitions=1/1 files=1 size=23.08MB
+ HDFS partitions=1/1 files=1 size=23.08MB
runtime filters: RF004 -> tpch.customer.c_nationkey, RF006 -> tpch.customer.c_custkey
row-size=10B cardinality=150.00K
====
@@ -697,7 +699,7 @@ PLAN-ROOT SINK
| row-size=186B cardinality=574.29K
|
|--05:SCAN HDFS [tpch.nation]
-| partitions=1/1 files=1 size=2.15KB
+| HDFS partitions=1/1 files=1 size=2.15KB
| row-size=21B cardinality=25
|
09:HASH JOIN [INNER JOIN]
@@ -706,7 +708,7 @@ PLAN-ROOT SINK
| row-size=165B cardinality=574.29K
|
|--03:SCAN HDFS [tpch.partsupp]
-| partitions=1/1 files=1 size=112.71MB
+| HDFS partitions=1/1 files=1 size=112.71MB
| row-size=24B cardinality=800.00K
|
08:HASH JOIN [INNER JOIN]
@@ -715,7 +717,7 @@ PLAN-ROOT SINK
| row-size=141B cardinality=574.29K
|
|--01:SCAN HDFS [tpch.supplier]
-| partitions=1/1 files=1 size=1.33MB
+| HDFS partitions=1/1 files=1 size=1.33MB
| runtime filters: RF000 -> tpch.supplier.s_nationkey, RF003 -> tpch.supplier.s_suppkey
| row-size=10B cardinality=10.00K
|
@@ -725,7 +727,7 @@ PLAN-ROOT SINK
| row-size=131B cardinality=574.29K
|
|--04:SCAN HDFS [tpch.orders]
-| partitions=1/1 files=1 size=162.56MB
+| HDFS partitions=1/1 files=1 size=162.56MB
| row-size=30B cardinality=1.50M
|
06:HASH JOIN [INNER JOIN]
@@ -734,13 +736,13 @@ PLAN-ROOT SINK
| row-size=101B cardinality=598.58K
|
|--00:SCAN HDFS [tpch.part]
-| partitions=1/1 files=1 size=22.83MB
+| HDFS partitions=1/1 files=1 size=22.83MB
| predicates: tpch.part.p_name LIKE '%green%'
| runtime filters: RF002 -> tpch.part.p_partkey
| row-size=53B cardinality=20.00K
|
02:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
runtime filters: RF002 -> tpch.lineitem.l_partkey, RF003 -> tpch.lineitem.l_suppkey, RF006 -> tpch.lineitem.l_suppkey, RF008 -> tpch.lineitem.l_orderkey, RF010 -> tpch.lineitem.l_partkey
row-size=48B cardinality=6.00M
====
@@ -797,7 +799,7 @@ PLAN-ROOT SINK
| row-size=293B cardinality=191.92K
|
|--03:SCAN HDFS [tpch.nation]
-| partitions=1/1 files=1 size=2.15KB
+| HDFS partitions=1/1 files=1 size=2.15KB
| row-size=21B cardinality=25
|
05:HASH JOIN [INNER JOIN]
@@ -811,18 +813,18 @@ PLAN-ROOT SINK
| | row-size=75B cardinality=191.92K
| |
| |--01:SCAN HDFS [tpch.orders]
-| | partitions=1/1 files=1 size=162.56MB
+| | HDFS partitions=1/1 files=1 size=162.56MB
| | predicates: tpch.orders.o_orderdate < '1994-01-01', tpch.orders.o_orderdate >= '1993-10-01'
| | row-size=38B cardinality=150.00K
| |
| 02:SCAN HDFS [tpch.lineitem]
-| partitions=1/1 files=1 size=718.94MB
+| HDFS partitions=1/1 files=1 size=718.94MB
| predicates: tpch.lineitem.l_returnflag = 'R'
| runtime filters: RF004 -> tpch.lineitem.l_orderkey
| row-size=37B cardinality=2.00M
|
00:SCAN HDFS [tpch.customer]
- partitions=1/1 files=1 size=23.08MB
+ HDFS partitions=1/1 files=1 size=23.08MB
runtime filters: RF000 -> tpch.customer.c_nationkey, RF002 -> tpch.customer.c_custkey
row-size=197B cardinality=150.00K
====
@@ -882,7 +884,7 @@ PLAN-ROOT SINK
| | row-size=51B cardinality=32.00K
| |
| |--08:SCAN HDFS [tpch.nation]
-| | partitions=1/1 files=1 size=2.15KB
+| | HDFS partitions=1/1 files=1 size=2.15KB
| | predicates: tpch.nation.n_name = 'GERMANY'
| | row-size=21B cardinality=1
| |
@@ -892,12 +894,12 @@ PLAN-ROOT SINK
| | row-size=30B cardinality=800.00K
| |
| |--07:SCAN HDFS [tpch.supplier]
-| | partitions=1/1 files=1 size=1.33MB
+| | HDFS partitions=1/1 files=1 size=1.33MB
| | runtime filters: RF004 -> tpch.supplier.s_nationkey
| | row-size=10B cardinality=10.00K
| |
| 06:SCAN HDFS [tpch.partsupp]
-| partitions=1/1 files=1 size=112.71MB
+| HDFS partitions=1/1 files=1 size=112.71MB
| runtime filters: RF006 -> tpch.partsupp.ps_suppkey
| row-size=20B cardinality=800.00K
|
@@ -912,7 +914,7 @@ PLAN-ROOT SINK
| row-size=59B cardinality=32.00K
|
|--02:SCAN HDFS [tpch.nation]
-| partitions=1/1 files=1 size=2.15KB
+| HDFS partitions=1/1 files=1 size=2.15KB
| predicates: tpch.nation.n_name = 'GERMANY'
| row-size=21B cardinality=1
|
@@ -922,12 +924,12 @@ PLAN-ROOT SINK
| row-size=38B cardinality=800.00K
|
|--01:SCAN HDFS [tpch.supplier]
-| partitions=1/1 files=1 size=1.33MB
+| HDFS partitions=1/1 files=1 size=1.33MB
| runtime filters: RF000 -> tpch.supplier.s_nationkey
| row-size=10B cardinality=10.00K
|
00:SCAN HDFS [tpch.partsupp]
- partitions=1/1 files=1 size=112.71MB
+ HDFS partitions=1/1 files=1 size=112.71MB
runtime filters: RF002 -> tpch.partsupp.ps_suppkey
row-size=28B cardinality=800.00K
====
@@ -979,12 +981,12 @@ PLAN-ROOT SINK
| row-size=119B cardinality=320.78K
|
|--01:SCAN HDFS [tpch.lineitem]
-| partitions=1/1 files=1 size=718.94MB
+| HDFS partitions=1/1 files=1 size=718.94MB
| predicates: tpch.lineitem.l_shipmode IN ('MAIL', 'SHIP'), tpch.lineitem.l_commitdate < tpch.lineitem.l_receiptdate, tpch.lineitem.l_receiptdate < '1995-01-01', tpch.lineitem.l_receiptdate >= '1994-01-01', tpch.lineitem.l_shipdate < tpch.lineitem.l_commitdate
| row-size=90B cardinality=320.78K
|
00:SCAN HDFS [tpch.orders]
- partitions=1/1 files=1 size=162.56MB
+ HDFS partitions=1/1 files=1 size=162.56MB
runtime filters: RF000 -> tpch.orders.o_orderkey
row-size=28B cardinality=1.50M
====
@@ -1033,11 +1035,11 @@ PLAN-ROOT SINK
| row-size=85B cardinality=150.00K
|
|--00:SCAN HDFS [tpch.customer]
-| partitions=1/1 files=1 size=23.08MB
+| HDFS partitions=1/1 files=1 size=23.08MB
| row-size=8B cardinality=150.00K
|
01:SCAN HDFS [tpch.orders]
- partitions=1/1 files=1 size=162.56MB
+ HDFS partitions=1/1 files=1 size=162.56MB
predicates: NOT tpch.orders.o_comment LIKE '%special%requests%'
runtime filters: RF000 -> tpch.orders.o_custkey
row-size=77B cardinality=150.00K
@@ -1070,11 +1072,11 @@ PLAN-ROOT SINK
| row-size=87B cardinality=598.58K
|
|--01:SCAN HDFS [tpch.part]
-| partitions=1/1 files=1 size=22.83MB
+| HDFS partitions=1/1 files=1 size=22.83MB
| row-size=41B cardinality=200.00K
|
00:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
predicates: tpch.lineitem.l_shipdate < '1995-10-01', tpch.lineitem.l_shipdate >= '1995-09-01'
runtime filters: RF000 -> tpch.lineitem.l_partkey
row-size=46B cardinality=600.12K
@@ -1132,7 +1134,7 @@ PLAN-ROOT SINK
| | row-size=24B cardinality=9.71K
| |
| 03:SCAN HDFS [tpch.lineitem]
-| partitions=1/1 files=1 size=718.94MB
+| HDFS partitions=1/1 files=1 size=718.94MB
| predicates: tpch.lineitem.l_shipdate < '1996-04-01', tpch.lineitem.l_shipdate >= '1996-01-01'
| row-size=46B cardinality=600.12K
|
@@ -1147,12 +1149,12 @@ PLAN-ROOT SINK
| | row-size=24B cardinality=9.71K
| |
| 01:SCAN HDFS [tpch.lineitem]
-| partitions=1/1 files=1 size=718.94MB
+| HDFS partitions=1/1 files=1 size=718.94MB
| predicates: tpch.lineitem.l_shipdate < '1996-04-01', tpch.lineitem.l_shipdate >= '1996-01-01'
| row-size=46B cardinality=600.12K
|
00:SCAN HDFS [tpch.supplier]
- partitions=1/1 files=1 size=1.33MB
+ HDFS partitions=1/1 files=1 size=1.33MB
runtime filters: RF000 -> tpch.supplier.s_suppkey
row-size=102B cardinality=10.00K
====
@@ -1209,7 +1211,7 @@ PLAN-ROOT SINK
| row-size=81B cardinality=31.92K
|
|--02:SCAN HDFS [tpch.supplier]
-| partitions=1/1 files=1 size=1.33MB
+| HDFS partitions=1/1 files=1 size=1.33MB
| predicates: tpch.supplier.s_comment LIKE '%Customer%Complaints%'
| row-size=83B cardinality=1.00K
|
@@ -1219,12 +1221,12 @@ PLAN-ROOT SINK
| row-size=81B cardinality=31.92K
|
|--01:SCAN HDFS [tpch.part]
-| partitions=1/1 files=1 size=22.83MB
+| HDFS partitions=1/1 files=1 size=22.83MB
| predicates: tpch.part.p_size IN (49, 14, 23, 45, 19, 3, 36, 9), tpch.part.p_brand != 'Brand#45', NOT tpch.part.p_type LIKE 'MEDIUM POLISHED%'
| row-size=65B cardinality=8.00K
|
00:SCAN HDFS [tpch.partsupp]
- partitions=1/1 files=1 size=112.71MB
+ HDFS partitions=1/1 files=1 size=112.71MB
runtime filters: RF000 -> tpch.partsupp.ps_partkey
row-size=16B cardinality=800.00K
====
@@ -1266,12 +1268,12 @@ PLAN-ROOT SINK
| | row-size=72B cardinality=29.93K
| |
| |--01:SCAN HDFS [tpch.part]
-| | partitions=1/1 files=1 size=22.83MB
+| | HDFS partitions=1/1 files=1 size=22.83MB
| | predicates: tpch.part.p_container = 'MED BOX', tpch.part.p_brand = 'Brand#23'
| | row-size=48B cardinality=1.00K
| |
| 00:SCAN HDFS [tpch.lineitem]
-| partitions=1/1 files=1 size=718.94MB
+| HDFS partitions=1/1 files=1 size=718.94MB
| runtime filters: RF002 -> tpch.lineitem.l_partkey
| row-size=24B cardinality=6.00M
|
@@ -1281,7 +1283,7 @@ PLAN-ROOT SINK
| row-size=16B cardinality=200.52K
|
02:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
runtime filters: RF000 -> tpch.lineitem.l_partkey
row-size=16B cardinality=6.00M
====
@@ -1345,7 +1347,7 @@ PLAN-ROOT SINK
| | row-size=24B cardinality=156.34K
| |
| 03:SCAN HDFS [tpch.lineitem]
-| partitions=1/1 files=1 size=718.94MB
+| HDFS partitions=1/1 files=1 size=718.94MB
| row-size=16B cardinality=6.00M
|
06:HASH JOIN [INNER JOIN]
@@ -1354,7 +1356,7 @@ PLAN-ROOT SINK
| row-size=100B cardinality=5.76M
|
|--00:SCAN HDFS [tpch.customer]
-| partitions=1/1 files=1 size=23.08MB
+| HDFS partitions=1/1 files=1 size=23.08MB
| row-size=38B cardinality=150.00K
|
05:HASH JOIN [INNER JOIN]
@@ -1363,12 +1365,12 @@ PLAN-ROOT SINK
| row-size=62B cardinality=5.76M
|
|--01:SCAN HDFS [tpch.orders]
-| partitions=1/1 files=1 size=162.56MB
+| HDFS partitions=1/1 files=1 size=162.56MB
| runtime filters: RF000 -> tpch.orders.o_orderkey, RF002 -> tpch.orders.o_custkey
| row-size=46B cardinality=1.50M
|
02:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
runtime filters: RF000 -> tpch.lineitem.l_orderkey, RF004 -> tpch.lineitem.l_orderkey
row-size=16B cardinality=6.00M
====
@@ -1418,20 +1420,20 @@ PLAN-ROOT SINK
|
02:HASH JOIN [INNER JOIN]
| hash predicates: tpch.lineitem.l_partkey = tpch.part.p_partkey
-| other predicates: ((tpch.part.p_brand = 'Brand#12' AND tpch.part.p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') AND tpch.lineitem.l_quantity >= 1 AND tpch.lineitem.l_quantity <= 11 AND tpch.part.p_size <= 5) OR (tpch.part.p_brand = 'Brand#23' AND tpch.part.p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') AND tpch.lineitem.l_quantity >= 10 AND tpch.lineitem.l_quantity <= 20 AND tpch.part.p_size <= 10) OR (tpch.part.p_brand = 'Brand#34' AND tpch.part.p_container I [...]
+| other predicates: tpch.lineitem.l_quantity <= 11 OR tpch.lineitem.l_quantity <= 20 OR tpch.part.p_size <= 15, tpch.lineitem.l_quantity <= 11 OR tpch.lineitem.l_quantity >= 10 OR tpch.part.p_size <= 15, tpch.lineitem.l_quantity <= 11 OR tpch.part.p_size <= 10 OR tpch.lineitem.l_quantity <= 30, tpch.lineitem.l_quantity <= 11 OR tpch.part.p_size <= 10 OR tpch.lineitem.l_quantity >= 20, tpch.lineitem.l_quantity <= 11 OR tpch.part.p_size <= 10 OR tpch.part.p_size <= 15, tpch.lineitem.l_qua [...]
| runtime filters: RF000 <- tpch.part.p_partkey
-| row-size=124B cardinality=79.99K
+| row-size=124B cardinality=1.41K
|
|--01:SCAN HDFS [tpch.part]
-| partitions=1/1 files=1 size=22.83MB
-| predicates: tpch.part.p_size >= 1
-| row-size=52B cardinality=20.00K
+| HDFS partitions=1/1 files=1 size=22.83MB
+| predicates: tpch.part.p_brand = 'Brand#12' OR tpch.part.p_brand = 'Brand#23' AND tpch.part.p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR tpch.part.p_brand = 'Brand#34' AND tpch.part.p_container IN ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG'), tpch.part.p_container IN ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG') OR tpch.part.p_brand = 'Brand#23' AND tpch.part.p_container IN ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK') OR tpch.part.p_brand = 'Brand#34' AND tpch.part.p_ [...]
+| row-size=52B cardinality=1.43K
|
00:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
- predicates: tpch.lineitem.l_shipmode IN ('AIR', 'AIR REG'), tpch.lineitem.l_shipinstruct = 'DELIVER IN PERSON'
+ HDFS partitions=1/1 files=1 size=718.94MB
+ predicates: tpch.lineitem.l_shipmode IN ('AIR', 'AIR REG'), tpch.lineitem.l_shipinstruct = 'DELIVER IN PERSON', tpch.lineitem.l_quantity <= 11 OR tpch.lineitem.l_quantity <= 20 OR tpch.lineitem.l_quantity <= 30, tpch.lineitem.l_quantity <= 11 OR tpch.lineitem.l_quantity <= 20 OR tpch.lineitem.l_quantity >= 20, tpch.lineitem.l_quantity <= 11 OR tpch.lineitem.l_quantity >= 10 OR tpch.lineitem.l_quantity <= 30, tpch.lineitem.l_quantity <= 11 OR tpch.lineitem.l_quantity >= 10 OR tpch.line [...]
runtime filters: RF000 -> tpch.lineitem.l_partkey
- row-size=72B cardinality=801.95K
+ row-size=72B cardinality=197.63K
====
# TPCH-Q20
# Q20 - Potential Part Promotion Query
@@ -1490,12 +1492,12 @@ PLAN-ROOT SINK
| | row-size=98B cardinality=400
| |
| |--01:SCAN HDFS [tpch.nation]
-| | partitions=1/1 files=1 size=2.15KB
+| | HDFS partitions=1/1 files=1 size=2.15KB
| | predicates: tpch.nation.n_name = 'CANADA'
| | row-size=21B cardinality=1
| |
| 00:SCAN HDFS [tpch.supplier]
-| partitions=1/1 files=1 size=1.33MB
+| HDFS partitions=1/1 files=1 size=1.33MB
| runtime filters: RF008 -> tpch.supplier.s_nationkey
| row-size=77B cardinality=10.00K
|
@@ -1511,12 +1513,12 @@ PLAN-ROOT SINK
| | row-size=20B cardinality=79.79K
| |
| |--03:SCAN HDFS [tpch.part]
-| | partitions=1/1 files=1 size=22.83MB
+| | HDFS partitions=1/1 files=1 size=22.83MB
| | predicates: tpch.part.p_name LIKE 'forest%'
| | row-size=53B cardinality=20.00K
| |
| 02:SCAN HDFS [tpch.partsupp]
-| partitions=1/1 files=1 size=112.71MB
+| HDFS partitions=1/1 files=1 size=112.71MB
| runtime filters: RF000 -> tpch.partsupp.ps_suppkey, RF006 -> tpch.partsupp.ps_partkey
| row-size=20B cardinality=800.00K
|
@@ -1526,7 +1528,7 @@ PLAN-ROOT SINK
| row-size=32B cardinality=600.12K
|
04:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
predicates: tpch.lineitem.l_shipdate < '1995-01-01', tpch.lineitem.l_shipdate >= '1994-01-01'
runtime filters: RF000 -> tpch.lineitem.l_suppkey, RF002 -> tpch.lineitem.l_partkey, RF003 -> tpch.lineitem.l_suppkey
row-size=46B cardinality=600.12K
@@ -1602,7 +1604,7 @@ PLAN-ROOT SINK
| | | row-size=142B cardinality=7.68K
| | |
| | |--03:SCAN HDFS [tpch.nation]
-| | | partitions=1/1 files=1 size=2.15KB
+| | | HDFS partitions=1/1 files=1 size=2.15KB
| | | predicates: tpch.nation.n_name = 'SAUDI ARABIA'
| | | row-size=21B cardinality=1
| | |
@@ -1612,7 +1614,7 @@ PLAN-ROOT SINK
| | | row-size=121B cardinality=191.92K
| | |
| | |--00:SCAN HDFS [tpch.supplier]
-| | | partitions=1/1 files=1 size=1.33MB
+| | | HDFS partitions=1/1 files=1 size=1.33MB
| | | runtime filters: RF002 -> tpch.supplier.s_nationkey
| | | row-size=40B cardinality=10.00K
| | |
@@ -1622,23 +1624,23 @@ PLAN-ROOT SINK
| | | row-size=81B cardinality=191.92K
| | |
| | |--02:SCAN HDFS [tpch.orders]
-| | | partitions=1/1 files=1 size=162.56MB
+| | | HDFS partitions=1/1 files=1 size=162.56MB
| | | predicates: tpch.orders.o_orderstatus = 'F'
| | | row-size=21B cardinality=500.00K
| | |
| | 01:SCAN HDFS [tpch.lineitem]
-| | partitions=1/1 files=1 size=718.94MB
+| | HDFS partitions=1/1 files=1 size=718.94MB
| | predicates: tpch.lineitem.l_receiptdate > tpch.lineitem.l_commitdate
| | runtime filters: RF004 -> tpch.lineitem.l_suppkey, RF006 -> tpch.lineitem.l_orderkey
| | row-size=60B cardinality=600.12K
| |
| 04:SCAN HDFS [tpch.lineitem]
-| partitions=1/1 files=1 size=718.94MB
+| HDFS partitions=1/1 files=1 size=718.94MB
| runtime filters: RF000 -> tpch.lineitem.l_orderkey
| row-size=16B cardinality=6.00M
|
05:SCAN HDFS [tpch.lineitem]
- partitions=1/1 files=1 size=718.94MB
+ HDFS partitions=1/1 files=1 size=718.94MB
predicates: tpch.lineitem.l_receiptdate > tpch.lineitem.l_commitdate
row-size=60B cardinality=600.12K
====
@@ -1703,16 +1705,16 @@ PLAN-ROOT SINK
| | | row-size=8B cardinality=1
| | |
| | 01:SCAN HDFS [tpch.customer]
-| | partitions=1/1 files=1 size=23.08MB
+| | HDFS partitions=1/1 files=1 size=23.08MB
| | predicates: tpch.customer.c_acctbal > 0, substr(tpch.customer.c_phone, 1, 2) IN ('13', '31', '23', '29', '30', '18', '17')
| | row-size=35B cardinality=15.00K
| |
| 00:SCAN HDFS [tpch.customer]
-| partitions=1/1 files=1 size=23.08MB
+| HDFS partitions=1/1 files=1 size=23.08MB
| predicates: substr(tpch.customer.c_phone, 1, 2) IN ('13', '31', '23', '29', '30', '18', '17')
| row-size=43B cardinality=15.00K
|
03:SCAN HDFS [tpch.orders]
- partitions=1/1 files=1 size=162.56MB
+ HDFS partitions=1/1 files=1 size=162.56MB
row-size=8B cardinality=1.50M
====