blob: 24f3ed2652700695d5e65b9a25785fbec99a8671 [file] [log] [blame]
# TPCDS-Q73
select
c_last_name,
c_first_name,
c_salutation,
c_preferred_cust_flag,
ss_ticket_number,
cnt
from
(select
ss_ticket_number,
ss_customer_sk,
count(*) cnt
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_buy_potential = '>10000'
or household_demographics.hd_buy_potential = 'unknown')
and household_demographics.hd_vehicle_count > 0
and case when household_demographics.hd_vehicle_count > 0 then household_demographics.hd_dep_count / household_demographics.hd_vehicle_count else null end > 1
and store.s_county in ('Saginaw County', 'Sumner County', 'Appanoose County', 'Daviess County')
group by
ss_ticket_number,
ss_customer_sk
) dj,
customer
where
ss_customer_sk = c_customer_sk
and cnt between 1 and 5
order by
cnt desc
limit 1000
---- PLAN
Max Per-Host Resource Reservation: Memory=17.56MB Threads=6
Per-Host Resource Estimates: Memory=266MB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=265.81MB mem-reservation=17.56MB thread-reservation=6 runtime-filters-memory=4.00MB
PLAN-ROOT SINK
| output exprs: c_last_name, c_first_name, c_salutation, c_preferred_cust_flag, ss_ticket_number, cnt
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
10:TOP-N [LIMIT=1000]
| order by: cnt DESC
| mem-estimate=78.33KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=80B cardinality=1.00K
| 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=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=6,4 row-size=88B cardinality=16.25K
| in pipelines: 08(GETNEXT), 07(OPEN)
|
|--07:AGGREGATE [FINALIZE]
| | output: count(*)
| | group by: ss_ticket_number, ss_customer_sk
| | having: count(*) <= CAST(5 AS BIGINT), count(*) >= CAST(1 AS BIGINT)
| | mem-estimate=10.00MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| | tuple-ids=4 row-size=20B cardinality=16.25K
| | in pipelines: 07(GETNEXT), 00(OPEN)
| |
| 06: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: RF002[bloom] <- store.s_store_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=0,3,1,2 row-size=93B cardinality=162.45K
| | in pipelines: 00(GETNEXT), 02(OPEN)
| |
| |--02:SCAN HDFS [tpcds_parquet.store]
| | HDFS partitions=1/1 files=1 size=9.93KB
| | predicates: store.s_county IN ('Saginaw County', 'Sumner County', 'Appanoose County', 'Daviess County')
| | stored statistics:
| | table: rows=12 size=9.93KB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=12
| | parquet statistics predicates: store.s_county IN ('Saginaw County', 'Sumner County', 'Appanoose County', 'Daviess County')
| | parquet dictionary predicates: store.s_county IN ('Saginaw County', 'Sumner County', 'Appanoose County', 'Daviess County')
| | mem-estimate=32.00MB mem-reservation=16.00KB thread-reservation=1
| | tuple-ids=2 row-size=33B cardinality=12
| | in pipelines: 02(GETNEXT)
| |
| 05: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: RF004[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,1 row-size=60B cardinality=162.45K
| | in pipelines: 00(GETNEXT), 01(OPEN)
| |
| |--01:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=1 row-size=4B cardinality=73.05K
| | in pipelines: 01(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=56B cardinality=162.45K
| | 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_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', 'unknown'), CASE WHEN household_demographics.hd_vehicle_count > CAST(0 AS INT) THEN CAST(household_demographics.hd_dep_count AS DOUBLE) / CAST(household_demographics.hd_vehicle_count AS DOUBLE) ELSE NULL END > CAST(1 AS DOUBLE)
| | stored statistics:
| | table: rows=7.20K size=41.69KB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=7.20K
| | parquet statistics predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', 'unknown')
| | parquet dictionary predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', 'unknown')
| | mem-estimate=64.00MB mem-reservation=64.00KB thread-reservation=1
| | tuple-ids=3 row-size=32B cardinality=416
| | 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_store_sk, RF004[bloom] -> store_sales.ss_sold_date_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=64.00MB mem-reservation=2.00MB thread-reservation=1
| tuple-ids=0 row-size=24B 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=80.00MB mem-reservation=1.00MB thread-reservation=1
tuple-ids=6 row-size=68B cardinality=100.00K
in pipelines: 08(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=25.02MB Threads=13
Per-Host Resource Estimates: Memory=300MB
F07:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=272.81KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: c_last_name, c_first_name, c_salutation, c_preferred_cust_flag, ss_ticket_number, cnt
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
18:MERGING-EXCHANGE [UNPARTITIONED]
| order by: cnt DESC
| limit: 1000
| mem-estimate=272.81KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=80B cardinality=1.00K
| in pipelines: 10(GETNEXT)
|
F06:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=3
Per-Host Resources: mem-estimate=12.50MB mem-reservation=5.75MB thread-reservation=1 runtime-filters-memory=1.00MB
10:TOP-N [LIMIT=1000]
| order by: cnt DESC
| mem-estimate=78.33KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=80B cardinality=1.00K
| 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=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| tuple-ids=4,6 row-size=88B cardinality=16.25K
| in pipelines: 15(GETNEXT), 08(OPEN)
|
|--17:EXCHANGE [HASH(c_customer_sk)]
| | mem-estimate=6.58MB mem-reservation=0B thread-reservation=0
| | tuple-ids=6 row-size=68B cardinality=100.00K
| | in pipelines: 08(GETNEXT)
| |
| F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=80.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=80.00MB mem-reservation=1.00MB thread-reservation=1
| tuple-ids=6 row-size=68B cardinality=100.00K
| in pipelines: 08(GETNEXT)
|
16:EXCHANGE [HASH(ss_customer_sk)]
| mem-estimate=177.76KB mem-reservation=0B thread-reservation=0
| tuple-ids=4 row-size=20B cardinality=16.25K
| in pipelines: 15(GETNEXT)
|
F04:PLAN FRAGMENT [HASH(ss_ticket_number,ss_customer_sk)] hosts=3 instances=3
Per-Host Resources: mem-estimate=11.10MB mem-reservation=2.88MB thread-reservation=1
15:AGGREGATE [FINALIZE]
| output: count:merge(*)
| group by: ss_ticket_number, ss_customer_sk
| having: count(*) <= CAST(5 AS BIGINT), count(*) >= CAST(1 AS BIGINT)
| mem-estimate=10.00MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| tuple-ids=4 row-size=20B cardinality=16.25K
| in pipelines: 15(GETNEXT), 00(OPEN)
|
14:EXCHANGE [HASH(ss_ticket_number,ss_customer_sk)]
| mem-estimate=1.10MB mem-reservation=0B thread-reservation=0
| tuple-ids=4 row-size=20B cardinality=162.45K
| in pipelines: 00(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Resources: mem-estimate=84.14MB mem-reservation=14.81MB thread-reservation=2 runtime-filters-memory=4.00MB
07:AGGREGATE [STREAMING]
| output: count(*)
| group by: ss_ticket_number, ss_customer_sk
| mem-estimate=10.00MB mem-reservation=3.00MB spill-buffer=128.00KB thread-reservation=0
| tuple-ids=4 row-size=20B cardinality=162.45K
| in pipelines: 00(GETNEXT)
|
06: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: RF002[bloom] <- store.s_store_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,3,1,2 row-size=93B cardinality=162.45K
| in pipelines: 00(GETNEXT), 02(OPEN)
|
|--13:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=33B cardinality=12
| | in pipelines: 02(GETNEXT)
| |
| F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=32.00MB mem-reservation=16.00KB thread-reservation=2
| 02:SCAN HDFS [tpcds_parquet.store, RANDOM]
| HDFS partitions=1/1 files=1 size=9.93KB
| predicates: store.s_county IN ('Saginaw County', 'Sumner County', 'Appanoose County', 'Daviess County')
| stored statistics:
| table: rows=12 size=9.93KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=12
| parquet statistics predicates: store.s_county IN ('Saginaw County', 'Sumner County', 'Appanoose County', 'Daviess County')
| parquet dictionary predicates: store.s_county IN ('Saginaw County', 'Sumner County', 'Appanoose County', 'Daviess County')
| mem-estimate=32.00MB mem-reservation=16.00KB thread-reservation=1
| tuple-ids=2 row-size=33B cardinality=12
| in pipelines: 02(GETNEXT)
|
05: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: RF004[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,1 row-size=60B cardinality=162.45K
| in pipelines: 00(GETNEXT), 01(OPEN)
|
|--12:EXCHANGE [BROADCAST]
| | mem-estimate=293.35KB mem-reservation=0B thread-reservation=0
| | tuple-ids=1 row-size=4B cardinality=73.05K
| | in pipelines: 01(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=2
| 01:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=1 row-size=4B cardinality=73.05K
| in pipelines: 01(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=56B cardinality=162.45K
| in pipelines: 00(GETNEXT), 03(OPEN)
|
|--11:EXCHANGE [BROADCAST]
| | mem-estimate=27.22KB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=32B cardinality=416
| | in pipelines: 03(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=64.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_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', 'unknown'), CASE WHEN household_demographics.hd_vehicle_count > CAST(0 AS INT) THEN CAST(household_demographics.hd_dep_count AS DOUBLE) / CAST(household_demographics.hd_vehicle_count AS DOUBLE) ELSE NULL END > CAST(1 AS DOUBLE)
| stored statistics:
| table: rows=7.20K size=41.69KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=7.20K
| parquet statistics predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', 'unknown')
| parquet dictionary predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', 'unknown')
| mem-estimate=64.00MB mem-reservation=64.00KB thread-reservation=1
| tuple-ids=3 row-size=32B cardinality=416
| 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_store_sk, RF004[bloom] -> store_sales.ss_sold_date_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=64.00MB mem-reservation=2.00MB thread-reservation=1
tuple-ids=0 row-size=24B cardinality=2.88M
in pipelines: 00(GETNEXT)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=39.83MB Threads=16
Per-Host Resource Estimates: Memory=179MB
F07:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=519.50KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: c_last_name, c_first_name, c_salutation, c_preferred_cust_flag, ss_ticket_number, cnt
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
18:MERGING-EXCHANGE [UNPARTITIONED]
| order by: cnt DESC
| limit: 1000
| mem-estimate=519.50KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=80B cardinality=1.00K
| in pipelines: 10(GETNEXT)
|
F06:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
Per-Instance Resources: mem-estimate=328.09KB mem-reservation=0B thread-reservation=1
10:TOP-N [LIMIT=1000]
| order by: cnt DESC
| mem-estimate=78.33KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=80B cardinality=1.00K
| 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=128.00KB thread-reservation=0
| tuple-ids=4,6 row-size=88B cardinality=16.25K
| in pipelines: 15(GETNEXT), 08(OPEN)
|
|--F08:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
| | Per-Instance Resources: mem-estimate=10.45MB mem-reservation=3.88MB 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=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| |
| 17:EXCHANGE [HASH(c_customer_sk)]
| | mem-estimate=6.58MB mem-reservation=0B thread-reservation=0
| | tuple-ids=6 row-size=68B 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=68B cardinality=100.00K
| in pipelines: 08(GETNEXT)
|
16:EXCHANGE [HASH(ss_customer_sk)]
| mem-estimate=249.76KB mem-reservation=0B thread-reservation=0
| tuple-ids=4 row-size=20B cardinality=16.25K
| in pipelines: 15(GETNEXT)
|
F04:PLAN FRAGMENT [HASH(ss_ticket_number,ss_customer_sk)] hosts=3 instances=6
Per-Instance Resources: mem-estimate=11.17MB mem-reservation=1.94MB thread-reservation=1
15:AGGREGATE [FINALIZE]
| output: count:merge(*)
| group by: ss_ticket_number, ss_customer_sk
| having: count(*) <= CAST(5 AS BIGINT), count(*) >= CAST(1 AS BIGINT)
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=4 row-size=20B cardinality=16.25K
| in pipelines: 15(GETNEXT), 00(OPEN)
|
14:EXCHANGE [HASH(ss_ticket_number,ss_customer_sk)]
| mem-estimate=1.17MB mem-reservation=0B thread-reservation=0
| tuple-ids=4 row-size=20B cardinality=162.45K
| 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=4.00MB thread-reservation=1
07:AGGREGATE [STREAMING]
| output: count(*)
| group by: ss_ticket_number, ss_customer_sk
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=4 row-size=20B cardinality=162.45K
| in pipelines: 00(GETNEXT)
|
06:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=01
| 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,1,2 row-size=93B cardinality=162.45K
| in pipelines: 00(GETNEXT), 02(OPEN)
|
|--F09: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=01
| | build expressions: store.s_store_sk
| | runtime filters: RF002[bloom] <- store.s_store_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 13:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=33B cardinality=12
| | in pipelines: 02(GETNEXT)
| |
| F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=1
| 02:SCAN HDFS [tpcds_parquet.store, RANDOM]
| HDFS partitions=1/1 files=1 size=9.93KB
| predicates: store.s_county IN ('Saginaw County', 'Sumner County', 'Appanoose County', 'Daviess County')
| stored statistics:
| table: rows=12 size=9.93KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=12
| parquet statistics predicates: store.s_county IN ('Saginaw County', 'Sumner County', 'Appanoose County', 'Daviess County')
| parquet dictionary predicates: store.s_county IN ('Saginaw County', 'Sumner County', 'Appanoose County', 'Daviess County')
| mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=0
| tuple-ids=2 row-size=33B cardinality=12
| in pipelines: 02(GETNEXT)
|
05:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=02
| 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,1 row-size=60B cardinality=162.45K
| in pipelines: 00(GETNEXT), 01(OPEN)
|
|--F10:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=5.16MB 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: date_dim.d_date_sk
| | runtime filters: RF004[bloom] <- date_dim.d_date_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 12:EXCHANGE [BROADCAST]
| | mem-estimate=293.35KB mem-reservation=0B thread-reservation=0
| | tuple-ids=1 row-size=4B cardinality=73.05K
| | in pipelines: 01(GETNEXT)
| |
| F02: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.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| tuple-ids=1 row-size=4B cardinality=73.05K
| in pipelines: 01(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=56B cardinality=162.45K
| in pipelines: 00(GETNEXT), 03(OPEN)
|
|--F11:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=4.90MB 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=27.22KB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=32B cardinality=416
| | 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_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', 'unknown'), CASE WHEN household_demographics.hd_vehicle_count > CAST(0 AS INT) THEN CAST(household_demographics.hd_dep_count AS DOUBLE) / CAST(household_demographics.hd_vehicle_count AS DOUBLE) ELSE NULL END > CAST(1 AS DOUBLE)
| stored statistics:
| table: rows=7.20K size=41.69KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=7.20K
| parquet statistics predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', 'unknown')
| parquet dictionary predicates: household_demographics.hd_vehicle_count > CAST(0 AS INT), household_demographics.hd_buy_potential IN ('>10000', 'unknown')
| mem-estimate=16.00MB mem-reservation=64.00KB thread-reservation=0
| tuple-ids=3 row-size=32B cardinality=416
| 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_store_sk, RF004[bloom] -> store_sales.ss_sold_date_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=2.00MB thread-reservation=0
tuple-ids=0 row-size=24B cardinality=2.88M
in pipelines: 00(GETNEXT)
====