blob: 2a11edec7e0b5efc56b5128d160c8c847e87a297 [file] [log] [blame]
# TPCDS-Q35a variant of q35 without multiple subqueries in OR predicate
SELECT ca_state,
cd_gender,
cd_marital_status,
cd_dep_count,
count(*) cnt1,
min(cd_dep_count),
max(cd_dep_count),
avg(cd_dep_count),
cd_dep_employed_count,
count(*) cnt2,
min(cd_dep_employed_count),
max(cd_dep_employed_count),
avg(cd_dep_employed_count),
cd_dep_college_count,
count(*) cnt3,
min(cd_dep_college_count),
max(cd_dep_college_count),
avg(cd_dep_college_count)
FROM customer c,
customer_address ca,
customer_demographics
WHERE
c.c_current_addr_sk = ca.ca_address_sk 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_qoy < 4) and
EXISTS (SELECT * from
(SELECT ws_bill_customer_sk customsk
from web_sales,date_dim
WHERE
ws_sold_date_sk = d_date_sk and
d_year = 2002 and
d_qoy < 4
UNION ALL
SELECT cs_ship_customer_sk customsk
FROM catalog_sales,date_dim
WHERE
cs_sold_date_sk = d_date_sk and
d_year = 2002 and
d_qoy < 4)x
WHERE x.customsk = c.c_customer_sk)
GROUP BY ca_state,
cd_gender,
cd_marital_status,
cd_dep_count,
cd_dep_employed_count,
cd_dep_college_count
ORDER BY ca_state,
cd_gender,
cd_marital_status,
cd_dep_count,
cd_dep_employed_count,
cd_dep_college_count
LIMIT 100
---- PLAN
Max Per-Host Resource Reservation: Memory=43.50MB Threads=8
Per-Host Resource Estimates: Memory=402MB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=401.62MB mem-reservation=43.50MB thread-reservation=8 runtime-filters-memory=7.00MB
PLAN-ROOT SINK
| output exprs: ca_state, cd_gender, cd_marital_status, cd_dep_count, count(*), min(cd_dep_count), max(cd_dep_count), avg(cd_dep_count), cd_dep_employed_count, count(*), min(cd_dep_employed_count), max(cd_dep_employed_count), avg(cd_dep_employed_count), cd_dep_college_count, count(*), min(cd_dep_college_count), max(cd_dep_college_count), avg(cd_dep_college_count)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
18:TOP-N [LIMIT=100]
| order by: ca_state ASC, cd_gender ASC, cd_marital_status ASC, cd_dep_count ASC, cd_dep_employed_count ASC, cd_dep_college_count ASC
| mem-estimate=10.55KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=108B cardinality=100
| in pipelines: 18(GETNEXT), 17(OPEN)
|
17:AGGREGATE [FINALIZE]
| output: count(*), min(cd_dep_count), max(cd_dep_count), avg(CAST(cd_dep_count AS BIGINT)), min(cd_dep_employed_count), max(cd_dep_employed_count), avg(CAST(cd_dep_employed_count AS BIGINT)), min(cd_dep_college_count), max(cd_dep_college_count), avg(CAST(cd_dep_college_count AS BIGINT))
| group by: ca_state, cd_gender, cd_marital_status, cd_dep_count, cd_dep_employed_count, cd_dep_college_count
| mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| tuple-ids=14 row-size=108B cardinality=90.63K
| in pipelines: 17(GETNEXT), 02(OPEN)
|
16:HASH JOIN [LEFT SEMI JOIN]
| hash predicates: c.c_customer_sk = customsk
| runtime filters: RF000[bloom] <- customsk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=72B cardinality=90.63K
| in pipelines: 02(GETNEXT), 07(OPEN), 10(OPEN)
|
|--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: RF012[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_qoy < CAST(4 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_qoy < CAST(4 AS INT)
| | | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 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: RF012[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: RF010[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_qoy < CAST(4 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_qoy < CAST(4 AS INT)
| | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 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: RF010[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)
|
15:HASH JOIN [LEFT SEMI JOIN]
| hash predicates: c.c_customer_sk = ss_customer_sk
| runtime filters: RF002[bloom] <- ss_customer_sk
| mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=72B cardinality=90.63K
| in pipelines: 02(GETNEXT), 03(OPEN)
|
|--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_qoy < CAST(4 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_qoy < CAST(4 AS INT)
| | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 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=200.95MB
| runtime filters: RF000[bloom] -> tpcds_parquet.store_sales.ss_customer_sk, RF008[bloom] -> ss_sold_date_sk
| stored statistics:
| table: rows=2.88M size=200.95MB
| 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)
|
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: RF004[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=72B cardinality=100.00K
| in pipelines: 02(GETNEXT), 01(OPEN)
|
|--01:SCAN HDFS [tpcds_parquet.customer_address ca]
| HDFS partitions=1/1 files=1 size=1.16MB
| stored statistics:
| table: rows=50.00K size=1.16MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=50.00K
| mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=1
| tuple-ids=1 row-size=18B cardinality=50.00K
| 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: RF006[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=54B 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: RF000[bloom] -> c.c_customer_sk, RF002[bloom] -> c.c_customer_sk, RF004[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: RF006[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=96.00MB mem-reservation=8.00MB thread-reservation=1
tuple-ids=2 row-size=42B cardinality=1.92M
in pipelines: 02(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=53.56MB Threads=19
Per-Host Resource Estimates: Memory=492MB
F12:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=36.33KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: ca_state, cd_gender, cd_marital_status, cd_dep_count, count(*), min(cd_dep_count), max(cd_dep_count), avg(cd_dep_count), cd_dep_employed_count, count(*), min(cd_dep_employed_count), max(cd_dep_employed_count), avg(cd_dep_employed_count), cd_dep_college_count, count(*), min(cd_dep_college_count), max(cd_dep_college_count), avg(cd_dep_college_count)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
29:MERGING-EXCHANGE [UNPARTITIONED]
| order by: ca_state ASC, cd_gender ASC, cd_marital_status ASC, cd_dep_count ASC, cd_dep_employed_count ASC, cd_dep_college_count ASC
| limit: 100
| mem-estimate=36.33KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=108B cardinality=100
| in pipelines: 18(GETNEXT)
|
F11:PLAN FRAGMENT [HASH(ca_state,cd_gender,cd_marital_status,cd_dep_count,cd_dep_employed_count,cd_dep_college_count)] hosts=3 instances=3
Per-Host Resources: mem-estimate=13.44MB mem-reservation=1.94MB thread-reservation=1
18:TOP-N [LIMIT=100]
| order by: ca_state ASC, cd_gender ASC, cd_marital_status ASC, cd_dep_count ASC, cd_dep_employed_count ASC, cd_dep_college_count ASC
| mem-estimate=10.55KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=108B cardinality=100
| in pipelines: 18(GETNEXT), 28(OPEN)
|
28:AGGREGATE [FINALIZE]
| output: count:merge(*), min:merge(cd_dep_count), max:merge(cd_dep_count), avg:merge(cd_dep_count), min:merge(cd_dep_employed_count), max:merge(cd_dep_employed_count), avg:merge(cd_dep_employed_count), min:merge(cd_dep_college_count), max:merge(cd_dep_college_count), avg:merge(cd_dep_college_count)
| group by: ca_state, cd_gender, cd_marital_status, 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=14 row-size=108B cardinality=90.63K
| in pipelines: 28(GETNEXT), 03(OPEN)
|
27:EXCHANGE [HASH(ca_state,cd_gender,cd_marital_status,cd_dep_count,cd_dep_employed_count,cd_dep_college_count)]
| mem-estimate=3.44MB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=108B cardinality=90.63K
| in pipelines: 03(GETNEXT)
|
F05:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=3 instances=3
Per-Host Resources: mem-estimate=27.10MB mem-reservation=17.69MB thread-reservation=1 runtime-filters-memory=2.00MB
17:AGGREGATE [STREAMING]
| output: count(*), min(cd_dep_count), max(cd_dep_count), avg(CAST(cd_dep_count AS BIGINT)), min(cd_dep_employed_count), max(cd_dep_employed_count), avg(CAST(cd_dep_employed_count AS BIGINT)), min(cd_dep_college_count), max(cd_dep_college_count), avg(CAST(cd_dep_college_count AS BIGINT))
| group by: ca_state, cd_gender, cd_marital_status, cd_dep_count, cd_dep_employed_count, cd_dep_college_count
| mem-estimate=10.00MB mem-reservation=9.00MB spill-buffer=512.00KB thread-reservation=0
| tuple-ids=13 row-size=108B cardinality=90.63K
| in pipelines: 03(GETNEXT)
|
16:HASH JOIN [LEFT SEMI JOIN, PARTITIONED]
| hash predicates: c.c_customer_sk = customsk
| runtime filters: RF000[bloom] <- customsk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=72B cardinality=90.63K
| in pipelines: 03(GETNEXT), 07(OPEN), 10(OPEN)
|
|--26:EXCHANGE [HASH(customsk)]
| | 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)
| |
| F10:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=99.95MB mem-reservation=7.94MB thread-reservation=2 runtime-filters-memory=2.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: RF012[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)
| | |
| | |--25:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=9 row-size=12B cardinality=118
| | | | in pipelines: 11(GETNEXT)
| | | |
| | | F09: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_qoy < CAST(4 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_qoy < CAST(4 AS INT)
| | | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 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: RF012[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: RF010[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)
| |
| |--24:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=7 row-size=12B cardinality=118
| | | in pipelines: 08(GETNEXT)
| | |
| | F07: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_qoy < CAST(4 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_qoy < CAST(4 AS INT)
| | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 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: RF010[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)
|
15:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED]
| hash predicates: ss_customer_sk = c.c_customer_sk
| runtime filters: RF002[bloom] <- c.c_customer_sk
| mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=72B cardinality=90.63K
| in pipelines: 03(GETNEXT), 02(OPEN)
|
|--23:EXCHANGE [HASH(c.c_customer_sk)]
| | mem-estimate=6.95MB mem-reservation=0B thread-reservation=0
| | tuple-ids=2,0,1 row-size=72B cardinality=100.00K
| | in pipelines: 02(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=104.85MB 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: RF006[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=72B cardinality=100.00K
| | in pipelines: 02(GETNEXT), 01(OPEN)
| |
| |--21:EXCHANGE [BROADCAST]
| | | mem-estimate=900.91KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=1 row-size=18B cardinality=50.00K
| | | in pipelines: 01(GETNEXT)
| | |
| | F04:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=2
| | 01:SCAN HDFS [tpcds_parquet.customer_address ca, RANDOM]
| | HDFS partitions=1/1 files=1 size=1.16MB
| | stored statistics:
| | table: rows=50.00K size=1.16MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=1
| | tuple-ids=1 row-size=18B cardinality=50.00K
| | 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: RF008[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=54B cardinality=100.00K
| | in pipelines: 02(GETNEXT), 00(OPEN)
| |
| |--20: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)
| | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=50.00MB mem-reservation=4.00MB thread-reservation=2 runtime-filters-memory=2.00MB
| | 00:SCAN HDFS [tpcds_parquet.customer c, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.49MB
| | runtime filters: RF000[bloom] -> c.c_customer_sk, RF006[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: RF008[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=96.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=2 row-size=42B cardinality=1.92M
| in pipelines: 02(GETNEXT)
|
22: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)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Resources: mem-estimate=20.95MB mem-reservation=5.44MB thread-reservation=2 runtime-filters-memory=3.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: RF004[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)
|
|--19:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=4 row-size=12B cardinality=118
| | in pipelines: 04(GETNEXT)
| |
| F01: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_qoy < CAST(4 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_qoy < CAST(4 AS INT)
| parquet dictionary predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 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=200.95MB
runtime filters: RF000[bloom] -> tpcds_parquet.store_sales.ss_customer_sk, RF002[bloom] -> ss_customer_sk, RF004[bloom] -> ss_sold_date_sk
stored statistics:
table: rows=2.88M size=200.95MB
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)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=78.50MB Threads=23
Per-Host Resource Estimates: Memory=291MB
F12:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=69.14KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: ca_state, cd_gender, cd_marital_status, cd_dep_count, count(*), min(cd_dep_count), max(cd_dep_count), avg(cd_dep_count), cd_dep_employed_count, count(*), min(cd_dep_employed_count), max(cd_dep_employed_count), avg(cd_dep_employed_count), cd_dep_college_count, count(*), min(cd_dep_college_count), max(cd_dep_college_count), avg(cd_dep_college_count)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
29:MERGING-EXCHANGE [UNPARTITIONED]
| order by: ca_state ASC, cd_gender ASC, cd_marital_status ASC, cd_dep_count ASC, cd_dep_employed_count ASC, cd_dep_college_count ASC
| limit: 100
| mem-estimate=69.14KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=108B cardinality=100
| in pipelines: 18(GETNEXT)
|
F11:PLAN FRAGMENT [HASH(ca_state,cd_gender,cd_marital_status,cd_dep_count,cd_dep_employed_count,cd_dep_college_count)] hosts=3 instances=6
Per-Instance Resources: mem-estimate=13.77MB mem-reservation=1.94MB thread-reservation=1
18:TOP-N [LIMIT=100]
| order by: ca_state ASC, cd_gender ASC, cd_marital_status ASC, cd_dep_count ASC, cd_dep_employed_count ASC, cd_dep_college_count ASC
| mem-estimate=10.55KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=108B cardinality=100
| in pipelines: 18(GETNEXT), 28(OPEN)
|
28:AGGREGATE [FINALIZE]
| output: count:merge(*), min:merge(cd_dep_count), max:merge(cd_dep_count), avg:merge(cd_dep_count), min:merge(cd_dep_employed_count), max:merge(cd_dep_employed_count), avg:merge(cd_dep_employed_count), min:merge(cd_dep_college_count), max:merge(cd_dep_college_count), avg:merge(cd_dep_college_count)
| group by: ca_state, cd_gender, cd_marital_status, 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=14 row-size=108B cardinality=90.63K
| in pipelines: 28(GETNEXT), 03(OPEN)
|
27:EXCHANGE [HASH(ca_state,cd_gender,cd_marital_status,cd_dep_count,cd_dep_employed_count,cd_dep_college_count)]
| mem-estimate=3.77MB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=108B cardinality=90.63K
| in pipelines: 03(GETNEXT)
|
F05:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=3 instances=6
Per-Instance Resources: mem-estimate=11.35MB mem-reservation=5.00MB thread-reservation=1
17:AGGREGATE [STREAMING]
| output: count(*), min(cd_dep_count), max(cd_dep_count), avg(CAST(cd_dep_count AS BIGINT)), min(cd_dep_employed_count), max(cd_dep_employed_count), avg(CAST(cd_dep_employed_count AS BIGINT)), min(cd_dep_college_count), max(cd_dep_college_count), avg(CAST(cd_dep_college_count AS BIGINT))
| group by: ca_state, cd_gender, cd_marital_status, cd_dep_count, cd_dep_employed_count, cd_dep_college_count
| mem-estimate=10.00MB mem-reservation=5.00MB spill-buffer=256.00KB thread-reservation=0
| tuple-ids=13 row-size=108B cardinality=90.63K
| in pipelines: 03(GETNEXT)
|
16:HASH JOIN [LEFT SEMI JOIN, PARTITIONED]
| hash-table-id=00
| hash predicates: c.c_customer_sk = customsk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=72B cardinality=90.63K
| in pipelines: 03(GETNEXT), 07(OPEN), 10(OPEN)
|
|--F13:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=3 instances=6
| | Per-Instance Resources: mem-estimate=3.14MB 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: customsk
| | runtime filters: RF000[bloom] <- customsk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| |
| 26:EXCHANGE [HASH(customsk)]
| | 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)
| |
| F10:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| 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=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=02
| | | 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)
| | |
| | |--F15: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=02 plan-id=03 cohort-id=02
| | | | build expressions: d_date_sk
| | | | runtime filters: RF012[bloom] <- d_date_sk
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | | |
| | | 25:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=9 row-size=12B cardinality=118
| | | | in pipelines: 11(GETNEXT)
| | | |
| | | F09: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_qoy < CAST(4 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_qoy < CAST(4 AS INT)
| | | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 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: RF012[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=01
| | 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)
| |
| |--F14: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=01 plan-id=02 cohort-id=02
| | | build expressions: d_date_sk
| | | runtime filters: RF010[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 24:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=7 row-size=12B cardinality=118
| | | in pipelines: 08(GETNEXT)
| | |
| | F07: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_qoy < CAST(4 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_qoy < CAST(4 AS INT)
| | parquet dictionary predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 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: RF010[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)
|
15:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED]
| hash-table-id=03
| hash predicates: ss_customer_sk = c.c_customer_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=72B cardinality=90.63K
| in pipelines: 03(GETNEXT), 02(OPEN)
|
|--F16:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=3 instances=6
| | Per-Instance Resources: mem-estimate=10.82MB mem-reservation=3.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=03 plan-id=04 cohort-id=01
| | build expressions: c.c_customer_sk
| | runtime filters: RF002[bloom] <- c.c_customer_sk
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| |
| 23:EXCHANGE [HASH(c.c_customer_sk)]
| | mem-estimate=6.95MB mem-reservation=0B thread-reservation=0
| | tuple-ids=2,0,1 row-size=72B cardinality=100.00K
| | in pipelines: 02(GETNEXT)
| |
| F02: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=04
| | 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=72B cardinality=100.00K
| | in pipelines: 02(GETNEXT), 01(OPEN)
| |
| |--F17:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=5.75MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=04 plan-id=05 cohort-id=03
| | | build expressions: ca.ca_address_sk
| | | runtime filters: RF006[bloom] <- ca.ca_address_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 21:EXCHANGE [BROADCAST]
| | | mem-estimate=900.91KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=1 row-size=18B cardinality=50.00K
| | | in pipelines: 01(GETNEXT)
| | |
| | F04:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=1
| | 01:SCAN HDFS [tpcds_parquet.customer_address ca, RANDOM]
| | HDFS partitions=1/1 files=1 size=1.16MB
| | stored statistics:
| | table: rows=50.00K size=1.16MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=0
| | tuple-ids=1 row-size=18B cardinality=50.00K
| | in pipelines: 01(GETNEXT)
| |
| 13:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=05
| | 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=54B cardinality=100.00K
| | in pipelines: 02(GETNEXT), 00(OPEN)
| |
| |--F18: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=05 plan-id=06 cohort-id=03
| | | build expressions: c.c_current_cdemo_sk
| | | runtime filters: RF008[bloom] <- c.c_current_cdemo_sk
| | | mem-estimate=5.75MB mem-reservation=5.75MB spill-buffer=128.00KB thread-reservation=0
| | |
| | 20: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)
| | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | 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=2.00MB thread-reservation=1
| | 00:SCAN HDFS [tpcds_parquet.customer c, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.49MB
| | runtime filters: RF000[bloom] -> c.c_customer_sk, RF006[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: RF008[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=42B cardinality=1.92M
| in pipelines: 02(GETNEXT)
|
22: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)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=6
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=16.00MB mem-reservation=512.00KB thread-reservation=1
05:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=06
| 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)
|
|--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
| |
| 19:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=4 row-size=12B cardinality=118
| | in pipelines: 04(GETNEXT)
| |
| F01: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_qoy < CAST(4 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_qoy < CAST(4 AS INT)
| parquet dictionary predicates: d_year = CAST(2002 AS INT), d_qoy < CAST(4 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=200.95MB
runtime filters: RF000[bloom] -> tpcds_parquet.store_sales.ss_customer_sk, RF002[bloom] -> ss_customer_sk, RF004[bloom] -> ss_sold_date_sk
stored statistics:
table: rows=2.88M size=200.95MB
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)
====