blob: 9ba5cad822b495dc94b430a1bc18d5e1efc7745f [file] [log] [blame]
# TPCDS-Q04
WITH year_total AS
(SELECT c_customer_id customer_id,
c_first_name customer_first_name,
c_last_name customer_last_name,
c_preferred_cust_flag customer_preferred_cust_flag,
c_birth_country customer_birth_country,
c_login customer_login,
c_email_address customer_email_address,
d_year dyear,
sum(((ss_ext_list_price-ss_ext_wholesale_cost-ss_ext_discount_amt)+ss_ext_sales_price)/2) year_total,
's' sale_type
FROM customer,
store_sales,
date_dim
WHERE c_customer_sk = ss_customer_sk
AND ss_sold_date_sk = d_date_sk
GROUP BY c_customer_id,
c_first_name,
c_last_name,
c_preferred_cust_flag,
c_birth_country,
c_login,
c_email_address,
d_year
UNION ALL SELECT c_customer_id customer_id,
c_first_name customer_first_name,
c_last_name customer_last_name,
c_preferred_cust_flag customer_preferred_cust_flag,
c_birth_country customer_birth_country,
c_login customer_login,
c_email_address customer_email_address,
d_year dyear,
sum((((cs_ext_list_price-cs_ext_wholesale_cost-cs_ext_discount_amt)+cs_ext_sales_price)/2)) year_total,
'c' sale_type
FROM customer,
catalog_sales,
date_dim
WHERE c_customer_sk = cs_bill_customer_sk
AND cs_sold_date_sk = d_date_sk
GROUP BY c_customer_id,
c_first_name,
c_last_name,
c_preferred_cust_flag,
c_birth_country,
c_login,
c_email_address,
d_year
UNION ALL SELECT c_customer_id customer_id,
c_first_name customer_first_name,
c_last_name customer_last_name,
c_preferred_cust_flag customer_preferred_cust_flag,
c_birth_country customer_birth_country,
c_login customer_login,
c_email_address customer_email_address,
d_year dyear,
sum((((ws_ext_list_price-ws_ext_wholesale_cost-ws_ext_discount_amt)+ws_ext_sales_price)/2)) year_total,
'w' sale_type
FROM customer,
web_sales,
date_dim
WHERE c_customer_sk = ws_bill_customer_sk
AND ws_sold_date_sk = d_date_sk
GROUP BY c_customer_id,
c_first_name,
c_last_name,
c_preferred_cust_flag,
c_birth_country,
c_login,
c_email_address,
d_year)
SELECT t_s_secyear.customer_id,
t_s_secyear.customer_first_name,
t_s_secyear.customer_last_name,
t_s_secyear.customer_preferred_cust_flag
FROM year_total t_s_firstyear,
year_total t_s_secyear,
year_total t_c_firstyear,
year_total t_c_secyear,
year_total t_w_firstyear,
year_total t_w_secyear
WHERE t_s_secyear.customer_id = t_s_firstyear.customer_id
AND t_s_firstyear.customer_id = t_c_secyear.customer_id
AND t_s_firstyear.customer_id = t_c_firstyear.customer_id
AND t_s_firstyear.customer_id = t_w_firstyear.customer_id
AND t_s_firstyear.customer_id = t_w_secyear.customer_id
AND t_s_firstyear.sale_type = 's'
AND t_c_firstyear.sale_type = 'c'
AND t_w_firstyear.sale_type = 'w'
AND t_s_secyear.sale_type = 's'
AND t_c_secyear.sale_type = 'c'
AND t_w_secyear.sale_type = 'w'
AND t_s_firstyear.dyear = 2001
AND t_s_secyear.dyear = 2001+1
AND t_c_firstyear.dyear = 2001
AND t_c_secyear.dyear = 2001+1
AND t_w_firstyear.dyear = 2001
AND t_w_secyear.dyear = 2001+1
AND t_s_firstyear.year_total > 0
AND t_c_firstyear.year_total > 0
AND t_w_firstyear.year_total > 0
AND CASE
WHEN t_c_firstyear.year_total > 0 THEN t_c_secyear.year_total / t_c_firstyear.year_total
ELSE NULL
END > CASE
WHEN t_s_firstyear.year_total > 0 THEN t_s_secyear.year_total / t_s_firstyear.year_total
ELSE NULL
END
AND CASE
WHEN t_c_firstyear.year_total > 0 THEN t_c_secyear.year_total / t_c_firstyear.year_total
ELSE NULL
END > CASE
WHEN t_w_firstyear.year_total > 0 THEN t_w_secyear.year_total / t_w_firstyear.year_total
ELSE NULL
END
ORDER BY t_s_secyear.customer_id,
t_s_secyear.customer_first_name,
t_s_secyear.customer_last_name,
t_s_secyear.customer_preferred_cust_flag
LIMIT 100;
---- PLAN
Max Per-Host Resource Reservation: Memory=237.31MB Threads=19
Per-Host Resource Estimates: Memory=2.10GB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=2.10GB mem-reservation=237.31MB thread-reservation=19 runtime-filters-memory=10.00MB
PLAN-ROOT SINK
| output exprs: customer_id, customer_first_name, customer_last_name, customer_preferred_cust_flag
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
47:TOP-N [LIMIT=100]
| order by: customer_id ASC, customer_first_name ASC, customer_last_name ASC, customer_preferred_cust_flag ASC
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=84 row-size=77B cardinality=0
| in pipelines: 47(GETNEXT), 06(OPEN)
|
46:HASH JOIN [INNER JOIN]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| other predicates: CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END > CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40,54,68,82 row-size=313B cardinality=0
| in pipelines: 06(GETNEXT), 41(OPEN)
|
|--35:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=82 row-size=44B cardinality=0
| | in pipelines: 41(GETNEXT)
| |
| 41:AGGREGATE [FINALIZE]
| | output: sum((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=81 row-size=169B cardinality=0
| | in pipelines: 41(GETNEXT), 36(OPEN)
| |
| 40:HASH JOIN [INNER JOIN]
| | hash predicates: c_customer_sk = ws_bill_customer_sk
| | fk/pk conjuncts: c_customer_sk = ws_bill_customer_sk
| | runtime filters: RF030[bloom] <- ws_bill_customer_sk
| | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=78,79,80 row-size=185B cardinality=148.00K
| | in pipelines: 36(GETNEXT), 37(OPEN)
| |
| |--39:HASH JOIN [INNER JOIN]
| | | hash predicates: ws_sold_date_sk = d_date_sk
| | | fk/pk conjuncts: ws_sold_date_sk = d_date_sk
| | | runtime filters: RF032[bloom] <- d_date_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=79,80 row-size=32B cardinality=148.00K
| | | in pipelines: 37(GETNEXT), 38(OPEN)
| | |
| | |--38:SCAN HDFS [tpcds_parquet.date_dim]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: tpcds_parquet.date_dim.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: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | | tuple-ids=80 row-size=8B cardinality=373
| | | in pipelines: 38(GETNEXT)
| | |
| | 37:SCAN HDFS [tpcds_parquet.web_sales]
| | HDFS partitions=1/1 files=2 size=45.09MB
| | runtime filters: RF032[bloom] -> ws_sold_date_sk
| | stored statistics:
| | table: rows=719.38K size=45.09MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=644.77K
| | mem-estimate=192.00MB mem-reservation=16.00MB thread-reservation=1
| | tuple-ids=79 row-size=24B cardinality=719.38K
| | in pipelines: 37(GETNEXT)
| |
| 36:SCAN HDFS [tpcds_parquet.customer]
| HDFS partitions=1/1 files=1 size=5.49MB
| runtime filters: RF030[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=128.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=78 row-size=153B cardinality=100.00K
| in pipelines: 36(GETNEXT)
|
45:HASH JOIN [INNER JOIN]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40,54,68 row-size=269B cardinality=0
| in pipelines: 06(GETNEXT), 34(OPEN)
|
|--28:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=68 row-size=44B cardinality=0
| | in pipelines: 34(GETNEXT)
| |
| 34:AGGREGATE [FINALIZE]
| | output: sum((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | having: sum((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / 2)) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=67 row-size=169B cardinality=0
| | in pipelines: 34(GETNEXT), 29(OPEN)
| |
| 33:HASH JOIN [INNER JOIN]
| | hash predicates: c_customer_sk = ws_bill_customer_sk
| | fk/pk conjuncts: c_customer_sk = ws_bill_customer_sk
| | runtime filters: RF026[bloom] <- ws_bill_customer_sk
| | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=64,65,66 row-size=185B cardinality=148.00K
| | in pipelines: 29(GETNEXT), 30(OPEN)
| |
| |--32:HASH JOIN [INNER JOIN]
| | | hash predicates: ws_sold_date_sk = d_date_sk
| | | fk/pk conjuncts: ws_sold_date_sk = d_date_sk
| | | runtime filters: RF028[bloom] <- d_date_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=65,66 row-size=32B cardinality=148.00K
| | | in pipelines: 30(GETNEXT), 31(OPEN)
| | |
| | |--31:SCAN HDFS [tpcds_parquet.date_dim]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: tpcds_parquet.date_dim.d_year = CAST(2001 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: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | | tuple-ids=66 row-size=8B cardinality=373
| | | in pipelines: 31(GETNEXT)
| | |
| | 30:SCAN HDFS [tpcds_parquet.web_sales]
| | HDFS partitions=1/1 files=2 size=45.09MB
| | runtime filters: RF028[bloom] -> ws_sold_date_sk
| | stored statistics:
| | table: rows=719.38K size=45.09MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=644.77K
| | mem-estimate=192.00MB mem-reservation=16.00MB thread-reservation=1
| | tuple-ids=65 row-size=24B cardinality=719.38K
| | in pipelines: 30(GETNEXT)
| |
| 29:SCAN HDFS [tpcds_parquet.customer]
| HDFS partitions=1/1 files=1 size=5.49MB
| runtime filters: RF026[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=128.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=64 row-size=153B cardinality=100.00K
| in pipelines: 29(GETNEXT)
|
44:HASH JOIN [INNER JOIN]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| other predicates: CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END > CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40,54 row-size=225B cardinality=0
| in pipelines: 06(GETNEXT), 27(OPEN)
|
|--21:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=54 row-size=44B cardinality=0
| | in pipelines: 27(GETNEXT)
| |
| 27:AGGREGATE [FINALIZE]
| | output: sum((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=49 row-size=169B cardinality=0
| | in pipelines: 27(GETNEXT), 22(OPEN)
| |
| 26:HASH JOIN [INNER JOIN]
| | hash predicates: c_customer_sk = cs_bill_customer_sk
| | fk/pk conjuncts: c_customer_sk = cs_bill_customer_sk
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=46,47,48 row-size=185B cardinality=294.63K
| | in pipelines: 22(GETNEXT), 23(OPEN)
| |
| |--25:HASH JOIN [INNER JOIN]
| | | hash predicates: cs_sold_date_sk = d_date_sk
| | | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | | runtime filters: RF024[bloom] <- d_date_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=47,48 row-size=32B cardinality=294.63K
| | | in pipelines: 23(GETNEXT), 24(OPEN)
| | |
| | |--24:SCAN HDFS [tpcds_parquet.date_dim]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: tpcds_parquet.date_dim.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: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | | tuple-ids=48 row-size=8B cardinality=373
| | | in pipelines: 24(GETNEXT)
| | |
| | 23:SCAN HDFS [tpcds_parquet.catalog_sales]
| | HDFS partitions=1/1 files=3 size=96.62MB
| | runtime filters: RF024[bloom] -> cs_sold_date_sk
| | stored statistics:
| | table: rows=1.44M size=96.62MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=650.14K
| | mem-estimate=288.00MB mem-reservation=16.00MB thread-reservation=1
| | tuple-ids=47 row-size=24B cardinality=1.44M
| | in pipelines: 23(GETNEXT)
| |
| 22:SCAN HDFS [tpcds_parquet.customer]
| 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=128.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=46 row-size=153B cardinality=100.00K
| in pipelines: 22(GETNEXT)
|
43:HASH JOIN [INNER JOIN]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40 row-size=181B cardinality=0
| in pipelines: 06(GETNEXT), 20(OPEN)
|
|--14:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=40 row-size=44B cardinality=0
| | in pipelines: 20(GETNEXT)
| |
| 20:AGGREGATE [FINALIZE]
| | output: sum((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | having: sum((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / 2)) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=35 row-size=169B cardinality=0
| | in pipelines: 20(GETNEXT), 15(OPEN)
| |
| 19:HASH JOIN [INNER JOIN]
| | hash predicates: c_customer_sk = cs_bill_customer_sk
| | fk/pk conjuncts: c_customer_sk = cs_bill_customer_sk
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=32,33,34 row-size=185B cardinality=294.63K
| | in pipelines: 15(GETNEXT), 16(OPEN)
| |
| |--18:HASH JOIN [INNER JOIN]
| | | hash predicates: cs_sold_date_sk = d_date_sk
| | | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | | runtime filters: RF020[bloom] <- d_date_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=33,34 row-size=32B cardinality=294.63K
| | | in pipelines: 16(GETNEXT), 17(OPEN)
| | |
| | |--17:SCAN HDFS [tpcds_parquet.date_dim]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: tpcds_parquet.date_dim.d_year = CAST(2001 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: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | | tuple-ids=34 row-size=8B cardinality=373
| | | in pipelines: 17(GETNEXT)
| | |
| | 16:SCAN HDFS [tpcds_parquet.catalog_sales]
| | HDFS partitions=1/1 files=3 size=96.62MB
| | runtime filters: RF020[bloom] -> cs_sold_date_sk
| | stored statistics:
| | table: rows=1.44M size=96.62MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=650.14K
| | mem-estimate=288.00MB mem-reservation=16.00MB thread-reservation=1
| | tuple-ids=33 row-size=24B cardinality=1.44M
| | in pipelines: 16(GETNEXT)
| |
| 15:SCAN HDFS [tpcds_parquet.customer]
| 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=128.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=32 row-size=153B cardinality=100.00K
| in pipelines: 15(GETNEXT)
|
42:HASH JOIN [INNER JOIN]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26 row-size=137B cardinality=0
| in pipelines: 06(GETNEXT), 13(OPEN)
|
|--07:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=26 row-size=93B cardinality=0
| | in pipelines: 13(GETNEXT)
| |
| 13:AGGREGATE [FINALIZE]
| | output: sum(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / CAST(2 AS DECIMAL(3,0)))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=17 row-size=169B cardinality=0
| | in pipelines: 13(GETNEXT), 09(OPEN)
| |
| 12:HASH JOIN [INNER JOIN]
| | hash predicates: ss_customer_sk = c_customer_sk
| | fk/pk conjuncts: ss_customer_sk = c_customer_sk
| | runtime filters: RF014[bloom] <- c_customer_sk
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=15,16,14 row-size=185B cardinality=589.03K
| | in pipelines: 09(GETNEXT), 08(OPEN)
| |
| |--08:SCAN HDFS [tpcds_parquet.customer]
| | 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=128.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=14 row-size=153B cardinality=100.00K
| | in pipelines: 08(GETNEXT)
| |
| 11:HASH JOIN [INNER JOIN]
| | hash predicates: ss_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ss_sold_date_sk = d_date_sk
| | runtime filters: RF016[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=15,16 row-size=32B cardinality=589.03K
| | in pipelines: 09(GETNEXT), 10(OPEN)
| |
| |--10:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.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: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=16 row-size=8B cardinality=373
| | in pipelines: 10(GETNEXT)
| |
| 09:SCAN HDFS [tpcds_parquet.store_sales]
| HDFS partitions=1824/1824 files=1824 size=201.02MB
| runtime filters: RF016[bloom] -> ss_sold_date_sk, RF014[bloom] -> ss_customer_sk
| stored statistics:
| table: rows=2.88M size=201.02MB
| partitions: 1824/1824 rows=2.88M
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=130.09K
| mem-estimate=80.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=15 row-size=24B cardinality=2.88M
| in pipelines: 09(GETNEXT)
|
00:UNION
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=12 row-size=44B cardinality=0
| in pipelines: 06(GETNEXT)
|
06:AGGREGATE [FINALIZE]
| output: sum(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / CAST(2 AS DECIMAL(3,0)))
| group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| having: sum(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / 2) > CAST(0 AS DECIMAL(3,0))
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3 row-size=169B cardinality=0
| in pipelines: 06(GETNEXT), 02(OPEN)
|
05:HASH JOIN [INNER JOIN]
| hash predicates: ss_customer_sk = c_customer_sk
| fk/pk conjuncts: ss_customer_sk = c_customer_sk
| runtime filters: RF010[bloom] <- c_customer_sk
| mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| tuple-ids=1,2,0 row-size=185B cardinality=589.03K
| in pipelines: 02(GETNEXT), 01(OPEN)
|
|--01:SCAN HDFS [tpcds_parquet.customer]
| 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=128.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=0 row-size=153B cardinality=100.00K
| in pipelines: 01(GETNEXT)
|
04:HASH JOIN [INNER JOIN]
| hash predicates: ss_sold_date_sk = d_date_sk
| fk/pk conjuncts: ss_sold_date_sk = d_date_sk
| runtime filters: RF012[bloom] <- d_date_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=1,2 row-size=32B cardinality=589.03K
| in pipelines: 02(GETNEXT), 03(OPEN)
|
|--03:SCAN HDFS [tpcds_parquet.date_dim]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: tpcds_parquet.date_dim.d_year = CAST(2001 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: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=2 row-size=8B cardinality=373
| in pipelines: 03(GETNEXT)
|
02:SCAN HDFS [tpcds_parquet.store_sales]
HDFS partitions=1824/1824 files=1824 size=201.02MB
runtime filters: RF012[bloom] -> ss_sold_date_sk, RF010[bloom] -> ss_customer_sk
stored statistics:
table: rows=2.88M size=201.02MB
partitions: 1824/1824 rows=2.88M
columns: all
extrapolated-rows=disabled max-scan-range-rows=130.09K
mem-estimate=80.00MB mem-reservation=4.00MB thread-reservation=1
tuple-ids=1 row-size=24B cardinality=2.88M
in pipelines: 02(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=232.94MB Threads=49
Per-Host Resource Estimates: Memory=2.32GB
F36:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=242.89KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: customer_id, customer_first_name, customer_last_name, customer_preferred_cust_flag
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
83:MERGING-EXCHANGE [UNPARTITIONED]
| order by: customer_id ASC, customer_first_name ASC, customer_last_name ASC, customer_preferred_cust_flag ASC
| limit: 100
| mem-estimate=242.89KB mem-reservation=0B thread-reservation=0
| tuple-ids=84 row-size=77B cardinality=0
| in pipelines: 47(GETNEXT)
|
F05:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Resources: mem-estimate=20.95MB mem-reservation=11.62MB thread-reservation=1
47:TOP-N [LIMIT=100]
| order by: customer_id ASC, customer_first_name ASC, customer_last_name ASC, customer_preferred_cust_flag ASC
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=84 row-size=77B cardinality=0
| in pipelines: 47(GETNEXT), 52(OPEN)
|
46:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| other predicates: CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END > CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40,54,68,82 row-size=313B cardinality=0
| in pipelines: 52(GETNEXT), 81(OPEN)
|
|--82:EXCHANGE [BROADCAST]
| | mem-estimate=96.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=82 row-size=44B cardinality=0
| | in pipelines: 81(GETNEXT)
| |
| F35:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Host Resources: mem-estimate=10.34MB mem-reservation=1.94MB thread-reservation=1
| 35:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=82 row-size=44B cardinality=0
| | in pipelines: 81(GETNEXT)
| |
| 81:AGGREGATE [FINALIZE]
| | output: sum:merge((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / 2))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=81 row-size=169B cardinality=0
| | in pipelines: 81(GETNEXT), 37(OPEN)
| |
| 80:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| | mem-estimate=346.23KB mem-reservation=0B thread-reservation=0
| | tuple-ids=81 row-size=169B cardinality=0
| | in pipelines: 37(GETNEXT)
| |
| F33:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| Per-Host Resources: mem-estimate=30.99MB mem-reservation=10.50MB thread-reservation=1
| 41:AGGREGATE [STREAMING]
| | output: sum((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=81 row-size=169B cardinality=0
| | in pipelines: 37(GETNEXT)
| |
| 40:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash predicates: ws_bill_customer_sk = c_customer_sk
| | fk/pk conjuncts: ws_bill_customer_sk = c_customer_sk
| | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=79,80,78 row-size=185B cardinality=148.00K
| | in pipelines: 37(GETNEXT), 36(OPEN)
| |
| |--79:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=78 row-size=153B cardinality=100.00K
| | | in pipelines: 36(GETNEXT)
| | |
| | F32:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=128.00MB mem-reservation=8.00MB thread-reservation=2
| | 36: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=128.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=78 row-size=153B cardinality=100.00K
| | in pipelines: 36(GETNEXT)
| |
| 78:EXCHANGE [HASH(ws_bill_customer_sk)]
| | mem-estimate=2.34MB mem-reservation=0B thread-reservation=0
| | tuple-ids=79,80 row-size=32B cardinality=148.00K
| | in pipelines: 37(GETNEXT)
| |
| F30:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Host Resources: mem-estimate=194.95MB mem-reservation=18.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| 39:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: ws_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ws_sold_date_sk = d_date_sk
| | runtime filters: RF032[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=79,80 row-size=32B cardinality=148.00K
| | in pipelines: 37(GETNEXT), 38(OPEN)
| |
| |--77:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=80 row-size=8B cardinality=373
| | | in pipelines: 38(GETNEXT)
| | |
| | F31:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2
| | 38:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.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: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=80 row-size=8B cardinality=373
| | in pipelines: 38(GETNEXT)
| |
| 37:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF032[bloom] -> ws_sold_date_sk
| stored statistics:
| table: rows=719.38K size=45.09MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=644.77K
| mem-estimate=192.00MB mem-reservation=16.00MB thread-reservation=1
| tuple-ids=79 row-size=24B cardinality=719.38K
| in pipelines: 37(GETNEXT)
|
45:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40,54,68 row-size=269B cardinality=0
| in pipelines: 52(GETNEXT), 75(OPEN)
|
|--76:EXCHANGE [BROADCAST]
| | mem-estimate=96.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=68 row-size=44B cardinality=0
| | in pipelines: 75(GETNEXT)
| |
| F29:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Host Resources: mem-estimate=10.34MB mem-reservation=1.94MB thread-reservation=1
| 28:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=68 row-size=44B cardinality=0
| | in pipelines: 75(GETNEXT)
| |
| 75:AGGREGATE [FINALIZE]
| | output: sum:merge((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / 2))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | having: sum((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / 2)) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=67 row-size=169B cardinality=0
| | in pipelines: 75(GETNEXT), 30(OPEN)
| |
| 74:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| | mem-estimate=346.23KB mem-reservation=0B thread-reservation=0
| | tuple-ids=67 row-size=169B cardinality=0
| | in pipelines: 30(GETNEXT)
| |
| F27:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| Per-Host Resources: mem-estimate=30.99MB mem-reservation=10.50MB thread-reservation=1
| 34:AGGREGATE [STREAMING]
| | output: sum((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=67 row-size=169B cardinality=0
| | in pipelines: 30(GETNEXT)
| |
| 33:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash predicates: ws_bill_customer_sk = c_customer_sk
| | fk/pk conjuncts: ws_bill_customer_sk = c_customer_sk
| | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=65,66,64 row-size=185B cardinality=148.00K
| | in pipelines: 30(GETNEXT), 29(OPEN)
| |
| |--73:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=64 row-size=153B cardinality=100.00K
| | | in pipelines: 29(GETNEXT)
| | |
| | F26:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=128.00MB mem-reservation=8.00MB thread-reservation=2
| | 29: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=128.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=64 row-size=153B cardinality=100.00K
| | in pipelines: 29(GETNEXT)
| |
| 72:EXCHANGE [HASH(ws_bill_customer_sk)]
| | mem-estimate=2.34MB mem-reservation=0B thread-reservation=0
| | tuple-ids=65,66 row-size=32B cardinality=148.00K
| | in pipelines: 30(GETNEXT)
| |
| F24:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Host Resources: mem-estimate=194.95MB mem-reservation=18.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| 32:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: ws_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ws_sold_date_sk = d_date_sk
| | runtime filters: RF028[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=65,66 row-size=32B cardinality=148.00K
| | in pipelines: 30(GETNEXT), 31(OPEN)
| |
| |--71:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=66 row-size=8B cardinality=373
| | | in pipelines: 31(GETNEXT)
| | |
| | F25:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2
| | 31:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.d_year = CAST(2001 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: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=66 row-size=8B cardinality=373
| | in pipelines: 31(GETNEXT)
| |
| 30:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF028[bloom] -> ws_sold_date_sk
| stored statistics:
| table: rows=719.38K size=45.09MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=644.77K
| mem-estimate=192.00MB mem-reservation=16.00MB thread-reservation=1
| tuple-ids=65 row-size=24B cardinality=719.38K
| in pipelines: 30(GETNEXT)
|
44:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| other predicates: CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END > CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40,54 row-size=225B cardinality=0
| in pipelines: 52(GETNEXT), 69(OPEN)
|
|--70:EXCHANGE [BROADCAST]
| | mem-estimate=144.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=54 row-size=44B cardinality=0
| | in pipelines: 69(GETNEXT)
| |
| F23:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=10.51MB mem-reservation=1.94MB thread-reservation=1
| 21:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=54 row-size=44B cardinality=0
| | in pipelines: 69(GETNEXT)
| |
| 69:AGGREGATE [FINALIZE]
| | output: sum:merge((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / 2))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=49 row-size=169B cardinality=0
| | in pipelines: 69(GETNEXT), 23(OPEN)
| |
| 68:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| | mem-estimate=519.35KB mem-reservation=0B thread-reservation=0
| | tuple-ids=49 row-size=169B cardinality=0
| | in pipelines: 23(GETNEXT)
| |
| F21:PLAN FRAGMENT [HASH(cs_bill_customer_sk)] hosts=3 instances=3
| Per-Host Resources: mem-estimate=32.77MB mem-reservation=11.50MB thread-reservation=1 runtime-filters-memory=1.00MB
| 27:AGGREGATE [STREAMING]
| | output: sum((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=49 row-size=169B cardinality=0
| | in pipelines: 23(GETNEXT)
| |
| 26:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash predicates: cs_bill_customer_sk = c_customer_sk
| | fk/pk conjuncts: cs_bill_customer_sk = c_customer_sk
| | runtime filters: RF022[bloom] <- c_customer_sk
| | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=47,48,46 row-size=185B cardinality=294.63K
| | in pipelines: 23(GETNEXT), 22(OPEN)
| |
| |--67:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=46 row-size=153B cardinality=100.00K
| | | in pipelines: 22(GETNEXT)
| | |
| | F20:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=128.00MB mem-reservation=8.00MB thread-reservation=2
| | 22: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=128.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=46 row-size=153B cardinality=100.00K
| | in pipelines: 22(GETNEXT)
| |
| 66:EXCHANGE [HASH(cs_bill_customer_sk)]
| | mem-estimate=3.11MB mem-reservation=0B thread-reservation=0
| | tuple-ids=47,48 row-size=32B cardinality=294.63K
| | in pipelines: 23(GETNEXT)
| |
| F18:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=291.95MB mem-reservation=19.94MB thread-reservation=2 runtime-filters-memory=2.00MB
| 25:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: cs_sold_date_sk = d_date_sk
| | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | runtime filters: RF024[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=47,48 row-size=32B cardinality=294.63K
| | in pipelines: 23(GETNEXT), 24(OPEN)
| |
| |--65:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=48 row-size=8B cardinality=373
| | | in pipelines: 24(GETNEXT)
| | |
| | F19:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2
| | 24:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.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: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=48 row-size=8B cardinality=373
| | in pipelines: 24(GETNEXT)
| |
| 23:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM]
| HDFS partitions=1/1 files=3 size=96.62MB
| runtime filters: RF024[bloom] -> cs_sold_date_sk, RF022[bloom] -> cs_bill_customer_sk
| stored statistics:
| table: rows=1.44M size=96.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=650.14K
| mem-estimate=288.00MB mem-reservation=16.00MB thread-reservation=1
| tuple-ids=47 row-size=24B cardinality=1.44M
| in pipelines: 23(GETNEXT)
|
43:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40 row-size=181B cardinality=0
| in pipelines: 52(GETNEXT), 63(OPEN)
|
|--64:EXCHANGE [BROADCAST]
| | mem-estimate=144.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=40 row-size=44B cardinality=0
| | in pipelines: 63(GETNEXT)
| |
| F17:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=10.51MB mem-reservation=1.94MB thread-reservation=1
| 14:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=40 row-size=44B cardinality=0
| | in pipelines: 63(GETNEXT)
| |
| 63:AGGREGATE [FINALIZE]
| | output: sum:merge((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / 2))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | having: sum((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / 2)) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=35 row-size=169B cardinality=0
| | in pipelines: 63(GETNEXT), 16(OPEN)
| |
| 62:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| | mem-estimate=519.35KB mem-reservation=0B thread-reservation=0
| | tuple-ids=35 row-size=169B cardinality=0
| | in pipelines: 16(GETNEXT)
| |
| F15:PLAN FRAGMENT [HASH(cs_bill_customer_sk)] hosts=3 instances=3
| Per-Host Resources: mem-estimate=32.77MB mem-reservation=11.50MB thread-reservation=1 runtime-filters-memory=1.00MB
| 20:AGGREGATE [STREAMING]
| | output: sum((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=35 row-size=169B cardinality=0
| | in pipelines: 16(GETNEXT)
| |
| 19:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash predicates: cs_bill_customer_sk = c_customer_sk
| | fk/pk conjuncts: cs_bill_customer_sk = c_customer_sk
| | runtime filters: RF018[bloom] <- c_customer_sk
| | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=33,34,32 row-size=185B cardinality=294.63K
| | in pipelines: 16(GETNEXT), 15(OPEN)
| |
| |--61:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=32 row-size=153B cardinality=100.00K
| | | in pipelines: 15(GETNEXT)
| | |
| | F14:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=128.00MB mem-reservation=8.00MB thread-reservation=2
| | 15: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=128.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=32 row-size=153B cardinality=100.00K
| | in pipelines: 15(GETNEXT)
| |
| 60:EXCHANGE [HASH(cs_bill_customer_sk)]
| | mem-estimate=3.11MB mem-reservation=0B thread-reservation=0
| | tuple-ids=33,34 row-size=32B cardinality=294.63K
| | in pipelines: 16(GETNEXT)
| |
| F12:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=291.95MB mem-reservation=19.94MB thread-reservation=2 runtime-filters-memory=2.00MB
| 18:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: cs_sold_date_sk = d_date_sk
| | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | runtime filters: RF020[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=33,34 row-size=32B cardinality=294.63K
| | in pipelines: 16(GETNEXT), 17(OPEN)
| |
| |--59:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=34 row-size=8B cardinality=373
| | | in pipelines: 17(GETNEXT)
| | |
| | F13:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2
| | 17:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.d_year = CAST(2001 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: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=34 row-size=8B cardinality=373
| | in pipelines: 17(GETNEXT)
| |
| 16:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM]
| HDFS partitions=1/1 files=3 size=96.62MB
| runtime filters: RF020[bloom] -> cs_sold_date_sk, RF018[bloom] -> cs_bill_customer_sk
| stored statistics:
| table: rows=1.44M size=96.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=650.14K
| mem-estimate=288.00MB mem-reservation=16.00MB thread-reservation=1
| tuple-ids=33 row-size=24B cardinality=1.44M
| in pipelines: 16(GETNEXT)
|
42:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26 row-size=137B cardinality=0
| in pipelines: 52(GETNEXT), 57(OPEN)
|
|--58:EXCHANGE [BROADCAST]
| | mem-estimate=290.89KB mem-reservation=0B thread-reservation=0
| | tuple-ids=26 row-size=93B cardinality=0
| | in pipelines: 57(GETNEXT)
| |
| F11:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=10.51MB mem-reservation=1.94MB thread-reservation=1
| 07:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=26 row-size=93B cardinality=0
| | in pipelines: 57(GETNEXT)
| |
| 57:AGGREGATE [FINALIZE]
| | output: sum:merge(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / 2)
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=17 row-size=169B cardinality=0
| | in pipelines: 57(GETNEXT), 09(OPEN)
| |
| 56:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| | mem-estimate=519.35KB mem-reservation=0B thread-reservation=0
| | tuple-ids=17 row-size=169B cardinality=0
| | in pipelines: 09(GETNEXT)
| |
| F09:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=3
| Per-Host Resources: mem-estimate=35.76MB mem-reservation=11.50MB thread-reservation=1 runtime-filters-memory=1.00MB
| 13:AGGREGATE [STREAMING]
| | output: sum(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / CAST(2 AS DECIMAL(3,0)))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=17 row-size=169B cardinality=0
| | in pipelines: 09(GETNEXT)
| |
| 12:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash predicates: ss_customer_sk = c_customer_sk
| | fk/pk conjuncts: ss_customer_sk = c_customer_sk
| | runtime filters: RF014[bloom] <- c_customer_sk
| | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=15,16,14 row-size=185B cardinality=589.03K
| | in pipelines: 09(GETNEXT), 08(OPEN)
| |
| |--55:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=14 row-size=153B cardinality=100.00K
| | | in pipelines: 08(GETNEXT)
| | |
| | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=128.00MB mem-reservation=8.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=128.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=14 row-size=153B cardinality=100.00K
| | in pipelines: 08(GETNEXT)
| |
| 54:EXCHANGE [HASH(ss_customer_sk)]
| | mem-estimate=6.11MB mem-reservation=0B thread-reservation=0
| | tuple-ids=15,16 row-size=32B cardinality=589.03K
| | in pipelines: 09(GETNEXT)
| |
| F06:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=83.95MB mem-reservation=7.94MB thread-reservation=2 runtime-filters-memory=2.00MB
| 11:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: ss_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ss_sold_date_sk = d_date_sk
| | runtime filters: RF016[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=15,16 row-size=32B cardinality=589.03K
| | in pipelines: 09(GETNEXT), 10(OPEN)
| |
| |--53:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=16 row-size=8B cardinality=373
| | | in pipelines: 10(GETNEXT)
| | |
| | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2
| | 10:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.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: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=16 row-size=8B cardinality=373
| | in pipelines: 10(GETNEXT)
| |
| 09:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
| HDFS partitions=1824/1824 files=1824 size=201.02MB
| runtime filters: RF016[bloom] -> ss_sold_date_sk, RF014[bloom] -> ss_customer_sk
| stored statistics:
| table: rows=2.88M size=201.02MB
| partitions: 1824/1824 rows=2.88M
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=130.09K
| mem-estimate=80.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=15 row-size=24B cardinality=2.88M
| in pipelines: 09(GETNEXT)
|
00:UNION
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=12 row-size=44B cardinality=0
| in pipelines: 52(GETNEXT)
|
52:AGGREGATE [FINALIZE]
| output: sum:merge(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / 2)
| group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| having: sum(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / 2) > CAST(0 AS DECIMAL(3,0))
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3 row-size=169B cardinality=0
| in pipelines: 52(GETNEXT), 02(OPEN)
|
51:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| mem-estimate=519.35KB mem-reservation=0B thread-reservation=0
| tuple-ids=3 row-size=169B cardinality=0
| in pipelines: 02(GETNEXT)
|
F03:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=3
Per-Host Resources: mem-estimate=35.76MB mem-reservation=11.50MB thread-reservation=1 runtime-filters-memory=1.00MB
06:AGGREGATE [STREAMING]
| output: sum(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / CAST(2 AS DECIMAL(3,0)))
| group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3 row-size=169B cardinality=0
| in pipelines: 02(GETNEXT)
|
05:HASH JOIN [INNER JOIN, PARTITIONED]
| hash predicates: ss_customer_sk = c_customer_sk
| fk/pk conjuncts: ss_customer_sk = c_customer_sk
| runtime filters: RF010[bloom] <- c_customer_sk
| mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| tuple-ids=1,2,0 row-size=185B cardinality=589.03K
| in pipelines: 02(GETNEXT), 01(OPEN)
|
|--50:EXCHANGE [HASH(c_customer_sk)]
| | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | tuple-ids=0 row-size=153B cardinality=100.00K
| | in pipelines: 01(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=128.00MB mem-reservation=8.00MB thread-reservation=2
| 01: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=128.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=0 row-size=153B cardinality=100.00K
| in pipelines: 01(GETNEXT)
|
49:EXCHANGE [HASH(ss_customer_sk)]
| mem-estimate=6.11MB mem-reservation=0B thread-reservation=0
| tuple-ids=1,2 row-size=32B cardinality=589.03K
| in pipelines: 02(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Resources: mem-estimate=83.95MB mem-reservation=7.94MB thread-reservation=2 runtime-filters-memory=2.00MB
04:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: ss_sold_date_sk = d_date_sk
| fk/pk conjuncts: ss_sold_date_sk = d_date_sk
| runtime filters: RF012[bloom] <- d_date_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=1,2 row-size=32B cardinality=589.03K
| in pipelines: 02(GETNEXT), 03(OPEN)
|
|--48:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=8B cardinality=373
| | in pipelines: 03(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2
| 03:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: tpcds_parquet.date_dim.d_year = CAST(2001 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: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=2 row-size=8B cardinality=373
| in pipelines: 03(GETNEXT)
|
02:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
HDFS partitions=1824/1824 files=1824 size=201.02MB
runtime filters: RF012[bloom] -> ss_sold_date_sk, RF010[bloom] -> ss_customer_sk
stored statistics:
table: rows=2.88M size=201.02MB
partitions: 1824/1824 rows=2.88M
columns: all
extrapolated-rows=disabled max-scan-range-rows=130.09K
mem-estimate=80.00MB mem-reservation=4.00MB thread-reservation=1
tuple-ids=1 row-size=24B cardinality=2.88M
in pipelines: 02(GETNEXT)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=280.12MB Threads=56
Per-Host Resource Estimates: Memory=818MB
F36:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=485.79KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: customer_id, customer_first_name, customer_last_name, customer_preferred_cust_flag
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
83:MERGING-EXCHANGE [UNPARTITIONED]
| order by: customer_id ASC, customer_first_name ASC, customer_last_name ASC, customer_preferred_cust_flag ASC
| limit: 100
| mem-estimate=485.79KB mem-reservation=0B thread-reservation=0
| tuple-ids=84 row-size=77B cardinality=0
| in pipelines: 47(GETNEXT)
|
F05:PLAN FRAGMENT [RANDOM] hosts=3 instances=6
Per-Instance Resources: mem-estimate=11.01MB mem-reservation=1.94MB thread-reservation=1
47:TOP-N [LIMIT=100]
| order by: customer_id ASC, customer_first_name ASC, customer_last_name ASC, customer_preferred_cust_flag ASC
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=84 row-size=77B cardinality=0
| in pipelines: 47(GETNEXT), 52(OPEN)
|
46:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=00
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| other predicates: CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END > CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40,54,68,82 row-size=313B cardinality=0
| in pipelines: 52(GETNEXT), 81(OPEN)
|
|--F37:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=3.97MB mem-reservation=3.88MB thread-reservation=1
| JOIN BUILD
| | join-table-id=00 plan-id=01 cohort-id=01
| | build expressions: customer_id
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 82:EXCHANGE [BROADCAST]
| | mem-estimate=96.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=82 row-size=44B cardinality=0
| | in pipelines: 81(GETNEXT)
| |
| F35:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Instance Resources: mem-estimate=10.34MB mem-reservation=1.94MB thread-reservation=1
| 35:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=82 row-size=44B cardinality=0
| | in pipelines: 81(GETNEXT)
| |
| 81:AGGREGATE [FINALIZE]
| | output: sum:merge((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / 2))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=81 row-size=169B cardinality=0
| | in pipelines: 81(GETNEXT), 37(OPEN)
| |
| 80:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| | mem-estimate=346.23KB mem-reservation=0B thread-reservation=0
| | tuple-ids=81 row-size=169B cardinality=0
| | in pipelines: 37(GETNEXT)
| |
| F33:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| Per-Instance Resources: mem-estimate=12.34MB mem-reservation=2.00MB thread-reservation=1
| 41:AGGREGATE [STREAMING]
| | output: sum((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=81 row-size=169B cardinality=0
| | in pipelines: 37(GETNEXT)
| |
| 40:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash-table-id=01
| | hash predicates: ws_bill_customer_sk = c_customer_sk
| | fk/pk conjuncts: ws_bill_customer_sk = c_customer_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=79,80,78 row-size=185B cardinality=148.00K
| | in pipelines: 37(GETNEXT), 36(OPEN)
| |
| |--F38:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| | | Per-Instance Resources: mem-estimate=18.65MB mem-reservation=8.50MB thread-reservation=1
| | JOIN BUILD
| | | join-table-id=01 plan-id=02 cohort-id=02
| | | build expressions: c_customer_sk
| | | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | |
| | 79:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=78 row-size=153B cardinality=100.00K
| | | in pipelines: 36(GETNEXT)
| | |
| | F32:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=1
| | 36: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=8.00MB thread-reservation=0
| | tuple-ids=78 row-size=153B cardinality=100.00K
| | in pipelines: 36(GETNEXT)
| |
| 78:EXCHANGE [HASH(ws_bill_customer_sk)]
| | mem-estimate=2.34MB mem-reservation=0B thread-reservation=0
| | tuple-ids=79,80 row-size=32B cardinality=148.00K
| | in pipelines: 37(GETNEXT)
| |
| F30:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| 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=32.00MB mem-reservation=16.00MB thread-reservation=1
| 39:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=02
| | hash predicates: ws_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ws_sold_date_sk = d_date_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=79,80 row-size=32B cardinality=148.00K
| | in pipelines: 37(GETNEXT), 38(OPEN)
| |
| |--F39:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=02 plan-id=03 cohort-id=02
| | | build expressions: d_date_sk
| | | runtime filters: RF032[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 77:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=80 row-size=8B cardinality=373
| | | in pipelines: 38(GETNEXT)
| | |
| | F31:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | 38:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.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: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=80 row-size=8B cardinality=373
| | in pipelines: 38(GETNEXT)
| |
| 37:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF032[bloom] -> ws_sold_date_sk
| stored statistics:
| table: rows=719.38K size=45.09MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=644.77K
| mem-estimate=32.00MB mem-reservation=16.00MB thread-reservation=0
| tuple-ids=79 row-size=24B cardinality=719.38K
| in pipelines: 37(GETNEXT)
|
45:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=03
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40,54,68 row-size=269B cardinality=0
| in pipelines: 52(GETNEXT), 75(OPEN)
|
|--F40:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=3.97MB mem-reservation=3.88MB thread-reservation=1
| JOIN BUILD
| | join-table-id=03 plan-id=04 cohort-id=01
| | build expressions: customer_id
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 76:EXCHANGE [BROADCAST]
| | mem-estimate=96.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=68 row-size=44B cardinality=0
| | in pipelines: 75(GETNEXT)
| |
| F29:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Instance Resources: mem-estimate=10.34MB mem-reservation=1.94MB thread-reservation=1
| 28:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=68 row-size=44B cardinality=0
| | in pipelines: 75(GETNEXT)
| |
| 75:AGGREGATE [FINALIZE]
| | output: sum:merge((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / 2))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | having: sum((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / 2)) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=67 row-size=169B cardinality=0
| | in pipelines: 75(GETNEXT), 30(OPEN)
| |
| 74:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| | mem-estimate=346.23KB mem-reservation=0B thread-reservation=0
| | tuple-ids=67 row-size=169B cardinality=0
| | in pipelines: 30(GETNEXT)
| |
| F27:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| Per-Instance Resources: mem-estimate=12.34MB mem-reservation=2.00MB thread-reservation=1
| 34:AGGREGATE [STREAMING]
| | output: sum((((ws_ext_list_price - ws_ext_wholesale_cost - ws_ext_discount_amt) + ws_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=67 row-size=169B cardinality=0
| | in pipelines: 30(GETNEXT)
| |
| 33:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash-table-id=04
| | hash predicates: ws_bill_customer_sk = c_customer_sk
| | fk/pk conjuncts: ws_bill_customer_sk = c_customer_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=65,66,64 row-size=185B cardinality=148.00K
| | in pipelines: 30(GETNEXT), 29(OPEN)
| |
| |--F41:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| | | Per-Instance Resources: mem-estimate=18.65MB mem-reservation=8.50MB thread-reservation=1
| | JOIN BUILD
| | | join-table-id=04 plan-id=05 cohort-id=03
| | | build expressions: c_customer_sk
| | | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | |
| | 73:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=64 row-size=153B cardinality=100.00K
| | | in pipelines: 29(GETNEXT)
| | |
| | F26:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=1
| | 29: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=8.00MB thread-reservation=0
| | tuple-ids=64 row-size=153B cardinality=100.00K
| | in pipelines: 29(GETNEXT)
| |
| 72:EXCHANGE [HASH(ws_bill_customer_sk)]
| | mem-estimate=2.34MB mem-reservation=0B thread-reservation=0
| | tuple-ids=65,66 row-size=32B cardinality=148.00K
| | in pipelines: 30(GETNEXT)
| |
| F24:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| 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=32.00MB mem-reservation=16.00MB thread-reservation=1
| 32:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=05
| | hash predicates: ws_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ws_sold_date_sk = d_date_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=65,66 row-size=32B cardinality=148.00K
| | in pipelines: 30(GETNEXT), 31(OPEN)
| |
| |--F42:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| | | 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=03
| | | build expressions: d_date_sk
| | | runtime filters: RF028[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 71:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=66 row-size=8B cardinality=373
| | | in pipelines: 31(GETNEXT)
| | |
| | F25:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | 31:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.d_year = CAST(2001 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: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=66 row-size=8B cardinality=373
| | in pipelines: 31(GETNEXT)
| |
| 30:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF028[bloom] -> ws_sold_date_sk
| stored statistics:
| table: rows=719.38K size=45.09MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=644.77K
| mem-estimate=32.00MB mem-reservation=16.00MB thread-reservation=0
| tuple-ids=65 row-size=24B cardinality=719.38K
| in pipelines: 30(GETNEXT)
|
44:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=06
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| other predicates: CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END > CASE WHEN year_total > CAST(0 AS DECIMAL(3,0)) THEN year_total / year_total ELSE NULL END
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40,54 row-size=225B cardinality=0
| in pipelines: 52(GETNEXT), 69(OPEN)
|
|--F43:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=4.02MB mem-reservation=3.88MB thread-reservation=1
| JOIN BUILD
| | join-table-id=06 plan-id=07 cohort-id=01
| | build expressions: customer_id
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 70:EXCHANGE [BROADCAST]
| | mem-estimate=144.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=54 row-size=44B cardinality=0
| | in pipelines: 69(GETNEXT)
| |
| F23:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Instance Resources: mem-estimate=10.51MB mem-reservation=1.94MB thread-reservation=1
| 21:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=54 row-size=44B cardinality=0
| | in pipelines: 69(GETNEXT)
| |
| 69:AGGREGATE [FINALIZE]
| | output: sum:merge((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / 2))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=49 row-size=169B cardinality=0
| | in pipelines: 69(GETNEXT), 23(OPEN)
| |
| 68:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| | mem-estimate=519.35KB mem-reservation=0B thread-reservation=0
| | tuple-ids=49 row-size=169B cardinality=0
| | in pipelines: 23(GETNEXT)
| |
| F21:PLAN FRAGMENT [HASH(cs_bill_customer_sk)] hosts=3 instances=3
| Per-Instance Resources: mem-estimate=13.11MB mem-reservation=2.00MB thread-reservation=1
| 27:AGGREGATE [STREAMING]
| | output: sum((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=49 row-size=169B cardinality=0
| | in pipelines: 23(GETNEXT)
| |
| 26:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash-table-id=07
| | hash predicates: cs_bill_customer_sk = c_customer_sk
| | fk/pk conjuncts: cs_bill_customer_sk = c_customer_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=47,48,46 row-size=185B cardinality=294.63K
| | in pipelines: 23(GETNEXT), 22(OPEN)
| |
| |--F44:PLAN FRAGMENT [HASH(cs_bill_customer_sk)] hosts=3 instances=3
| | | Per-Instance Resources: mem-estimate=19.65MB mem-reservation=9.50MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=07 plan-id=08 cohort-id=04
| | | build expressions: c_customer_sk
| | | runtime filters: RF022[bloom] <- c_customer_sk
| | | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | |
| | 67:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=46 row-size=153B cardinality=100.00K
| | | in pipelines: 22(GETNEXT)
| | |
| | F20:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=1
| | 22: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=8.00MB thread-reservation=0
| | tuple-ids=46 row-size=153B cardinality=100.00K
| | in pipelines: 22(GETNEXT)
| |
| 66:EXCHANGE [HASH(cs_bill_customer_sk)]
| | mem-estimate=3.11MB mem-reservation=0B thread-reservation=0
| | tuple-ids=47,48 row-size=32B cardinality=294.63K
| | in pipelines: 23(GETNEXT)
| |
| F18:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB
| Per-Instance Resources: mem-estimate=48.00MB mem-reservation=16.00MB thread-reservation=1
| 25:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=08
| | hash predicates: cs_sold_date_sk = d_date_sk
| | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=47,48 row-size=32B cardinality=294.63K
| | in pipelines: 23(GETNEXT), 24(OPEN)
| |
| |--F45: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=08 plan-id=09 cohort-id=04
| | | build expressions: d_date_sk
| | | runtime filters: RF024[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 65:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=48 row-size=8B cardinality=373
| | | in pipelines: 24(GETNEXT)
| | |
| | F19:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | 24:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.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: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=48 row-size=8B cardinality=373
| | in pipelines: 24(GETNEXT)
| |
| 23:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM]
| HDFS partitions=1/1 files=3 size=96.62MB
| runtime filters: RF024[bloom] -> cs_sold_date_sk, RF022[bloom] -> cs_bill_customer_sk
| stored statistics:
| table: rows=1.44M size=96.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=650.14K
| mem-estimate=48.00MB mem-reservation=16.00MB thread-reservation=0
| tuple-ids=47 row-size=24B cardinality=1.44M
| in pipelines: 23(GETNEXT)
|
43:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=09
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26,40 row-size=181B cardinality=0
| in pipelines: 52(GETNEXT), 63(OPEN)
|
|--F46:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=4.02MB mem-reservation=3.88MB thread-reservation=1
| JOIN BUILD
| | join-table-id=09 plan-id=10 cohort-id=01
| | build expressions: customer_id
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 64:EXCHANGE [BROADCAST]
| | mem-estimate=144.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=40 row-size=44B cardinality=0
| | in pipelines: 63(GETNEXT)
| |
| F17:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Instance Resources: mem-estimate=10.51MB mem-reservation=1.94MB thread-reservation=1
| 14:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=40 row-size=44B cardinality=0
| | in pipelines: 63(GETNEXT)
| |
| 63:AGGREGATE [FINALIZE]
| | output: sum:merge((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / 2))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | having: sum((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / 2)) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=35 row-size=169B cardinality=0
| | in pipelines: 63(GETNEXT), 16(OPEN)
| |
| 62:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| | mem-estimate=519.35KB mem-reservation=0B thread-reservation=0
| | tuple-ids=35 row-size=169B cardinality=0
| | in pipelines: 16(GETNEXT)
| |
| F15:PLAN FRAGMENT [HASH(cs_bill_customer_sk)] hosts=3 instances=3
| Per-Instance Resources: mem-estimate=13.11MB mem-reservation=2.00MB thread-reservation=1
| 20:AGGREGATE [STREAMING]
| | output: sum((((cs_ext_list_price - cs_ext_wholesale_cost - cs_ext_discount_amt) + cs_ext_sales_price) / CAST(2 AS DECIMAL(3,0))))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=35 row-size=169B cardinality=0
| | in pipelines: 16(GETNEXT)
| |
| 19:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash-table-id=10
| | hash predicates: cs_bill_customer_sk = c_customer_sk
| | fk/pk conjuncts: cs_bill_customer_sk = c_customer_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=33,34,32 row-size=185B cardinality=294.63K
| | in pipelines: 16(GETNEXT), 15(OPEN)
| |
| |--F47:PLAN FRAGMENT [HASH(cs_bill_customer_sk)] hosts=3 instances=3
| | | Per-Instance Resources: mem-estimate=19.65MB mem-reservation=9.50MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=10 plan-id=11 cohort-id=05
| | | build expressions: c_customer_sk
| | | runtime filters: RF018[bloom] <- c_customer_sk
| | | mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | |
| | 61:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=32 row-size=153B cardinality=100.00K
| | | in pipelines: 15(GETNEXT)
| | |
| | F14:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=1
| | 15: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=8.00MB thread-reservation=0
| | tuple-ids=32 row-size=153B cardinality=100.00K
| | in pipelines: 15(GETNEXT)
| |
| 60:EXCHANGE [HASH(cs_bill_customer_sk)]
| | mem-estimate=3.11MB mem-reservation=0B thread-reservation=0
| | tuple-ids=33,34 row-size=32B cardinality=294.63K
| | in pipelines: 16(GETNEXT)
| |
| F12:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB
| Per-Instance Resources: mem-estimate=48.00MB mem-reservation=16.00MB thread-reservation=1
| 18:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=11
| | hash predicates: cs_sold_date_sk = d_date_sk
| | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=33,34 row-size=32B cardinality=294.63K
| | in pipelines: 16(GETNEXT), 17(OPEN)
| |
| |--F48: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=11 plan-id=12 cohort-id=05
| | | build expressions: d_date_sk
| | | runtime filters: RF020[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 59:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=34 row-size=8B cardinality=373
| | | in pipelines: 17(GETNEXT)
| | |
| | F13:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | 17:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.d_year = CAST(2001 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: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=34 row-size=8B cardinality=373
| | in pipelines: 17(GETNEXT)
| |
| 16:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM]
| HDFS partitions=1/1 files=3 size=96.62MB
| runtime filters: RF020[bloom] -> cs_sold_date_sk, RF018[bloom] -> cs_bill_customer_sk
| stored statistics:
| table: rows=1.44M size=96.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=650.14K
| mem-estimate=48.00MB mem-reservation=16.00MB thread-reservation=0
| tuple-ids=33 row-size=24B cardinality=1.44M
| in pipelines: 16(GETNEXT)
|
42:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=12
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12,26 row-size=137B cardinality=0
| in pipelines: 52(GETNEXT), 57(OPEN)
|
|--F49:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=4.44MB mem-reservation=3.88MB thread-reservation=1
| JOIN BUILD
| | join-table-id=12 plan-id=13 cohort-id=01
| | build expressions: customer_id
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 58:EXCHANGE [BROADCAST]
| | mem-estimate=581.79KB mem-reservation=0B thread-reservation=0
| | tuple-ids=26 row-size=93B cardinality=0
| | in pipelines: 57(GETNEXT)
| |
| F11:PLAN FRAGMENT [RANDOM] hosts=3 instances=6
| Per-Instance Resources: mem-estimate=11.01MB mem-reservation=1.94MB thread-reservation=1
| 07:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=26 row-size=93B cardinality=0
| | in pipelines: 57(GETNEXT)
| |
| 57:AGGREGATE [FINALIZE]
| | output: sum:merge(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / 2)
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=17 row-size=169B cardinality=0
| | in pipelines: 57(GETNEXT), 09(OPEN)
| |
| 56:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| | mem-estimate=1.01MB mem-reservation=0B thread-reservation=0
| | tuple-ids=17 row-size=169B cardinality=0
| | in pipelines: 09(GETNEXT)
| |
| F09:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
| Per-Instance Resources: mem-estimate=16.23MB mem-reservation=2.00MB thread-reservation=1
| 13:AGGREGATE [STREAMING]
| | output: sum(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / CAST(2 AS DECIMAL(3,0)))
| | group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=17 row-size=169B cardinality=0
| | in pipelines: 09(GETNEXT)
| |
| 12:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash-table-id=13
| | hash predicates: ss_customer_sk = c_customer_sk
| | fk/pk conjuncts: ss_customer_sk = c_customer_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=256.00KB thread-reservation=0
| | tuple-ids=15,16,14 row-size=185B cardinality=589.03K
| | in pipelines: 09(GETNEXT), 08(OPEN)
| |
| |--F50:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
| | | Per-Instance Resources: mem-estimate=15.90MB mem-reservation=5.75MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=13 plan-id=14 cohort-id=06
| | | build expressions: c_customer_sk
| | | runtime filters: RF014[bloom] <- c_customer_sk
| | | mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| | |
| | 55:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=14 row-size=153B cardinality=100.00K
| | | in pipelines: 08(GETNEXT)
| | |
| | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=8.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=8.00MB thread-reservation=0
| | tuple-ids=14 row-size=153B cardinality=100.00K
| | in pipelines: 08(GETNEXT)
| |
| 54:EXCHANGE [HASH(ss_customer_sk)]
| | mem-estimate=6.23MB mem-reservation=0B thread-reservation=0
| | tuple-ids=15,16 row-size=32B cardinality=589.03K
| | in pipelines: 09(GETNEXT)
| |
| F06:PLAN FRAGMENT [RANDOM] hosts=3 instances=6
| Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=4.00MB thread-reservation=1
| 11:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=14
| | hash predicates: ss_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ss_sold_date_sk = d_date_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=15,16 row-size=32B cardinality=589.03K
| | in pipelines: 09(GETNEXT), 10(OPEN)
| |
| |--F51: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=14 plan-id=15 cohort-id=06
| | | build expressions: d_date_sk
| | | runtime filters: RF016[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 53:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=16 row-size=8B cardinality=373
| | | in pipelines: 10(GETNEXT)
| | |
| | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | 10:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: tpcds_parquet.date_dim.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: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2002 AS INT)
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=16 row-size=8B cardinality=373
| | in pipelines: 10(GETNEXT)
| |
| 09:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
| HDFS partitions=1824/1824 files=1824 size=201.02MB
| runtime filters: RF016[bloom] -> ss_sold_date_sk, RF014[bloom] -> ss_customer_sk
| stored statistics:
| table: rows=2.88M size=201.02MB
| partitions: 1824/1824 rows=2.88M
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=130.09K
| mem-estimate=16.00MB mem-reservation=4.00MB thread-reservation=0
| tuple-ids=15 row-size=24B cardinality=2.88M
| in pipelines: 09(GETNEXT)
|
00:UNION
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=12 row-size=44B cardinality=0
| in pipelines: 52(GETNEXT)
|
52:AGGREGATE [FINALIZE]
| output: sum:merge(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / 2)
| group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| having: sum(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / 2) > CAST(0 AS DECIMAL(3,0))
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3 row-size=169B cardinality=0
| in pipelines: 52(GETNEXT), 02(OPEN)
|
51:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,c_preferred_cust_flag,c_birth_country,c_login,c_email_address,d_year)]
| mem-estimate=1.01MB mem-reservation=0B thread-reservation=0
| tuple-ids=3 row-size=169B cardinality=0
| in pipelines: 02(GETNEXT)
|
F03:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
Per-Instance Resources: mem-estimate=16.23MB mem-reservation=2.00MB thread-reservation=1
06:AGGREGATE [STREAMING]
| output: sum(((ss_ext_list_price - ss_ext_wholesale_cost - ss_ext_discount_amt) + ss_ext_sales_price) / CAST(2 AS DECIMAL(3,0)))
| group by: c_customer_id, c_first_name, c_last_name, c_preferred_cust_flag, c_birth_country, c_login, c_email_address, d_year
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=3 row-size=169B cardinality=0
| in pipelines: 02(GETNEXT)
|
05:HASH JOIN [INNER JOIN, PARTITIONED]
| hash-table-id=15
| hash predicates: ss_customer_sk = c_customer_sk
| fk/pk conjuncts: ss_customer_sk = c_customer_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=256.00KB thread-reservation=0
| tuple-ids=1,2,0 row-size=185B cardinality=589.03K
| in pipelines: 02(GETNEXT), 01(OPEN)
|
|--F52:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
| | Per-Instance Resources: mem-estimate=15.90MB mem-reservation=5.75MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=15 plan-id=16 cohort-id=01
| | build expressions: c_customer_sk
| | runtime filters: RF010[bloom] <- c_customer_sk
| | mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| |
| 50:EXCHANGE [HASH(c_customer_sk)]
| | mem-estimate=10.15MB mem-reservation=0B thread-reservation=0
| | tuple-ids=0 row-size=153B cardinality=100.00K
| | in pipelines: 01(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=1
| 01: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=8.00MB thread-reservation=0
| tuple-ids=0 row-size=153B cardinality=100.00K
| in pipelines: 01(GETNEXT)
|
49:EXCHANGE [HASH(ss_customer_sk)]
| mem-estimate=6.23MB mem-reservation=0B thread-reservation=0
| tuple-ids=1,2 row-size=32B cardinality=589.03K
| in pipelines: 02(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=6
Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB
Per-Instance Resources: mem-estimate=16.00MB mem-reservation=4.00MB thread-reservation=1
04:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=16
| hash predicates: ss_sold_date_sk = d_date_sk
| fk/pk conjuncts: ss_sold_date_sk = d_date_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=1,2 row-size=32B cardinality=589.03K
| in pipelines: 02(GETNEXT), 03(OPEN)
|
|--F53: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=16 plan-id=17 cohort-id=01
| | 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
| |
| 48:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=8B cardinality=373
| | in pipelines: 03(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| 03:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: tpcds_parquet.date_dim.d_year = CAST(2001 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: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| parquet dictionary predicates: tpcds_parquet.date_dim.d_year = CAST(2001 AS INT)
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| tuple-ids=2 row-size=8B cardinality=373
| in pipelines: 03(GETNEXT)
|
02:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
HDFS partitions=1824/1824 files=1824 size=201.02MB
runtime filters: RF012[bloom] -> ss_sold_date_sk, RF010[bloom] -> ss_customer_sk
stored statistics:
table: rows=2.88M size=201.02MB
partitions: 1824/1824 rows=2.88M
columns: all
extrapolated-rows=disabled max-scan-range-rows=130.09K
mem-estimate=16.00MB mem-reservation=4.00MB thread-reservation=0
tuple-ids=1 row-size=24B cardinality=2.88M
in pipelines: 02(GETNEXT)
====