blob: d3b058cf8172e7626ca0e539d81e209ba50bf69c [file] [log] [blame]
# TPCDS-Q81
WITH customer_total_return AS
(SELECT cr_returning_customer_sk AS ctr_customer_sk ,
ca_state AS ctr_state,
sum(cr_return_amt_inc_tax) AS ctr_total_return
FROM catalog_returns ,
date_dim ,
customer_address
WHERE cr_returned_date_sk = d_date_sk
AND d_year = 2000
AND cr_returning_addr_sk = ca_address_sk
GROUP BY cr_returning_customer_sk ,
ca_state)
SELECT c_customer_id,
c_salutation,
c_first_name,
c_last_name,
ca_street_number,
ca_street_name ,
ca_street_type,
ca_suite_number,
ca_city,
ca_county,
ca_state,
ca_zip,
ca_country,
ca_gmt_offset ,
ca_location_type,
ctr_total_return
FROM customer_total_return ctr1 ,
customer_address ,
customer
WHERE ctr1.ctr_total_return >
(SELECT avg(ctr_total_return)*1.2
FROM customer_total_return ctr2
WHERE ctr1.ctr_state = ctr2.ctr_state)
AND ca_address_sk = c_current_addr_sk
AND ca_state = 'GA'
AND ctr1.ctr_customer_sk = c_customer_sk
ORDER BY c_customer_id,
c_salutation,
c_first_name,
c_last_name,
ca_street_number,
ca_street_name ,
ca_street_type,
ca_suite_number,
ca_city,
ca_county,
ca_state,
ca_zip,
ca_country,
ca_gmt_offset ,
ca_location_type,
ctr_total_return
LIMIT 100;
---- PLAN
Max Per-Host Resource Reservation: Memory=27.12MB Threads=9
Per-Host Resource Estimates: Memory=557MB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=556.81MB mem-reservation=27.12MB thread-reservation=9 runtime-filters-memory=7.00MB
PLAN-ROOT SINK
| output exprs: c_customer_id, c_salutation, c_first_name, c_last_name, ca_street_number, ca_street_name, ca_street_type, ca_suite_number, ca_city, ca_county, ca_state, ca_zip, ca_country, ca_gmt_offset, ca_location_type, ctr_total_return
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
18:TOP-N [LIMIT=100]
| order by: c_customer_id ASC, c_salutation ASC, c_first_name ASC, c_last_name ASC, ca_street_number ASC, ca_street_name ASC, ca_street_type ASC, ca_suite_number ASC, ca_city ASC, ca_county ASC, ca_state ASC, ca_zip ASC, ca_country ASC, ca_gmt_offset ASC, ca_location_type ASC, ctr_total_return ASC
| mem-estimate=28.79KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=295B cardinality=100
| in pipelines: 18(GETNEXT), 05(OPEN)
|
17:HASH JOIN [LEFT SEMI JOIN]
| hash predicates: ca_state = ctr2.ctr_state
| other join predicates: sum(cr_return_amt_inc_tax) > avg(ctr_total_return) * CAST(1.2 AS DECIMAL(2,1))
| runtime filters: RF000[bloom] <- ctr2.ctr_state
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3,6,5 row-size=325B cardinality=4.35K
| in pipelines: 05(GETNEXT), 14(OPEN)
|
|--14:AGGREGATE [FINALIZE]
| | output: avg(sum(cr_return_amt_inc_tax))
| | group by: ca_state
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=13 row-size=30B cardinality=51
| | in pipelines: 14(GETNEXT), 13(OPEN)
| |
| 13:AGGREGATE [FINALIZE]
| | output: sum(cr_return_amt_inc_tax)
| | group by: cr_returning_customer_sk, ca_state
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=10 row-size=34B cardinality=26.27K
| | in pipelines: 13(GETNEXT), 10(OPEN)
| |
| 12:HASH JOIN [INNER JOIN]
| | hash predicates: ca_address_sk = cr_returning_addr_sk
| | fk/pk conjuncts: ca_address_sk = cr_returning_addr_sk
| | runtime filters: RF010[bloom] <- cr_returning_addr_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=9,7,8 row-size=42B cardinality=26.27K
| | in pipelines: 10(GETNEXT), 08(OPEN)
| |
| |--11:HASH JOIN [INNER JOIN]
| | | hash predicates: cr_returned_date_sk = d_date_sk
| | | fk/pk conjuncts: cr_returned_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=7,8 row-size=24B cardinality=26.27K
| | | in pipelines: 08(GETNEXT), 09(OPEN)
| | |
| | |--09:SCAN HDFS [tpcds_parquet.date_dim]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_year = CAST(2000 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(2000 AS INT)
| | | parquet dictionary predicates: d_year = CAST(2000 AS INT)
| | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | | tuple-ids=8 row-size=8B cardinality=373
| | | in pipelines: 09(GETNEXT)
| | |
| | 08:SCAN HDFS [tpcds_parquet.catalog_returns]
| | HDFS partitions=1/1 files=1 size=10.62MB
| | runtime filters: RF012[bloom] -> cr_returned_date_sk
| | stored statistics:
| | table: rows=144.07K size=10.62MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=144.07K
| | mem-estimate=96.00MB mem-reservation=2.00MB thread-reservation=1
| | tuple-ids=7 row-size=16B cardinality=144.07K
| | in pipelines: 08(GETNEXT)
| |
| 10:SCAN HDFS [tpcds_parquet.customer_address]
| HDFS partitions=1/1 files=1 size=1.16MB
| runtime filters: RF010[bloom] -> ca_address_sk
| 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=9 row-size=18B cardinality=50.00K
| in pipelines: 10(GETNEXT)
|
16:HASH JOIN [INNER JOIN]
| hash predicates: cr_returning_customer_sk = c_customer_sk
| fk/pk conjuncts: none
| runtime filters: RF002[bloom] <- c_customer_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3,6,5 row-size=325B cardinality=4.35K
| in pipelines: 05(GETNEXT), 07(OPEN)
|
|--15:HASH JOIN [INNER JOIN]
| | hash predicates: c_current_addr_sk = ca_address_sk
| | fk/pk conjuncts: c_current_addr_sk = ca_address_sk
| | runtime filters: RF008[bloom] <- ca_address_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=6,5 row-size=291B cardinality=2.27K
| | in pipelines: 07(GETNEXT), 06(OPEN)
| |
| |--06:SCAN HDFS [tpcds_parquet.customer_address]
| | HDFS partitions=1/1 files=1 size=1.16MB
| | predicates: ca_state = 'GA'
| | stored statistics:
| | table: rows=50.00K size=1.16MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | parquet statistics predicates: ca_state = 'GA'
| | parquet dictionary predicates: ca_state = 'GA'
| | mem-estimate=128.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=5 row-size=204B cardinality=980
| | in pipelines: 06(GETNEXT)
| |
| 07:SCAN HDFS [tpcds_parquet.customer]
| HDFS partitions=1/1 files=1 size=5.49MB
| runtime filters: RF008[bloom] -> 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=96.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=6 row-size=87B cardinality=100.00K
| in pipelines: 07(GETNEXT)
|
05:AGGREGATE [FINALIZE]
| output: sum(cr_return_amt_inc_tax)
| group by: cr_returning_customer_sk, ca_state
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3 row-size=34B cardinality=26.27K
| in pipelines: 05(GETNEXT), 02(OPEN)
|
04:HASH JOIN [INNER JOIN]
| hash predicates: ca_address_sk = cr_returning_addr_sk
| fk/pk conjuncts: ca_address_sk = cr_returning_addr_sk
| runtime filters: RF004[bloom] <- cr_returning_addr_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=42B cardinality=26.27K
| in pipelines: 02(GETNEXT), 00(OPEN)
|
|--03:HASH JOIN [INNER JOIN]
| | hash predicates: cr_returned_date_sk = d_date_sk
| | fk/pk conjuncts: cr_returned_date_sk = d_date_sk
| | runtime filters: RF006[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=0,1 row-size=24B cardinality=26.27K
| | in pipelines: 00(GETNEXT), 01(OPEN)
| |
| |--01:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2000 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(2000 AS INT)
| | parquet dictionary predicates: d_year = CAST(2000 AS INT)
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=1 row-size=8B cardinality=373
| | in pipelines: 01(GETNEXT)
| |
| 00:SCAN HDFS [tpcds_parquet.catalog_returns]
| HDFS partitions=1/1 files=1 size=10.62MB
| runtime filters: RF002[bloom] -> tpcds_parquet.catalog_returns.cr_returning_customer_sk, RF006[bloom] -> cr_returned_date_sk
| stored statistics:
| table: rows=144.07K size=10.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=144.07K
| mem-estimate=96.00MB mem-reservation=2.00MB thread-reservation=1
| tuple-ids=0 row-size=16B cardinality=144.07K
| in pipelines: 00(GETNEXT)
|
02:SCAN HDFS [tpcds_parquet.customer_address]
HDFS partitions=1/1 files=1 size=1.16MB
runtime filters: RF000[bloom] -> tpcds_parquet.customer_address.ca_state, RF004[bloom] -> ca_address_sk
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=2 row-size=18B cardinality=50.00K
in pipelines: 02(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=44.88MB Threads=20
Per-Host Resource Estimates: Memory=631MB
F11:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=57.97KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: c_customer_id, c_salutation, c_first_name, c_last_name, ca_street_number, ca_street_name, ca_street_type, ca_suite_number, ca_city, ca_county, ca_state, ca_zip, ca_country, ca_gmt_offset, ca_location_type, ctr_total_return
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
32:MERGING-EXCHANGE [UNPARTITIONED]
| order by: c_customer_id ASC, c_salutation ASC, c_first_name ASC, c_last_name ASC, ca_street_number ASC, ca_street_name ASC, ca_street_type ASC, ca_suite_number ASC, ca_city ASC, ca_county ASC, ca_state ASC, ca_zip ASC, ca_country ASC, ca_gmt_offset ASC, ca_location_type ASC, ctr_total_return ASC
| limit: 100
| mem-estimate=57.97KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=295B cardinality=100
| in pipelines: 18(GETNEXT)
|
F03:PLAN FRAGMENT [HASH(cr_returning_customer_sk,ca_state)] hosts=1 instances=1
Per-Host Resources: mem-estimate=17.70MB mem-reservation=7.81MB thread-reservation=1 runtime-filters-memory=2.00MB
18:TOP-N [LIMIT=100]
| order by: c_customer_id ASC, c_salutation ASC, c_first_name ASC, c_last_name ASC, ca_street_number ASC, ca_street_name ASC, ca_street_type ASC, ca_suite_number ASC, ca_city ASC, ca_county ASC, ca_state ASC, ca_zip ASC, ca_country ASC, ca_gmt_offset ASC, ca_location_type ASC, ctr_total_return ASC
| mem-estimate=28.79KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=295B cardinality=100
| in pipelines: 18(GETNEXT), 22(OPEN)
|
17:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| hash predicates: ca_state = ctr2.ctr_state
| other join predicates: sum(cr_return_amt_inc_tax) > avg(ctr_total_return) * CAST(1.2 AS DECIMAL(2,1))
| runtime filters: RF000[bloom] <- ctr2.ctr_state
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3,6,5 row-size=325B cardinality=4.35K
| in pipelines: 22(GETNEXT), 30(OPEN)
|
|--31:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=13 row-size=30B cardinality=51
| | in pipelines: 30(GETNEXT)
| |
| F10:PLAN FRAGMENT [HASH(ctr2.ctr_state)] hosts=1 instances=1
| Per-Host Resources: mem-estimate=10.02MB mem-reservation=1.94MB thread-reservation=1
| 30:AGGREGATE [FINALIZE]
| | output: avg:merge(ctr_total_return)
| | group by: ctr2.ctr_state
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=13 row-size=30B cardinality=51
| | in pipelines: 30(GETNEXT), 28(OPEN)
| |
| 29:EXCHANGE [HASH(ctr2.ctr_state)]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=12 row-size=30B cardinality=51
| | in pipelines: 28(GETNEXT)
| |
| F09:PLAN FRAGMENT [HASH(cr_returning_customer_sk,ca_state)] hosts=1 instances=1
| Per-Host Resources: mem-estimate=20.89MB mem-reservation=3.94MB thread-reservation=1
| 14:AGGREGATE [STREAMING]
| | output: avg(sum(cr_return_amt_inc_tax))
| | group by: ca_state
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=12 row-size=30B cardinality=51
| | in pipelines: 28(GETNEXT)
| |
| 28:AGGREGATE [FINALIZE]
| | output: sum:merge(cr_return_amt_inc_tax)
| | group by: cr_returning_customer_sk, ca_state
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=10 row-size=34B cardinality=26.27K
| | in pipelines: 28(GETNEXT), 10(OPEN)
| |
| 27:EXCHANGE [HASH(cr_returning_customer_sk,ca_state)]
| | mem-estimate=910.08KB mem-reservation=0B thread-reservation=0
| | tuple-ids=10 row-size=34B cardinality=26.27K
| | in pipelines: 10(GETNEXT)
| |
| F06:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=45.57MB mem-reservation=5.19MB thread-reservation=2 runtime-filters-memory=1.00MB
| 13:AGGREGATE [STREAMING]
| | output: sum(cr_return_amt_inc_tax)
| | group by: cr_returning_customer_sk, ca_state
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=10 row-size=34B cardinality=26.27K
| | in pipelines: 10(GETNEXT)
| |
| 12:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: ca_address_sk = cr_returning_addr_sk
| | fk/pk conjuncts: ca_address_sk = cr_returning_addr_sk
| | runtime filters: RF010[bloom] <- cr_returning_addr_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=9,7,8 row-size=42B cardinality=26.27K
| | in pipelines: 10(GETNEXT), 08(OPEN)
| |
| |--26:EXCHANGE [BROADCAST]
| | | mem-estimate=647.59KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=7,8 row-size=24B cardinality=26.27K
| | | in pipelines: 08(GETNEXT)
| | |
| | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=98.95MB mem-reservation=4.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| | 11:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash predicates: cr_returned_date_sk = d_date_sk
| | | fk/pk conjuncts: cr_returned_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=7,8 row-size=24B cardinality=26.27K
| | | in pipelines: 08(GETNEXT), 09(OPEN)
| | |
| | |--25:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=8 row-size=8B cardinality=373
| | | | in pipelines: 09(GETNEXT)
| | | |
| | | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2
| | | 09:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_year = CAST(2000 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(2000 AS INT)
| | | parquet dictionary predicates: d_year = CAST(2000 AS INT)
| | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | | tuple-ids=8 row-size=8B cardinality=373
| | | in pipelines: 09(GETNEXT)
| | |
| | 08:SCAN HDFS [tpcds_parquet.catalog_returns, RANDOM]
| | HDFS partitions=1/1 files=1 size=10.62MB
| | runtime filters: RF012[bloom] -> cr_returned_date_sk
| | stored statistics:
| | table: rows=144.07K size=10.62MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=144.07K
| | mem-estimate=96.00MB mem-reservation=2.00MB thread-reservation=1
| | tuple-ids=7 row-size=16B cardinality=144.07K
| | in pipelines: 08(GETNEXT)
| |
| 10:SCAN HDFS [tpcds_parquet.customer_address, RANDOM]
| HDFS partitions=1/1 files=1 size=1.16MB
| runtime filters: RF010[bloom] -> ca_address_sk
| 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=9 row-size=18B cardinality=50.00K
| in pipelines: 10(GETNEXT)
|
16:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: cr_returning_customer_sk = c_customer_sk
| fk/pk conjuncts: none
| runtime filters: RF002[bloom] <- c_customer_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3,6,5 row-size=325B cardinality=4.35K
| in pipelines: 22(GETNEXT), 07(OPEN)
|
|--24:EXCHANGE [BROADCAST]
| | mem-estimate=944.87KB mem-reservation=0B thread-reservation=0
| | tuple-ids=6,5 row-size=291B cardinality=2.27K
| | in pipelines: 07(GETNEXT)
| |
| F04:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=99.32MB mem-reservation=6.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| 15:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: c_current_addr_sk = ca_address_sk
| | fk/pk conjuncts: c_current_addr_sk = ca_address_sk
| | runtime filters: RF008[bloom] <- ca_address_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=6,5 row-size=291B cardinality=2.27K
| | in pipelines: 07(GETNEXT), 06(OPEN)
| |
| |--23:EXCHANGE [BROADCAST]
| | | mem-estimate=393.52KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=5 row-size=204B cardinality=980
| | | in pipelines: 06(GETNEXT)
| | |
| | F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=128.00MB mem-reservation=1.00MB thread-reservation=2
| | 06:SCAN HDFS [tpcds_parquet.customer_address, RANDOM]
| | HDFS partitions=1/1 files=1 size=1.16MB
| | predicates: ca_state = 'GA'
| | stored statistics:
| | table: rows=50.00K size=1.16MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | parquet statistics predicates: ca_state = 'GA'
| | parquet dictionary predicates: ca_state = 'GA'
| | mem-estimate=128.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=5 row-size=204B cardinality=980
| | in pipelines: 06(GETNEXT)
| |
| 07:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| HDFS partitions=1/1 files=1 size=5.49MB
| runtime filters: RF008[bloom] -> 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=96.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=6 row-size=87B cardinality=100.00K
| in pipelines: 07(GETNEXT)
|
22:AGGREGATE [FINALIZE]
| output: sum:merge(cr_return_amt_inc_tax)
| group by: cr_returning_customer_sk, ca_state
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3 row-size=34B cardinality=26.27K
| in pipelines: 22(GETNEXT), 02(OPEN)
|
21:EXCHANGE [HASH(cr_returning_customer_sk,ca_state)]
| mem-estimate=910.08KB mem-reservation=0B thread-reservation=0
| tuple-ids=3 row-size=34B cardinality=26.27K
| in pipelines: 02(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
Per-Host Resources: mem-estimate=46.57MB mem-reservation=6.19MB thread-reservation=2 runtime-filters-memory=2.00MB
05:AGGREGATE [STREAMING]
| output: sum(cr_return_amt_inc_tax)
| group by: cr_returning_customer_sk, ca_state
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3 row-size=34B cardinality=26.27K
| in pipelines: 02(GETNEXT)
|
04:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: ca_address_sk = cr_returning_addr_sk
| fk/pk conjuncts: ca_address_sk = cr_returning_addr_sk
| runtime filters: RF004[bloom] <- cr_returning_addr_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=42B cardinality=26.27K
| in pipelines: 02(GETNEXT), 00(OPEN)
|
|--20:EXCHANGE [BROADCAST]
| | mem-estimate=647.59KB mem-reservation=0B thread-reservation=0
| | tuple-ids=0,1 row-size=24B cardinality=26.27K
| | in pipelines: 00(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=99.95MB mem-reservation=5.94MB thread-reservation=2 runtime-filters-memory=2.00MB
| 03:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: cr_returned_date_sk = d_date_sk
| | fk/pk conjuncts: cr_returned_date_sk = d_date_sk
| | runtime filters: RF006[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=0,1 row-size=24B cardinality=26.27K
| | in pipelines: 00(GETNEXT), 01(OPEN)
| |
| |--19:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=1 row-size=8B cardinality=373
| | | in pipelines: 01(GETNEXT)
| | |
| | F02: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.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2000 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(2000 AS INT)
| | parquet dictionary predicates: d_year = CAST(2000 AS INT)
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=1 row-size=8B cardinality=373
| | in pipelines: 01(GETNEXT)
| |
| 00:SCAN HDFS [tpcds_parquet.catalog_returns, RANDOM]
| HDFS partitions=1/1 files=1 size=10.62MB
| runtime filters: RF002[bloom] -> tpcds_parquet.catalog_returns.cr_returning_customer_sk, RF006[bloom] -> cr_returned_date_sk
| stored statistics:
| table: rows=144.07K size=10.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=144.07K
| mem-estimate=96.00MB mem-reservation=2.00MB thread-reservation=1
| tuple-ids=0 row-size=16B cardinality=144.07K
| in pipelines: 00(GETNEXT)
|
02:SCAN HDFS [tpcds_parquet.customer_address, RANDOM]
HDFS partitions=1/1 files=1 size=1.16MB
runtime filters: RF000[bloom] -> tpcds_parquet.customer_address.ca_state, RF004[bloom] -> ca_address_sk
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=2 row-size=18B cardinality=50.00K
in pipelines: 02(GETNEXT)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=63.44MB Threads=19
Per-Host Resource Estimates: Memory=250MB
F11:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=57.97KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: c_customer_id, c_salutation, c_first_name, c_last_name, ca_street_number, ca_street_name, ca_street_type, ca_suite_number, ca_city, ca_county, ca_state, ca_zip, ca_country, ca_gmt_offset, ca_location_type, ctr_total_return
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
32:MERGING-EXCHANGE [UNPARTITIONED]
| order by: c_customer_id ASC, c_salutation ASC, c_first_name ASC, c_last_name ASC, ca_street_number ASC, ca_street_name ASC, ca_street_type ASC, ca_suite_number ASC, ca_city ASC, ca_county ASC, ca_state ASC, ca_zip ASC, ca_country ASC, ca_gmt_offset ASC, ca_location_type ASC, ctr_total_return ASC
| limit: 100
| mem-estimate=57.97KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=295B cardinality=100
| in pipelines: 18(GETNEXT)
|
F03:PLAN FRAGMENT [HASH(cr_returning_customer_sk,ca_state)] hosts=1 instances=1
Per-Instance Resources: mem-estimate=10.89MB mem-reservation=1.94MB thread-reservation=1
18:TOP-N [LIMIT=100]
| order by: c_customer_id ASC, c_salutation ASC, c_first_name ASC, c_last_name ASC, ca_street_number ASC, ca_street_name ASC, ca_street_type ASC, ca_suite_number ASC, ca_city ASC, ca_county ASC, ca_state ASC, ca_zip ASC, ca_country ASC, ca_gmt_offset ASC, ca_location_type ASC, ctr_total_return ASC
| mem-estimate=28.79KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=295B cardinality=100
| in pipelines: 18(GETNEXT), 22(OPEN)
|
17:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| hash-table-id=00
| hash predicates: ca_state = ctr2.ctr_state
| other join predicates: sum(cr_return_amt_inc_tax) > avg(ctr_total_return) * CAST(1.2 AS DECIMAL(2,1))
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3,6,5 row-size=325B cardinality=4.35K
| in pipelines: 22(GETNEXT), 30(OPEN)
|
|--F12:PLAN FRAGMENT [HASH(cr_returning_customer_sk,ca_state)] 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=00 plan-id=01 cohort-id=01
| | build expressions: ctr2.ctr_state
| | runtime filters: RF000[bloom] <- ctr2.ctr_state
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 31:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=13 row-size=30B cardinality=51
| | in pipelines: 30(GETNEXT)
| |
| F10:PLAN FRAGMENT [HASH(ctr2.ctr_state)] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=10.02MB mem-reservation=1.94MB thread-reservation=1
| 30:AGGREGATE [FINALIZE]
| | output: avg:merge(ctr_total_return)
| | group by: ctr2.ctr_state
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=13 row-size=30B cardinality=51
| | in pipelines: 30(GETNEXT), 28(OPEN)
| |
| 29:EXCHANGE [HASH(ctr2.ctr_state)]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=12 row-size=30B cardinality=51
| | in pipelines: 28(GETNEXT)
| |
| F09:PLAN FRAGMENT [HASH(cr_returning_customer_sk,ca_state)] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=20.89MB mem-reservation=3.94MB thread-reservation=1
| 14:AGGREGATE [STREAMING]
| | output: avg(sum(cr_return_amt_inc_tax))
| | group by: ca_state
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=12 row-size=30B cardinality=51
| | in pipelines: 28(GETNEXT)
| |
| 28:AGGREGATE [FINALIZE]
| | output: sum:merge(cr_return_amt_inc_tax)
| | group by: cr_returning_customer_sk, ca_state
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=10 row-size=34B cardinality=26.27K
| | in pipelines: 28(GETNEXT), 10(OPEN)
| |
| 27:EXCHANGE [HASH(cr_returning_customer_sk,ca_state)]
| | mem-estimate=910.08KB mem-reservation=0B thread-reservation=0
| | tuple-ids=10 row-size=34B cardinality=26.27K
| | in pipelines: 10(GETNEXT)
| |
| F06: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=26.00MB mem-reservation=2.25MB thread-reservation=1
| 13:AGGREGATE [STREAMING]
| | output: sum(cr_return_amt_inc_tax)
| | group by: cr_returning_customer_sk, ca_state
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=10 row-size=34B cardinality=26.27K
| | in pipelines: 10(GETNEXT)
| |
| 12:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=01
| | hash predicates: ca_address_sk = cr_returning_addr_sk
| | fk/pk conjuncts: ca_address_sk = cr_returning_addr_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=9,7,8 row-size=42B cardinality=26.27K
| | in pipelines: 10(GETNEXT), 08(OPEN)
| |
| |--F13:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=5.51MB 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: cr_returning_addr_sk
| | | runtime filters: RF010[bloom] <- cr_returning_addr_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 26:EXCHANGE [BROADCAST]
| | | mem-estimate=647.59KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=7,8 row-size=24B cardinality=26.27K
| | | in pipelines: 08(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=24.00MB mem-reservation=2.00MB thread-reservation=1
| | 11:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash-table-id=02
| | | hash predicates: cr_returned_date_sk = d_date_sk
| | | fk/pk conjuncts: cr_returned_date_sk = d_date_sk
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=7,8 row-size=24B cardinality=26.27K
| | | in pipelines: 08(GETNEXT), 09(OPEN)
| | |
| | |--F14: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: 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=8 row-size=8B cardinality=373
| | | | in pipelines: 09(GETNEXT)
| | | |
| | | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | | 09:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_year = CAST(2000 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(2000 AS INT)
| | | parquet dictionary predicates: d_year = CAST(2000 AS INT)
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | | tuple-ids=8 row-size=8B cardinality=373
| | | in pipelines: 09(GETNEXT)
| | |
| | 08:SCAN HDFS [tpcds_parquet.catalog_returns, RANDOM]
| | HDFS partitions=1/1 files=1 size=10.62MB
| | runtime filters: RF012[bloom] -> cr_returned_date_sk
| | stored statistics:
| | table: rows=144.07K size=10.62MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=144.07K
| | mem-estimate=24.00MB mem-reservation=2.00MB thread-reservation=0
| | tuple-ids=7 row-size=16B cardinality=144.07K
| | in pipelines: 08(GETNEXT)
| |
| 10:SCAN HDFS [tpcds_parquet.customer_address, RANDOM]
| HDFS partitions=1/1 files=1 size=1.16MB
| runtime filters: RF010[bloom] -> ca_address_sk
| 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=9 row-size=18B cardinality=50.00K
| in pipelines: 10(GETNEXT)
|
16:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=03
| hash predicates: cr_returning_customer_sk = c_customer_sk
| fk/pk conjuncts: none
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3,6,5 row-size=325B cardinality=4.35K
| in pipelines: 22(GETNEXT), 07(OPEN)
|
|--F15:PLAN FRAGMENT [HASH(cr_returning_customer_sk,ca_state)] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=5.80MB 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: c_customer_sk
| | runtime filters: RF002[bloom] <- c_customer_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 24:EXCHANGE [BROADCAST]
| | mem-estimate=944.87KB mem-reservation=0B thread-reservation=0
| | tuple-ids=6,5 row-size=291B cardinality=2.27K
| | in pipelines: 07(GETNEXT)
| |
| F04: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=4.00MB thread-reservation=1
| 15:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=04
| | hash predicates: c_current_addr_sk = ca_address_sk
| | fk/pk conjuncts: c_current_addr_sk = ca_address_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=6,5 row-size=291B cardinality=2.27K
| | in pipelines: 07(GETNEXT), 06(OPEN)
| |
| |--F16:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=5.26MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=04 plan-id=05 cohort-id=04
| | | build expressions: ca_address_sk
| | | runtime filters: RF008[bloom] <- ca_address_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 23:EXCHANGE [BROADCAST]
| | | mem-estimate=393.52KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=5 row-size=204B cardinality=980
| | | in pipelines: 06(GETNEXT)
| | |
| | F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| | 06:SCAN HDFS [tpcds_parquet.customer_address, RANDOM]
| | HDFS partitions=1/1 files=1 size=1.16MB
| | predicates: ca_state = 'GA'
| | stored statistics:
| | table: rows=50.00K size=1.16MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | parquet statistics predicates: ca_state = 'GA'
| | parquet dictionary predicates: ca_state = 'GA'
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| | tuple-ids=5 row-size=204B cardinality=980
| | in pipelines: 06(GETNEXT)
| |
| 07:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| HDFS partitions=1/1 files=1 size=5.49MB
| runtime filters: RF008[bloom] -> 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=4.00MB thread-reservation=0
| tuple-ids=6 row-size=87B cardinality=100.00K
| in pipelines: 07(GETNEXT)
|
22:AGGREGATE [FINALIZE]
| output: sum:merge(cr_return_amt_inc_tax)
| group by: cr_returning_customer_sk, ca_state
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3 row-size=34B cardinality=26.27K
| in pipelines: 22(GETNEXT), 02(OPEN)
|
21:EXCHANGE [HASH(cr_returning_customer_sk,ca_state)]
| mem-estimate=910.08KB mem-reservation=0B thread-reservation=0
| tuple-ids=3 row-size=34B cardinality=26.27K
| in pipelines: 02(GETNEXT)
|
F00: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=26.00MB mem-reservation=2.25MB thread-reservation=1
05:AGGREGATE [STREAMING]
| output: sum(cr_return_amt_inc_tax)
| group by: cr_returning_customer_sk, ca_state
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3 row-size=34B cardinality=26.27K
| in pipelines: 02(GETNEXT)
|
04:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=05
| hash predicates: ca_address_sk = cr_returning_addr_sk
| fk/pk conjuncts: ca_address_sk = cr_returning_addr_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=42B cardinality=26.27K
| in pipelines: 02(GETNEXT), 00(OPEN)
|
|--F17:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=5.51MB 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: cr_returning_addr_sk
| | runtime filters: RF004[bloom] <- cr_returning_addr_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 20:EXCHANGE [BROADCAST]
| | mem-estimate=647.59KB mem-reservation=0B thread-reservation=0
| | tuple-ids=0,1 row-size=24B cardinality=26.27K
| | in pipelines: 00(GETNEXT)
| |
| F01: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=24.00MB mem-reservation=2.00MB thread-reservation=1
| 03:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=06
| | hash predicates: cr_returned_date_sk = d_date_sk
| | fk/pk conjuncts: cr_returned_date_sk = d_date_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=0,1 row-size=24B cardinality=26.27K
| | in pipelines: 00(GETNEXT), 01(OPEN)
| |
| |--F18: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=06 plan-id=07 cohort-id=05
| | | build expressions: d_date_sk
| | | runtime filters: RF006[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=1 row-size=8B cardinality=373
| | | 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
| | predicates: d_year = CAST(2000 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(2000 AS INT)
| | parquet dictionary predicates: d_year = CAST(2000 AS INT)
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=1 row-size=8B cardinality=373
| | in pipelines: 01(GETNEXT)
| |
| 00:SCAN HDFS [tpcds_parquet.catalog_returns, RANDOM]
| HDFS partitions=1/1 files=1 size=10.62MB
| runtime filters: RF002[bloom] -> tpcds_parquet.catalog_returns.cr_returning_customer_sk, RF006[bloom] -> cr_returned_date_sk
| stored statistics:
| table: rows=144.07K size=10.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=144.07K
| mem-estimate=24.00MB mem-reservation=2.00MB thread-reservation=0
| tuple-ids=0 row-size=16B cardinality=144.07K
| in pipelines: 00(GETNEXT)
|
02:SCAN HDFS [tpcds_parquet.customer_address, RANDOM]
HDFS partitions=1/1 files=1 size=1.16MB
runtime filters: RF000[bloom] -> tpcds_parquet.customer_address.ca_state, RF004[bloom] -> ca_address_sk
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=2 row-size=18B cardinality=50.00K
in pipelines: 02(GETNEXT)
====