| # TPCDS-Q32 |
| SELECT sum(cs_ext_discount_amt) AS "excess discount amount" |
| FROM catalog_sales , |
| item , |
| date_dim |
| WHERE i_manufact_id = 977 |
| AND i_item_sk = cs_item_sk |
| AND d_date BETWEEN '2000-01-27' AND cast('2000-04-26' AS date) |
| AND d_date_sk = cs_sold_date_sk |
| AND cs_ext_discount_amt > |
| ( SELECT 1.3 * avg(cs_ext_discount_amt) |
| FROM catalog_sales , |
| date_dim |
| WHERE cs_item_sk = i_item_sk |
| AND d_date BETWEEN '2000-01-27' AND cast('2000-04-26' AS date) |
| AND d_date_sk = cs_sold_date_sk ) |
| LIMIT 100; |
| |
| ---- PLAN |
| Max Per-Host Resource Reservation: Memory=28.75MB Threads=6 |
| Per-Host Resource Estimates: Memory=392MB |
| F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=391.88MB mem-reservation=28.75MB thread-reservation=6 runtime-filters-memory=4.00MB |
| PLAN-ROOT SINK |
| | output exprs: sum(cs_ext_discount_amt) |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 10:AGGREGATE [FINALIZE] |
| | output: sum(cs_ext_discount_amt) |
| | limit: 100 |
| | 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: cs_item_sk = i_item_sk |
| | other join predicates: cs_ext_discount_amt > CAST(1.3 AS DECIMAL(2,1)) * avg(cs_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=1.52K |
| | in pipelines: 06(GETNEXT), 02(OPEN) |
| | |
| |--08:HASH JOIN [INNER JOIN] |
| | | hash predicates: d_date_sk = cs_sold_date_sk |
| | | fk/pk conjuncts: d_date_sk = cs_sold_date_sk |
| | | runtime filters: RF004[bloom] <- cs_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=1.52K |
| | | in pipelines: 02(GETNEXT), 00(OPEN) |
| | | |
| | |--07:HASH JOIN [INNER JOIN] |
| | | | hash predicates: cs_item_sk = i_item_sk |
| | | | fk/pk conjuncts: cs_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=1.52K |
| | | | 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(977 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(977 AS INT) |
| | | | parquet dictionary predicates: i_manufact_id = CAST(977 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.catalog_sales] |
| | | HDFS partitions=1/1 files=3 size=96.62MB |
| | | runtime filters: RF006[bloom] -> cs_item_sk |
| | | 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=0 row-size=16B cardinality=1.44M |
| | | 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(cs_ext_discount_amt) |
| | group by: cs_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: cs_sold_date_sk = d_date_sk |
| | fk/pk conjuncts: cs_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=1.44M |
| | 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.catalog_sales] |
| HDFS partitions=1/1 files=3 size=96.62MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.catalog_sales.cs_item_sk, RF002[bloom] -> cs_sold_date_sk |
| stored statistics: |
| table: rows=1.44M size=96.62MB |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=650.14K |
| mem-estimate=144.00MB mem-reservation=8.00MB thread-reservation=1 |
| tuple-ids=3 row-size=16B cardinality=1.44M |
| in pipelines: 03(GETNEXT) |
| ---- DISTRIBUTEDPLAN |
| Max Per-Host Resource Reservation: Memory=35.94MB Threads=13 |
| Per-Host Resource Estimates: Memory=438MB |
| 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(cs_ext_discount_amt) |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 19:AGGREGATE [FINALIZE] |
| | output: sum:merge(cs_ext_discount_amt) |
| | limit: 100 |
| | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=8 row-size=16B cardinality=1 |
| | in pipelines: 19(GETNEXT), 10(OPEN) |
| | |
| 18: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(cs_item_sk)] hosts=3 instances=3 |
| Per-Host Resources: mem-estimate=22.94MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| 10:AGGREGATE |
| | output: sum(cs_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), 13(OPEN) |
| | |
| 09:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED] |
| | hash predicates: cs_item_sk = i_item_sk |
| | other join predicates: cs_ext_discount_amt > CAST(1.3 AS DECIMAL(2,1)) * avg(cs_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=1.52K |
| | in pipelines: 13(GETNEXT), 00(OPEN) |
| | |
| |--17:EXCHANGE [HASH(i_item_sk)] |
| | | mem-estimate=224.75KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,1,2 row-size=54B cardinality=1.52K |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | F06:PLAN FRAGMENT [HASH(cs_sold_date_sk)] hosts=3 instances=3 |
| | Per-Host Resources: mem-estimate=3.27MB mem-reservation=2.94MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | 08:HASH JOIN [INNER JOIN, PARTITIONED] |
| | | hash predicates: cs_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: cs_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=1.52K |
| | | in pipelines: 00(GETNEXT), 02(OPEN) |
| | | |
| | |--16: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) |
| | | |
| | 15:EXCHANGE [HASH(cs_sold_date_sk)] |
| | | mem-estimate=121.87KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,1 row-size=28B cardinality=1.52K |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | Per-Host Resources: mem-estimate=147.95MB mem-reservation=11.94MB thread-reservation=2 runtime-filters-memory=2.00MB |
| | 07:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: cs_item_sk = i_item_sk |
| | | fk/pk conjuncts: cs_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=1.52K |
| | | in pipelines: 00(GETNEXT), 01(OPEN) |
| | | |
| | |--14: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(977 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(977 AS INT) |
| | | parquet dictionary predicates: i_manufact_id = CAST(977 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.catalog_sales, RANDOM] |
| | HDFS partitions=1/1 files=3 size=96.62MB |
| | runtime filters: RF004[bloom] -> cs_sold_date_sk, RF006[bloom] -> cs_item_sk |
| | 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=0 row-size=16B cardinality=1.44M |
| | in pipelines: 00(GETNEXT) |
| | |
| 13:AGGREGATE [FINALIZE] |
| | output: avg:merge(cs_ext_discount_amt) |
| | group by: cs_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: 13(GETNEXT), 03(OPEN) |
| | |
| 12:EXCHANGE [HASH(cs_item_sk)] |
| | mem-estimate=153.62KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=5 row-size=16B cardinality=17.98K |
| | in pipelines: 03(GETNEXT) |
| | |
| F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| Per-Host Resources: mem-estimate=158.15MB mem-reservation=13.94MB thread-reservation=2 runtime-filters-memory=2.00MB |
| 06:AGGREGATE [STREAMING] |
| | output: avg(cs_ext_discount_amt) |
| | group by: cs_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: cs_sold_date_sk = d_date_sk |
| | fk/pk conjuncts: cs_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=1.44M |
| | in pipelines: 03(GETNEXT), 04(OPEN) |
| | |
| |--11: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.catalog_sales, RANDOM] |
| HDFS partitions=1/1 files=3 size=96.62MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.catalog_sales.cs_item_sk, RF002[bloom] -> cs_sold_date_sk |
| stored statistics: |
| table: rows=1.44M size=96.62MB |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=650.14K |
| mem-estimate=144.00MB mem-reservation=8.00MB thread-reservation=1 |
| tuple-ids=3 row-size=16B cardinality=1.44M |
| in pipelines: 03(GETNEXT) |
| ---- PARALLELPLANS |
| Max Per-Host Resource Reservation: Memory=41.81MB Threads=12 |
| Per-Host Resource Estimates: Memory=204MB |
| 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(cs_ext_discount_amt) |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 19:AGGREGATE [FINALIZE] |
| | output: sum:merge(cs_ext_discount_amt) |
| | limit: 100 |
| | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=8 row-size=16B cardinality=1 |
| | in pipelines: 19(GETNEXT), 10(OPEN) |
| | |
| 18: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(cs_item_sk)] hosts=3 instances=3 |
| Per-Instance Resources: mem-estimate=20.00MB mem-reservation=1.94MB thread-reservation=1 |
| 10:AGGREGATE |
| | output: sum(cs_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), 13(OPEN) |
| | |
| 09:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED] |
| | hash-table-id=00 |
| | hash predicates: cs_item_sk = i_item_sk |
| | other join predicates: cs_ext_discount_amt > CAST(1.3 AS DECIMAL(2,1)) * avg(cs_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=1.52K |
| | in pipelines: 13(GETNEXT), 00(OPEN) |
| | |
| |--F08:PLAN FRAGMENT [HASH(cs_item_sk)] hosts=3 instances=3 |
| | | Per-Instance Resources: mem-estimate=3.16MB 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 |
| | | |
| | 17:EXCHANGE [HASH(i_item_sk)] |
| | | mem-estimate=224.75KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,1,2 row-size=54B cardinality=1.52K |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | F06:PLAN FRAGMENT [HASH(cs_sold_date_sk)] hosts=3 instances=3 |
| | Per-Instance Resources: mem-estimate=121.87KB mem-reservation=0B thread-reservation=1 |
| | 08:HASH JOIN [INNER JOIN, PARTITIONED] |
| | | hash-table-id=01 |
| | | hash predicates: cs_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: cs_sold_date_sk = d_date_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=0,1,2 row-size=54B cardinality=1.52K |
| | | in pipelines: 00(GETNEXT), 02(OPEN) |
| | | |
| | |--F09:PLAN FRAGMENT [HASH(cs_sold_date_sk)] hosts=3 instances=3 |
| | | | 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 |
| | | | |
| | | 16: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) |
| | | |
| | 15:EXCHANGE [HASH(cs_sold_date_sk)] |
| | | mem-estimate=121.87KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,1 row-size=28B cardinality=1.52K |
| | | in pipelines: 00(GETNEXT) |
| | | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB |
| | Per-Instance Resources: mem-estimate=48.00MB mem-reservation=8.00MB thread-reservation=1 |
| | 07:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=02 |
| | | 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=0,1 row-size=28B cardinality=1.52K |
| | | in pipelines: 00(GETNEXT), 01(OPEN) |
| | | |
| | |--F10: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=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 |
| | | | |
| | | 14: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(977 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(977 AS INT) |
| | | parquet dictionary predicates: i_manufact_id = CAST(977 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.catalog_sales, RANDOM] |
| | HDFS partitions=1/1 files=3 size=96.62MB |
| | runtime filters: RF004[bloom] -> cs_sold_date_sk, RF006[bloom] -> cs_item_sk |
| | stored statistics: |
| | table: rows=1.44M size=96.62MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=650.14K |
| | mem-estimate=48.00MB mem-reservation=8.00MB thread-reservation=0 |
| | tuple-ids=0 row-size=16B cardinality=1.44M |
| | in pipelines: 00(GETNEXT) |
| | |
| 13:AGGREGATE [FINALIZE] |
| | output: avg:merge(cs_ext_discount_amt) |
| | group by: cs_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: 13(GETNEXT), 03(OPEN) |
| | |
| 12:EXCHANGE [HASH(cs_item_sk)] |
| | mem-estimate=153.62KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=5 row-size=16B cardinality=17.98K |
| | in pipelines: 03(GETNEXT) |
| | |
| F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB |
| Per-Instance Resources: mem-estimate=58.00MB mem-reservation=10.00MB thread-reservation=1 |
| 06:AGGREGATE [STREAMING] |
| | output: avg(cs_ext_discount_amt) |
| | group by: cs_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: cs_sold_date_sk = d_date_sk |
| | fk/pk conjuncts: cs_sold_date_sk = d_date_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=3,4 row-size=42B cardinality=1.44M |
| | in pipelines: 03(GETNEXT), 04(OPEN) |
| | |
| |--F11:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | 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 |
| | | |
| | 11: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.catalog_sales, RANDOM] |
| HDFS partitions=1/1 files=3 size=96.62MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.catalog_sales.cs_item_sk, RF002[bloom] -> cs_sold_date_sk |
| stored statistics: |
| table: rows=1.44M size=96.62MB |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=650.14K |
| mem-estimate=48.00MB mem-reservation=8.00MB thread-reservation=0 |
| tuple-ids=3 row-size=16B cardinality=1.44M |
| in pipelines: 03(GETNEXT) |
| ==== |