blob: 82c0cdac2d897c6d3901ef40f529978665333600 [file] [log] [blame]
# TPCDS-Q79
select
c_last_name,
c_first_name,
substr(s_city, 1, 30),
ss_ticket_number,
amt,
profit
from
(select
ss_ticket_number,
ss_customer_sk,
store.s_city,
sum(ss_coupon_amt) amt,
sum(ss_net_profit) profit
from
store_sales,
date_dim,
store,
household_demographics
where
store_sales.ss_sold_date_sk = date_dim.d_date_sk
and store_sales.ss_store_sk = store.s_store_sk
and store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
and (household_demographics.hd_dep_count = 8
or household_demographics.hd_vehicle_count > 0)
and store.s_number_employees between 200 and 295
and d_date between '1999-01-01' and '1999-03-31'
group by
ss_ticket_number,
ss_customer_sk,
ss_addr_sk,
store.s_city
) ms,
customer
where
ss_customer_sk = c_customer_sk
order by
c_last_name,
c_first_name,
substr(s_city, 1, 30),
profit
limit 100
---- PLAN
Max Per-Host Resource Reservation: Memory=19.56MB Threads=6
Per-Host Resource Estimates: Memory=298MB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=297.81MB mem-reservation=19.56MB thread-reservation=6 runtime-filters-memory=4.00MB
PLAN-ROOT SINK
| output exprs: c_last_name, c_first_name, substr(s_city, 1, 30), ss_ticket_number, amt, profit
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
10:TOP-N [LIMIT=100]
| order by: c_last_name ASC, c_first_name ASC, substr(s_city, 1, 30) ASC, profit ASC
| materialized: substr(s_city, 1, 30)
| mem-estimate=8.59KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=88B cardinality=100
| in pipelines: 10(GETNEXT), 08(OPEN)
|
09:HASH JOIN [INNER JOIN]
| hash predicates: c_customer_sk = ss_customer_sk
| fk/pk conjuncts: none
| runtime filters: RF000[bloom] <- ss_customer_sk
| mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| tuple-ids=6,4 row-size=106B cardinality=46.86K
| in pipelines: 08(GETNEXT), 07(OPEN)
|
|--07:AGGREGATE [FINALIZE]
| | output: sum(ss_coupon_amt), sum(ss_net_profit)
| | group by: ss_ticket_number, ss_customer_sk, ss_addr_sk, store.s_city
| | mem-estimate=10.00MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| | tuple-ids=4 row-size=67B cardinality=46.86K
| | in pipelines: 07(GETNEXT), 00(OPEN)
| |
| 06:HASH JOIN [INNER JOIN]
| | hash predicates: store_sales.ss_sold_date_sk = date_dim.d_date_sk
| | fk/pk conjuncts: store_sales.ss_sold_date_sk = date_dim.d_date_sk
| | runtime filters: RF002[bloom] <- date_dim.d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=0,3,2,1 row-size=101B cardinality=46.86K
| | in pipelines: 00(GETNEXT), 01(OPEN)
| |
| |--01:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_date <= '1999-03-31', d_date >= '1999-01-01'
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_date <= '1999-03-31', d_date >= '1999-01-01'
| | parquet dictionary predicates: d_date <= '1999-03-31', d_date >= '1999-01-01'
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=1 row-size=26B cardinality=7.30K
| | in pipelines: 01(GETNEXT)
| |
| 05:HASH JOIN [INNER JOIN]
| | hash predicates: store_sales.ss_store_sk = store.s_store_sk
| | fk/pk conjuncts: store_sales.ss_store_sk = store.s_store_sk
| | runtime filters: RF004[bloom] <- store.s_store_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=0,3,2 row-size=75B cardinality=46.86K
| | in pipelines: 00(GETNEXT), 02(OPEN)
| |
| |--02:SCAN HDFS [tpcds_parquet.store]
| | HDFS partitions=1/1 files=1 size=9.93KB
| | predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT)
| | stored statistics:
| | table: rows=12 size=9.93KB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=12
| | parquet statistics predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT)
| | parquet dictionary predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT)
| | mem-estimate=48.00MB mem-reservation=24.00KB thread-reservation=1
| | tuple-ids=2 row-size=27B cardinality=1
| | in pipelines: 02(GETNEXT)
| |
| 04:HASH JOIN [INNER JOIN]
| | hash predicates: store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
| | fk/pk conjuncts: store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
| | runtime filters: RF006[bloom] <- household_demographics.hd_demo_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=0,3 row-size=48B cardinality=281.17K
| | in pipelines: 00(GETNEXT), 03(OPEN)
| |
| |--03:SCAN HDFS [tpcds_parquet.household_demographics]
| | HDFS partitions=1/1 files=1 size=41.69KB
| | predicates: (household_demographics.hd_dep_count = CAST(8 AS INT) OR household_demographics.hd_vehicle_count > CAST(0 AS INT))
| | stored statistics:
| | table: rows=7.20K size=41.69KB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=7.20K
| | mem-estimate=48.00MB mem-reservation=64.00KB thread-reservation=1
| | tuple-ids=3 row-size=12B cardinality=720
| | in pipelines: 03(GETNEXT)
| |
| 00:SCAN HDFS [tpcds_parquet.store_sales]
| HDFS partitions=1824/1824 files=1824 size=200.95MB
| runtime filters: RF002[bloom] -> store_sales.ss_sold_date_sk, RF004[bloom] -> store_sales.ss_store_sk, RF006[bloom] -> store_sales.ss_hdemo_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=112.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=0 row-size=36B cardinality=2.88M
| in pipelines: 00(GETNEXT)
|
08:SCAN HDFS [tpcds_parquet.customer]
HDFS partitions=1/1 files=1 size=5.49MB
runtime filters: RF000[bloom] -> c_customer_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=1.00MB thread-reservation=1
tuple-ids=6 row-size=40B cardinality=100.00K
in pipelines: 08(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=25.65MB Threads=13
Per-Host Resource Estimates: Memory=328MB
F07:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=29.81KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: c_last_name, c_first_name, substr(s_city, 1, 30), ss_ticket_number, amt, profit
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
18:MERGING-EXCHANGE [UNPARTITIONED]
| order by: c_last_name ASC, c_first_name ASC, substr(s_city, 1, 30) ASC, profit ASC
| limit: 100
| mem-estimate=29.81KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=88B cardinality=100
| in pipelines: 10(GETNEXT)
|
F06:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=3
Per-Host Resources: mem-estimate=8.93MB mem-reservation=3.88MB thread-reservation=1 runtime-filters-memory=1.00MB
10:TOP-N [LIMIT=100]
| order by: c_last_name ASC, c_first_name ASC, substr(s_city, 1, 30) ASC, profit ASC
| materialized: substr(s_city, 1, 30)
| mem-estimate=8.59KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=88B cardinality=100
| in pipelines: 10(GETNEXT), 15(OPEN)
|
09:HASH JOIN [INNER JOIN, PARTITIONED]
| hash predicates: ss_customer_sk = c_customer_sk
| fk/pk conjuncts: none
| runtime filters: RF000[bloom] <- c_customer_sk
| mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| tuple-ids=4,6 row-size=106B cardinality=46.86K
| in pipelines: 15(GETNEXT), 08(OPEN)
|
|--17:EXCHANGE [HASH(c_customer_sk)]
| | mem-estimate=3.85MB mem-reservation=0B thread-reservation=0
| | tuple-ids=6 row-size=40B cardinality=100.00K
| | in pipelines: 08(GETNEXT)
| |
| F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=2
| 08:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| HDFS partitions=1/1 files=1 size=5.49MB
| 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=1.00MB thread-reservation=1
| tuple-ids=6 row-size=40B cardinality=100.00K
| in pipelines: 08(GETNEXT)
|
16:EXCHANGE [HASH(ss_customer_sk)]
| mem-estimate=1.20MB mem-reservation=0B thread-reservation=0
| tuple-ids=4 row-size=67B cardinality=46.86K
| in pipelines: 15(GETNEXT)
|
F04:PLAN FRAGMENT [HASH(ss_ticket_number,ss_customer_sk,ss_addr_sk,store.s_city)] hosts=3 instances=3
Per-Host Resources: mem-estimate=11.20MB mem-reservation=2.88MB thread-reservation=1
15:AGGREGATE [FINALIZE]
| output: sum:merge(ss_coupon_amt), sum:merge(ss_net_profit)
| group by: ss_ticket_number, ss_customer_sk, ss_addr_sk, store.s_city
| mem-estimate=10.00MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| tuple-ids=4 row-size=67B cardinality=46.86K
| in pipelines: 15(GETNEXT), 00(OPEN)
|
14:EXCHANGE [HASH(ss_ticket_number,ss_customer_sk,ss_addr_sk,store.s_city)]
| mem-estimate=1.20MB mem-reservation=0B thread-reservation=0
| tuple-ids=4 row-size=67B cardinality=46.86K
| in pipelines: 00(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Resources: mem-estimate=132.06MB mem-reservation=16.81MB thread-reservation=2 runtime-filters-memory=4.00MB
07:AGGREGATE [STREAMING]
| output: sum(ss_coupon_amt), sum(ss_net_profit)
| group by: ss_ticket_number, ss_customer_sk, ss_addr_sk, store.s_city
| mem-estimate=10.00MB mem-reservation=3.00MB spill-buffer=128.00KB thread-reservation=0
| tuple-ids=4 row-size=67B cardinality=46.86K
| in pipelines: 00(GETNEXT)
|
06:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: store_sales.ss_sold_date_sk = date_dim.d_date_sk
| fk/pk conjuncts: store_sales.ss_sold_date_sk = date_dim.d_date_sk
| runtime filters: RF002[bloom] <- date_dim.d_date_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,3,2,1 row-size=101B cardinality=46.86K
| in pipelines: 00(GETNEXT), 01(OPEN)
|
|--13:EXCHANGE [BROADCAST]
| | mem-estimate=215.48KB mem-reservation=0B thread-reservation=0
| | tuple-ids=1 row-size=26B cardinality=7.30K
| | in pipelines: 01(GETNEXT)
| |
| F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=2
| 01:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_date <= '1999-03-31', d_date >= '1999-01-01'
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| parquet statistics predicates: d_date <= '1999-03-31', d_date >= '1999-01-01'
| parquet dictionary predicates: d_date <= '1999-03-31', d_date >= '1999-01-01'
| mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| tuple-ids=1 row-size=26B cardinality=7.30K
| in pipelines: 01(GETNEXT)
|
05:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: store_sales.ss_store_sk = store.s_store_sk
| fk/pk conjuncts: store_sales.ss_store_sk = store.s_store_sk
| runtime filters: RF004[bloom] <- store.s_store_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,3,2 row-size=75B cardinality=46.86K
| in pipelines: 00(GETNEXT), 02(OPEN)
|
|--12:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=27B cardinality=1
| | in pipelines: 02(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=48.00MB mem-reservation=24.00KB thread-reservation=2
| 02:SCAN HDFS [tpcds_parquet.store, RANDOM]
| HDFS partitions=1/1 files=1 size=9.93KB
| predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT)
| stored statistics:
| table: rows=12 size=9.93KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=12
| parquet statistics predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT)
| parquet dictionary predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT)
| mem-estimate=48.00MB mem-reservation=24.00KB thread-reservation=1
| tuple-ids=2 row-size=27B cardinality=1
| in pipelines: 02(GETNEXT)
|
04:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
| fk/pk conjuncts: store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
| runtime filters: RF006[bloom] <- household_demographics.hd_demo_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,3 row-size=48B cardinality=281.17K
| in pipelines: 00(GETNEXT), 03(OPEN)
|
|--11:EXCHANGE [BROADCAST]
| | mem-estimate=19.69KB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=12B cardinality=720
| | in pipelines: 03(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=48.00MB mem-reservation=64.00KB thread-reservation=2
| 03:SCAN HDFS [tpcds_parquet.household_demographics, RANDOM]
| HDFS partitions=1/1 files=1 size=41.69KB
| predicates: (household_demographics.hd_dep_count = CAST(8 AS INT) OR household_demographics.hd_vehicle_count > CAST(0 AS INT))
| stored statistics:
| table: rows=7.20K size=41.69KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=7.20K
| mem-estimate=48.00MB mem-reservation=64.00KB thread-reservation=1
| tuple-ids=3 row-size=12B cardinality=720
| in pipelines: 03(GETNEXT)
|
00: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] -> store_sales.ss_sold_date_sk, RF004[bloom] -> store_sales.ss_store_sk, RF006[bloom] -> store_sales.ss_hdemo_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=112.00MB mem-reservation=4.00MB thread-reservation=1
tuple-ids=0 row-size=36B cardinality=2.88M
in pipelines: 00(GETNEXT)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=42.46MB Threads=16
Per-Host Resource Estimates: Memory=174MB
F07:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=56.75KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: c_last_name, c_first_name, substr(s_city, 1, 30), ss_ticket_number, amt, profit
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
18:MERGING-EXCHANGE [UNPARTITIONED]
| order by: c_last_name ASC, c_first_name ASC, substr(s_city, 1, 30) ASC, profit ASC
| limit: 100
| mem-estimate=56.75KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=88B cardinality=100
| in pipelines: 10(GETNEXT)
|
F06:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
Per-Instance Resources: mem-estimate=1.41MB mem-reservation=0B thread-reservation=1
10:TOP-N [LIMIT=100]
| order by: c_last_name ASC, c_first_name ASC, substr(s_city, 1, 30) ASC, profit ASC
| materialized: substr(s_city, 1, 30)
| mem-estimate=8.59KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=88B cardinality=100
| in pipelines: 10(GETNEXT), 15(OPEN)
|
09:HASH JOIN [INNER JOIN, PARTITIONED]
| hash-table-id=00
| hash predicates: ss_customer_sk = c_customer_sk
| fk/pk conjuncts: none
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=4,6 row-size=106B cardinality=46.86K
| in pipelines: 15(GETNEXT), 08(OPEN)
|
|--F08:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
| | Per-Instance Resources: mem-estimate=6.79MB 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_customer_sk
| | runtime filters: RF000[bloom] <- c_customer_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| |
| 17:EXCHANGE [HASH(c_customer_sk)]
| | mem-estimate=3.85MB mem-reservation=0B thread-reservation=0
| | tuple-ids=6 row-size=40B cardinality=100.00K
| | in pipelines: 08(GETNEXT)
| |
| F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| 08:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| HDFS partitions=1/1 files=1 size=5.49MB
| 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=1.00MB thread-reservation=0
| tuple-ids=6 row-size=40B cardinality=100.00K
| in pipelines: 08(GETNEXT)
|
16:EXCHANGE [HASH(ss_customer_sk)]
| mem-estimate=1.40MB mem-reservation=0B thread-reservation=0
| tuple-ids=4 row-size=67B cardinality=46.86K
| in pipelines: 15(GETNEXT)
|
F04:PLAN FRAGMENT [HASH(ss_ticket_number,ss_customer_sk,ss_addr_sk,store.s_city)] hosts=3 instances=6
Per-Instance Resources: mem-estimate=11.40MB mem-reservation=1.94MB thread-reservation=1
15:AGGREGATE [FINALIZE]
| output: sum:merge(ss_coupon_amt), sum:merge(ss_net_profit)
| group by: ss_ticket_number, ss_customer_sk, ss_addr_sk, store.s_city
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=4 row-size=67B cardinality=46.86K
| in pipelines: 15(GETNEXT), 00(OPEN)
|
14:EXCHANGE [HASH(ss_ticket_number,ss_customer_sk,ss_addr_sk,store.s_city)]
| mem-estimate=1.40MB mem-reservation=0B thread-reservation=0
| tuple-ids=4 row-size=67B cardinality=46.86K
| in pipelines: 00(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=6
Per-Host Shared Resources: mem-estimate=4.00MB mem-reservation=4.00MB thread-reservation=0 runtime-filters-memory=4.00MB
Per-Instance Resources: mem-estimate=26.00MB mem-reservation=6.00MB thread-reservation=1
07:AGGREGATE [STREAMING]
| output: sum(ss_coupon_amt), sum(ss_net_profit)
| group by: ss_ticket_number, ss_customer_sk, ss_addr_sk, store.s_city
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=4 row-size=67B cardinality=46.86K
| in pipelines: 00(GETNEXT)
|
06:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=01
| hash predicates: store_sales.ss_sold_date_sk = date_dim.d_date_sk
| fk/pk conjuncts: store_sales.ss_sold_date_sk = date_dim.d_date_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,3,2,1 row-size=101B cardinality=46.86K
| in pipelines: 00(GETNEXT), 01(OPEN)
|
|--F09:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=5.09MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=01 plan-id=02 cohort-id=01
| | build expressions: date_dim.d_date_sk
| | runtime filters: RF002[bloom] <- date_dim.d_date_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 13:EXCHANGE [BROADCAST]
| | mem-estimate=215.48KB mem-reservation=0B thread-reservation=0
| | tuple-ids=1 row-size=26B cardinality=7.30K
| | in pipelines: 01(GETNEXT)
| |
| F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| 01:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_date <= '1999-03-31', d_date >= '1999-01-01'
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| parquet statistics predicates: d_date <= '1999-03-31', d_date >= '1999-01-01'
| parquet dictionary predicates: d_date <= '1999-03-31', d_date >= '1999-01-01'
| mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| tuple-ids=1 row-size=26B cardinality=7.30K
| in pipelines: 01(GETNEXT)
|
05:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=02
| hash predicates: store_sales.ss_store_sk = store.s_store_sk
| fk/pk conjuncts: store_sales.ss_store_sk = store.s_store_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,3,2 row-size=75B cardinality=46.86K
| in pipelines: 00(GETNEXT), 02(OPEN)
|
|--F10: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=01
| | build expressions: store.s_store_sk
| | runtime filters: RF004[bloom] <- store.s_store_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 12:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=27B cardinality=1
| | in pipelines: 02(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=24.00KB thread-reservation=1
| 02:SCAN HDFS [tpcds_parquet.store, RANDOM]
| HDFS partitions=1/1 files=1 size=9.93KB
| predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT)
| stored statistics:
| table: rows=12 size=9.93KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=12
| parquet statistics predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT)
| parquet dictionary predicates: store.s_number_employees <= CAST(295 AS INT), store.s_number_employees >= CAST(200 AS INT)
| mem-estimate=16.00MB mem-reservation=24.00KB thread-reservation=0
| tuple-ids=2 row-size=27B cardinality=1
| in pipelines: 02(GETNEXT)
|
04:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=03
| hash predicates: store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
| fk/pk conjuncts: store_sales.ss_hdemo_sk = household_demographics.hd_demo_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,3 row-size=48B cardinality=281.17K
| in pipelines: 00(GETNEXT), 03(OPEN)
|
|--F11: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=03 plan-id=04 cohort-id=01
| | build expressions: household_demographics.hd_demo_sk
| | runtime filters: RF006[bloom] <- household_demographics.hd_demo_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 11:EXCHANGE [BROADCAST]
| | mem-estimate=19.69KB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=12B cardinality=720
| | in pipelines: 03(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=64.00KB thread-reservation=1
| 03:SCAN HDFS [tpcds_parquet.household_demographics, RANDOM]
| HDFS partitions=1/1 files=1 size=41.69KB
| predicates: (household_demographics.hd_dep_count = CAST(8 AS INT) OR household_demographics.hd_vehicle_count > CAST(0 AS INT))
| stored statistics:
| table: rows=7.20K size=41.69KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=7.20K
| mem-estimate=16.00MB mem-reservation=64.00KB thread-reservation=0
| tuple-ids=3 row-size=12B cardinality=720
| in pipelines: 03(GETNEXT)
|
00: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] -> store_sales.ss_sold_date_sk, RF004[bloom] -> store_sales.ss_store_sk, RF006[bloom] -> store_sales.ss_hdemo_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=4.00MB thread-reservation=0
tuple-ids=0 row-size=36B cardinality=2.88M
in pipelines: 00(GETNEXT)
====