| # TPCDS-Q92 |
| SELECT sum(ws_ext_discount_amt) AS "Excess Discount Amount" |
| FROM web_sales, |
| item, |
| date_dim |
| WHERE i_manufact_id = 350 |
| AND i_item_sk = ws_item_sk |
| AND d_date BETWEEN '2000-01-27' AND cast('2000-04-26' AS date) |
| AND d_date_sk = ws_sold_date_sk |
| AND ws_ext_discount_amt > |
| (SELECT 1.3 * avg(ws_ext_discount_amt) |
| FROM web_sales, |
| date_dim |
| WHERE ws_item_sk = i_item_sk |
| AND d_date BETWEEN '2000-01-27' AND cast('2000-04-26' AS date) |
| AND d_date_sk = ws_sold_date_sk ) |
| ORDER BY sum(ws_ext_discount_amt) |
| LIMIT 100; |
| |
| ---- PLAN |
| Max Per-Host Resource Reservation: Memory=28.75MB Threads=6 |
| Per-Host Resource Estimates: Memory=296MB |
| F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=295.88MB mem-reservation=28.75MB thread-reservation=6 runtime-filters-memory=4.00MB |
| PLAN-ROOT SINK |
| | output exprs: sum(ws_ext_discount_amt) |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 11:TOP-N [LIMIT=100] |
| | order by: sum(ws_ext_discount_amt) ASC |
| | mem-estimate=16B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=9 row-size=16B cardinality=1 |
| | in pipelines: 11(GETNEXT), 10(OPEN) |
| | |
| 10:AGGREGATE [FINALIZE] |
| | output: sum(ws_ext_discount_amt) |
| | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=8 row-size=16B cardinality=1 |
| | in pipelines: 10(GETNEXT), 06(OPEN) |
| | |
| 09:HASH JOIN [RIGHT SEMI JOIN] |
| | hash predicates: ws_item_sk = i_item_sk |
| | other join predicates: ws_ext_discount_amt > CAST(1.3 AS DECIMAL(2,1)) * avg(ws_ext_discount_amt) |
| | runtime filters: RF000[bloom] <- i_item_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=2,0,1 row-size=54B cardinality=760 |
| | in pipelines: 06(GETNEXT), 02(OPEN) |
| | |
| |--08:HASH JOIN [INNER JOIN] |
| | | hash predicates: d_date_sk = ws_sold_date_sk |
| | | fk/pk conjuncts: d_date_sk = ws_sold_date_sk |
| | | runtime filters: RF004[bloom] <- ws_sold_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=2,0,1 row-size=54B cardinality=760 |
| | | in pipelines: 02(GETNEXT), 00(OPEN) |
| | | |
| | |--07:HASH JOIN [INNER JOIN] |
| | | | hash predicates: ws_item_sk = i_item_sk |
| | | | fk/pk conjuncts: ws_item_sk = i_item_sk |
| | | | runtime filters: RF006[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=28B cardinality=760 |
| | | | in pipelines: 00(GETNEXT), 01(OPEN) |
| | | | |
| | | |--01:SCAN HDFS [tpcds_parquet.item] |
| | | | HDFS partitions=1/1 files=1 size=1.73MB |
| | | | predicates: i_manufact_id = CAST(350 AS INT) |
| | | | stored statistics: |
| | | | table: rows=18.00K size=1.73MB |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=18.00K |
| | | | parquet statistics predicates: i_manufact_id = CAST(350 AS INT) |
| | | | parquet dictionary predicates: i_manufact_id = CAST(350 AS INT) |
| | | | mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=1 |
| | | | tuple-ids=1 row-size=12B cardinality=19 |
| | | | in pipelines: 01(GETNEXT) |
| | | | |
| | | 00:SCAN HDFS [tpcds_parquet.web_sales] |
| | | HDFS partitions=1/1 files=2 size=45.09MB |
| | | runtime filters: RF006[bloom] -> ws_item_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=0 row-size=16B cardinality=719.38K |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | 02:SCAN HDFS [tpcds_parquet.date_dim] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | runtime filters: RF004[bloom] -> d_date_sk |
| | stored statistics: |
| | table: rows=73.05K size=2.15MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | parquet dictionary predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1 |
| | tuple-ids=2 row-size=26B cardinality=7.30K |
| | in pipelines: 02(GETNEXT) |
| | |
| 06:AGGREGATE [FINALIZE] |
| | output: avg(ws_ext_discount_amt) |
| | group by: ws_item_sk |
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=6 row-size=16B cardinality=17.98K |
| | in pipelines: 06(GETNEXT), 03(OPEN) |
| | |
| 05: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: RF002[bloom] <- d_date_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=3,4 row-size=42B cardinality=719.38K |
| | in pipelines: 03(GETNEXT), 04(OPEN) |
| | |
| |--04:SCAN HDFS [tpcds_parquet.date_dim] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | stored statistics: |
| | table: rows=73.05K size=2.15MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | parquet dictionary predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1 |
| | tuple-ids=4 row-size=26B cardinality=7.30K |
| | in pipelines: 04(GETNEXT) |
| | |
| 03:SCAN HDFS [tpcds_parquet.web_sales] |
| HDFS partitions=1/1 files=2 size=45.09MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.web_sales.ws_item_sk, RF002[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=3 row-size=16B cardinality=719.38K |
| in pipelines: 03(GETNEXT) |
| ---- DISTRIBUTEDPLAN |
| Max Per-Host Resource Reservation: Memory=35.94MB Threads=13 |
| Per-Host Resource Estimates: Memory=342MB |
| F07:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=10.02MB mem-reservation=0B thread-reservation=1 |
| PLAN-ROOT SINK |
| | output exprs: sum(ws_ext_discount_amt) |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 11:TOP-N [LIMIT=100] |
| | order by: sum(ws_ext_discount_amt) ASC |
| | mem-estimate=16B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=9 row-size=16B cardinality=1 |
| | in pipelines: 11(GETNEXT), 20(OPEN) |
| | |
| 20:AGGREGATE [FINALIZE] |
| | output: sum:merge(ws_ext_discount_amt) |
| | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=8 row-size=16B cardinality=1 |
| | in pipelines: 20(GETNEXT), 10(OPEN) |
| | |
| 19:EXCHANGE [UNPARTITIONED] |
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=8 row-size=16B cardinality=1 |
| | in pipelines: 10(GETNEXT) |
| | |
| F02:PLAN FRAGMENT [HASH(ws_item_sk)] hosts=2 instances=2 |
| Per-Host Resources: mem-estimate=22.94MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| 10:AGGREGATE |
| | output: sum(ws_ext_discount_amt) |
| | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=8 row-size=16B cardinality=1 |
| | in pipelines: 10(GETNEXT), 14(OPEN) |
| | |
| 09:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED] |
| | hash predicates: ws_item_sk = i_item_sk |
| | other join predicates: ws_ext_discount_amt > CAST(1.3 AS DECIMAL(2,1)) * avg(ws_ext_discount_amt) |
| | runtime filters: RF000[bloom] <- i_item_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,1,2 row-size=54B cardinality=760 |
| | in pipelines: 14(GETNEXT), 00(OPEN) |
| | |
| |--18:EXCHANGE [HASH(i_item_sk)] |
| | | mem-estimate=118.01KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,1,2 row-size=54B cardinality=760 |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | F06:PLAN FRAGMENT [HASH(ws_sold_date_sk)] hosts=2 instances=2 |
| | Per-Host Resources: mem-estimate=3.21MB mem-reservation=2.94MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | 08:HASH JOIN [INNER JOIN, PARTITIONED] |
| | | hash predicates: ws_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: ws_sold_date_sk = d_date_sk |
| | | runtime filters: RF004[bloom] <- d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=0,1,2 row-size=54B cardinality=760 |
| | | in pipelines: 00(GETNEXT), 02(OPEN) |
| | | |
| | |--17:EXCHANGE [HASH(d_date_sk)] |
| | | | mem-estimate=215.48KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=2 row-size=26B cardinality=7.30K |
| | | | in pipelines: 02(GETNEXT) |
| | | | |
| | | F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Host Resources: mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=2 |
| | | 02:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | | parquet dictionary predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | tuple-ids=2 row-size=26B cardinality=7.30K |
| | | in pipelines: 02(GETNEXT) |
| | | |
| | 16:EXCHANGE [HASH(ws_sold_date_sk)] |
| | | mem-estimate=63.83KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,1 row-size=28B cardinality=760 |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | F03: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 |
| | 07:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: ws_item_sk = i_item_sk |
| | | fk/pk conjuncts: ws_item_sk = i_item_sk |
| | | runtime filters: RF006[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=28B cardinality=760 |
| | | in pipelines: 00(GETNEXT), 01(OPEN) |
| | | |
| | |--15:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=1 row-size=12B cardinality=19 |
| | | | in pipelines: 01(GETNEXT) |
| | | | |
| | | F04:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Host Resources: mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=2 |
| | | 01:SCAN HDFS [tpcds_parquet.item, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=1.73MB |
| | | predicates: i_manufact_id = CAST(350 AS INT) |
| | | stored statistics: |
| | | table: rows=18.00K size=1.73MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=18.00K |
| | | parquet statistics predicates: i_manufact_id = CAST(350 AS INT) |
| | | parquet dictionary predicates: i_manufact_id = CAST(350 AS INT) |
| | | mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=1 |
| | | tuple-ids=1 row-size=12B cardinality=19 |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | 00:SCAN HDFS [tpcds_parquet.web_sales, RANDOM] |
| | HDFS partitions=1/1 files=2 size=45.09MB |
| | runtime filters: RF004[bloom] -> ws_sold_date_sk, RF006[bloom] -> ws_item_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=0 row-size=16B cardinality=719.38K |
| | in pipelines: 00(GETNEXT) |
| | |
| 14:AGGREGATE [FINALIZE] |
| | output: avg:merge(ws_ext_discount_amt) |
| | group by: ws_item_sk |
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=6 row-size=16B cardinality=17.98K |
| | in pipelines: 14(GETNEXT), 03(OPEN) |
| | |
| 13:EXCHANGE [HASH(ws_item_sk)] |
| | mem-estimate=180.43KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=5 row-size=16B cardinality=17.98K |
| | in pipelines: 03(GETNEXT) |
| | |
| F00:PLAN FRAGMENT [RANDOM] hosts=2 instances=2 |
| Per-Host Resources: mem-estimate=110.15MB mem-reservation=13.94MB thread-reservation=2 runtime-filters-memory=2.00MB |
| 06:AGGREGATE [STREAMING] |
| | output: avg(ws_ext_discount_amt) |
| | group by: ws_item_sk |
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=5 row-size=16B cardinality=17.98K |
| | in pipelines: 03(GETNEXT) |
| | |
| 05: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: RF002[bloom] <- d_date_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=3,4 row-size=42B cardinality=719.38K |
| | in pipelines: 03(GETNEXT), 04(OPEN) |
| | |
| |--12:EXCHANGE [BROADCAST] |
| | | mem-estimate=215.48KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=4 row-size=26B cardinality=7.30K |
| | | in pipelines: 04(GETNEXT) |
| | | |
| | F01: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: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | stored statistics: |
| | table: rows=73.05K size=2.15MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | parquet dictionary predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | mem-estimate=32.00MB mem-reservation=1.00MB thread-reservation=1 |
| | tuple-ids=4 row-size=26B cardinality=7.30K |
| | in pipelines: 04(GETNEXT) |
| | |
| 03:SCAN HDFS [tpcds_parquet.web_sales, RANDOM] |
| HDFS partitions=1/1 files=2 size=45.09MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.web_sales.ws_item_sk, RF002[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=3 row-size=16B cardinality=719.38K |
| in pipelines: 03(GETNEXT) |
| ---- PARALLELPLANS |
| Max Per-Host Resource Reservation: Memory=41.81MB Threads=12 |
| Per-Host Resource Estimates: Memory=172MB |
| F07:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=10.02MB mem-reservation=0B thread-reservation=1 |
| PLAN-ROOT SINK |
| | output exprs: sum(ws_ext_discount_amt) |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 11:TOP-N [LIMIT=100] |
| | order by: sum(ws_ext_discount_amt) ASC |
| | mem-estimate=16B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=9 row-size=16B cardinality=1 |
| | in pipelines: 11(GETNEXT), 20(OPEN) |
| | |
| 20:AGGREGATE [FINALIZE] |
| | output: sum:merge(ws_ext_discount_amt) |
| | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=8 row-size=16B cardinality=1 |
| | in pipelines: 20(GETNEXT), 10(OPEN) |
| | |
| 19:EXCHANGE [UNPARTITIONED] |
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=8 row-size=16B cardinality=1 |
| | in pipelines: 10(GETNEXT) |
| | |
| F02:PLAN FRAGMENT [HASH(ws_item_sk)] hosts=2 instances=2 |
| Per-Instance Resources: mem-estimate=20.00MB mem-reservation=1.94MB thread-reservation=1 |
| 10:AGGREGATE |
| | output: sum(ws_ext_discount_amt) |
| | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=8 row-size=16B cardinality=1 |
| | in pipelines: 10(GETNEXT), 14(OPEN) |
| | |
| 09:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED] |
| | hash-table-id=00 |
| | hash predicates: ws_item_sk = i_item_sk |
| | other join predicates: ws_ext_discount_amt > CAST(1.3 AS DECIMAL(2,1)) * avg(ws_ext_discount_amt) |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,1,2 row-size=54B cardinality=760 |
| | in pipelines: 14(GETNEXT), 00(OPEN) |
| | |
| |--F08:PLAN FRAGMENT [HASH(ws_item_sk)] hosts=2 instances=2 |
| | | Per-Instance Resources: mem-estimate=3.05MB mem-reservation=2.94MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | JOIN BUILD |
| | | join-table-id=00 plan-id=01 cohort-id=01 |
| | | build expressions: i_item_sk |
| | | runtime filters: RF000[bloom] <- i_item_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | |
| | 18:EXCHANGE [HASH(i_item_sk)] |
| | | mem-estimate=118.01KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,1,2 row-size=54B cardinality=760 |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | F06:PLAN FRAGMENT [HASH(ws_sold_date_sk)] hosts=2 instances=2 |
| | Per-Instance Resources: mem-estimate=63.83KB mem-reservation=0B thread-reservation=1 |
| | 08:HASH JOIN [INNER JOIN, PARTITIONED] |
| | | hash-table-id=01 |
| | | 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=0,1,2 row-size=54B cardinality=760 |
| | | in pipelines: 00(GETNEXT), 02(OPEN) |
| | | |
| | |--F09:PLAN FRAGMENT [HASH(ws_sold_date_sk)] hosts=2 instances=2 |
| | | | Per-Instance Resources: mem-estimate=3.15MB mem-reservation=2.94MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | JOIN BUILD |
| | | | join-table-id=01 plan-id=02 cohort-id=02 |
| | | | build expressions: d_date_sk |
| | | | runtime filters: RF004[bloom] <- d_date_sk |
| | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | |
| | | 17:EXCHANGE [HASH(d_date_sk)] |
| | | | mem-estimate=215.48KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=2 row-size=26B cardinality=7.30K |
| | | | in pipelines: 02(GETNEXT) |
| | | | |
| | | F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | 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 |
| | | predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | | parquet dictionary predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | | tuple-ids=2 row-size=26B cardinality=7.30K |
| | | in pipelines: 02(GETNEXT) |
| | | |
| | 16:EXCHANGE [HASH(ws_sold_date_sk)] |
| | | mem-estimate=63.83KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,1 row-size=28B cardinality=760 |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | F03: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 |
| | 07:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=02 |
| | | 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=0,1 row-size=28B cardinality=760 |
| | | in pipelines: 00(GETNEXT), 01(OPEN) |
| | | |
| | |--F10: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: i_item_sk |
| | | | runtime filters: RF006[bloom] <- i_item_sk |
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | |
| | | 15:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=1 row-size=12B cardinality=19 |
| | | | in pipelines: 01(GETNEXT) |
| | | | |
| | | F04:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=1 |
| | | 01:SCAN HDFS [tpcds_parquet.item, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=1.73MB |
| | | predicates: i_manufact_id = CAST(350 AS INT) |
| | | stored statistics: |
| | | table: rows=18.00K size=1.73MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=18.00K |
| | | parquet statistics predicates: i_manufact_id = CAST(350 AS INT) |
| | | parquet dictionary predicates: i_manufact_id = CAST(350 AS INT) |
| | | mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=0 |
| | | tuple-ids=1 row-size=12B cardinality=19 |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | 00:SCAN HDFS [tpcds_parquet.web_sales, RANDOM] |
| | HDFS partitions=1/1 files=2 size=45.09MB |
| | runtime filters: RF004[bloom] -> ws_sold_date_sk, RF006[bloom] -> ws_item_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=0 row-size=16B cardinality=719.38K |
| | in pipelines: 00(GETNEXT) |
| | |
| 14:AGGREGATE [FINALIZE] |
| | output: avg:merge(ws_ext_discount_amt) |
| | group by: ws_item_sk |
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=6 row-size=16B cardinality=17.98K |
| | in pipelines: 14(GETNEXT), 03(OPEN) |
| | |
| 13:EXCHANGE [HASH(ws_item_sk)] |
| | mem-estimate=180.43KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=5 row-size=16B cardinality=17.98K |
| | in pipelines: 03(GETNEXT) |
| | |
| F00: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=42.00MB mem-reservation=10.00MB thread-reservation=1 |
| 06:AGGREGATE [STREAMING] |
| | output: avg(ws_ext_discount_amt) |
| | group by: ws_item_sk |
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=5 row-size=16B cardinality=17.98K |
| | in pipelines: 03(GETNEXT) |
| | |
| 05:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=03 |
| | 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=3,4 row-size=42B cardinality=719.38K |
| | in pipelines: 03(GETNEXT), 04(OPEN) |
| | |
| |--F11:PLAN FRAGMENT [RANDOM] hosts=2 instances=2 |
| | | Per-Instance Resources: mem-estimate=5.09MB 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: d_date_sk |
| | | runtime filters: RF002[bloom] <- d_date_sk |
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | |
| | 12:EXCHANGE [BROADCAST] |
| | | mem-estimate=215.48KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=4 row-size=26B cardinality=7.30K |
| | | in pipelines: 04(GETNEXT) |
| | | |
| | F01: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: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | stored statistics: |
| | table: rows=73.05K size=2.15MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | parquet dictionary predicates: CAST(d_date AS DATE) <= DATE '2000-04-26', CAST(d_date AS DATE) >= DATE '2000-01-27' |
| | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | tuple-ids=4 row-size=26B cardinality=7.30K |
| | in pipelines: 04(GETNEXT) |
| | |
| 03:SCAN HDFS [tpcds_parquet.web_sales, RANDOM] |
| HDFS partitions=1/1 files=2 size=45.09MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.web_sales.ws_item_sk, RF002[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=3 row-size=16B cardinality=719.38K |
| in pipelines: 03(GETNEXT) |
| ==== |