blob: 516a58f22aefe969007f866360062ac89ea4f77d [file] [log] [blame]
# TPCDS-Q58
WITH ss_items AS
(SELECT i_item_id item_id,
sum(ss_ext_sales_price) ss_item_rev
FROM store_sales,
item,
date_dim
WHERE ss_item_sk = i_item_sk
AND d_date IN
(SELECT d_date
FROM date_dim
WHERE d_week_seq =
(SELECT d_week_seq
FROM date_dim
WHERE d_date = '2000-01-03'))
AND ss_sold_date_sk = d_date_sk
GROUP BY i_item_id),
cs_items AS
(SELECT i_item_id item_id,
sum(cs_ext_sales_price) cs_item_rev
FROM catalog_sales,
item,
date_dim
WHERE cs_item_sk = i_item_sk
AND d_date IN
(SELECT d_date
FROM date_dim
WHERE d_week_seq =
(SELECT d_week_seq
FROM date_dim
WHERE d_date = '2000-01-03'))
AND cs_sold_date_sk = d_date_sk
GROUP BY i_item_id),
ws_items AS
(SELECT i_item_id item_id,
sum(ws_ext_sales_price) ws_item_rev
FROM web_sales,
item,
date_dim
WHERE ws_item_sk = i_item_sk
AND d_date IN
(SELECT d_date
FROM date_dim
WHERE d_week_seq =
(SELECT d_week_seq
FROM date_dim
WHERE d_date = '2000-01-03'))
AND ws_sold_date_sk = d_date_sk
GROUP BY i_item_id)
SELECT ss_items.item_id,
ss_item_rev,
ss_item_rev/((ss_item_rev+cs_item_rev+ws_item_rev)/3) * 100 ss_dev,
cs_item_rev,
cs_item_rev/((ss_item_rev+cs_item_rev+ws_item_rev)/3) * 100 cs_dev,
ws_item_rev,
ws_item_rev/((ss_item_rev+cs_item_rev+ws_item_rev)/3) * 100 ws_dev,
(ss_item_rev+cs_item_rev+ws_item_rev)/3 average
FROM ss_items,
cs_items,
ws_items
WHERE ss_items.item_id=cs_items.item_id
AND ss_items.item_id=ws_items.item_id
AND ss_item_rev BETWEEN 0.9 * cs_item_rev AND 1.1 * cs_item_rev
AND ss_item_rev BETWEEN 0.9 * ws_item_rev AND 1.1 * ws_item_rev
AND cs_item_rev BETWEEN 0.9 * ss_item_rev AND 1.1 * ss_item_rev
AND cs_item_rev BETWEEN 0.9 * ws_item_rev AND 1.1 * ws_item_rev
AND ws_item_rev BETWEEN 0.9 * ss_item_rev AND 1.1 * ss_item_rev
AND ws_item_rev BETWEEN 0.9 * cs_item_rev AND 1.1 * cs_item_rev
ORDER BY ss_items.item_id,
ss_item_rev
LIMIT 100;
---- PLAN
Max Per-Host Resource Reservation: Memory=60.56MB Threads=16
Per-Host Resource Estimates: Memory=680MB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=680.44MB mem-reservation=60.56MB thread-reservation=16 runtime-filters-memory=10.00MB
PLAN-ROOT SINK
| output exprs: item_id, ss_item_rev, ss_item_rev / ((ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))) * CAST(100 AS DECIMAL(3,0)), cs_item_rev, cs_item_rev / ((ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))) * CAST(100 AS DECIMAL(3,0)), ws_item_rev, ws_item_rev / ((ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))) * CAST(100 AS DECIMAL(3,0)), (ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
35:TOP-N [LIMIT=100]
| order by: item_id ASC, ss_item_rev ASC
| mem-estimate=7.42KB mem-reservation=0B thread-reservation=0
| tuple-ids=27 row-size=76B cardinality=100
| in pipelines: 35(GETNEXT), 10(OPEN)
|
34:HASH JOIN [INNER JOIN]
| hash predicates: i_item_id = i_item_id
| fk/pk conjuncts: none
| other predicates: sum(cs_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ss_ext_sales_price), sum(cs_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ws_ext_sales_price), sum(cs_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ss_ext_sales_price), sum(cs_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ws_ext_sales_price), sum(ss_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(cs_ext_sales_price), sum(ss_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(cs_ext_sales_price), sum(ws_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(cs_ext_sales_price), sum(ws_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(cs_ext_sales_price)
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7,25,16 row-size=132B cardinality=281
| in pipelines: 10(GETNEXT), 21(OPEN)
|
|--21:AGGREGATE [FINALIZE]
| | output: sum(cs_ext_sales_price)
| | group by: i_item_id
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=16 row-size=44B cardinality=138
| | in pipelines: 21(GETNEXT), 11(OPEN)
| |
| 20:HASH JOIN [LEFT SEMI JOIN]
| | hash predicates: d_date = d_date
| | runtime filters: RF020[bloom] <- d_date
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=9,10,11 row-size=78B cardinality=138
| | in pipelines: 11(GETNEXT), 14(OPEN)
| |
| |--17:HASH JOIN [LEFT SEMI JOIN]
| | | hash predicates: d_week_seq = d_week_seq
| | | runtime filters: RF026[bloom] <- d_week_seq
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=12 row-size=26B cardinality=7
| | | in pipelines: 14(GETNEXT), 16(OPEN)
| | |
| | |--16:CARDINALITY CHECK
| | | | limit: 1
| | | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | | tuple-ids=13 row-size=26B cardinality=1
| | | | in pipelines: 16(GETNEXT), 15(OPEN)
| | | |
| | | 15:SCAN HDFS [tpcds_parquet.date_dim]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_date = '2000-01-03'
| | | stored statistics:
| | | table: rows=73.05K size=2.15MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | | parquet statistics predicates: d_date = '2000-01-03'
| | | parquet dictionary predicates: d_date = '2000-01-03'
| | | limit: 2
| | | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | | tuple-ids=13 row-size=26B cardinality=1
| | | in pipelines: 15(GETNEXT)
| | |
| | 14:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF026[bloom] -> d_week_seq
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=12 row-size=26B cardinality=73.05K
| | in pipelines: 14(GETNEXT)
| |
| 19:HASH JOIN [INNER JOIN]
| | hash predicates: cs_sold_date_sk = d_date_sk
| | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | tuple-ids=9,10,11 row-size=78B cardinality=1.44M
| | in pipelines: 11(GETNEXT), 13(OPEN)
| |
| |--13:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF020[bloom] -> d_date
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=11 row-size=26B cardinality=73.05K
| | in pipelines: 13(GETNEXT)
| |
| 18:HASH JOIN [INNER JOIN]
| | hash predicates: cs_item_sk = i_item_sk
| | fk/pk conjuncts: cs_item_sk = i_item_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=9,10 row-size=52B cardinality=1.44M
| | in pipelines: 11(GETNEXT), 12(OPEN)
| |
| |--12:SCAN HDFS [tpcds_parquet.item]
| | HDFS partitions=1/1 files=1 size=1.73MB
| | stored statistics:
| | table: rows=18.00K size=1.73MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=18.00K
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=10 row-size=36B cardinality=18.00K
| | in pipelines: 12(GETNEXT)
| |
| 11:SCAN HDFS [tpcds_parquet.catalog_sales]
| HDFS partitions=1/1 files=3 size=96.62MB
| stored statistics:
| table: rows=1.44M size=96.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=650.14K
| mem-estimate=144.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=9 row-size=16B cardinality=1.44M
| in pipelines: 11(GETNEXT)
|
33:HASH JOIN [INNER JOIN]
| hash predicates: i_item_id = i_item_id
| fk/pk conjuncts: none
| other predicates: sum(ss_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ws_ext_sales_price), sum(ss_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ws_ext_sales_price), sum(ws_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ss_ext_sales_price), sum(ws_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ss_ext_sales_price)
| runtime filters: RF002[bloom] <- i_item_id
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7,25 row-size=88B cardinality=140
| in pipelines: 10(GETNEXT), 32(OPEN)
|
|--32:AGGREGATE [FINALIZE]
| | output: sum(ws_ext_sales_price)
| | group by: i_item_id
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=25 row-size=44B cardinality=69
| | in pipelines: 32(GETNEXT), 22(OPEN)
| |
| 31:HASH JOIN [LEFT SEMI JOIN]
| | hash predicates: d_date = d_date
| | runtime filters: RF012[bloom] <- d_date
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=18,19,20 row-size=78B cardinality=69
| | in pipelines: 22(GETNEXT), 25(OPEN)
| |
| |--28:HASH JOIN [LEFT SEMI JOIN]
| | | hash predicates: d_week_seq = d_week_seq
| | | runtime filters: RF018[bloom] <- d_week_seq
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=21 row-size=26B cardinality=7
| | | in pipelines: 25(GETNEXT), 27(OPEN)
| | |
| | |--27:CARDINALITY CHECK
| | | | limit: 1
| | | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | | tuple-ids=22 row-size=26B cardinality=1
| | | | in pipelines: 27(GETNEXT), 26(OPEN)
| | | |
| | | 26:SCAN HDFS [tpcds_parquet.date_dim]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_date = '2000-01-03'
| | | stored statistics:
| | | table: rows=73.05K size=2.15MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | | parquet statistics predicates: d_date = '2000-01-03'
| | | parquet dictionary predicates: d_date = '2000-01-03'
| | | limit: 2
| | | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | | tuple-ids=22 row-size=26B cardinality=1
| | | in pipelines: 26(GETNEXT)
| | |
| | 25:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF018[bloom] -> d_week_seq
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=21 row-size=26B cardinality=73.05K
| | in pipelines: 25(GETNEXT)
| |
| 30: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: RF014[bloom] <- d_date_sk
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | tuple-ids=18,19,20 row-size=78B cardinality=719.38K
| | in pipelines: 22(GETNEXT), 24(OPEN)
| |
| |--24:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF012[bloom] -> d_date
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=20 row-size=26B cardinality=73.05K
| | in pipelines: 24(GETNEXT)
| |
| 29:HASH JOIN [INNER JOIN]
| | hash predicates: ws_item_sk = i_item_sk
| | fk/pk conjuncts: ws_item_sk = i_item_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=18,19 row-size=52B cardinality=719.38K
| | in pipelines: 22(GETNEXT), 23(OPEN)
| |
| |--23:SCAN HDFS [tpcds_parquet.item]
| | HDFS partitions=1/1 files=1 size=1.73MB
| | stored statistics:
| | table: rows=18.00K size=1.73MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=18.00K
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=19 row-size=36B cardinality=18.00K
| | in pipelines: 23(GETNEXT)
| |
| 22:SCAN HDFS [tpcds_parquet.web_sales]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF014[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=18 row-size=16B cardinality=719.38K
| in pipelines: 22(GETNEXT)
|
10:AGGREGATE [FINALIZE]
| output: sum(ss_ext_sales_price)
| group by: i_item_id
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7 row-size=44B cardinality=276
| in pipelines: 10(GETNEXT), 00(OPEN)
|
09:HASH JOIN [LEFT SEMI JOIN]
| hash predicates: d_date = d_date
| runtime filters: RF004[bloom] <- d_date
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,1,2 row-size=78B cardinality=276
| in pipelines: 00(GETNEXT), 03(OPEN)
|
|--06:HASH JOIN [LEFT SEMI JOIN]
| | hash predicates: d_week_seq = d_week_seq
| | runtime filters: RF010[bloom] <- d_week_seq
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=3 row-size=26B cardinality=7
| | in pipelines: 03(GETNEXT), 05(OPEN)
| |
| |--05:CARDINALITY CHECK
| | | limit: 1
| | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=26B cardinality=1
| | | in pipelines: 05(GETNEXT), 04(OPEN)
| | |
| | 04:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_date = '2000-01-03'
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_date = '2000-01-03'
| | parquet dictionary predicates: d_date = '2000-01-03'
| | limit: 2
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=4 row-size=26B cardinality=1
| | in pipelines: 04(GETNEXT)
| |
| 03:SCAN HDFS [tpcds_parquet.date_dim]
| HDFS partitions=1/1 files=1 size=2.15MB
| runtime filters: RF010[bloom] -> d_week_seq
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| tuple-ids=3 row-size=26B cardinality=73.05K
| in pipelines: 03(GETNEXT)
|
08: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: RF006[bloom] <- d_date_sk
| mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| tuple-ids=0,1,2 row-size=78B cardinality=2.88M
| in pipelines: 00(GETNEXT), 02(OPEN)
|
|--02:SCAN HDFS [tpcds_parquet.date_dim]
| HDFS partitions=1/1 files=1 size=2.15MB
| runtime filters: RF004[bloom] -> d_date
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| tuple-ids=2 row-size=26B cardinality=73.05K
| in pipelines: 02(GETNEXT)
|
07:HASH JOIN [INNER JOIN]
| hash predicates: ss_item_sk = i_item_sk
| fk/pk conjuncts: ss_item_sk = i_item_sk
| runtime filters: RF008[bloom] <- i_item_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,1 row-size=52B cardinality=2.88M
| in pipelines: 00(GETNEXT), 01(OPEN)
|
|--01:SCAN HDFS [tpcds_parquet.item]
| HDFS partitions=1/1 files=1 size=1.73MB
| runtime filters: RF002[bloom] -> tpcds_parquet.item.i_item_id
| stored statistics:
| table: rows=18.00K size=1.73MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=18.00K
| mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=1 row-size=36B cardinality=18.00K
| in pipelines: 01(GETNEXT)
|
00:SCAN HDFS [tpcds_parquet.store_sales]
HDFS partitions=1824/1824 files=1824 size=201.02MB
runtime filters: RF006[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_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=32.00MB mem-reservation=1.00MB thread-reservation=1
tuple-ids=0 row-size=16B cardinality=2.88M
in pipelines: 00(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=83.25MB Threads=35
Per-Host Resource Estimates: Memory=768MB
F21:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=25.91KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: item_id, ss_item_rev, ss_item_rev / ((ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))) * CAST(100 AS DECIMAL(3,0)), cs_item_rev, cs_item_rev / ((ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))) * CAST(100 AS DECIMAL(3,0)), ws_item_rev, ws_item_rev / ((ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))) * CAST(100 AS DECIMAL(3,0)), (ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
57:MERGING-EXCHANGE [UNPARTITIONED]
| order by: item_id ASC, ss_item_rev ASC
| limit: 100
| mem-estimate=25.91KB mem-reservation=0B thread-reservation=0
| tuple-ids=27 row-size=76B cardinality=100
| in pipelines: 35(GETNEXT)
|
F06:PLAN FRAGMENT [HASH(i_item_id)] hosts=3 instances=3
Per-Host Resources: mem-estimate=34.92MB mem-reservation=10.69MB thread-reservation=1 runtime-filters-memory=1.00MB
35:TOP-N [LIMIT=100]
| order by: item_id ASC, ss_item_rev ASC
| mem-estimate=7.42KB mem-reservation=0B thread-reservation=0
| tuple-ids=27 row-size=76B cardinality=100
| in pipelines: 35(GETNEXT), 42(OPEN)
|
34:HASH JOIN [INNER JOIN, PARTITIONED]
| hash predicates: i_item_id = i_item_id
| fk/pk conjuncts: none
| other predicates: sum(cs_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ss_ext_sales_price), sum(cs_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ws_ext_sales_price), sum(cs_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ss_ext_sales_price), sum(cs_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ws_ext_sales_price), sum(ss_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(cs_ext_sales_price), sum(ss_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(cs_ext_sales_price), sum(ws_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(cs_ext_sales_price), sum(ws_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(cs_ext_sales_price)
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7,25,16 row-size=132B cardinality=281
| in pipelines: 42(GETNEXT), 56(OPEN)
|
|--56:AGGREGATE [FINALIZE]
| | output: sum:merge(cs_ext_sales_price)
| | group by: i_item_id
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=16 row-size=44B cardinality=138
| | in pipelines: 56(GETNEXT), 11(OPEN)
| |
| 55:EXCHANGE [HASH(i_item_id)]
| | mem-estimate=21.38KB mem-reservation=0B thread-reservation=0
| | tuple-ids=16 row-size=44B cardinality=138
| | in pipelines: 11(GETNEXT)
| |
| F14:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=164.26MB mem-reservation=17.75MB thread-reservation=2 runtime-filters-memory=1.00MB
| 21:AGGREGATE [STREAMING]
| | output: sum(cs_ext_sales_price)
| | group by: i_item_id
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=16 row-size=44B cardinality=138
| | in pipelines: 11(GETNEXT)
| |
| 20:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| | hash predicates: d_date = d_date
| | runtime filters: RF020[bloom] <- d_date
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=9,10,11 row-size=78B cardinality=138
| | in pipelines: 11(GETNEXT), 14(OPEN)
| |
| |--54:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=12 row-size=26B cardinality=7
| | | in pipelines: 14(GETNEXT)
| | |
| | F17:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=34.95MB mem-reservation=3.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| | 17:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| | | hash predicates: d_week_seq = d_week_seq
| | | runtime filters: RF026[bloom] <- d_week_seq
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=12 row-size=26B cardinality=7
| | | in pipelines: 14(GETNEXT), 16(OPEN)
| | |
| | |--53:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=13 row-size=26B cardinality=1
| | | | in pipelines: 16(GETNEXT)
| | | |
| | | F19:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| | | Per-Host Resources: mem-estimate=16.00KB mem-reservation=0B thread-reservation=1
| | | 16:CARDINALITY CHECK
| | | | limit: 1
| | | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | | tuple-ids=13 row-size=26B cardinality=1
| | | | in pipelines: 16(GETNEXT), 15(OPEN)
| | | |
| | | 52:EXCHANGE [UNPARTITIONED]
| | | | limit: 2
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=13 row-size=26B cardinality=1
| | | | in pipelines: 15(GETNEXT)
| | | |
| | | F18:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Host Resources: mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=2
| | | 15:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_date = '2000-01-03'
| | | stored statistics:
| | | table: rows=73.05K size=2.15MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | | parquet statistics predicates: d_date = '2000-01-03'
| | | parquet dictionary predicates: d_date = '2000-01-03'
| | | limit: 2
| | | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | | tuple-ids=13 row-size=26B cardinality=1
| | | in pipelines: 15(GETNEXT)
| | |
| | 14:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF026[bloom] -> d_week_seq
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=12 row-size=26B cardinality=73.05K
| | in pipelines: 14(GETNEXT)
| |
| 19:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: cs_sold_date_sk = d_date_sk
| | fk/pk conjuncts: cs_sold_date_sk = d_date_sk
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | tuple-ids=9,10,11 row-size=78B cardinality=1.44M
| | in pipelines: 11(GETNEXT), 13(OPEN)
| |
| |--51:EXCHANGE [BROADCAST]
| | | mem-estimate=1.84MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=11 row-size=26B cardinality=73.05K
| | | in pipelines: 13(GETNEXT)
| | |
| | F16:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=33.00MB mem-reservation=2.00MB thread-reservation=2 runtime-filters-memory=1.00MB
| | 13:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF020[bloom] -> d_date
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=11 row-size=26B cardinality=73.05K
| | in pipelines: 13(GETNEXT)
| |
| 18:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: cs_item_sk = i_item_sk
| | fk/pk conjuncts: cs_item_sk = i_item_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=9,10 row-size=52B cardinality=1.44M
| | in pipelines: 11(GETNEXT), 12(OPEN)
| |
| |--50:EXCHANGE [BROADCAST]
| | | mem-estimate=672.81KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=10 row-size=36B cardinality=18.00K
| | | in pipelines: 12(GETNEXT)
| | |
| | F15:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2
| | 12:SCAN HDFS [tpcds_parquet.item, RANDOM]
| | HDFS partitions=1/1 files=1 size=1.73MB
| | stored statistics:
| | table: rows=18.00K size=1.73MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=18.00K
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=10 row-size=36B cardinality=18.00K
| | in pipelines: 12(GETNEXT)
| |
| 11:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM]
| HDFS partitions=1/1 files=3 size=96.62MB
| stored statistics:
| table: rows=1.44M size=96.62MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=650.14K
| mem-estimate=144.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=9 row-size=16B cardinality=1.44M
| in pipelines: 11(GETNEXT)
|
33:HASH JOIN [INNER JOIN, PARTITIONED]
| hash predicates: i_item_id = i_item_id
| fk/pk conjuncts: none
| other predicates: sum(ss_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ws_ext_sales_price), sum(ss_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ws_ext_sales_price), sum(ws_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ss_ext_sales_price), sum(ws_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ss_ext_sales_price)
| runtime filters: RF002[bloom] <- i_item_id
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7,25 row-size=88B cardinality=140
| in pipelines: 42(GETNEXT), 49(OPEN)
|
|--49:AGGREGATE [FINALIZE]
| | output: sum:merge(ws_ext_sales_price)
| | group by: i_item_id
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=25 row-size=44B cardinality=69
| | in pipelines: 49(GETNEXT), 22(OPEN)
| |
| 48:EXCHANGE [HASH(i_item_id)]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=25 row-size=44B cardinality=69
| | in pipelines: 22(GETNEXT)
| |
| F07:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| Per-Host Resources: mem-estimate=117.26MB mem-reservation=18.75MB thread-reservation=2 runtime-filters-memory=2.00MB
| 32:AGGREGATE [STREAMING]
| | output: sum(ws_ext_sales_price)
| | group by: i_item_id
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=25 row-size=44B cardinality=69
| | in pipelines: 22(GETNEXT)
| |
| 31:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| | hash predicates: d_date = d_date
| | runtime filters: RF012[bloom] <- d_date
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=18,19,20 row-size=78B cardinality=69
| | in pipelines: 22(GETNEXT), 25(OPEN)
| |
| |--47:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=21 row-size=26B cardinality=7
| | | in pipelines: 25(GETNEXT)
| | |
| | F10:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=34.95MB mem-reservation=3.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| | 28:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| | | hash predicates: d_week_seq = d_week_seq
| | | runtime filters: RF018[bloom] <- d_week_seq
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=21 row-size=26B cardinality=7
| | | in pipelines: 25(GETNEXT), 27(OPEN)
| | |
| | |--46:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=22 row-size=26B cardinality=1
| | | | in pipelines: 27(GETNEXT)
| | | |
| | | F12:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| | | Per-Host Resources: mem-estimate=16.00KB mem-reservation=0B thread-reservation=1
| | | 27:CARDINALITY CHECK
| | | | limit: 1
| | | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | | tuple-ids=22 row-size=26B cardinality=1
| | | | in pipelines: 27(GETNEXT), 26(OPEN)
| | | |
| | | 45:EXCHANGE [UNPARTITIONED]
| | | | limit: 2
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=22 row-size=26B cardinality=1
| | | | in pipelines: 26(GETNEXT)
| | | |
| | | F11:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Host Resources: mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=2
| | | 26:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_date = '2000-01-03'
| | | stored statistics:
| | | table: rows=73.05K size=2.15MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | | parquet statistics predicates: d_date = '2000-01-03'
| | | parquet dictionary predicates: d_date = '2000-01-03'
| | | limit: 2
| | | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | | tuple-ids=22 row-size=26B cardinality=1
| | | in pipelines: 26(GETNEXT)
| | |
| | 25:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF018[bloom] -> d_week_seq
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=21 row-size=26B cardinality=73.05K
| | in pipelines: 25(GETNEXT)
| |
| 30: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: RF014[bloom] <- d_date_sk
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | tuple-ids=18,19,20 row-size=78B cardinality=719.38K
| | in pipelines: 22(GETNEXT), 24(OPEN)
| |
| |--44:EXCHANGE [BROADCAST]
| | | mem-estimate=1.84MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=20 row-size=26B cardinality=73.05K
| | | in pipelines: 24(GETNEXT)
| | |
| | F09:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=33.00MB mem-reservation=2.00MB thread-reservation=2 runtime-filters-memory=1.00MB
| | 24:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF012[bloom] -> d_date
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=20 row-size=26B cardinality=73.05K
| | in pipelines: 24(GETNEXT)
| |
| 29:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: ws_item_sk = i_item_sk
| | fk/pk conjuncts: ws_item_sk = i_item_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=18,19 row-size=52B cardinality=719.38K
| | in pipelines: 22(GETNEXT), 23(OPEN)
| |
| |--43:EXCHANGE [BROADCAST]
| | | mem-estimate=672.81KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=19 row-size=36B cardinality=18.00K
| | | in pipelines: 23(GETNEXT)
| | |
| | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2
| | 23:SCAN HDFS [tpcds_parquet.item, RANDOM]
| | HDFS partitions=1/1 files=1 size=1.73MB
| | stored statistics:
| | table: rows=18.00K size=1.73MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=18.00K
| | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=19 row-size=36B cardinality=18.00K
| | in pipelines: 23(GETNEXT)
| |
| 22:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF014[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=18 row-size=16B cardinality=719.38K
| in pipelines: 22(GETNEXT)
|
42:AGGREGATE [FINALIZE]
| output: sum:merge(ss_ext_sales_price)
| group by: i_item_id
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7 row-size=44B cardinality=276
| in pipelines: 42(GETNEXT), 00(OPEN)
|
41:EXCHANGE [HASH(i_item_id)]
| mem-estimate=42.77KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=44B cardinality=276
| in pipelines: 00(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Resources: mem-estimate=54.26MB mem-reservation=12.75MB thread-reservation=2 runtime-filters-memory=3.00MB
10:AGGREGATE [STREAMING]
| output: sum(ss_ext_sales_price)
| group by: i_item_id
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7 row-size=44B cardinality=276
| in pipelines: 00(GETNEXT)
|
09:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| hash predicates: d_date = d_date
| runtime filters: RF004[bloom] <- d_date
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,1,2 row-size=78B cardinality=276
| in pipelines: 00(GETNEXT), 03(OPEN)
|
|--40:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=26B cardinality=7
| | in pipelines: 03(GETNEXT)
| |
| F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=34.95MB mem-reservation=3.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| 06:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| | hash predicates: d_week_seq = d_week_seq
| | runtime filters: RF010[bloom] <- d_week_seq
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=3 row-size=26B cardinality=7
| | in pipelines: 03(GETNEXT), 05(OPEN)
| |
| |--39:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=26B cardinality=1
| | | in pipelines: 05(GETNEXT)
| | |
| | F05:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=16.00KB mem-reservation=0B thread-reservation=1
| | 05:CARDINALITY CHECK
| | | limit: 1
| | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=26B cardinality=1
| | | in pipelines: 05(GETNEXT), 04(OPEN)
| | |
| | 38:EXCHANGE [UNPARTITIONED]
| | | limit: 2
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=26B cardinality=1
| | | in pipelines: 04(GETNEXT)
| | |
| | F04:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=2
| | 04:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_date = '2000-01-03'
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_date = '2000-01-03'
| | parquet dictionary predicates: d_date = '2000-01-03'
| | limit: 2
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| | tuple-ids=4 row-size=26B cardinality=1
| | in pipelines: 04(GETNEXT)
| |
| 03:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| runtime filters: RF010[bloom] -> d_week_seq
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| tuple-ids=3 row-size=26B cardinality=73.05K
| in pipelines: 03(GETNEXT)
|
08: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: RF006[bloom] <- d_date_sk
| mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| tuple-ids=0,1,2 row-size=78B cardinality=2.88M
| in pipelines: 00(GETNEXT), 02(OPEN)
|
|--37:EXCHANGE [BROADCAST]
| | mem-estimate=1.84MB mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=26B cardinality=73.05K
| | in pipelines: 02(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=33.00MB mem-reservation=2.00MB thread-reservation=2 runtime-filters-memory=1.00MB
| 02:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| runtime filters: RF004[bloom] -> d_date
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1
| tuple-ids=2 row-size=26B cardinality=73.05K
| in pipelines: 02(GETNEXT)
|
07:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: ss_item_sk = i_item_sk
| fk/pk conjuncts: ss_item_sk = i_item_sk
| runtime filters: RF008[bloom] <- i_item_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,1 row-size=52B cardinality=2.88M
| in pipelines: 00(GETNEXT), 01(OPEN)
|
|--36:EXCHANGE [BROADCAST]
| | mem-estimate=672.81KB mem-reservation=0B thread-reservation=0
| | tuple-ids=1 row-size=36B cardinality=18.00K
| | in pipelines: 01(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=33.00MB mem-reservation=1.50MB thread-reservation=2 runtime-filters-memory=1.00MB
| 01:SCAN HDFS [tpcds_parquet.item, RANDOM]
| HDFS partitions=1/1 files=1 size=1.73MB
| runtime filters: RF002[bloom] -> tpcds_parquet.item.i_item_id
| stored statistics:
| table: rows=18.00K size=1.73MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=18.00K
| mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=1 row-size=36B cardinality=18.00K
| in pipelines: 01(GETNEXT)
|
00:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
HDFS partitions=1824/1824 files=1824 size=201.02MB
runtime filters: RF006[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_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=32.00MB mem-reservation=1.00MB thread-reservation=1
tuple-ids=0 row-size=16B cardinality=2.88M
in pipelines: 00(GETNEXT)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=129.00MB Threads=38
Per-Host Resource Estimates: Memory=493MB
F21:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=49.35KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: item_id, ss_item_rev, ss_item_rev / ((ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))) * CAST(100 AS DECIMAL(3,0)), cs_item_rev, cs_item_rev / ((ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))) * CAST(100 AS DECIMAL(3,0)), ws_item_rev, ws_item_rev / ((ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))) * CAST(100 AS DECIMAL(3,0)), (ss_item_rev + cs_item_rev + ws_item_rev) / CAST(3 AS DECIMAL(3,0))
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
57:MERGING-EXCHANGE [UNPARTITIONED]
| order by: item_id ASC, ss_item_rev ASC
| limit: 100
| mem-estimate=49.35KB mem-reservation=0B thread-reservation=0
| tuple-ids=27 row-size=76B cardinality=100
| in pipelines: 35(GETNEXT)
|
F06:PLAN FRAGMENT [HASH(i_item_id)] hosts=3 instances=6
Per-Instance Resources: mem-estimate=10.08MB mem-reservation=1.94MB thread-reservation=1
35:TOP-N [LIMIT=100]
| order by: item_id ASC, ss_item_rev ASC
| mem-estimate=7.42KB mem-reservation=0B thread-reservation=0
| tuple-ids=27 row-size=76B cardinality=100
| in pipelines: 35(GETNEXT), 42(OPEN)
|
34:HASH JOIN [INNER JOIN, PARTITIONED]
| hash-table-id=00
| hash predicates: i_item_id = i_item_id
| fk/pk conjuncts: none
| other predicates: sum(cs_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ss_ext_sales_price), sum(cs_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ws_ext_sales_price), sum(cs_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ss_ext_sales_price), sum(cs_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ws_ext_sales_price), sum(ss_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(cs_ext_sales_price), sum(ss_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(cs_ext_sales_price), sum(ws_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(cs_ext_sales_price), sum(ws_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(cs_ext_sales_price)
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7,25,16 row-size=132B cardinality=281
| in pipelines: 42(GETNEXT), 56(OPEN)
|
|--F22:PLAN FRAGMENT [HASH(i_item_id)] hosts=3 instances=6
| | Per-Instance Resources: mem-estimate=11.94MB mem-reservation=3.88MB thread-reservation=1
| JOIN BUILD
| | join-table-id=00 plan-id=01 cohort-id=01
| | build expressions: i_item_id
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| |
| 56:AGGREGATE [FINALIZE]
| | output: sum:merge(cs_ext_sales_price)
| | group by: i_item_id
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=16 row-size=44B cardinality=138
| | in pipelines: 56(GETNEXT), 11(OPEN)
| |
| 55:EXCHANGE [HASH(i_item_id)]
| | mem-estimate=21.38KB mem-reservation=0B thread-reservation=0
| | tuple-ids=16 row-size=44B cardinality=138
| | in pipelines: 11(GETNEXT)
| |
| F14:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Instance Resources: mem-estimate=58.00MB mem-reservation=10.00MB thread-reservation=1
| 21:AGGREGATE [STREAMING]
| | output: sum(cs_ext_sales_price)
| | group by: i_item_id
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=16 row-size=44B cardinality=138
| | in pipelines: 11(GETNEXT)
| |
| 20:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| | hash-table-id=01
| | hash predicates: d_date = d_date
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=9,10,11 row-size=78B cardinality=138
| | in pipelines: 11(GETNEXT), 14(OPEN)
| |
| |--F23:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=01 plan-id=02 cohort-id=02
| | | build expressions: d_date
| | | runtime filters: RF020[bloom] <- d_date
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 54:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=12 row-size=26B cardinality=7
| | | in pipelines: 14(GETNEXT)
| | |
| | F17:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-reservation=0 runtime-filters-memory=1.00MB
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| | 17:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| | | hash-table-id=02
| | | hash predicates: d_week_seq = d_week_seq
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=12 row-size=26B cardinality=7
| | | in pipelines: 14(GETNEXT), 16(OPEN)
| | |
| | |--F24:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | | JOIN BUILD
| | | | join-table-id=02 plan-id=03 cohort-id=03
| | | | build expressions: d_week_seq
| | | | runtime filters: RF026[bloom] <- d_week_seq
| | | | 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=13 row-size=26B cardinality=1
| | | | in pipelines: 16(GETNEXT)
| | | |
| | | F19:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=16.00KB mem-reservation=0B thread-reservation=1
| | | 16:CARDINALITY CHECK
| | | | limit: 1
| | | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | | tuple-ids=13 row-size=26B cardinality=1
| | | | in pipelines: 16(GETNEXT), 15(OPEN)
| | | |
| | | 52:EXCHANGE [UNPARTITIONED]
| | | | limit: 2
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=13 row-size=26B cardinality=1
| | | | in pipelines: 15(GETNEXT)
| | | |
| | | F18:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| | | 15:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_date = '2000-01-03'
| | | stored statistics:
| | | table: rows=73.05K size=2.15MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | | parquet statistics predicates: d_date = '2000-01-03'
| | | parquet dictionary predicates: d_date = '2000-01-03'
| | | limit: 2
| | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| | | tuple-ids=13 row-size=26B cardinality=1
| | | in pipelines: 15(GETNEXT)
| | |
| | 14:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF026[bloom] -> d_week_seq
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| | tuple-ids=12 row-size=26B cardinality=73.05K
| | in pipelines: 14(GETNEXT)
| |
| 19:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=03
| | 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=128.00KB thread-reservation=0
| | tuple-ids=9,10,11 row-size=78B cardinality=1.44M
| | in pipelines: 11(GETNEXT), 13(OPEN)
| |
| |--F25:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | | Per-Instance Resources: mem-estimate=7.59MB mem-reservation=5.75MB thread-reservation=1
| | JOIN BUILD
| | | join-table-id=03 plan-id=04 cohort-id=02
| | | build expressions: d_date_sk
| | | mem-estimate=5.75MB mem-reservation=5.75MB spill-buffer=128.00KB thread-reservation=0
| | |
| | 51:EXCHANGE [BROADCAST]
| | | mem-estimate=1.84MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=11 row-size=26B cardinality=73.05K
| | | in pipelines: 13(GETNEXT)
| | |
| | F16:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-reservation=0 runtime-filters-memory=1.00MB
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| | 13:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF020[bloom] -> d_date
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| | tuple-ids=11 row-size=26B cardinality=73.05K
| | in pipelines: 13(GETNEXT)
| |
| 18:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=04
| | hash predicates: cs_item_sk = i_item_sk
| | fk/pk conjuncts: cs_item_sk = i_item_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=9,10 row-size=52B cardinality=1.44M
| | in pipelines: 11(GETNEXT), 12(OPEN)
| |
| |--F26:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | | Per-Instance Resources: mem-estimate=4.53MB mem-reservation=3.88MB thread-reservation=1
| | JOIN BUILD
| | | join-table-id=04 plan-id=05 cohort-id=02
| | | build expressions: i_item_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 50:EXCHANGE [BROADCAST]
| | | mem-estimate=672.81KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=10 row-size=36B cardinality=18.00K
| | | in pipelines: 12(GETNEXT)
| | |
| | F15:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | 12:SCAN HDFS [tpcds_parquet.item, RANDOM]
| | HDFS partitions=1/1 files=1 size=1.73MB
| | stored statistics:
| | table: rows=18.00K size=1.73MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=18.00K
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=10 row-size=36B cardinality=18.00K
| | in pipelines: 12(GETNEXT)
| |
| 11:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM]
| HDFS partitions=1/1 files=3 size=96.62MB
| 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=8.00MB thread-reservation=0
| tuple-ids=9 row-size=16B cardinality=1.44M
| in pipelines: 11(GETNEXT)
|
33:HASH JOIN [INNER JOIN, PARTITIONED]
| hash-table-id=05
| hash predicates: i_item_id = i_item_id
| fk/pk conjuncts: none
| other predicates: sum(ss_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ws_ext_sales_price), sum(ss_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ws_ext_sales_price), sum(ws_ext_sales_price) <= CAST(1.1 AS DECIMAL(2,1)) * sum(ss_ext_sales_price), sum(ws_ext_sales_price) >= CAST(0.9 AS DECIMAL(1,1)) * sum(ss_ext_sales_price)
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7,25 row-size=88B cardinality=140
| in pipelines: 42(GETNEXT), 49(OPEN)
|
|--F27:PLAN FRAGMENT [HASH(i_item_id)] hosts=3 instances=6
| | Per-Instance Resources: mem-estimate=12.94MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=05 plan-id=06 cohort-id=01
| | build expressions: i_item_id
| | runtime filters: RF002[bloom] <- i_item_id
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| |
| 49:AGGREGATE [FINALIZE]
| | output: sum:merge(ws_ext_sales_price)
| | group by: i_item_id
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=25 row-size=44B cardinality=69
| | in pipelines: 49(GETNEXT), 22(OPEN)
| |
| 48:EXCHANGE [HASH(i_item_id)]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=25 row-size=44B cardinality=69
| | in pipelines: 22(GETNEXT)
| |
| F07: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=42.00MB mem-reservation=10.00MB thread-reservation=1
| 32:AGGREGATE [STREAMING]
| | output: sum(ws_ext_sales_price)
| | group by: i_item_id
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=25 row-size=44B cardinality=69
| | in pipelines: 22(GETNEXT)
| |
| 31:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| | hash-table-id=06
| | hash predicates: d_date = d_date
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=18,19,20 row-size=78B cardinality=69
| | in pipelines: 22(GETNEXT), 25(OPEN)
| |
| |--F28: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=06 plan-id=07 cohort-id=04
| | | build expressions: d_date
| | | runtime filters: RF012[bloom] <- d_date
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 47:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=21 row-size=26B cardinality=7
| | | in pipelines: 25(GETNEXT)
| | |
| | F10:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-reservation=0 runtime-filters-memory=1.00MB
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| | 28:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| | | hash-table-id=07
| | | hash predicates: d_week_seq = d_week_seq
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=21 row-size=26B cardinality=7
| | | in pipelines: 25(GETNEXT), 27(OPEN)
| | |
| | |--F29:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | | JOIN BUILD
| | | | join-table-id=07 plan-id=08 cohort-id=05
| | | | build expressions: d_week_seq
| | | | runtime filters: RF018[bloom] <- d_week_seq
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | | |
| | | 46:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=22 row-size=26B cardinality=1
| | | | in pipelines: 27(GETNEXT)
| | | |
| | | F12:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=16.00KB mem-reservation=0B thread-reservation=1
| | | 27:CARDINALITY CHECK
| | | | limit: 1
| | | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | | tuple-ids=22 row-size=26B cardinality=1
| | | | in pipelines: 27(GETNEXT), 26(OPEN)
| | | |
| | | 45:EXCHANGE [UNPARTITIONED]
| | | | limit: 2
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=22 row-size=26B cardinality=1
| | | | in pipelines: 26(GETNEXT)
| | | |
| | | F11:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| | | 26:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_date = '2000-01-03'
| | | stored statistics:
| | | table: rows=73.05K size=2.15MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | | parquet statistics predicates: d_date = '2000-01-03'
| | | parquet dictionary predicates: d_date = '2000-01-03'
| | | limit: 2
| | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| | | tuple-ids=22 row-size=26B cardinality=1
| | | in pipelines: 26(GETNEXT)
| | |
| | 25:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF018[bloom] -> d_week_seq
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| | tuple-ids=21 row-size=26B cardinality=73.05K
| | in pipelines: 25(GETNEXT)
| |
| 30:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=08
| | 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=128.00KB thread-reservation=0
| | tuple-ids=18,19,20 row-size=78B cardinality=719.38K
| | in pipelines: 22(GETNEXT), 24(OPEN)
| |
| |--F30:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| | | Per-Instance Resources: mem-estimate=8.59MB mem-reservation=6.75MB 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: RF014[bloom] <- d_date_sk
| | | mem-estimate=5.75MB mem-reservation=5.75MB spill-buffer=128.00KB thread-reservation=0
| | |
| | 44:EXCHANGE [BROADCAST]
| | | mem-estimate=1.84MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=20 row-size=26B cardinality=73.05K
| | | in pipelines: 24(GETNEXT)
| | |
| | F09:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-reservation=0 runtime-filters-memory=1.00MB
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| | 24:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | runtime filters: RF012[bloom] -> d_date
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| | tuple-ids=20 row-size=26B cardinality=73.05K
| | in pipelines: 24(GETNEXT)
| |
| 29:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=09
| | hash predicates: ws_item_sk = i_item_sk
| | fk/pk conjuncts: ws_item_sk = i_item_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=18,19 row-size=52B cardinality=719.38K
| | in pipelines: 22(GETNEXT), 23(OPEN)
| |
| |--F31:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| | | Per-Instance Resources: mem-estimate=4.53MB mem-reservation=3.88MB thread-reservation=1
| | JOIN BUILD
| | | join-table-id=09 plan-id=10 cohort-id=04
| | | build expressions: i_item_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 43:EXCHANGE [BROADCAST]
| | | mem-estimate=672.81KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=19 row-size=36B cardinality=18.00K
| | | in pipelines: 23(GETNEXT)
| | |
| | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | 23:SCAN HDFS [tpcds_parquet.item, RANDOM]
| | HDFS partitions=1/1 files=1 size=1.73MB
| | stored statistics:
| | table: rows=18.00K size=1.73MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=18.00K
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=19 row-size=36B cardinality=18.00K
| | in pipelines: 23(GETNEXT)
| |
| 22:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF014[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=18 row-size=16B cardinality=719.38K
| in pipelines: 22(GETNEXT)
|
42:AGGREGATE [FINALIZE]
| output: sum:merge(ss_ext_sales_price)
| group by: i_item_id
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7 row-size=44B cardinality=276
| in pipelines: 42(GETNEXT), 00(OPEN)
|
41:EXCHANGE [HASH(i_item_id)]
| mem-estimate=81.58KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=44B cardinality=276
| in pipelines: 00(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=26.00MB mem-reservation=3.00MB thread-reservation=1
10:AGGREGATE [STREAMING]
| output: sum(ss_ext_sales_price)
| group by: i_item_id
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7 row-size=44B cardinality=276
| in pipelines: 00(GETNEXT)
|
09:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| hash-table-id=10
| hash predicates: d_date = d_date
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,1,2 row-size=78B cardinality=276
| in pipelines: 00(GETNEXT), 03(OPEN)
|
|--F32: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
| | runtime filters: RF004[bloom] <- d_date
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 40:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=3 row-size=26B cardinality=7
| | in pipelines: 03(GETNEXT)
| |
| F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-reservation=0 runtime-filters-memory=1.00MB
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| 06:HASH JOIN [LEFT SEMI JOIN, BROADCAST]
| | hash-table-id=11
| | hash predicates: d_week_seq = d_week_seq
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=3 row-size=26B cardinality=7
| | in pipelines: 03(GETNEXT), 05(OPEN)
| |
| |--F33:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=11 plan-id=12 cohort-id=06
| | | build expressions: d_week_seq
| | | runtime filters: RF010[bloom] <- d_week_seq
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 39:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=26B cardinality=1
| | | in pipelines: 05(GETNEXT)
| | |
| | F05:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00KB mem-reservation=0B thread-reservation=1
| | 05:CARDINALITY CHECK
| | | limit: 1
| | | mem-estimate=0B mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=26B cardinality=1
| | | in pipelines: 05(GETNEXT), 04(OPEN)
| | |
| | 38:EXCHANGE [UNPARTITIONED]
| | | limit: 2
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=26B cardinality=1
| | | in pipelines: 04(GETNEXT)
| | |
| | F04:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| | 04:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_date = '2000-01-03'
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_date = '2000-01-03'
| | parquet dictionary predicates: d_date = '2000-01-03'
| | limit: 2
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| | tuple-ids=4 row-size=26B cardinality=1
| | in pipelines: 04(GETNEXT)
| |
| 03:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| runtime filters: RF010[bloom] -> d_week_seq
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| tuple-ids=3 row-size=26B cardinality=73.05K
| in pipelines: 03(GETNEXT)
|
08:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=12
| 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=128.00KB thread-reservation=0
| tuple-ids=0,1,2 row-size=78B cardinality=2.88M
| in pipelines: 00(GETNEXT), 02(OPEN)
|
|--F34:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=8.59MB mem-reservation=6.75MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=12 plan-id=13 cohort-id=01
| | build expressions: d_date_sk
| | runtime filters: RF006[bloom] <- d_date_sk
| | mem-estimate=5.75MB mem-reservation=5.75MB spill-buffer=128.00KB thread-reservation=0
| |
| 37:EXCHANGE [BROADCAST]
| | mem-estimate=1.84MB mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=26B cardinality=73.05K
| | in pipelines: 02(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-reservation=0 runtime-filters-memory=1.00MB
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1
| 02:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| runtime filters: RF004[bloom] -> d_date
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0
| tuple-ids=2 row-size=26B cardinality=73.05K
| in pipelines: 02(GETNEXT)
|
07:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=13
| hash predicates: ss_item_sk = i_item_sk
| fk/pk conjuncts: ss_item_sk = i_item_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=0,1 row-size=52B cardinality=2.88M
| in pipelines: 00(GETNEXT), 01(OPEN)
|
|--F35:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=5.53MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=13 plan-id=14 cohort-id=01
| | build expressions: i_item_sk
| | runtime filters: RF008[bloom] <- i_item_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 36:EXCHANGE [BROADCAST]
| | mem-estimate=672.81KB mem-reservation=0B thread-reservation=0
| | tuple-ids=1 row-size=36B cardinality=18.00K
| | in pipelines: 01(GETNEXT)
| |
| F01: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=512.00KB thread-reservation=1
| 01:SCAN HDFS [tpcds_parquet.item, RANDOM]
| HDFS partitions=1/1 files=1 size=1.73MB
| runtime filters: RF002[bloom] -> tpcds_parquet.item.i_item_id
| stored statistics:
| table: rows=18.00K size=1.73MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=18.00K
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| tuple-ids=1 row-size=36B cardinality=18.00K
| in pipelines: 01(GETNEXT)
|
00:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
HDFS partitions=1824/1824 files=1824 size=201.02MB
runtime filters: RF006[bloom] -> ss_sold_date_sk, RF008[bloom] -> ss_item_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=1.00MB thread-reservation=0
tuple-ids=0 row-size=16B cardinality=2.88M
in pipelines: 00(GETNEXT)
====