blob: 22f2f0f123cd9c3563645eec390b8280e684f7f4 [file] [log] [blame]
# TPCDS-Q30
WITH customer_total_return AS
(SELECT wr_returning_customer_sk AS ctr_customer_sk,
ca_state AS ctr_state,
sum(wr_return_amt) AS ctr_total_return
FROM web_returns,
date_dim,
customer_address
WHERE wr_returned_date_sk = d_date_sk
AND d_year = 2002
AND wr_returning_addr_sk = ca_address_sk
GROUP BY wr_returning_customer_sk,
ca_state)
SELECT c_customer_id,
c_salutation,
c_first_name,
c_last_name,
c_preferred_cust_flag,
c_birth_day,
c_birth_month,
c_birth_year,
c_birth_country,
c_login,
c_email_address,
c_last_review_date,
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,
c_preferred_cust_flag,
c_birth_day,
c_birth_month,
c_birth_year,
c_birth_country,
c_login,
c_email_address,
c_last_review_date,
ctr_total_return
LIMIT 100;
---- PLAN
Max Per-Host Resource Reservation: Memory=27.44MB Threads=9
Per-Host Resource Estimates: Memory=429MB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=428.81MB mem-reservation=27.44MB thread-reservation=9 runtime-filters-memory=7.00MB
PLAN-ROOT SINK
| output exprs: c_customer_id, c_salutation, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_day, c_birth_month, c_birth_year, c_birth_country, c_login, c_email_address, c_last_review_date, 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, c_preferred_cust_flag ASC, c_birth_day ASC, c_birth_month ASC, c_birth_year ASC, c_birth_country ASC, c_login ASC, c_email_address ASC, c_last_review_date ASC, ctr_total_return ASC
| mem-estimate=20.64KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=211B cardinality=100
| in pipelines: 18(GETNEXT), 07(OPEN)
|
17:HASH JOIN [LEFT SEMI JOIN]
| hash predicates: ca_state = ctr2.ctr_state
| other join predicates: sum(wr_return_amt) > 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=6,5,3 row-size=255B cardinality=3.26K
| in pipelines: 07(GETNEXT), 14(OPEN)
|
|--14:AGGREGATE [FINALIZE]
| | output: avg(sum(wr_return_amt))
| | 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(wr_return_amt)
| | group by: wr_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=12.83K
| | in pipelines: 13(GETNEXT), 10(OPEN)
| |
| 12:HASH JOIN [INNER JOIN]
| | hash predicates: ca_address_sk = wr_returning_addr_sk
| | fk/pk conjuncts: ca_address_sk = wr_returning_addr_sk
| | runtime filters: RF010[bloom] <- wr_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=12.83K
| | in pipelines: 10(GETNEXT), 08(OPEN)
| |
| |--11:HASH JOIN [INNER JOIN]
| | | hash predicates: wr_returned_date_sk = d_date_sk
| | | fk/pk conjuncts: wr_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=12.83K
| | | 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(2002 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)
| | | parquet dictionary predicates: d_year = CAST(2002 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.web_returns]
| | HDFS partitions=1/1 files=1 size=5.66MB
| | runtime filters: RF012[bloom] -> wr_returned_date_sk
| | stored statistics:
| | table: rows=71.76K size=5.66MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=71.76K
| | mem-estimate=64.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=7 row-size=16B cardinality=71.76K
| | 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: c_customer_sk = wr_returning_customer_sk
| fk/pk conjuncts: none
| runtime filters: RF002[bloom] <- wr_returning_customer_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=6,5,3 row-size=255B cardinality=3.26K
| in pipelines: 07(GETNEXT), 05(OPEN)
|
|--05:AGGREGATE [FINALIZE]
| | output: sum(wr_return_amt)
| | group by: wr_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=12.83K
| | in pipelines: 05(GETNEXT), 02(OPEN)
| |
| 04:HASH JOIN [INNER JOIN]
| | hash predicates: ca_address_sk = wr_returning_addr_sk
| | fk/pk conjuncts: ca_address_sk = wr_returning_addr_sk
| | runtime filters: RF006[bloom] <- wr_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=12.83K
| | in pipelines: 02(GETNEXT), 00(OPEN)
| |
| |--03:HASH JOIN [INNER JOIN]
| | | hash predicates: wr_returned_date_sk = d_date_sk
| | | fk/pk conjuncts: wr_returned_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=0,1 row-size=24B cardinality=12.83K
| | | 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(2002 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)
| | | parquet dictionary predicates: d_year = CAST(2002 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.web_returns]
| | HDFS partitions=1/1 files=1 size=5.66MB
| | runtime filters: RF008[bloom] -> wr_returned_date_sk
| | stored statistics:
| | table: rows=71.76K size=5.66MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=71.76K
| | mem-estimate=64.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=0 row-size=16B cardinality=71.76K
| | 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, RF006[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)
|
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: RF004[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=221B 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=32.00MB mem-reservation=256.00KB thread-reservation=1
| tuple-ids=5 row-size=18B cardinality=980
| in pipelines: 06(GETNEXT)
|
07:SCAN HDFS [tpcds_parquet.customer]
HDFS partitions=1/1 files=1 size=5.49MB
runtime filters: RF002[bloom] -> c_customer_sk, RF004[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=128.00MB mem-reservation=8.00MB thread-reservation=1
tuple-ids=6 row-size=203B cardinality=100.00K
in pipelines: 07(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=45.12MB Threads=20
Per-Host Resource Estimates: Memory=500MB
F11:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=41.67KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: c_customer_id, c_salutation, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_day, c_birth_month, c_birth_year, c_birth_country, c_login, c_email_address, c_last_review_date, 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, c_preferred_cust_flag ASC, c_birth_day ASC, c_birth_month ASC, c_birth_year ASC, c_birth_country ASC, c_login ASC, c_email_address ASC, c_last_review_date ASC, ctr_total_return ASC
| limit: 100
| mem-estimate=41.67KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=211B cardinality=100
| in pipelines: 18(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
Per-Host Resources: mem-estimate=137.32MB mem-reservation=16.81MB thread-reservation=2 runtime-filters-memory=3.00MB
18:TOP-N [LIMIT=100]
| order by: c_customer_id ASC, c_salutation ASC, c_first_name ASC, c_last_name ASC, c_preferred_cust_flag ASC, c_birth_day ASC, c_birth_month ASC, c_birth_year ASC, c_birth_country ASC, c_login ASC, c_email_address ASC, c_last_review_date ASC, ctr_total_return ASC
| mem-estimate=20.64KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=211B cardinality=100
| in pipelines: 18(GETNEXT), 07(OPEN)
|
17:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| hash predicates: ca_state = ctr2.ctr_state
| other join predicates: sum(wr_return_amt) > 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=6,5,3 row-size=255B cardinality=3.26K
| in pipelines: 07(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(wr_returning_customer_sk,ca_state)] hosts=1 instances=1
| Per-Host Resources: mem-estimate=20.45MB mem-reservation=3.94MB thread-reservation=1
| 14:AGGREGATE [STREAMING]
| | output: avg(sum(wr_return_amt))
| | 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(wr_return_amt)
| | group by: wr_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=12.83K
| | in pipelines: 28(GETNEXT), 10(OPEN)
| |
| 27:EXCHANGE [HASH(wr_returning_customer_sk,ca_state)]
| | mem-estimate=464.10KB mem-reservation=0B thread-reservation=0
| | tuple-ids=10 row-size=34B cardinality=12.83K
| | in pipelines: 10(GETNEXT)
| |
| F06:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=45.26MB mem-reservation=5.19MB thread-reservation=2 runtime-filters-memory=1.00MB
| 13:AGGREGATE [STREAMING]
| | output: sum(wr_return_amt)
| | group by: wr_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=12.83K
| | in pipelines: 10(GETNEXT)
| |
| 12:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: ca_address_sk = wr_returning_addr_sk
| | fk/pk conjuncts: ca_address_sk = wr_returning_addr_sk
| | runtime filters: RF010[bloom] <- wr_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=12.83K
| | in pipelines: 10(GETNEXT), 08(OPEN)
| |
| |--26:EXCHANGE [BROADCAST]
| | | mem-estimate=332.77KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=7,8 row-size=24B cardinality=12.83K
| | | in pipelines: 08(GETNEXT)
| | |
| | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=66.95MB mem-reservation=3.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| | 11:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash predicates: wr_returned_date_sk = d_date_sk
| | | fk/pk conjuncts: wr_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=12.83K
| | | 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(2002 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)
| | | parquet dictionary predicates: d_year = CAST(2002 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.web_returns, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.66MB
| | runtime filters: RF012[bloom] -> wr_returned_date_sk
| | stored statistics:
| | table: rows=71.76K size=5.66MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=71.76K
| | mem-estimate=64.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=7 row-size=16B cardinality=71.76K
| | 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: c_customer_sk = wr_returning_customer_sk
| fk/pk conjuncts: none
| runtime filters: RF002[bloom] <- wr_returning_customer_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=6,5,3 row-size=255B cardinality=3.26K
| in pipelines: 07(GETNEXT), 23(OPEN)
|
|--24:EXCHANGE [BROADCAST]
| | mem-estimate=464.10KB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=34B cardinality=12.83K
| | in pipelines: 23(GETNEXT)
| |
| F05:PLAN FRAGMENT [HASH(wr_returning_customer_sk,ca_state)] hosts=1 instances=1
| Per-Host Resources: mem-estimate=10.45MB mem-reservation=1.94MB thread-reservation=1
| 23:AGGREGATE [FINALIZE]
| | output: sum:merge(wr_return_amt)
| | group by: wr_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=12.83K
| | in pipelines: 23(GETNEXT), 02(OPEN)
| |
| 22:EXCHANGE [HASH(wr_returning_customer_sk,ca_state)]
| | mem-estimate=464.10KB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=34B cardinality=12.83K
| | in pipelines: 02(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=46.26MB mem-reservation=6.19MB thread-reservation=2 runtime-filters-memory=2.00MB
| 05:AGGREGATE [STREAMING]
| | output: sum(wr_return_amt)
| | group by: wr_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=12.83K
| | in pipelines: 02(GETNEXT)
| |
| 04:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: ca_address_sk = wr_returning_addr_sk
| | fk/pk conjuncts: ca_address_sk = wr_returning_addr_sk
| | runtime filters: RF006[bloom] <- wr_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=12.83K
| | in pipelines: 02(GETNEXT), 00(OPEN)
| |
| |--21:EXCHANGE [BROADCAST]
| | | mem-estimate=332.77KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=0,1 row-size=24B cardinality=12.83K
| | | in pipelines: 00(GETNEXT)
| | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=66.95MB mem-reservation=3.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| | 03:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash predicates: wr_returned_date_sk = d_date_sk
| | | fk/pk conjuncts: wr_returned_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=0,1 row-size=24B cardinality=12.83K
| | | in pipelines: 00(GETNEXT), 01(OPEN)
| | |
| | |--20:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=1 row-size=8B cardinality=373
| | | | in pipelines: 01(GETNEXT)
| | | |
| | | F04: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(2002 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)
| | | parquet dictionary predicates: d_year = CAST(2002 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.web_returns, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.66MB
| | runtime filters: RF008[bloom] -> wr_returned_date_sk
| | stored statistics:
| | table: rows=71.76K size=5.66MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=71.76K
| | mem-estimate=64.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=0 row-size=16B cardinality=71.76K
| | 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, RF006[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)
|
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: RF004[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=221B cardinality=2.27K
| in pipelines: 07(GETNEXT), 06(OPEN)
|
|--19:EXCHANGE [BROADCAST]
| | mem-estimate=38.28KB mem-reservation=0B thread-reservation=0
| | tuple-ids=5 row-size=18B cardinality=980
| | in pipelines: 06(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=32.00MB mem-reservation=256.00KB 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=32.00MB mem-reservation=256.00KB thread-reservation=1
| tuple-ids=5 row-size=18B cardinality=980
| in pipelines: 06(GETNEXT)
|
07:SCAN HDFS [tpcds_parquet.customer, RANDOM]
HDFS partitions=1/1 files=1 size=5.49MB
runtime filters: RF002[bloom] -> c_customer_sk, RF004[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=128.00MB mem-reservation=8.00MB thread-reservation=1
tuple-ids=6 row-size=203B cardinality=100.00K
in pipelines: 07(GETNEXT)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=64.69MB Threads=19
Per-Host Resource Estimates: Memory=231MB
F11:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=41.67KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: c_customer_id, c_salutation, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_day, c_birth_month, c_birth_year, c_birth_country, c_login, c_email_address, c_last_review_date, 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, c_preferred_cust_flag ASC, c_birth_day ASC, c_birth_month ASC, c_birth_year ASC, c_birth_country ASC, c_login ASC, c_email_address ASC, c_last_review_date ASC, ctr_total_return ASC
| limit: 100
| mem-estimate=41.67KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=211B cardinality=100
| in pipelines: 18(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=16.02MB mem-reservation=8.00MB 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, c_preferred_cust_flag ASC, c_birth_day ASC, c_birth_month ASC, c_birth_year ASC, c_birth_country ASC, c_login ASC, c_email_address ASC, c_last_review_date ASC, ctr_total_return ASC
| mem-estimate=20.64KB mem-reservation=0B thread-reservation=0
| tuple-ids=15 row-size=211B cardinality=100
| in pipelines: 18(GETNEXT), 07(OPEN)
|
17:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| hash-table-id=00
| hash predicates: ca_state = ctr2.ctr_state
| other join predicates: sum(wr_return_amt) > 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=6,5,3 row-size=255B cardinality=3.26K
| in pipelines: 07(GETNEXT), 30(OPEN)
|
|--F12: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=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(wr_returning_customer_sk,ca_state)] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=20.45MB mem-reservation=3.94MB thread-reservation=1
| 14:AGGREGATE [STREAMING]
| | output: avg(sum(wr_return_amt))
| | 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(wr_return_amt)
| | group by: wr_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=12.83K
| | in pipelines: 28(GETNEXT), 10(OPEN)
| |
| 27:EXCHANGE [HASH(wr_returning_customer_sk,ca_state)]
| | mem-estimate=464.10KB mem-reservation=0B thread-reservation=0
| | tuple-ids=10 row-size=34B cardinality=12.83K
| | 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(wr_return_amt)
| | group by: wr_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=12.83K
| | in pipelines: 10(GETNEXT)
| |
| 12:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=01
| | hash predicates: ca_address_sk = wr_returning_addr_sk
| | fk/pk conjuncts: ca_address_sk = wr_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=12.83K
| | in pipelines: 10(GETNEXT), 08(OPEN)
| |
| |--F13:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=5.20MB 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: wr_returning_addr_sk
| | | runtime filters: RF010[bloom] <- wr_returning_addr_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 26:EXCHANGE [BROADCAST]
| | | mem-estimate=332.77KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=7,8 row-size=24B cardinality=12.83K
| | | 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=16.00MB mem-reservation=1.00MB thread-reservation=1
| | 11:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash-table-id=02
| | | hash predicates: wr_returned_date_sk = d_date_sk
| | | fk/pk conjuncts: wr_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=12.83K
| | | 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(2002 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)
| | | parquet dictionary predicates: d_year = CAST(2002 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.web_returns, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.66MB
| | runtime filters: RF012[bloom] -> wr_returned_date_sk
| | stored statistics:
| | table: rows=71.76K size=5.66MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=71.76K
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| | tuple-ids=7 row-size=16B cardinality=71.76K
| | 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: c_customer_sk = wr_returning_customer_sk
| fk/pk conjuncts: none
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=6,5,3 row-size=255B cardinality=3.26K
| in pipelines: 07(GETNEXT), 23(OPEN)
|
|--F15:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=5.33MB 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: wr_returning_customer_sk
| | runtime filters: RF002[bloom] <- wr_returning_customer_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 24:EXCHANGE [BROADCAST]
| | mem-estimate=464.10KB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=34B cardinality=12.83K
| | in pipelines: 23(GETNEXT)
| |
| F05:PLAN FRAGMENT [HASH(wr_returning_customer_sk,ca_state)] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=10.45MB mem-reservation=1.94MB thread-reservation=1
| 23:AGGREGATE [FINALIZE]
| | output: sum:merge(wr_return_amt)
| | group by: wr_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=12.83K
| | in pipelines: 23(GETNEXT), 02(OPEN)
| |
| 22:EXCHANGE [HASH(wr_returning_customer_sk,ca_state)]
| | mem-estimate=464.10KB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=34B cardinality=12.83K
| | in pipelines: 02(GETNEXT)
| |
| F02: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(wr_return_amt)
| | group by: wr_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=12.83K
| | in pipelines: 02(GETNEXT)
| |
| 04:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=04
| | hash predicates: ca_address_sk = wr_returning_addr_sk
| | fk/pk conjuncts: ca_address_sk = wr_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=12.83K
| | in pipelines: 02(GETNEXT), 00(OPEN)
| |
| |--F16:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=5.20MB 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: wr_returning_addr_sk
| | | runtime filters: RF006[bloom] <- wr_returning_addr_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 21:EXCHANGE [BROADCAST]
| | | mem-estimate=332.77KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=0,1 row-size=24B cardinality=12.83K
| | | in pipelines: 00(GETNEXT)
| | |
| | F03: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=1.00MB thread-reservation=1
| | 03:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash-table-id=05
| | | hash predicates: wr_returned_date_sk = d_date_sk
| | | fk/pk conjuncts: wr_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=12.83K
| | | in pipelines: 00(GETNEXT), 01(OPEN)
| | |
| | |--F17: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=05 plan-id=06 cohort-id=05
| | | | build expressions: d_date_sk
| | | | runtime filters: RF008[bloom] <- d_date_sk
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | | |
| | | 20:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=1 row-size=8B cardinality=373
| | | | in pipelines: 01(GETNEXT)
| | | |
| | | F04: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(2002 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)
| | | parquet dictionary predicates: d_year = CAST(2002 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.web_returns, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.66MB
| | runtime filters: RF008[bloom] -> wr_returned_date_sk
| | stored statistics:
| | table: rows=71.76K size=5.66MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=71.76K
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| | tuple-ids=0 row-size=16B cardinality=71.76K
| | 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, RF006[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)
|
15:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=06
| 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=221B cardinality=2.27K
| in pipelines: 07(GETNEXT), 06(OPEN)
|
|--F18:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=4.91MB 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: ca_address_sk
| | runtime filters: RF004[bloom] <- ca_address_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 19:EXCHANGE [BROADCAST]
| | mem-estimate=38.28KB mem-reservation=0B thread-reservation=0
| | tuple-ids=5 row-size=18B cardinality=980
| | in pipelines: 06(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=256.00KB 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=256.00KB thread-reservation=0
| tuple-ids=5 row-size=18B cardinality=980
| in pipelines: 06(GETNEXT)
|
07:SCAN HDFS [tpcds_parquet.customer, RANDOM]
HDFS partitions=1/1 files=1 size=5.49MB
runtime filters: RF002[bloom] -> c_customer_sk, RF004[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=8.00MB thread-reservation=0
tuple-ids=6 row-size=203B cardinality=100.00K
in pipelines: 07(GETNEXT)
====