blob: 37bc34a51e91fc0607bc09085b296d28a62fd22b [file] [log] [blame]
# TPCDS-Q74
WITH year_total AS
(SELECT c_customer_id customer_id,
c_first_name customer_first_name,
c_last_name customer_last_name,
d_year AS year_,
sum(ss_net_paid) 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
AND d_year IN (2001,
2001+1)
GROUP BY c_customer_id,
c_first_name,
c_last_name,
d_year
UNION ALL SELECT c_customer_id customer_id,
c_first_name customer_first_name,
c_last_name customer_last_name,
d_year AS year_,
sum(ws_net_paid) 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
AND d_year IN (2001,
2001+1)
GROUP BY c_customer_id,
c_first_name,
c_last_name,
d_year)
SELECT t_s_secyear.customer_id,
t_s_secyear.customer_first_name,
t_s_secyear.customer_last_name
FROM year_total t_s_firstyear,
year_total t_s_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_w_secyear.customer_id
AND t_s_firstyear.customer_id = t_w_firstyear.customer_id
AND t_s_firstyear.sale_type = 's'
AND t_w_firstyear.sale_type = 'w'
AND t_s_secyear.sale_type = 's'
AND t_w_secyear.sale_type = 'w'
AND t_s_firstyear.year_ = 2001
AND t_s_secyear.year_ = 2001+1
AND t_w_firstyear.year_ = 2001
AND t_w_secyear.year_ = 2001+1
AND t_s_firstyear.year_total > 0
AND t_w_firstyear.year_total > 0
AND CASE
WHEN t_w_firstyear.year_total > 0 THEN t_w_secyear.year_total / t_w_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
ORDER BY 1
LIMIT 100;
---- PLAN
Max Per-Host Resource Reservation: Memory=167.56MB Threads=13
Per-Host Resource Estimates: Memory=690MB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=689.94MB mem-reservation=167.56MB thread-reservation=13 runtime-filters-memory=10.00MB
PLAN-ROOT SINK
| output exprs: customer_id, customer_first_name, customer_last_name
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
31:TOP-N [LIMIT=100]
| order by: customer_id ASC
| mem-estimate=6.25KB mem-reservation=0B thread-reservation=0
| tuple-ids=40 row-size=64B cardinality=100
| in pipelines: 31(GETNEXT), 13(OPEN)
|
30: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
| runtime filters: RF000[bloom] <- customer_id
| mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| tuple-ids=18,8,28,38 row-size=212B cardinality=589.03K
| in pipelines: 13(GETNEXT), 27(OPEN)
|
|--21:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=38 row-size=44B cardinality=148.00K
| | in pipelines: 27(GETNEXT)
| |
| 27:AGGREGATE [FINALIZE]
| | output: sum(ws_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=37 row-size=84B cardinality=148.00K
| | in pipelines: 27(GETNEXT), 22(OPEN)
| |
| 26:HASH JOIN [INNER JOIN]
| | hash predicates: c_customer_sk = ws_bill_customer_sk
| | fk/pk conjuncts: c_customer_sk = ws_bill_customer_sk
| | mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| | tuple-ids=34,35,36 row-size=88B cardinality=148.00K
| | in pipelines: 22(GETNEXT), 23(OPEN)
| |
| |--25: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: RF020[bloom] <- d_date_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=35,36 row-size=20B cardinality=148.00K
| | | 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=36 row-size=8B cardinality=373
| | | in pipelines: 24(GETNEXT)
| | |
| | 23:SCAN HDFS [tpcds_parquet.web_sales]
| | HDFS partitions=1/1 files=2 size=45.09MB
| | runtime filters: RF020[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=96.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=35 row-size=12B cardinality=719.38K
| | 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=64.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=34 row-size=68B cardinality=100.00K
| in pipelines: 22(GETNEXT)
|
29:HASH JOIN [INNER JOIN]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| runtime filters: RF002[bloom] <- customer_id
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=18,8,28 row-size=168B cardinality=589.03K
| in pipelines: 13(GETNEXT), 20(OPEN)
|
|--14:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=28 row-size=44B cardinality=14.80K
| | in pipelines: 20(GETNEXT)
| |
| 20:AGGREGATE [FINALIZE]
| | output: sum(ws_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | having: sum(ws_net_paid) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=27 row-size=84B cardinality=14.80K
| | in pipelines: 20(GETNEXT), 15(OPEN)
| |
| 19: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: RF014[bloom] <- ws_bill_customer_sk
| | mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| | tuple-ids=24,25,26 row-size=88B cardinality=148.00K
| | in pipelines: 15(GETNEXT), 16(OPEN)
| |
| |--18: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: RF016[bloom] <- d_date_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=25,26 row-size=20B cardinality=148.00K
| | | 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=26 row-size=8B cardinality=373
| | | in pipelines: 17(GETNEXT)
| | |
| | 16:SCAN HDFS [tpcds_parquet.web_sales]
| | HDFS partitions=1/1 files=2 size=45.09MB
| | runtime filters: RF016[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=96.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=25 row-size=12B cardinality=719.38K
| | in pipelines: 16(GETNEXT)
| |
| 15:SCAN HDFS [tpcds_parquet.customer]
| HDFS partitions=1/1 files=1 size=5.49MB
| runtime filters: RF000[bloom] -> tpcds_parquet.customer.c_customer_id, RF014[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=64.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=24 row-size=68B cardinality=100.00K
| in pipelines: 15(GETNEXT)
|
28:HASH JOIN [INNER JOIN]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| runtime filters: RF004[bloom] <- customer_id
| mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| tuple-ids=18,8 row-size=124B cardinality=589.03K
| in pipelines: 13(GETNEXT), 06(OPEN)
|
|--00:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=8 row-size=44B cardinality=58.90K
| | in pipelines: 06(GETNEXT)
| |
| 06:AGGREGATE [FINALIZE]
| | output: sum(ss_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | having: sum(ss_net_paid) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=51.88MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0
| | tuple-ids=3 row-size=84B cardinality=58.90K
| | 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=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| | tuple-ids=1,2,0 row-size=88B cardinality=589.03K
| | in pipelines: 02(GETNEXT), 01(OPEN)
| |
| |--01:SCAN HDFS [tpcds_parquet.customer]
| | HDFS partitions=1/1 files=1 size=5.49MB
| | runtime filters: RF000[bloom] -> tpcds_parquet.customer.c_customer_id, RF002[bloom] -> tpcds_parquet.customer.c_customer_id
| | stored statistics:
| | table: rows=100.00K size=5.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=100.00K
| | mem-estimate=64.00MB mem-reservation=4.00MB thread-reservation=1
| | tuple-ids=0 row-size=68B 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=20B 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=200.95MB
| runtime filters: RF012[bloom] -> ss_sold_date_sk, RF010[bloom] -> ss_customer_sk
| stored statistics:
| table: rows=2.88M size=200.95MB
| partitions: 1824/1824 rows=2.88M
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=130.09K
| mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| tuple-ids=1 row-size=12B cardinality=2.88M
| in pipelines: 02(GETNEXT)
|
07:UNION
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=18 row-size=80B cardinality=589.03K
| in pipelines: 13(GETNEXT)
|
13:AGGREGATE [FINALIZE]
| output: sum(ss_net_paid)
| group by: c_customer_id, c_first_name, c_last_name, d_year
| mem-estimate=51.88MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0
| tuple-ids=13 row-size=84B cardinality=589.03K
| 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: RF006[bloom] <- c_customer_sk
| mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| tuple-ids=11,12,10 row-size=88B cardinality=589.03K
| in pipelines: 09(GETNEXT), 08(OPEN)
|
|--08:SCAN HDFS [tpcds_parquet.customer]
| HDFS partitions=1/1 files=1 size=5.49MB
| runtime filters: RF000[bloom] -> tpcds_parquet.customer.c_customer_id, RF002[bloom] -> tpcds_parquet.customer.c_customer_id, RF004[bloom] -> tpcds_parquet.customer.c_customer_id
| stored statistics:
| table: rows=100.00K size=5.49MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=100.00K
| mem-estimate=64.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=10 row-size=68B 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: RF008[bloom] <- d_date_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=11,12 row-size=20B 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=12 row-size=8B cardinality=373
| in pipelines: 10(GETNEXT)
|
09:SCAN HDFS [tpcds_parquet.store_sales]
HDFS partitions=1824/1824 files=1824 size=200.95MB
runtime filters: RF008[bloom] -> ss_sold_date_sk, RF006[bloom] -> ss_customer_sk
stored statistics:
table: rows=2.88M size=200.95MB
partitions: 1824/1824 rows=2.88M
columns: all
extrapolated-rows=disabled max-scan-range-rows=130.09K
mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
tuple-ids=11 row-size=12B cardinality=2.88M
in pipelines: 09(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=300.94MB Threads=33
Per-Host Resource Estimates: Memory=984MB
F24:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=22.00KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: customer_id, customer_first_name, customer_last_name
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
55:MERGING-EXCHANGE [UNPARTITIONED]
| order by: customer_id ASC
| limit: 100
| mem-estimate=22.00KB mem-reservation=0B thread-reservation=0
| tuple-ids=40 row-size=64B cardinality=100
| in pipelines: 31(GETNEXT)
|
F05:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Resources: mem-estimate=72.08MB mem-reservation=52.19MB thread-reservation=1 runtime-filters-memory=3.00MB
31:TOP-N [LIMIT=100]
| order by: customer_id ASC
| mem-estimate=6.25KB mem-reservation=0B thread-reservation=0
| tuple-ids=40 row-size=64B cardinality=100
| in pipelines: 31(GETNEXT), 36(OPEN)
|
30: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
| runtime filters: RF000[bloom] <- customer_id
| mem-estimate=8.50MB mem-reservation=8.50MB spill-buffer=512.00KB thread-reservation=0
| tuple-ids=18,8,28,38 row-size=212B cardinality=589.03K
| in pipelines: 36(GETNEXT), 53(OPEN)
|
|--54:EXCHANGE [BROADCAST]
| | mem-estimate=6.30MB mem-reservation=0B thread-reservation=0
| | tuple-ids=38 row-size=44B cardinality=148.00K
| | in pipelines: 53(GETNEXT)
| |
| F23:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Host Resources: mem-estimate=23.10MB mem-reservation=17.00MB thread-reservation=1
| 21:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=38 row-size=44B cardinality=148.00K
| | in pipelines: 53(GETNEXT)
| |
| 53:AGGREGATE [FINALIZE]
| | output: sum:merge(ws_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=37 row-size=84B cardinality=148.00K
| | in pipelines: 53(GETNEXT), 23(OPEN)
| |
| 52:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,d_year)]
| | mem-estimate=6.10MB mem-reservation=0B thread-reservation=0
| | tuple-ids=37 row-size=84B cardinality=148.00K
| | in pipelines: 23(GETNEXT)
| |
| F21:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| Per-Host Resources: mem-estimate=29.77MB mem-reservation=21.75MB thread-reservation=1
| 27:AGGREGATE [STREAMING]
| | output: sum(ws_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=37 row-size=84B cardinality=148.00K
| | in pipelines: 23(GETNEXT)
| |
| 26: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=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| | tuple-ids=35,36,34 row-size=88B cardinality=148.00K
| | in pipelines: 23(GETNEXT), 22(OPEN)
| |
| |--51:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=6.55MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=34 row-size=68B cardinality=100.00K
| | | in pipelines: 22(GETNEXT)
| | |
| | F20:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=64.00MB mem-reservation=4.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=64.00MB mem-reservation=4.00MB thread-reservation=1
| | tuple-ids=34 row-size=68B cardinality=100.00K
| | in pipelines: 22(GETNEXT)
| |
| 50:EXCHANGE [HASH(ws_bill_customer_sk)]
| | mem-estimate=1.47MB mem-reservation=0B thread-reservation=0
| | tuple-ids=35,36 row-size=20B cardinality=148.00K
| | in pipelines: 23(GETNEXT)
| |
| F18:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Host Resources: mem-estimate=98.95MB mem-reservation=10.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| 25: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: RF020[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=35,36 row-size=20B cardinality=148.00K
| | in pipelines: 23(GETNEXT), 24(OPEN)
| |
| |--49:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=36 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=36 row-size=8B cardinality=373
| | in pipelines: 24(GETNEXT)
| |
| 23:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF020[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=96.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=35 row-size=12B cardinality=719.38K
| in pipelines: 23(GETNEXT)
|
29:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| runtime filters: RF002[bloom] <- customer_id
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=18,8,28 row-size=168B cardinality=589.03K
| in pipelines: 36(GETNEXT), 47(OPEN)
|
|--48:EXCHANGE [BROADCAST]
| | mem-estimate=731.94KB mem-reservation=0B thread-reservation=0
| | tuple-ids=28 row-size=44B cardinality=14.80K
| | in pipelines: 47(GETNEXT)
| |
| F17:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Host Resources: mem-estimate=23.10MB mem-reservation=17.00MB thread-reservation=1
| 14:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=28 row-size=44B cardinality=14.80K
| | in pipelines: 47(GETNEXT)
| |
| 47:AGGREGATE [FINALIZE]
| | output: sum:merge(ws_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | having: sum(ws_net_paid) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=27 row-size=84B cardinality=14.80K
| | in pipelines: 47(GETNEXT), 16(OPEN)
| |
| 46:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,d_year)]
| | mem-estimate=6.10MB mem-reservation=0B thread-reservation=0
| | tuple-ids=27 row-size=84B cardinality=148.00K
| | in pipelines: 16(GETNEXT)
| |
| F15:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| Per-Host Resources: mem-estimate=30.77MB mem-reservation=22.75MB thread-reservation=1 runtime-filters-memory=1.00MB
| 20:AGGREGATE [STREAMING]
| | output: sum(ws_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=27 row-size=84B cardinality=148.00K
| | in pipelines: 16(GETNEXT)
| |
| 19:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash predicates: ws_bill_customer_sk = c_customer_sk
| | fk/pk conjuncts: ws_bill_customer_sk = 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
| | tuple-ids=25,26,24 row-size=88B cardinality=148.00K
| | in pipelines: 16(GETNEXT), 15(OPEN)
| |
| |--45:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=6.55MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=24 row-size=68B cardinality=100.00K
| | | in pipelines: 15(GETNEXT)
| | |
| | F14:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=65.00MB mem-reservation=5.00MB thread-reservation=2 runtime-filters-memory=1.00MB
| | 15:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.49MB
| | runtime filters: RF000[bloom] -> tpcds_parquet.customer.c_customer_id
| | stored statistics:
| | table: rows=100.00K size=5.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=100.00K
| | mem-estimate=64.00MB mem-reservation=4.00MB thread-reservation=1
| | tuple-ids=24 row-size=68B cardinality=100.00K
| | in pipelines: 15(GETNEXT)
| |
| 44:EXCHANGE [HASH(ws_bill_customer_sk)]
| | mem-estimate=1.47MB mem-reservation=0B thread-reservation=0
| | tuple-ids=25,26 row-size=20B cardinality=148.00K
| | in pipelines: 16(GETNEXT)
| |
| F12:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Host Resources: mem-estimate=99.95MB mem-reservation=11.94MB thread-reservation=2 runtime-filters-memory=2.00MB
| 18: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: RF016[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=25,26 row-size=20B cardinality=148.00K
| | in pipelines: 16(GETNEXT), 17(OPEN)
| |
| |--43:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=26 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=26 row-size=8B cardinality=373
| | in pipelines: 17(GETNEXT)
| |
| 16:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF016[bloom] -> ws_sold_date_sk, RF014[bloom] -> ws_bill_customer_sk
| stored statistics:
| table: rows=719.38K size=45.09MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=644.77K
| mem-estimate=96.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=25 row-size=12B cardinality=719.38K
| in pipelines: 16(GETNEXT)
|
28:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| runtime filters: RF004[bloom] <- customer_id
| mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| tuple-ids=18,8 row-size=124B cardinality=589.03K
| in pipelines: 36(GETNEXT), 41(OPEN)
|
|--42:EXCHANGE [BROADCAST]
| | mem-estimate=2.61MB mem-reservation=0B thread-reservation=0
| | tuple-ids=8 row-size=44B cardinality=58.90K
| | in pipelines: 41(GETNEXT)
| |
| F11:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=44.26MB mem-reservation=34.00MB thread-reservation=1
| 00:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=8 row-size=44B cardinality=58.90K
| | in pipelines: 41(GETNEXT)
| |
| 41:AGGREGATE [FINALIZE]
| | output: sum:merge(ss_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | having: sum(ss_net_paid) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=34.00MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0
| | tuple-ids=3 row-size=84B cardinality=58.90K
| | in pipelines: 41(GETNEXT), 02(OPEN)
| |
| 40:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,d_year)]
| | mem-estimate=10.26MB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=84B cardinality=589.03K
| | in pipelines: 02(GETNEXT)
| |
| F09:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=3
| Per-Host Resources: mem-estimate=50.13MB mem-reservation=39.75MB thread-reservation=1 runtime-filters-memory=1.00MB
| 06:AGGREGATE [STREAMING]
| | output: sum(ss_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | mem-estimate=34.00MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0
| | tuple-ids=3 row-size=84B cardinality=589.03K
| | 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=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| | tuple-ids=1,2,0 row-size=88B cardinality=589.03K
| | in pipelines: 02(GETNEXT), 01(OPEN)
| |
| |--39:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=6.55MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=0 row-size=68B cardinality=100.00K
| | | in pipelines: 01(GETNEXT)
| | |
| | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=66.00MB mem-reservation=6.00MB thread-reservation=2 runtime-filters-memory=2.00MB
| | 01:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.49MB
| | runtime filters: RF000[bloom] -> tpcds_parquet.customer.c_customer_id, RF002[bloom] -> tpcds_parquet.customer.c_customer_id
| | stored statistics:
| | table: rows=100.00K size=5.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=100.00K
| | mem-estimate=64.00MB mem-reservation=4.00MB thread-reservation=1
| | tuple-ids=0 row-size=68B cardinality=100.00K
| | in pipelines: 01(GETNEXT)
| |
| 38:EXCHANGE [HASH(ss_customer_sk)]
| | mem-estimate=3.83MB mem-reservation=0B thread-reservation=0
| | tuple-ids=1,2 row-size=20B cardinality=589.03K
| | in pipelines: 02(GETNEXT)
| |
| F06:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=35.95MB mem-reservation=4.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=20B cardinality=589.03K
| | in pipelines: 02(GETNEXT), 03(OPEN)
| |
| |--37:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=2 row-size=8B cardinality=373
| | | in pipelines: 03(GETNEXT)
| | |
| | F07: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=200.95MB
| runtime filters: RF012[bloom] -> ss_sold_date_sk, RF010[bloom] -> ss_customer_sk
| stored statistics:
| table: rows=2.88M size=200.95MB
| partitions: 1824/1824 rows=2.88M
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=130.09K
| mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| tuple-ids=1 row-size=12B cardinality=2.88M
| in pipelines: 02(GETNEXT)
|
07:UNION
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=18 row-size=80B cardinality=589.03K
| in pipelines: 36(GETNEXT)
|
36:AGGREGATE [FINALIZE]
| output: sum:merge(ss_net_paid)
| group by: c_customer_id, c_first_name, c_last_name, d_year
| mem-estimate=34.00MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0
| tuple-ids=13 row-size=84B cardinality=589.03K
| in pipelines: 36(GETNEXT), 09(OPEN)
|
35:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,d_year)]
| mem-estimate=10.26MB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=84B cardinality=589.03K
| in pipelines: 09(GETNEXT)
|
F03:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=3
Per-Host Resources: mem-estimate=50.13MB mem-reservation=39.75MB thread-reservation=1 runtime-filters-memory=1.00MB
13:AGGREGATE [STREAMING]
| output: sum(ss_net_paid)
| group by: c_customer_id, c_first_name, c_last_name, d_year
| mem-estimate=34.00MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0
| tuple-ids=13 row-size=84B cardinality=589.03K
| 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: RF006[bloom] <- c_customer_sk
| mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| tuple-ids=11,12,10 row-size=88B cardinality=589.03K
| in pipelines: 09(GETNEXT), 08(OPEN)
|
|--34:EXCHANGE [HASH(c_customer_sk)]
| | mem-estimate=6.55MB mem-reservation=0B thread-reservation=0
| | tuple-ids=10 row-size=68B cardinality=100.00K
| | in pipelines: 08(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=67.00MB mem-reservation=7.00MB thread-reservation=2 runtime-filters-memory=3.00MB
| 08:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| HDFS partitions=1/1 files=1 size=5.49MB
| runtime filters: RF000[bloom] -> tpcds_parquet.customer.c_customer_id, RF002[bloom] -> tpcds_parquet.customer.c_customer_id, RF004[bloom] -> tpcds_parquet.customer.c_customer_id
| stored statistics:
| table: rows=100.00K size=5.49MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=100.00K
| mem-estimate=64.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=10 row-size=68B cardinality=100.00K
| in pipelines: 08(GETNEXT)
|
33:EXCHANGE [HASH(ss_customer_sk)]
| mem-estimate=3.83MB mem-reservation=0B thread-reservation=0
| tuple-ids=11,12 row-size=20B cardinality=589.03K
| in pipelines: 09(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Resources: mem-estimate=35.95MB mem-reservation=4.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: RF008[bloom] <- d_date_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=11,12 row-size=20B cardinality=589.03K
| in pipelines: 09(GETNEXT), 10(OPEN)
|
|--32:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=12 row-size=8B cardinality=373
| | in pipelines: 10(GETNEXT)
| |
| F01: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=12 row-size=8B cardinality=373
| in pipelines: 10(GETNEXT)
|
09:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
HDFS partitions=1824/1824 files=1824 size=200.95MB
runtime filters: RF008[bloom] -> ss_sold_date_sk, RF006[bloom] -> ss_customer_sk
stored statistics:
table: rows=2.88M size=200.95MB
partitions: 1824/1824 rows=2.88M
columns: all
extrapolated-rows=disabled max-scan-range-rows=130.09K
mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
tuple-ids=11 row-size=12B cardinality=2.88M
in pipelines: 09(GETNEXT)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=333.88MB Threads=40
Per-Host Resource Estimates: Memory=674MB
F24:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=41.91KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: customer_id, customer_first_name, customer_last_name
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
55:MERGING-EXCHANGE [UNPARTITIONED]
| order by: customer_id ASC
| limit: 100
| mem-estimate=41.91KB mem-reservation=0B thread-reservation=0
| tuple-ids=40 row-size=64B cardinality=100
| in pipelines: 31(GETNEXT)
|
F05:PLAN FRAGMENT [RANDOM] hosts=3 instances=6
Per-Instance Resources: mem-estimate=27.52MB mem-reservation=17.00MB thread-reservation=1
31:TOP-N [LIMIT=100]
| order by: customer_id ASC
| mem-estimate=6.25KB mem-reservation=0B thread-reservation=0
| tuple-ids=40 row-size=64B cardinality=100
| in pipelines: 31(GETNEXT), 36(OPEN)
|
30: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=512.00KB thread-reservation=0
| tuple-ids=18,8,28,38 row-size=212B cardinality=589.03K
| in pipelines: 36(GETNEXT), 53(OPEN)
|
|--F25:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=24.30MB mem-reservation=18.00MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=00 plan-id=01 cohort-id=01
| | build expressions: customer_id
| | runtime filters: RF000[bloom] <- customer_id
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=512.00KB thread-reservation=0
| |
| 54:EXCHANGE [BROADCAST]
| | mem-estimate=6.30MB mem-reservation=0B thread-reservation=0
| | tuple-ids=38 row-size=44B cardinality=148.00K
| | in pipelines: 53(GETNEXT)
| |
| F23:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Instance Resources: mem-estimate=23.10MB mem-reservation=17.00MB thread-reservation=1
| 21:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=38 row-size=44B cardinality=148.00K
| | in pipelines: 53(GETNEXT)
| |
| 53:AGGREGATE [FINALIZE]
| | output: sum:merge(ws_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=37 row-size=84B cardinality=148.00K
| | in pipelines: 53(GETNEXT), 23(OPEN)
| |
| 52:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,d_year)]
| | mem-estimate=6.10MB mem-reservation=0B thread-reservation=0
| | tuple-ids=37 row-size=84B cardinality=148.00K
| | in pipelines: 23(GETNEXT)
| |
| F21:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| Per-Instance Resources: mem-estimate=18.47MB mem-reservation=17.00MB thread-reservation=1
| 27:AGGREGATE [STREAMING]
| | output: sum(ws_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=37 row-size=84B cardinality=148.00K
| | in pipelines: 23(GETNEXT)
| |
| 26: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=256.00KB thread-reservation=0
| | tuple-ids=35,36,34 row-size=88B cardinality=148.00K
| | in pipelines: 23(GETNEXT), 22(OPEN)
| |
| |--F26:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| | | Per-Instance Resources: mem-estimate=11.30MB mem-reservation=4.75MB thread-reservation=1
| | JOIN BUILD
| | | join-table-id=01 plan-id=02 cohort-id=02
| | | build expressions: c_customer_sk
| | | mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0
| | |
| | 51:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=6.55MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=34 row-size=68B cardinality=100.00K
| | | in pipelines: 22(GETNEXT)
| | |
| | F20:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=4.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=4.00MB thread-reservation=0
| | tuple-ids=34 row-size=68B cardinality=100.00K
| | in pipelines: 22(GETNEXT)
| |
| 50:EXCHANGE [HASH(ws_bill_customer_sk)]
| | mem-estimate=1.47MB mem-reservation=0B thread-reservation=0
| | tuple-ids=35,36 row-size=20B cardinality=148.00K
| | in pipelines: 23(GETNEXT)
| |
| F18: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=8.00MB thread-reservation=1
| 25: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=35,36 row-size=20B cardinality=148.00K
| | in pipelines: 23(GETNEXT), 24(OPEN)
| |
| |--F27: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: RF020[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 49:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=36 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=36 row-size=8B cardinality=373
| | in pipelines: 24(GETNEXT)
| |
| 23:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF020[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=8.00MB thread-reservation=0
| tuple-ids=35 row-size=12B cardinality=719.38K
| in pipelines: 23(GETNEXT)
|
29: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=18,8,28 row-size=168B cardinality=589.03K
| in pipelines: 36(GETNEXT), 47(OPEN)
|
|--F28:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=5.59MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=03 plan-id=04 cohort-id=01
| | build expressions: customer_id
| | runtime filters: RF002[bloom] <- customer_id
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 48:EXCHANGE [BROADCAST]
| | mem-estimate=731.94KB mem-reservation=0B thread-reservation=0
| | tuple-ids=28 row-size=44B cardinality=14.80K
| | in pipelines: 47(GETNEXT)
| |
| F17:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Instance Resources: mem-estimate=23.10MB mem-reservation=17.00MB thread-reservation=1
| 14:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=28 row-size=44B cardinality=14.80K
| | in pipelines: 47(GETNEXT)
| |
| 47:AGGREGATE [FINALIZE]
| | output: sum:merge(ws_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | having: sum(ws_net_paid) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=27 row-size=84B cardinality=14.80K
| | in pipelines: 47(GETNEXT), 16(OPEN)
| |
| 46:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,d_year)]
| | mem-estimate=6.10MB mem-reservation=0B thread-reservation=0
| | tuple-ids=27 row-size=84B cardinality=148.00K
| | in pipelines: 16(GETNEXT)
| |
| F15:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| Per-Instance Resources: mem-estimate=18.47MB mem-reservation=17.00MB thread-reservation=1
| 20:AGGREGATE [STREAMING]
| | output: sum(ws_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=27 row-size=84B cardinality=148.00K
| | in pipelines: 16(GETNEXT)
| |
| 19: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=256.00KB thread-reservation=0
| | tuple-ids=25,26,24 row-size=88B cardinality=148.00K
| | in pipelines: 16(GETNEXT), 15(OPEN)
| |
| |--F29:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2
| | | Per-Instance Resources: mem-estimate=12.30MB mem-reservation=5.75MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=04 plan-id=05 cohort-id=03
| | | 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
| | |
| | 45:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=6.55MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=24 row-size=68B cardinality=100.00K
| | | in pipelines: 15(GETNEXT)
| | |
| | F14:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-reservation=0 runtime-filters-memory=1.00MB
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=4.00MB thread-reservation=1
| | 15:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.49MB
| | runtime filters: RF000[bloom] -> tpcds_parquet.customer.c_customer_id
| | stored statistics:
| | table: rows=100.00K size=5.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=100.00K
| | mem-estimate=16.00MB mem-reservation=4.00MB thread-reservation=0
| | tuple-ids=24 row-size=68B cardinality=100.00K
| | in pipelines: 15(GETNEXT)
| |
| 44:EXCHANGE [HASH(ws_bill_customer_sk)]
| | mem-estimate=1.47MB mem-reservation=0B thread-reservation=0
| | tuple-ids=25,26 row-size=20B cardinality=148.00K
| | in pipelines: 16(GETNEXT)
| |
| F12:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| 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=32.00MB mem-reservation=8.00MB thread-reservation=1
| 18: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=25,26 row-size=20B cardinality=148.00K
| | in pipelines: 16(GETNEXT), 17(OPEN)
| |
| |--F30: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: RF016[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 43:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=26 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=26 row-size=8B cardinality=373
| | in pipelines: 17(GETNEXT)
| |
| 16:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF016[bloom] -> ws_sold_date_sk, RF014[bloom] -> ws_bill_customer_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=8.00MB thread-reservation=0
| tuple-ids=25 row-size=12B cardinality=719.38K
| in pipelines: 16(GETNEXT)
|
28:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=06
| hash predicates: customer_id = customer_id
| fk/pk conjuncts: assumed fk/pk
| mem-estimate=0B mem-reservation=0B spill-buffer=256.00KB thread-reservation=0
| tuple-ids=18,8 row-size=124B cardinality=589.03K
| in pipelines: 36(GETNEXT), 41(OPEN)
|
|--F31:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=13.25MB mem-reservation=10.50MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=06 plan-id=07 cohort-id=01
| | build expressions: customer_id
| | runtime filters: RF004[bloom] <- customer_id
| | mem-estimate=9.50MB mem-reservation=9.50MB spill-buffer=256.00KB thread-reservation=0
| |
| 42:EXCHANGE [BROADCAST]
| | mem-estimate=2.75MB mem-reservation=0B thread-reservation=0
| | tuple-ids=8 row-size=44B cardinality=58.90K
| | in pipelines: 41(GETNEXT)
| |
| F11:PLAN FRAGMENT [RANDOM] hosts=3 instances=6
| Per-Instance Resources: mem-estimate=27.52MB mem-reservation=17.00MB thread-reservation=1
| 00:UNION
| | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | tuple-ids=8 row-size=44B cardinality=58.90K
| | in pipelines: 41(GETNEXT)
| |
| 41:AGGREGATE [FINALIZE]
| | output: sum:merge(ss_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | having: sum(ss_net_paid) > CAST(0 AS DECIMAL(3,0))
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=3 row-size=84B cardinality=58.90K
| | in pipelines: 41(GETNEXT), 02(OPEN)
| |
| 40:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,d_year)]
| | mem-estimate=10.52MB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=84B cardinality=589.03K
| | in pipelines: 02(GETNEXT)
| |
| F09:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
| Per-Instance Resources: mem-estimate=20.91MB mem-reservation=17.00MB thread-reservation=1
| 06:AGGREGATE [STREAMING]
| | output: sum(ss_net_paid)
| | group by: c_customer_id, c_first_name, c_last_name, d_year
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| | tuple-ids=3 row-size=84B cardinality=589.03K
| | in pipelines: 02(GETNEXT)
| |
| 05:HASH JOIN [INNER JOIN, PARTITIONED]
| | hash-table-id=07
| | 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=128.00KB thread-reservation=0
| | tuple-ids=1,2,0 row-size=88B cardinality=589.03K
| | in pipelines: 02(GETNEXT), 01(OPEN)
| |
| |--F32:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
| | | Per-Instance Resources: mem-estimate=10.43MB mem-reservation=3.88MB 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: RF010[bloom] <- c_customer_sk
| | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | |
| | 39:EXCHANGE [HASH(c_customer_sk)]
| | | mem-estimate=6.55MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=0 row-size=68B cardinality=100.00K
| | | in pipelines: 01(GETNEXT)
| | |
| | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=4.00MB thread-reservation=1
| | 01:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.49MB
| | runtime filters: RF000[bloom] -> tpcds_parquet.customer.c_customer_id, RF002[bloom] -> tpcds_parquet.customer.c_customer_id
| | stored statistics:
| | table: rows=100.00K size=5.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=100.00K
| | mem-estimate=16.00MB mem-reservation=4.00MB thread-reservation=0
| | tuple-ids=0 row-size=68B cardinality=100.00K
| | in pipelines: 01(GETNEXT)
| |
| 38:EXCHANGE [HASH(ss_customer_sk)]
| | mem-estimate=3.91MB mem-reservation=0B thread-reservation=0
| | tuple-ids=1,2 row-size=20B cardinality=589.03K
| | in pipelines: 02(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=1.00MB thread-reservation=1
| 04:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=08
| | 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=20B cardinality=589.03K
| | in pipelines: 02(GETNEXT), 03(OPEN)
| |
| |--F33: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: RF012[bloom] <- d_date_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 37:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=2 row-size=8B cardinality=373
| | | in pipelines: 03(GETNEXT)
| | |
| | F07: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=200.95MB
| runtime filters: RF012[bloom] -> ss_sold_date_sk, RF010[bloom] -> ss_customer_sk
| stored statistics:
| table: rows=2.88M size=200.95MB
| partitions: 1824/1824 rows=2.88M
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=130.09K
| mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| tuple-ids=1 row-size=12B cardinality=2.88M
| in pipelines: 02(GETNEXT)
|
07:UNION
| mem-estimate=0B mem-reservation=0B thread-reservation=0
| tuple-ids=18 row-size=80B cardinality=589.03K
| in pipelines: 36(GETNEXT)
|
36:AGGREGATE [FINALIZE]
| output: sum:merge(ss_net_paid)
| group by: c_customer_id, c_first_name, c_last_name, d_year
| mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| tuple-ids=13 row-size=84B cardinality=589.03K
| in pipelines: 36(GETNEXT), 09(OPEN)
|
35:EXCHANGE [HASH(c_customer_id,c_first_name,c_last_name,d_year)]
| mem-estimate=10.52MB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=84B cardinality=589.03K
| in pipelines: 09(GETNEXT)
|
F03:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
Per-Instance Resources: mem-estimate=20.91MB mem-reservation=17.00MB thread-reservation=1
13:AGGREGATE [STREAMING]
| output: sum(ss_net_paid)
| group by: c_customer_id, c_first_name, c_last_name, d_year
| mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0
| tuple-ids=13 row-size=84B cardinality=589.03K
| in pipelines: 09(GETNEXT)
|
12:HASH JOIN [INNER JOIN, PARTITIONED]
| hash-table-id=09
| 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=128.00KB thread-reservation=0
| tuple-ids=11,12,10 row-size=88B cardinality=589.03K
| in pipelines: 09(GETNEXT), 08(OPEN)
|
|--F34:PLAN FRAGMENT [HASH(ss_customer_sk)] hosts=3 instances=6
| | Per-Instance Resources: mem-estimate=10.43MB mem-reservation=3.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=09 plan-id=10 cohort-id=01
| | build expressions: c_customer_sk
| | runtime filters: RF006[bloom] <- c_customer_sk
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| |
| 34:EXCHANGE [HASH(c_customer_sk)]
| | mem-estimate=6.55MB mem-reservation=0B thread-reservation=0
| | tuple-ids=10 row-size=68B cardinality=100.00K
| | in pipelines: 08(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Shared Resources: mem-estimate=3.00MB mem-reservation=3.00MB thread-reservation=0 runtime-filters-memory=3.00MB
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=4.00MB thread-reservation=1
| 08:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| HDFS partitions=1/1 files=1 size=5.49MB
| runtime filters: RF000[bloom] -> tpcds_parquet.customer.c_customer_id, RF002[bloom] -> tpcds_parquet.customer.c_customer_id, RF004[bloom] -> tpcds_parquet.customer.c_customer_id
| stored statistics:
| table: rows=100.00K size=5.49MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=100.00K
| mem-estimate=16.00MB mem-reservation=4.00MB thread-reservation=0
| tuple-ids=10 row-size=68B cardinality=100.00K
| in pipelines: 08(GETNEXT)
|
33:EXCHANGE [HASH(ss_customer_sk)]
| mem-estimate=3.91MB mem-reservation=0B thread-reservation=0
| tuple-ids=11,12 row-size=20B cardinality=589.03K
| in pipelines: 09(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=1.00MB thread-reservation=1
11:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=10
| 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=11,12 row-size=20B cardinality=589.03K
| in pipelines: 09(GETNEXT), 10(OPEN)
|
|--F35: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=10 plan-id=11 cohort-id=01
| | build expressions: d_date_sk
| | runtime filters: RF008[bloom] <- d_date_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 32:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=12 row-size=8B cardinality=373
| | in pipelines: 10(GETNEXT)
| |
| F01: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=12 row-size=8B cardinality=373
| in pipelines: 10(GETNEXT)
|
09:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
HDFS partitions=1824/1824 files=1824 size=200.95MB
runtime filters: RF008[bloom] -> ss_sold_date_sk, RF006[bloom] -> ss_customer_sk
stored statistics:
table: rows=2.88M size=200.95MB
partitions: 1824/1824 rows=2.88M
columns: all
extrapolated-rows=disabled max-scan-range-rows=130.09K
mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
tuple-ids=11 row-size=12B cardinality=2.88M
in pipelines: 09(GETNEXT)
====