blob: a55b4cc07d3d734b928573a95d84e191db6bf521 [file] [log] [blame]
# TPCDS-Q10a Variant for multiple subqueries in OR predicate
select
cd_gender,
cd_marital_status,
cd_education_status,
count(*) cnt1,
cd_purchase_estimate,
count(*) cnt2,
cd_credit_rating,
count(*) cnt3,
cd_dep_count,
count(*) cnt4,
cd_dep_employed_count,
count(*) cnt5,
cd_dep_college_count,
count(*) cnt6
from
customer c,customer_address ca,customer_demographics
where
c.c_current_addr_sk = ca.ca_address_sk and
ca_county in ('Rush County','Toole County','Jefferson County','Dona Ana County','La Porte County') and
cd_demo_sk = c.c_current_cdemo_sk and
exists (select *
from store_sales,date_dim
where c.c_customer_sk = ss_customer_sk and
ss_sold_date_sk = d_date_sk and
d_year = 2002 and
d_moy between 1 and 1+3) and
exists (select *
from (
select ws_bill_customer_sk as customer_sk, d_year,d_moy
from web_sales, date_dim
where ws_sold_date_sk = d_date_sk and
d_year = 2002 and
d_moy between 1 and 1+3
union all
select cs_ship_customer_sk as customer_sk, d_year, d_moy
from catalog_sales, date_dim
where cs_sold_date_sk = d_date_sk and
d_year = 2002 and
d_moy between 1 and 1+3
) x
where c.c_customer_sk = customer_sk)
group by cd_gender,
cd_marital_status,
cd_education_status,
cd_purchase_estimate,
cd_credit_rating,
cd_dep_count,
cd_dep_employed_count,
cd_dep_college_count
order by cd_gender,
cd_marital_status,
cd_education_status,
cd_purchase_estimate,
cd_credit_rating,
cd_dep_count,
cd_dep_employed_count,
cd_dep_college_count
limit 100;
---- PLAN
Max Per-Host Resource Reservation: Memory=31.69MB Threads=8
Per-Host Resource Estimates: Memory=432MB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=431.69MB mem-reservation=31.69MB thread-reservation=8 runtime-filters-memory=7.00MB
PLAN-ROOT SINK
| output exprs: cd_gender, cd_marital_status, cd_education_status, count(*), cd_purchase_estimate, count(*), cd_credit_rating, count(*), cd_dep_count, count(*), cd_dep_employed_count, count(*), cd_dep_college_count, count(*)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
18:TOP-N [LIMIT=100]
| order by: cd_gender ASC, cd_marital_status ASC, cd_education_status ASC, cd_purchase_estimate ASC, cd_credit_rating ASC, cd_dep_count ASC, cd_dep_employed_count ASC, cd_dep_college_count ASC
| mem-estimate=8.85KB mem-reservation=0B thread-reservation=0
| tuple-ids=14 row-size=91B cardinality=100
| in pipelines: 18(GETNEXT), 17(OPEN)
|
17:AGGREGATE [FINALIZE]
| output: count(*)
| group by: cd_gender, cd_marital_status, cd_education_status, cd_purchase_estimate, cd_credit_rating, cd_dep_count, cd_dep_employed_count, cd_dep_college_count
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=13 row-size=91B cardinality=318
| in pipelines: 17(GETNEXT), 07(OPEN), 10(OPEN)
|
16:HASH JOIN [RIGHT SEMI JOIN]
| hash predicates: customer_sk = c.c_customer_sk
| runtime filters: RF000[bloom] <- c.c_customer_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=129B cardinality=318
| in pipelines: 07(GETNEXT), 10(GETNEXT), 03(OPEN)
|
|--15:HASH JOIN [RIGHT SEMI JOIN]
| | hash predicates: ss_customer_sk = c.c_customer_sk
| | runtime filters: RF006[bloom] <- c.c_customer_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=2,0,1 row-size=129B cardinality=318
| | in pipelines: 03(GETNEXT), 02(OPEN)
| |
| |--14:HASH JOIN [INNER JOIN]
| | | hash predicates: c.c_current_addr_sk = ca.ca_address_sk
| | | fk/pk conjuncts: c.c_current_addr_sk = ca.ca_address_sk
| | | runtime filters: RF010[bloom] <- ca.ca_address_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=2,0,1 row-size=129B cardinality=318
| | | in pipelines: 02(GETNEXT), 01(OPEN)
| | |
| | |--01:SCAN HDFS [tpcds_parquet.customer_address ca]
| | | HDFS partitions=1/1 files=1 size=1.16MB
| | | predicates: ca_county IN ('Rush County', 'Toole County', 'Jefferson County', 'Dona Ana County', 'La Porte County')
| | | stored statistics:
| | | table: rows=50.00K size=1.16MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | | parquet statistics predicates: ca_county IN ('Rush County', 'Toole County', 'Jefferson County', 'Dona Ana County', 'La Porte County')
| | | parquet dictionary predicates: ca_county IN ('Rush County', 'Toole County', 'Jefferson County', 'Dona Ana County', 'La Porte County')
| | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | | tuple-ids=1 row-size=30B cardinality=137
| | | in pipelines: 01(GETNEXT)
| | |
| | 13:HASH JOIN [INNER JOIN]
| | | hash predicates: cd_demo_sk = c.c_current_cdemo_sk
| | | fk/pk conjuncts: none
| | | runtime filters: RF012[bloom] <- c.c_current_cdemo_sk
| | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | | tuple-ids=2,0 row-size=99B cardinality=100.00K
| | | in pipelines: 02(GETNEXT), 00(OPEN)
| | |
| | |--00:SCAN HDFS [tpcds_parquet.customer c]
| | | HDFS partitions=1/1 files=1 size=5.49MB
| | | runtime filters: RF010[bloom] -> c.c_current_addr_sk
| | | stored statistics:
| | | table: rows=100.00K size=5.49MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=100.00K
| | | mem-estimate=48.00MB mem-reservation=2.00MB thread-reservation=1
| | | tuple-ids=0 row-size=12B cardinality=100.00K
| | | in pipelines: 00(GETNEXT)
| | |
| | 02:SCAN HDFS [tpcds_parquet.customer_demographics]
| | HDFS partitions=1/1 files=1 size=7.49MB
| | runtime filters: RF012[bloom] -> cd_demo_sk
| | stored statistics:
| | table: rows=1.92M size=7.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=1.92M
| | mem-estimate=128.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=2 row-size=87B cardinality=1.92M
| | in pipelines: 02(GETNEXT)
| |
| 05:HASH JOIN [INNER JOIN]
| | hash predicates: ss_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ss_sold_date_sk = d_date_sk
| | runtime filters: RF008[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=3,4 row-size=20B cardinality=186.34K
| | in pipelines: 03(GETNEXT), 04(OPEN)
| |
| |--04:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=4 row-size=12B cardinality=118
| | in pipelines: 04(GETNEXT)
| |
| 03:SCAN HDFS [tpcds_parquet.store_sales]
| HDFS partitions=1824/1824 files=1824 size=201.02MB
| runtime filters: RF006[bloom] -> ss_customer_sk, RF008[bloom] -> ss_sold_date_sk
| stored statistics:
| table: rows=2.88M size=201.02MB
| partitions: 1824/1824 rows=2.88M
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=130.09K
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=3 row-size=8B cardinality=2.88M
| in pipelines: 03(GETNEXT)
|
06:UNION
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=10 row-size=4B cardinality=140.03K
| in pipelines: 07(GETNEXT), 10(GETNEXT)
|
|--12:HASH JOIN [INNER JOIN]
| | hash predicates: cs_sold_date_sk = d_date_sk
| | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | runtime filters: RF004[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=8,9 row-size=20B cardinality=93.21K
| | in pipelines: 10(GETNEXT), 11(OPEN)
| |
| |--11:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=9 row-size=12B cardinality=118
| | in pipelines: 11(GETNEXT)
| |
| 10:SCAN HDFS [tpcds_parquet.catalog_sales]
| HDFS partitions=1/1 files=3 size=96.62MB
| runtime filters: RF000[bloom] -> tpcds_parquet.catalog_sales.cs_ship_customer_sk, RF004[bloom] -> cs_sold_date_sk
| stored statistics:
| table: rows=1.44M size=96.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=650.14K
| mem-estimate=96.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=8 row-size=8B cardinality=1.44M
| in pipelines: 10(GETNEXT)
|
09:HASH JOIN [INNER JOIN]
| hash predicates: ws_sold_date_sk = d_date_sk
| fk/pk conjuncts: ws_sold_date_sk = d_date_sk
| runtime filters: RF002[bloom] <- d_date_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=6,7 row-size=20B cardinality=46.82K
| in pipelines: 07(GETNEXT), 08(OPEN)
|
|--08:SCAN HDFS [tpcds_parquet.date_dim]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| parquet statistics predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| parquet dictionary predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=7 row-size=12B cardinality=118
| in pipelines: 08(GETNEXT)
|
07:SCAN HDFS [tpcds_parquet.web_sales]
HDFS partitions=1/1 files=2 size=45.09MB
runtime filters: RF000[bloom] -> tpcds_parquet.web_sales.ws_bill_customer_sk, RF002[bloom] -> ws_sold_date_sk
stored statistics:
table: rows=719.38K size=45.09MB
columns: all
extrapolated-rows=disabled max-scan-range-rows=644.77K
mem-estimate=64.00MB mem-reservation=4.00MB thread-reservation=1
tuple-ids=6 row-size=8B cardinality=719.38K
in pipelines: 07(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=43.00MB Threads=19
Per-Host Resource Estimates: Memory=509MB
F12:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=18.08KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: cd_gender, cd_marital_status, cd_education_status, count(*), cd_purchase_estimate, count(*), cd_credit_rating, count(*), cd_dep_count, count(*), cd_dep_employed_count, count(*), cd_dep_college_count, count(*)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
29:MERGING-EXCHANGE [UNPARTITIONED]
| order by: cd_gender ASC, cd_marital_status ASC, cd_education_status ASC, cd_purchase_estimate ASC, cd_credit_rating ASC, cd_dep_count ASC, cd_dep_employed_count ASC, cd_dep_college_count ASC
| limit: 100
| mem-estimate=18.08KB mem-reservation=0B thread-reservation=0
| tuple-ids=14 row-size=91B cardinality=100
| in pipelines: 18(GETNEXT)
|
F11:PLAN FRAGMENT [HASH(cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count)] hosts=1 instances=1
Per-Host Resources: mem-estimate=10.06MB mem-reservation=1.94MB thread-reservation=1
18:TOP-N [LIMIT=100]
| order by: cd_gender ASC, cd_marital_status ASC, cd_education_status ASC, cd_purchase_estimate ASC, cd_credit_rating ASC, cd_dep_count ASC, cd_dep_employed_count ASC, cd_dep_college_count ASC
| mem-estimate=8.85KB mem-reservation=0B thread-reservation=0
| tuple-ids=14 row-size=91B cardinality=100
| in pipelines: 18(GETNEXT), 28(OPEN)
|
28:AGGREGATE [FINALIZE]
| output: count:merge(*)
| group by: cd_gender, cd_marital_status, cd_education_status, cd_purchase_estimate, cd_credit_rating, cd_dep_count, cd_dep_employed_count, cd_dep_college_count
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=13 row-size=91B cardinality=318
| in pipelines: 28(GETNEXT), 07(OPEN), 10(OPEN)
|
27:EXCHANGE [HASH(cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count)]
| mem-estimate=57.50KB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=91B cardinality=318
| in pipelines: 07(GETNEXT), 10(GETNEXT)
|
F10:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=1 instances=1
Per-Host Resources: mem-estimate=17.34MB mem-reservation=7.88MB thread-reservation=1 runtime-filters-memory=2.00MB
17:AGGREGATE [STREAMING]
| output: count(*)
| group by: cd_gender, cd_marital_status, cd_education_status, cd_purchase_estimate, cd_credit_rating, cd_dep_count, cd_dep_employed_count, cd_dep_college_count
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=13 row-size=91B cardinality=318
| in pipelines: 07(GETNEXT), 10(GETNEXT)
|
16:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED]
| hash predicates: customer_sk = c.c_customer_sk
| runtime filters: RF000[bloom] <- c.c_customer_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=129B cardinality=318
| in pipelines: 07(GETNEXT), 10(GETNEXT), 03(OPEN)
|
|--15:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED]
| | hash predicates: ss_customer_sk = c.c_customer_sk
| | runtime filters: RF006[bloom] <- c.c_customer_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=2,0,1 row-size=129B cardinality=318
| | in pipelines: 03(GETNEXT), 02(OPEN)
| |
| |--25:EXCHANGE [HASH(c.c_customer_sk)]
| | | mem-estimate=83.56KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=2,0,1 row-size=129B cardinality=318
| | | in pipelines: 02(GETNEXT)
| | |
| | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=135.99MB mem-reservation=14.81MB thread-reservation=2 runtime-filters-memory=2.00MB
| | 14:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash predicates: c.c_current_addr_sk = ca.ca_address_sk
| | | fk/pk conjuncts: c.c_current_addr_sk = ca.ca_address_sk
| | | runtime filters: RF010[bloom] <- ca.ca_address_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=2,0,1 row-size=129B cardinality=318
| | | in pipelines: 02(GETNEXT), 01(OPEN)
| | |
| | |--23:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=1 row-size=30B cardinality=137
| | | | in pipelines: 01(GETNEXT)
| | | |
| | | F09:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2
| | | 01:SCAN HDFS [tpcds_parquet.customer_address ca, RANDOM]
| | | HDFS partitions=1/1 files=1 size=1.16MB
| | | predicates: ca_county IN ('Rush County', 'Toole County', 'Jefferson County', 'Dona Ana County', 'La Porte County')
| | | stored statistics:
| | | table: rows=50.00K size=1.16MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | | parquet statistics predicates: ca_county IN ('Rush County', 'Toole County', 'Jefferson County', 'Dona Ana County', 'La Porte County')
| | | parquet dictionary predicates: ca_county IN ('Rush County', 'Toole County', 'Jefferson County', 'Dona Ana County', 'La Porte County')
| | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | | tuple-ids=1 row-size=30B cardinality=137
| | | in pipelines: 01(GETNEXT)
| | |
| | 13:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash predicates: cd_demo_sk = c.c_current_cdemo_sk
| | | fk/pk conjuncts: none
| | | runtime filters: RF012[bloom] <- c.c_current_cdemo_sk
| | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | | tuple-ids=2,0 row-size=99B cardinality=100.00K
| | | in pipelines: 02(GETNEXT), 00(OPEN)
| | |
| | |--22:EXCHANGE [BROADCAST]
| | | | mem-estimate=1.16MB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=0 row-size=12B cardinality=100.00K
| | | | in pipelines: 00(GETNEXT)
| | | |
| | | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Host Resources: mem-estimate=49.00MB mem-reservation=3.00MB thread-reservation=2 runtime-filters-memory=1.00MB
| | | 00:SCAN HDFS [tpcds_parquet.customer c, RANDOM]
| | | HDFS partitions=1/1 files=1 size=5.49MB
| | | runtime filters: RF010[bloom] -> c.c_current_addr_sk
| | | stored statistics:
| | | table: rows=100.00K size=5.49MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=100.00K
| | | mem-estimate=48.00MB mem-reservation=2.00MB thread-reservation=1
| | | tuple-ids=0 row-size=12B cardinality=100.00K
| | | in pipelines: 00(GETNEXT)
| | |
| | 02:SCAN HDFS [tpcds_parquet.customer_demographics, RANDOM]
| | HDFS partitions=1/1 files=1 size=7.49MB
| | runtime filters: RF012[bloom] -> cd_demo_sk
| | stored statistics:
| | table: rows=1.92M size=7.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=1.92M
| | mem-estimate=128.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=2 row-size=87B cardinality=1.92M
| | in pipelines: 02(GETNEXT)
| |
| 24:EXCHANGE [HASH(ss_customer_sk)]
| | mem-estimate=1.27MB mem-reservation=0B thread-reservation=0
| | tuple-ids=3,4 row-size=20B cardinality=186.34K
| | in pipelines: 03(GETNEXT)
| |
| F05:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=19.95MB mem-reservation=4.44MB thread-reservation=2 runtime-filters-memory=2.00MB
| 05:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: ss_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ss_sold_date_sk = d_date_sk
| | runtime filters: RF008[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=3,4 row-size=20B cardinality=186.34K
| | in pipelines: 03(GETNEXT), 04(OPEN)
| |
| |--21:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=12B cardinality=118
| | | in pipelines: 04(GETNEXT)
| | |
| | F06:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2
| | 04:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=4 row-size=12B cardinality=118
| | in pipelines: 04(GETNEXT)
| |
| 03:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
| HDFS partitions=1824/1824 files=1824 size=201.02MB
| runtime filters: RF006[bloom] -> ss_customer_sk, RF008[bloom] -> ss_sold_date_sk
| stored statistics:
| table: rows=2.88M size=201.02MB
| partitions: 1824/1824 rows=2.88M
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=130.09K
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=3 row-size=8B cardinality=2.88M
| in pipelines: 03(GETNEXT)
|
26:EXCHANGE [HASH(customer_sk)]
| mem-estimate=206.33KB mem-reservation=0B thread-reservation=0
| tuple-ids=10 row-size=4B cardinality=140.03K
| in pipelines: 07(GETNEXT), 10(GETNEXT)
|
F04:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Resources: mem-estimate=100.95MB mem-reservation=8.94MB thread-reservation=2 runtime-filters-memory=3.00MB
06:UNION
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=10 row-size=4B cardinality=140.03K
| in pipelines: 07(GETNEXT), 10(GETNEXT)
|
|--12:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: cs_sold_date_sk = d_date_sk
| | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | runtime filters: RF004[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=8,9 row-size=20B cardinality=93.21K
| | in pipelines: 10(GETNEXT), 11(OPEN)
| |
| |--20:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=9 row-size=12B cardinality=118
| | | in pipelines: 11(GETNEXT)
| | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2
| | 11:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=9 row-size=12B cardinality=118
| | in pipelines: 11(GETNEXT)
| |
| 10:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM]
| HDFS partitions=1/1 files=3 size=96.62MB
| runtime filters: RF000[bloom] -> tpcds_parquet.catalog_sales.cs_ship_customer_sk, RF004[bloom] -> cs_sold_date_sk
| stored statistics:
| table: rows=1.44M size=96.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=650.14K
| mem-estimate=96.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=8 row-size=8B cardinality=1.44M
| in pipelines: 10(GETNEXT)
|
09:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: ws_sold_date_sk = d_date_sk
| fk/pk conjuncts: ws_sold_date_sk = d_date_sk
| runtime filters: RF002[bloom] <- d_date_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=6,7 row-size=20B cardinality=46.82K
| in pipelines: 07(GETNEXT), 08(OPEN)
|
|--19:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=7 row-size=12B cardinality=118
| | in pipelines: 08(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2
| 08:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| parquet statistics predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| parquet dictionary predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=7 row-size=12B cardinality=118
| in pipelines: 08(GETNEXT)
|
07:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
HDFS partitions=1/1 files=2 size=45.09MB
runtime filters: RF000[bloom] -> tpcds_parquet.web_sales.ws_bill_customer_sk, RF002[bloom] -> ws_sold_date_sk
stored statistics:
table: rows=719.38K size=45.09MB
columns: all
extrapolated-rows=disabled max-scan-range-rows=644.77K
mem-estimate=64.00MB mem-reservation=4.00MB thread-reservation=1
tuple-ids=6 row-size=8B cardinality=719.38K
in pipelines: 07(GETNEXT)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=60.06MB Threads=19
Per-Host Resource Estimates: Memory=238MB
F12:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=18.08KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: cd_gender, cd_marital_status, cd_education_status, count(*), cd_purchase_estimate, count(*), cd_credit_rating, count(*), cd_dep_count, count(*), cd_dep_employed_count, count(*), cd_dep_college_count, count(*)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
29:MERGING-EXCHANGE [UNPARTITIONED]
| order by: cd_gender ASC, cd_marital_status ASC, cd_education_status ASC, cd_purchase_estimate ASC, cd_credit_rating ASC, cd_dep_count ASC, cd_dep_employed_count ASC, cd_dep_college_count ASC
| limit: 100
| mem-estimate=18.08KB mem-reservation=0B thread-reservation=0
| tuple-ids=14 row-size=91B cardinality=100
| in pipelines: 18(GETNEXT)
|
F11:PLAN FRAGMENT [HASH(cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count)] hosts=1 instances=1
Per-Instance Resources: mem-estimate=10.06MB mem-reservation=1.94MB thread-reservation=1
18:TOP-N [LIMIT=100]
| order by: cd_gender ASC, cd_marital_status ASC, cd_education_status ASC, cd_purchase_estimate ASC, cd_credit_rating ASC, cd_dep_count ASC, cd_dep_employed_count ASC, cd_dep_college_count ASC
| mem-estimate=8.85KB mem-reservation=0B thread-reservation=0
| tuple-ids=14 row-size=91B cardinality=100
| in pipelines: 18(GETNEXT), 28(OPEN)
|
28:AGGREGATE [FINALIZE]
| output: count:merge(*)
| group by: cd_gender, cd_marital_status, cd_education_status, cd_purchase_estimate, cd_credit_rating, cd_dep_count, cd_dep_employed_count, cd_dep_college_count
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=13 row-size=91B cardinality=318
| in pipelines: 28(GETNEXT), 07(OPEN), 10(OPEN)
|
27:EXCHANGE [HASH(cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating,cd_dep_count,cd_dep_employed_count,cd_dep_college_count)]
| mem-estimate=57.50KB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=91B cardinality=318
| in pipelines: 07(GETNEXT), 10(GETNEXT)
|
F10:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=1 instances=1
Per-Instance Resources: mem-estimate=10.20MB mem-reservation=2.00MB thread-reservation=1
17:AGGREGATE [STREAMING]
| output: count(*)
| group by: cd_gender, cd_marital_status, cd_education_status, cd_purchase_estimate, cd_credit_rating, cd_dep_count, cd_dep_employed_count, cd_dep_college_count
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=13 row-size=91B cardinality=318
| in pipelines: 07(GETNEXT), 10(GETNEXT)
|
16:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED]
| hash-table-id=00
| hash predicates: customer_sk = c.c_customer_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=129B cardinality=318
| in pipelines: 07(GETNEXT), 10(GETNEXT), 03(OPEN)
|
|--F13:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=4.29MB mem-reservation=2.94MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=00 plan-id=01 cohort-id=01
| | build expressions: c.c_customer_sk
| | runtime filters: RF000[bloom] <- c.c_customer_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| |
| 15:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED]
| | hash-table-id=01
| | hash predicates: ss_customer_sk = c.c_customer_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=2,0,1 row-size=129B cardinality=318
| | in pipelines: 03(GETNEXT), 02(OPEN)
| |
| |--F14:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=3.02MB mem-reservation=2.94MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=01 plan-id=02 cohort-id=02
| | | build expressions: c.c_customer_sk
| | | runtime filters: RF006[bloom] <- c.c_customer_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 25:EXCHANGE [HASH(c.c_customer_sk)]
| | | mem-estimate=83.56KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=2,0,1 row-size=129B cardinality=318
| | | in pipelines: 02(GETNEXT)
| | |
| | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-reservation=0 runtime-filters-memory=1.00MB
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=1
| | 14:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash-table-id=02
| | | hash predicates: c.c_current_addr_sk = ca.ca_address_sk
| | | fk/pk conjuncts: c.c_current_addr_sk = ca.ca_address_sk
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=2,0,1 row-size=129B cardinality=318
| | | in pipelines: 02(GETNEXT), 01(OPEN)
| | |
| | |--F15:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | | JOIN BUILD
| | | | join-table-id=02 plan-id=03 cohort-id=03
| | | | build expressions: ca.ca_address_sk
| | | | runtime filters: RF010[bloom] <- ca.ca_address_sk
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | | |
| | | 23:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=1 row-size=30B cardinality=137
| | | | in pipelines: 01(GETNEXT)
| | | |
| | | F09:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | | 01:SCAN HDFS [tpcds_parquet.customer_address ca, RANDOM]
| | | HDFS partitions=1/1 files=1 size=1.16MB
| | | predicates: ca_county IN ('Rush County', 'Toole County', 'Jefferson County', 'Dona Ana County', 'La Porte County')
| | | stored statistics:
| | | table: rows=50.00K size=1.16MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | | parquet statistics predicates: ca_county IN ('Rush County', 'Toole County', 'Jefferson County', 'Dona Ana County', 'La Porte County')
| | | parquet dictionary predicates: ca_county IN ('Rush County', 'Toole County', 'Jefferson County', 'Dona Ana County', 'La Porte County')
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | | tuple-ids=1 row-size=30B cardinality=137
| | | in pipelines: 01(GETNEXT)
| | |
| | 13:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash-table-id=03
| | | hash predicates: cd_demo_sk = c.c_current_cdemo_sk
| | | fk/pk conjuncts: none
| | | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0
| | | tuple-ids=2,0 row-size=99B cardinality=100.00K
| | | in pipelines: 02(GETNEXT), 00(OPEN)
| | |
| | |--F16:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | | Per-Instance Resources: mem-estimate=7.91MB mem-reservation=6.75MB thread-reservation=1 runtime-filters-memory=1.00MB
| | | JOIN BUILD
| | | | join-table-id=03 plan-id=04 cohort-id=03
| | | | build expressions: c.c_current_cdemo_sk
| | | | runtime filters: RF012[bloom] <- c.c_current_cdemo_sk
| | | | mem-estimate=5.75MB mem-reservation=5.75MB spill-buffer=128.00KB thread-reservation=0
| | | |
| | | 22:EXCHANGE [BROADCAST]
| | | | mem-estimate=1.16MB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=0 row-size=12B cardinality=100.00K
| | | | in pipelines: 00(GETNEXT)
| | | |
| | | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-reservation=0 runtime-filters-memory=1.00MB
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=2.00MB thread-reservation=1
| | | 00:SCAN HDFS [tpcds_parquet.customer c, RANDOM]
| | | HDFS partitions=1/1 files=1 size=5.49MB
| | | runtime filters: RF010[bloom] -> c.c_current_addr_sk
| | | stored statistics:
| | | table: rows=100.00K size=5.49MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=100.00K
| | | mem-estimate=16.00MB mem-reservation=2.00MB thread-reservation=0
| | | tuple-ids=0 row-size=12B cardinality=100.00K
| | | in pipelines: 00(GETNEXT)
| | |
| | 02:SCAN HDFS [tpcds_parquet.customer_demographics, RANDOM]
| | HDFS partitions=1/1 files=1 size=7.49MB
| | runtime filters: RF012[bloom] -> cd_demo_sk
| | stored statistics:
| | table: rows=1.92M size=7.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=1.92M
| | mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=0
| | tuple-ids=2 row-size=87B cardinality=1.92M
| | in pipelines: 02(GETNEXT)
| |
| 24:EXCHANGE [HASH(ss_customer_sk)]
| | mem-estimate=1.35MB mem-reservation=0B thread-reservation=0
| | tuple-ids=3,4 row-size=20B cardinality=186.34K
| | in pipelines: 03(GETNEXT)
| |
| F05:PLAN FRAGMENT [RANDOM] hosts=3 instances=6
| Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| 05:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=04
| | hash predicates: ss_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ss_sold_date_sk = d_date_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=3,4 row-size=20B cardinality=186.34K
| | in pipelines: 03(GETNEXT), 04(OPEN)
| |
| |--F17:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=04 plan-id=05 cohort-id=02
| | | build expressions: d_date_sk
| | | runtime filters: RF008[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 21:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=12B cardinality=118
| | | in pipelines: 04(GETNEXT)
| | |
| | F06:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | 04:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=4 row-size=12B cardinality=118
| | in pipelines: 04(GETNEXT)
| |
| 03:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
| HDFS partitions=1824/1824 files=1824 size=201.02MB
| runtime filters: RF006[bloom] -> ss_customer_sk, RF008[bloom] -> ss_sold_date_sk
| stored statistics:
| table: rows=2.88M size=201.02MB
| partitions: 1824/1824 rows=2.88M
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=130.09K
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| tuple-ids=3 row-size=8B cardinality=2.88M
| in pipelines: 03(GETNEXT)
|
26:EXCHANGE [HASH(customer_sk)]
| mem-estimate=206.33KB mem-reservation=0B thread-reservation=0
| tuple-ids=10 row-size=4B cardinality=140.03K
| in pipelines: 07(GETNEXT), 10(GETNEXT)
|
F04:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Shared Resources: mem-estimate=3.00MB mem-reservation=3.00MB thread-reservation=0 runtime-filters-memory=3.00MB
Per-Instance Resources: mem-estimate=48.00MB mem-reservation=4.00MB thread-reservation=1
06:UNION
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=10 row-size=4B cardinality=140.03K
| in pipelines: 07(GETNEXT), 10(GETNEXT)
|
|--12:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=06
| | hash predicates: cs_sold_date_sk = d_date_sk
| | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=8,9 row-size=20B cardinality=93.21K
| | in pipelines: 10(GETNEXT), 11(OPEN)
| |
| |--F19:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=06 plan-id=07 cohort-id=01
| | | build expressions: d_date_sk
| | | runtime filters: RF004[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 20:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=9 row-size=12B cardinality=118
| | | in pipelines: 11(GETNEXT)
| | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | 11:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=9 row-size=12B cardinality=118
| | in pipelines: 11(GETNEXT)
| |
| 10:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM]
| HDFS partitions=1/1 files=3 size=96.62MB
| runtime filters: RF000[bloom] -> tpcds_parquet.catalog_sales.cs_ship_customer_sk, RF004[bloom] -> cs_sold_date_sk
| stored statistics:
| table: rows=1.44M size=96.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=650.14K
| mem-estimate=48.00MB mem-reservation=4.00MB thread-reservation=0
| tuple-ids=8 row-size=8B cardinality=1.44M
| in pipelines: 10(GETNEXT)
|
09:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=05
| hash predicates: ws_sold_date_sk = d_date_sk
| fk/pk conjuncts: ws_sold_date_sk = d_date_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=6,7 row-size=20B cardinality=46.82K
| in pipelines: 07(GETNEXT), 08(OPEN)
|
|--F18:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=05 plan-id=06 cohort-id=01
| | build expressions: d_date_sk
| | runtime filters: RF002[bloom] <- d_date_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 19:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=7 row-size=12B cardinality=118
| | in pipelines: 08(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| 08:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| parquet statistics predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| parquet dictionary predicates: d_year = CAST(2002 AS INT), d_moy <= CAST(4 AS INT), d_moy >= CAST(1 AS INT)
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| tuple-ids=7 row-size=12B cardinality=118
| in pipelines: 08(GETNEXT)
|
07:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
HDFS partitions=1/1 files=2 size=45.09MB
runtime filters: RF000[bloom] -> tpcds_parquet.web_sales.ws_bill_customer_sk, RF002[bloom] -> ws_sold_date_sk
stored statistics:
table: rows=719.38K size=45.09MB
columns: all
extrapolated-rows=disabled max-scan-range-rows=644.77K
mem-estimate=32.00MB mem-reservation=4.00MB thread-reservation=0
tuple-ids=6 row-size=8B cardinality=719.38K
in pipelines: 07(GETNEXT)
====