| # TPCDS-Q39b |
| WITH inv AS |
| (SELECT w_warehouse_name, |
| w_warehouse_sk, |
| i_item_sk, |
| d_moy, |
| stdev, |
| mean, |
| CASE mean |
| WHEN 0 THEN NULL |
| ELSE stdev/mean |
| END cov |
| FROM |
| (SELECT w_warehouse_name, |
| w_warehouse_sk, |
| i_item_sk, |
| d_moy, |
| stddev_samp(inv_quantity_on_hand) stdev, |
| avg(inv_quantity_on_hand) mean |
| FROM inventory, |
| item, |
| warehouse, |
| date_dim |
| WHERE inv_item_sk = i_item_sk |
| AND inv_warehouse_sk = w_warehouse_sk |
| AND inv_date_sk = d_date_sk |
| AND d_year =2001 |
| GROUP BY w_warehouse_name, |
| w_warehouse_sk, |
| i_item_sk, |
| d_moy) foo |
| WHERE CASE mean |
| WHEN 0 THEN 0 |
| ELSE stdev/mean |
| END > 1) |
| SELECT inv1.w_warehouse_sk, |
| inv1.i_item_sk, |
| inv1.d_moy, |
| inv1.mean, |
| inv1.cov, |
| inv2.w_warehouse_sk, |
| inv2.i_item_sk, |
| inv2.d_moy, |
| inv2.mean, |
| inv2.cov |
| FROM inv inv1, |
| inv inv2 |
| WHERE inv1.i_item_sk = inv2.i_item_sk |
| AND inv1.w_warehouse_sk = inv2.w_warehouse_sk |
| AND inv1.d_moy=1 |
| AND inv2.d_moy=1+1 |
| AND inv1.cov > 1.5 |
| ORDER BY inv1.w_warehouse_sk, |
| inv1.i_item_sk, |
| inv1.d_moy, |
| inv1.mean, |
| inv1.cov, |
| inv2.d_moy, |
| inv2.mean, |
| inv2.cov ; |
| |
| ---- PLAN |
| Max Per-Host Resource Reservation: Memory=131.81MB Threads=9 |
| Per-Host Resource Estimates: Memory=832MB |
| F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=832.27MB mem-reservation=131.81MB thread-reservation=9 runtime-filters-memory=8.00MB |
| PLAN-ROOT SINK |
| | output exprs: w_warehouse_sk, i_item_sk, d_moy, mean, cov, w_warehouse_sk, i_item_sk, d_moy, mean, cov |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 17:SORT |
| | order by: w_warehouse_sk ASC, i_item_sk ASC, d_moy ASC, mean ASC, cov ASC, d_moy ASC, mean ASC, cov ASC |
| | mem-estimate=8.00MB mem-reservation=6.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=16 row-size=64B cardinality=431.40K |
| | in pipelines: 17(GETNEXT), 07(OPEN) |
| | |
| 16:HASH JOIN [INNER JOIN] |
| | hash predicates: i_item_sk = i_item_sk, w_warehouse_sk = w_warehouse_sk |
| | fk/pk conjuncts: i_item_sk = i_item_sk, w_warehouse_sk = w_warehouse_sk |
| | runtime filters: RF000[bloom] <- i_item_sk, RF001[bloom] <- w_warehouse_sk |
| | mem-estimate=34.00MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=5,13 row-size=123B cardinality=431.40K |
| | in pipelines: 07(GETNEXT), 15(OPEN) |
| | |
| |--15:AGGREGATE [FINALIZE] |
| | | output: stddev_samp(inv_quantity_on_hand), avg(CAST(inv_quantity_on_hand AS BIGINT)) |
| | | group by: w_warehouse_name, w_warehouse_sk, i_item_sk, d_moy |
| | | having: CASE avg(inv_quantity_on_hand) WHEN CAST(0 AS DOUBLE) THEN CAST(0 AS DOUBLE) ELSE stddev_samp(inv_quantity_on_hand) / avg(inv_quantity_on_hand) END > CAST(1 AS DOUBLE) |
| | | mem-estimate=278.32MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=13 row-size=62B cardinality=431.40K |
| | | in pipelines: 15(GETNEXT), 08(OPEN) |
| | | |
| | 14:HASH JOIN [INNER JOIN] |
| | | hash predicates: inv_warehouse_sk = w_warehouse_sk |
| | | fk/pk conjuncts: inv_warehouse_sk = w_warehouse_sk |
| | | runtime filters: RF010[bloom] <- w_warehouse_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=8,11,9,10 row-size=74B cardinality=4.82M |
| | | in pipelines: 08(GETNEXT), 10(OPEN) |
| | | |
| | |--10:SCAN HDFS [tpcds_parquet.warehouse] |
| | | HDFS partitions=1/1 files=1 size=4.38KB |
| | | stored statistics: |
| | | table: rows=5 size=4.38KB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=5 |
| | | mem-estimate=32.00MB mem-reservation=16.00KB thread-reservation=1 |
| | | tuple-ids=10 row-size=34B cardinality=5 |
| | | in pipelines: 10(GETNEXT) |
| | | |
| | 13:HASH JOIN [INNER JOIN] |
| | | hash predicates: inv_item_sk = i_item_sk |
| | | fk/pk conjuncts: inv_item_sk = i_item_sk |
| | | runtime filters: RF012[bloom] <- i_item_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=8,11,9 row-size=40B cardinality=4.82M |
| | | in pipelines: 08(GETNEXT), 09(OPEN) |
| | | |
| | |--09: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=16.00MB mem-reservation=256.00KB thread-reservation=1 |
| | | tuple-ids=9 row-size=8B cardinality=18.00K |
| | | in pipelines: 09(GETNEXT) |
| | | |
| | 12:HASH JOIN [INNER JOIN] |
| | | hash predicates: inv_date_sk = d_date_sk |
| | | fk/pk conjuncts: inv_date_sk = d_date_sk |
| | | runtime filters: RF014[bloom] <- d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=8,11 row-size=32B cardinality=4.82M |
| | | in pipelines: 08(GETNEXT), 11(OPEN) |
| | | |
| | |--11:SCAN HDFS [tpcds_parquet.date_dim] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(2 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(2 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(2 AS INT) |
| | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | tuple-ids=11 row-size=12B cardinality=108 |
| | | in pipelines: 11(GETNEXT) |
| | | |
| | 08:SCAN HDFS [tpcds_parquet.inventory] |
| | HDFS partitions=1/1 files=2 size=34.09MB |
| | runtime filters: RF010[bloom] -> inv_warehouse_sk, RF012[bloom] -> inv_item_sk, RF014[bloom] -> inv_date_sk |
| | stored statistics: |
| | table: rows=11.74M size=34.09MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=6.66M |
| | mem-estimate=128.00MB mem-reservation=16.00MB thread-reservation=1 |
| | tuple-ids=8 row-size=20B cardinality=11.74M |
| | in pipelines: 08(GETNEXT) |
| | |
| 07:AGGREGATE [FINALIZE] |
| | output: stddev_samp(inv_quantity_on_hand), avg(CAST(inv_quantity_on_hand AS BIGINT)) |
| | group by: w_warehouse_name, w_warehouse_sk, i_item_sk, d_moy |
| | having: CASE avg(inv_quantity_on_hand) WHEN CAST(0 AS DOUBLE) THEN CAST(0 AS DOUBLE) ELSE stddev_samp(inv_quantity_on_hand) / avg(inv_quantity_on_hand) END > CAST(1 AS DOUBLE), CASE avg(inv_quantity_on_hand) WHEN CAST(0 AS DOUBLE) THEN NULL ELSE stddev_samp(inv_quantity_on_hand) / avg(inv_quantity_on_hand) END > CAST(1.5 AS DOUBLE) |
| | mem-estimate=278.32MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=5 row-size=62B cardinality=431.40K |
| | in pipelines: 07(GETNEXT), 00(OPEN) |
| | |
| 06:HASH JOIN [INNER JOIN] |
| | hash predicates: inv_warehouse_sk = w_warehouse_sk |
| | fk/pk conjuncts: inv_warehouse_sk = w_warehouse_sk |
| | runtime filters: RF004[bloom] <- w_warehouse_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3,1,2 row-size=74B cardinality=4.82M |
| | in pipelines: 00(GETNEXT), 02(OPEN) |
| | |
| |--02:SCAN HDFS [tpcds_parquet.warehouse] |
| | HDFS partitions=1/1 files=1 size=4.38KB |
| | runtime filters: RF001[bloom] -> tpcds_parquet.warehouse.w_warehouse_sk |
| | stored statistics: |
| | table: rows=5 size=4.38KB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=5 |
| | mem-estimate=32.00MB mem-reservation=16.00KB thread-reservation=1 |
| | tuple-ids=2 row-size=34B cardinality=5 |
| | in pipelines: 02(GETNEXT) |
| | |
| 05:HASH JOIN [INNER JOIN] |
| | hash predicates: inv_item_sk = i_item_sk |
| | fk/pk conjuncts: inv_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,3,1 row-size=40B cardinality=4.82M |
| | in pipelines: 00(GETNEXT), 01(OPEN) |
| | |
| |--01:SCAN HDFS [tpcds_parquet.item] |
| | HDFS partitions=1/1 files=1 size=1.73MB |
| | runtime filters: RF000[bloom] -> tpcds_parquet.item.i_item_sk |
| | 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=256.00KB thread-reservation=1 |
| | tuple-ids=1 row-size=8B cardinality=18.00K |
| | in pipelines: 01(GETNEXT) |
| | |
| 04:HASH JOIN [INNER JOIN] |
| | hash predicates: inv_date_sk = d_date_sk |
| | fk/pk conjuncts: inv_date_sk = d_date_sk |
| | runtime filters: RF008[bloom] <- d_date_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3 row-size=32B cardinality=4.82M |
| | in pipelines: 00(GETNEXT), 03(OPEN) |
| | |
| |--03:SCAN HDFS [tpcds_parquet.date_dim] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(1 AS INT) |
| | stored statistics: |
| | table: rows=73.05K size=2.15MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(1 AS INT) |
| | parquet dictionary predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(1 AS INT) |
| | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | tuple-ids=3 row-size=12B cardinality=108 |
| | in pipelines: 03(GETNEXT) |
| | |
| 00:SCAN HDFS [tpcds_parquet.inventory] |
| HDFS partitions=1/1 files=2 size=34.09MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.inventory.inv_item_sk, RF001[bloom] -> tpcds_parquet.inventory.inv_warehouse_sk, RF004[bloom] -> inv_warehouse_sk, RF006[bloom] -> inv_item_sk, RF008[bloom] -> inv_date_sk |
| stored statistics: |
| table: rows=11.74M size=34.09MB |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=6.66M |
| mem-estimate=128.00MB mem-reservation=16.00MB thread-reservation=1 |
| tuple-ids=0 row-size=20B cardinality=11.74M |
| in pipelines: 00(GETNEXT) |
| ---- DISTRIBUTEDPLAN |
| Max Per-Host Resource Reservation: Memory=182.16MB Threads=20 |
| Per-Host Resource Estimates: Memory=1.02GB |
| F11:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=13.30MB mem-reservation=0B thread-reservation=1 |
| PLAN-ROOT SINK |
| | output exprs: w_warehouse_sk, i_item_sk, d_moy, mean, cov, w_warehouse_sk, i_item_sk, d_moy, mean, cov |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 30:MERGING-EXCHANGE [UNPARTITIONED] |
| | order by: w_warehouse_sk ASC, i_item_sk ASC, d_moy ASC, mean ASC, cov ASC, d_moy ASC, mean ASC, cov ASC |
| | mem-estimate=13.30MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=16 row-size=64B cardinality=431.40K |
| | in pipelines: 17(GETNEXT) |
| | |
| F10:PLAN FRAGMENT [HASH(i_item_sk,w_warehouse_sk)] hosts=2 instances=2 |
| Per-Host Resources: mem-estimate=39.26MB mem-reservation=25.00MB thread-reservation=1 runtime-filters-memory=2.00MB |
| 17:SORT |
| | order by: w_warehouse_sk ASC, i_item_sk ASC, d_moy ASC, mean ASC, cov ASC, d_moy ASC, mean ASC, cov ASC |
| | mem-estimate=8.00MB mem-reservation=6.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=16 row-size=64B cardinality=431.40K |
| | in pipelines: 17(GETNEXT), 22(OPEN) |
| | |
| 16:HASH JOIN [INNER JOIN, PARTITIONED] |
| | hash predicates: i_item_sk = i_item_sk, w_warehouse_sk = w_warehouse_sk |
| | fk/pk conjuncts: i_item_sk = i_item_sk, w_warehouse_sk = w_warehouse_sk |
| | runtime filters: RF000[bloom] <- i_item_sk, RF001[bloom] <- w_warehouse_sk |
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0 |
| | tuple-ids=5,13 row-size=123B cardinality=431.40K |
| | in pipelines: 22(GETNEXT), 27(OPEN) |
| | |
| |--29:EXCHANGE [HASH(i_item_sk,w_warehouse_sk)] |
| | | mem-estimate=10.13MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=13 row-size=62B cardinality=431.40K |
| | | in pipelines: 27(GETNEXT) |
| | | |
| | F09:PLAN FRAGMENT [HASH(w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy)] hosts=2 instances=2 |
| | Per-Host Resources: mem-estimate=27.13MB mem-reservation=17.00MB thread-reservation=1 |
| | 27:AGGREGATE [FINALIZE] |
| | | output: stddev_samp:merge(inv_quantity_on_hand), avg:merge(inv_quantity_on_hand) |
| | | group by: w_warehouse_name, w_warehouse_sk, i_item_sk, d_moy |
| | | having: CASE avg(inv_quantity_on_hand) WHEN CAST(0 AS DOUBLE) THEN CAST(0 AS DOUBLE) ELSE stddev_samp(inv_quantity_on_hand) / avg(inv_quantity_on_hand) END > CAST(1 AS DOUBLE) |
| | | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0 |
| | | tuple-ids=13 row-size=62B cardinality=431.40K |
| | | in pipelines: 27(GETNEXT), 08(OPEN) |
| | | |
| | 26:EXCHANGE [HASH(w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy)] |
| | | mem-estimate=10.13MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=12 row-size=62B cardinality=4.31M |
| | | in pipelines: 08(GETNEXT) |
| | | |
| | F05:PLAN FRAGMENT [RANDOM] hosts=2 instances=2 |
| | Per-Host Resources: mem-estimate=370.37MB mem-reservation=58.81MB thread-reservation=2 runtime-filters-memory=3.00MB |
| | 15:AGGREGATE [STREAMING] |
| | | output: stddev_samp(inv_quantity_on_hand), avg(CAST(inv_quantity_on_hand AS BIGINT)) |
| | | group by: w_warehouse_name, w_warehouse_sk, i_item_sk, d_moy |
| | | mem-estimate=233.37MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=12 row-size=62B cardinality=4.31M |
| | | in pipelines: 08(GETNEXT) |
| | | |
| | 14:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: inv_warehouse_sk = w_warehouse_sk |
| | | fk/pk conjuncts: inv_warehouse_sk = w_warehouse_sk |
| | | runtime filters: RF010[bloom] <- w_warehouse_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=8,11,9,10 row-size=74B cardinality=4.82M |
| | | in pipelines: 08(GETNEXT), 10(OPEN) |
| | | |
| | |--25:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=10 row-size=34B cardinality=5 |
| | | | in pipelines: 10(GETNEXT) |
| | | | |
| | | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Host Resources: mem-estimate=32.00MB mem-reservation=16.00KB thread-reservation=2 |
| | | 10:SCAN HDFS [tpcds_parquet.warehouse, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=4.38KB |
| | | stored statistics: |
| | | table: rows=5 size=4.38KB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=5 |
| | | mem-estimate=32.00MB mem-reservation=16.00KB thread-reservation=1 |
| | | tuple-ids=10 row-size=34B cardinality=5 |
| | | in pipelines: 10(GETNEXT) |
| | | |
| | 13:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: inv_item_sk = i_item_sk |
| | | fk/pk conjuncts: inv_item_sk = i_item_sk |
| | | runtime filters: RF012[bloom] <- i_item_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=8,11,9 row-size=40B cardinality=4.82M |
| | | in pipelines: 08(GETNEXT), 09(OPEN) |
| | | |
| | |--24:EXCHANGE [BROADCAST] |
| | | | mem-estimate=152.62KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=9 row-size=8B cardinality=18.00K |
| | | | in pipelines: 09(GETNEXT) |
| | | | |
| | | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Host Resources: mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=2 |
| | | 09: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=256.00KB thread-reservation=1 |
| | | tuple-ids=9 row-size=8B cardinality=18.00K |
| | | in pipelines: 09(GETNEXT) |
| | | |
| | 12:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: inv_date_sk = d_date_sk |
| | | fk/pk conjuncts: inv_date_sk = d_date_sk |
| | | runtime filters: RF014[bloom] <- d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=8,11 row-size=32B cardinality=4.82M |
| | | in pipelines: 08(GETNEXT), 11(OPEN) |
| | | |
| | |--23:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=11 row-size=12B cardinality=108 |
| | | | in pipelines: 11(GETNEXT) |
| | | | |
| | | F06:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2 |
| | | 11:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(2 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(2 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(2 AS INT) |
| | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | tuple-ids=11 row-size=12B cardinality=108 |
| | | in pipelines: 11(GETNEXT) |
| | | |
| | 08:SCAN HDFS [tpcds_parquet.inventory, RANDOM] |
| | HDFS partitions=1/1 files=2 size=34.09MB |
| | runtime filters: RF010[bloom] -> inv_warehouse_sk, RF012[bloom] -> inv_item_sk, RF014[bloom] -> inv_date_sk |
| | stored statistics: |
| | table: rows=11.74M size=34.09MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=6.66M |
| | mem-estimate=128.00MB mem-reservation=16.00MB thread-reservation=1 |
| | tuple-ids=8 row-size=20B cardinality=11.74M |
| | in pipelines: 08(GETNEXT) |
| | |
| 28:EXCHANGE [HASH(i_item_sk,w_warehouse_sk)] |
| | mem-estimate=10.13MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=5 row-size=62B cardinality=431.40K |
| | in pipelines: 22(GETNEXT) |
| | |
| F04:PLAN FRAGMENT [HASH(w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy)] hosts=2 instances=2 |
| Per-Host Resources: mem-estimate=27.13MB mem-reservation=17.00MB thread-reservation=1 |
| 22:AGGREGATE [FINALIZE] |
| | output: stddev_samp:merge(inv_quantity_on_hand), avg:merge(inv_quantity_on_hand) |
| | group by: w_warehouse_name, w_warehouse_sk, i_item_sk, d_moy |
| | having: CASE avg(inv_quantity_on_hand) WHEN CAST(0 AS DOUBLE) THEN CAST(0 AS DOUBLE) ELSE stddev_samp(inv_quantity_on_hand) / avg(inv_quantity_on_hand) END > CAST(1 AS DOUBLE), CASE avg(inv_quantity_on_hand) WHEN CAST(0 AS DOUBLE) THEN NULL ELSE stddev_samp(inv_quantity_on_hand) / avg(inv_quantity_on_hand) END > CAST(1.5 AS DOUBLE) |
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0 |
| | tuple-ids=5 row-size=62B cardinality=431.40K |
| | in pipelines: 22(GETNEXT), 00(OPEN) |
| | |
| 21:EXCHANGE [HASH(w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy)] |
| | mem-estimate=10.13MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=4 row-size=62B cardinality=4.31M |
| | in pipelines: 00(GETNEXT) |
| | |
| F00:PLAN FRAGMENT [RANDOM] hosts=2 instances=2 |
| Per-Host Resources: mem-estimate=372.37MB mem-reservation=60.81MB thread-reservation=2 runtime-filters-memory=5.00MB |
| 07:AGGREGATE [STREAMING] |
| | output: stddev_samp(inv_quantity_on_hand), avg(CAST(inv_quantity_on_hand AS BIGINT)) |
| | group by: w_warehouse_name, w_warehouse_sk, i_item_sk, d_moy |
| | mem-estimate=233.37MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=4 row-size=62B cardinality=4.31M |
| | in pipelines: 00(GETNEXT) |
| | |
| 06:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash predicates: inv_warehouse_sk = w_warehouse_sk |
| | fk/pk conjuncts: inv_warehouse_sk = w_warehouse_sk |
| | runtime filters: RF004[bloom] <- w_warehouse_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3,1,2 row-size=74B cardinality=4.82M |
| | in pipelines: 00(GETNEXT), 02(OPEN) |
| | |
| |--20:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=2 row-size=34B cardinality=5 |
| | | in pipelines: 02(GETNEXT) |
| | | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=33.00MB mem-reservation=1.02MB thread-reservation=2 runtime-filters-memory=1.00MB |
| | 02:SCAN HDFS [tpcds_parquet.warehouse, RANDOM] |
| | HDFS partitions=1/1 files=1 size=4.38KB |
| | runtime filters: RF001[bloom] -> tpcds_parquet.warehouse.w_warehouse_sk |
| | stored statistics: |
| | table: rows=5 size=4.38KB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=5 |
| | mem-estimate=32.00MB mem-reservation=16.00KB thread-reservation=1 |
| | tuple-ids=2 row-size=34B cardinality=5 |
| | in pipelines: 02(GETNEXT) |
| | |
| 05:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash predicates: inv_item_sk = i_item_sk |
| | fk/pk conjuncts: inv_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,3,1 row-size=40B cardinality=4.82M |
| | in pipelines: 00(GETNEXT), 01(OPEN) |
| | |
| |--19:EXCHANGE [BROADCAST] |
| | | mem-estimate=152.62KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=1 row-size=8B cardinality=18.00K |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=17.00MB mem-reservation=1.25MB 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: RF000[bloom] -> tpcds_parquet.item.i_item_sk |
| | 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=256.00KB thread-reservation=1 |
| | tuple-ids=1 row-size=8B cardinality=18.00K |
| | in pipelines: 01(GETNEXT) |
| | |
| 04:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash predicates: inv_date_sk = d_date_sk |
| | fk/pk conjuncts: inv_date_sk = d_date_sk |
| | runtime filters: RF008[bloom] <- d_date_sk |
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3 row-size=32B cardinality=4.82M |
| | in pipelines: 00(GETNEXT), 03(OPEN) |
| | |
| |--18:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=3 row-size=12B cardinality=108 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2 |
| | 03:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(1 AS INT) |
| | stored statistics: |
| | table: rows=73.05K size=2.15MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(1 AS INT) |
| | parquet dictionary predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(1 AS INT) |
| | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | tuple-ids=3 row-size=12B cardinality=108 |
| | in pipelines: 03(GETNEXT) |
| | |
| 00:SCAN HDFS [tpcds_parquet.inventory, RANDOM] |
| HDFS partitions=1/1 files=2 size=34.09MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.inventory.inv_item_sk, RF001[bloom] -> tpcds_parquet.inventory.inv_warehouse_sk, RF004[bloom] -> inv_warehouse_sk, RF006[bloom] -> inv_item_sk, RF008[bloom] -> inv_date_sk |
| stored statistics: |
| table: rows=11.74M size=34.09MB |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=6.66M |
| mem-estimate=128.00MB mem-reservation=16.00MB thread-reservation=1 |
| tuple-ids=0 row-size=20B cardinality=11.74M |
| in pipelines: 00(GETNEXT) |
| ---- PARALLELPLANS |
| Max Per-Host Resource Reservation: Memory=199.78MB Threads=19 |
| Per-Host Resource Estimates: Memory=781MB |
| F11:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=13.30MB mem-reservation=0B thread-reservation=1 |
| PLAN-ROOT SINK |
| | output exprs: w_warehouse_sk, i_item_sk, d_moy, mean, cov, w_warehouse_sk, i_item_sk, d_moy, mean, cov |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 30:MERGING-EXCHANGE [UNPARTITIONED] |
| | order by: w_warehouse_sk ASC, i_item_sk ASC, d_moy ASC, mean ASC, cov ASC, d_moy ASC, mean ASC, cov ASC |
| | mem-estimate=13.30MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=16 row-size=64B cardinality=431.40K |
| | in pipelines: 17(GETNEXT) |
| | |
| F10:PLAN FRAGMENT [HASH(i_item_sk,w_warehouse_sk)] hosts=2 instances=2 |
| Per-Instance Resources: mem-estimate=18.13MB mem-reservation=6.00MB thread-reservation=1 |
| 17:SORT |
| | order by: w_warehouse_sk ASC, i_item_sk ASC, d_moy ASC, mean ASC, cov ASC, d_moy ASC, mean ASC, cov ASC |
| | mem-estimate=8.00MB mem-reservation=6.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=16 row-size=64B cardinality=431.40K |
| | in pipelines: 17(GETNEXT), 22(OPEN) |
| | |
| 16:HASH JOIN [INNER JOIN, PARTITIONED] |
| | hash-table-id=00 |
| | hash predicates: i_item_sk = i_item_sk, w_warehouse_sk = w_warehouse_sk |
| | fk/pk conjuncts: i_item_sk = i_item_sk, w_warehouse_sk = w_warehouse_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=1.00MB thread-reservation=0 |
| | tuple-ids=5,13 row-size=123B cardinality=431.40K |
| | in pipelines: 22(GETNEXT), 27(OPEN) |
| | |
| |--F12:PLAN FRAGMENT [HASH(i_item_sk,w_warehouse_sk)] hosts=2 instances=2 |
| | | Per-Instance Resources: mem-estimate=29.13MB mem-reservation=19.00MB thread-reservation=1 runtime-filters-memory=2.00MB |
| | JOIN BUILD |
| | | join-table-id=00 plan-id=01 cohort-id=01 |
| | | build expressions: i_item_sk, w_warehouse_sk |
| | | runtime filters: RF000[bloom] <- i_item_sk, RF001[bloom] <- w_warehouse_sk |
| | | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0 |
| | | |
| | 29:EXCHANGE [HASH(i_item_sk,w_warehouse_sk)] |
| | | mem-estimate=10.13MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=13 row-size=62B cardinality=431.40K |
| | | in pipelines: 27(GETNEXT) |
| | | |
| | F09:PLAN FRAGMENT [HASH(w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy)] hosts=2 instances=2 |
| | Per-Instance Resources: mem-estimate=27.13MB mem-reservation=17.00MB thread-reservation=1 |
| | 27:AGGREGATE [FINALIZE] |
| | | output: stddev_samp:merge(inv_quantity_on_hand), avg:merge(inv_quantity_on_hand) |
| | | group by: w_warehouse_name, w_warehouse_sk, i_item_sk, d_moy |
| | | having: CASE avg(inv_quantity_on_hand) WHEN CAST(0 AS DOUBLE) THEN CAST(0 AS DOUBLE) ELSE stddev_samp(inv_quantity_on_hand) / avg(inv_quantity_on_hand) END > CAST(1 AS DOUBLE) |
| | | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0 |
| | | tuple-ids=13 row-size=62B cardinality=431.40K |
| | | in pipelines: 27(GETNEXT), 08(OPEN) |
| | | |
| | 26:EXCHANGE [HASH(w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy)] |
| | | mem-estimate=10.13MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=12 row-size=62B cardinality=4.31M |
| | | in pipelines: 08(GETNEXT) |
| | | |
| | F05:PLAN FRAGMENT [RANDOM] hosts=2 instances=2 |
| | Per-Host Shared Resources: mem-estimate=3.00MB mem-reservation=3.00MB thread-reservation=0 runtime-filters-memory=3.00MB |
| | Per-Instance Resources: mem-estimate=265.37MB mem-reservation=50.00MB thread-reservation=1 |
| | 15:AGGREGATE [STREAMING] |
| | | output: stddev_samp(inv_quantity_on_hand), avg(CAST(inv_quantity_on_hand AS BIGINT)) |
| | | group by: w_warehouse_name, w_warehouse_sk, i_item_sk, d_moy |
| | | mem-estimate=233.37MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=12 row-size=62B cardinality=4.31M |
| | | in pipelines: 08(GETNEXT) |
| | | |
| | 14:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=01 |
| | | hash predicates: inv_warehouse_sk = w_warehouse_sk |
| | | fk/pk conjuncts: inv_warehouse_sk = w_warehouse_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=8,11,9,10 row-size=74B cardinality=4.82M |
| | | in pipelines: 08(GETNEXT), 10(OPEN) |
| | | |
| | |--F13: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=01 plan-id=02 cohort-id=02 |
| | | | build expressions: w_warehouse_sk |
| | | | runtime filters: RF010[bloom] <- w_warehouse_sk |
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | |
| | | 25:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=10 row-size=34B cardinality=5 |
| | | | in pipelines: 10(GETNEXT) |
| | | | |
| | | F08:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=1 |
| | | 10:SCAN HDFS [tpcds_parquet.warehouse, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=4.38KB |
| | | stored statistics: |
| | | table: rows=5 size=4.38KB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=5 |
| | | mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=0 |
| | | tuple-ids=10 row-size=34B cardinality=5 |
| | | in pipelines: 10(GETNEXT) |
| | | |
| | 13:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=02 |
| | | hash predicates: inv_item_sk = i_item_sk |
| | | fk/pk conjuncts: inv_item_sk = i_item_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=8,11,9 row-size=40B cardinality=4.82M |
| | | in pipelines: 08(GETNEXT), 09(OPEN) |
| | | |
| | |--F14:PLAN FRAGMENT [RANDOM] hosts=2 instances=2 |
| | | | Per-Instance Resources: mem-estimate=5.02MB 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: RF012[bloom] <- i_item_sk |
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | |
| | | 24:EXCHANGE [BROADCAST] |
| | | | mem-estimate=152.62KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=9 row-size=8B cardinality=18.00K |
| | | | in pipelines: 09(GETNEXT) |
| | | | |
| | | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=1 |
| | | 09: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=256.00KB thread-reservation=0 |
| | | tuple-ids=9 row-size=8B cardinality=18.00K |
| | | in pipelines: 09(GETNEXT) |
| | | |
| | 12:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=03 |
| | | hash predicates: inv_date_sk = d_date_sk |
| | | fk/pk conjuncts: inv_date_sk = d_date_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=8,11 row-size=32B cardinality=4.82M |
| | | in pipelines: 08(GETNEXT), 11(OPEN) |
| | | |
| | |--F15: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=03 plan-id=04 cohort-id=02 |
| | | | build expressions: d_date_sk |
| | | | runtime filters: RF014[bloom] <- d_date_sk |
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | |
| | | 23:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=11 row-size=12B cardinality=108 |
| | | | in pipelines: 11(GETNEXT) |
| | | | |
| | | F06:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | 11:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(2 AS INT) |
| | | stored statistics: |
| | | table: rows=73.05K size=2.15MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | | parquet statistics predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(2 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(2 AS INT) |
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | tuple-ids=11 row-size=12B cardinality=108 |
| | | in pipelines: 11(GETNEXT) |
| | | |
| | 08:SCAN HDFS [tpcds_parquet.inventory, RANDOM] |
| | HDFS partitions=1/1 files=2 size=34.09MB |
| | runtime filters: RF010[bloom] -> inv_warehouse_sk, RF012[bloom] -> inv_item_sk, RF014[bloom] -> inv_date_sk |
| | stored statistics: |
| | table: rows=11.74M size=34.09MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=6.66M |
| | mem-estimate=32.00MB mem-reservation=16.00MB thread-reservation=0 |
| | tuple-ids=8 row-size=20B cardinality=11.74M |
| | in pipelines: 08(GETNEXT) |
| | |
| 28:EXCHANGE [HASH(i_item_sk,w_warehouse_sk)] |
| | mem-estimate=10.13MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=5 row-size=62B cardinality=431.40K |
| | in pipelines: 22(GETNEXT) |
| | |
| F04:PLAN FRAGMENT [HASH(w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy)] hosts=2 instances=2 |
| Per-Instance Resources: mem-estimate=27.13MB mem-reservation=17.00MB thread-reservation=1 |
| 22:AGGREGATE [FINALIZE] |
| | output: stddev_samp:merge(inv_quantity_on_hand), avg:merge(inv_quantity_on_hand) |
| | group by: w_warehouse_name, w_warehouse_sk, i_item_sk, d_moy |
| | having: CASE avg(inv_quantity_on_hand) WHEN CAST(0 AS DOUBLE) THEN CAST(0 AS DOUBLE) ELSE stddev_samp(inv_quantity_on_hand) / avg(inv_quantity_on_hand) END > CAST(1 AS DOUBLE), CASE avg(inv_quantity_on_hand) WHEN CAST(0 AS DOUBLE) THEN NULL ELSE stddev_samp(inv_quantity_on_hand) / avg(inv_quantity_on_hand) END > CAST(1.5 AS DOUBLE) |
| | mem-estimate=17.00MB mem-reservation=17.00MB spill-buffer=1.00MB thread-reservation=0 |
| | tuple-ids=5 row-size=62B cardinality=431.40K |
| | in pipelines: 22(GETNEXT), 00(OPEN) |
| | |
| 21:EXCHANGE [HASH(w_warehouse_name,w_warehouse_sk,i_item_sk,d_moy)] |
| | mem-estimate=10.13MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=4 row-size=62B cardinality=4.31M |
| | in pipelines: 00(GETNEXT) |
| | |
| F00:PLAN FRAGMENT [RANDOM] hosts=2 instances=2 |
| Per-Host Shared Resources: mem-estimate=5.00MB mem-reservation=5.00MB thread-reservation=0 runtime-filters-memory=5.00MB |
| Per-Instance Resources: mem-estimate=265.37MB mem-reservation=50.00MB thread-reservation=1 |
| 07:AGGREGATE [STREAMING] |
| | output: stddev_samp(inv_quantity_on_hand), avg(CAST(inv_quantity_on_hand AS BIGINT)) |
| | group by: w_warehouse_name, w_warehouse_sk, i_item_sk, d_moy |
| | mem-estimate=233.37MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=4 row-size=62B cardinality=4.31M |
| | in pipelines: 00(GETNEXT) |
| | |
| 06:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=04 |
| | hash predicates: inv_warehouse_sk = w_warehouse_sk |
| | fk/pk conjuncts: inv_warehouse_sk = w_warehouse_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3,1,2 row-size=74B cardinality=4.82M |
| | in pipelines: 00(GETNEXT), 02(OPEN) |
| | |
| |--F16: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=04 plan-id=05 cohort-id=01 |
| | | build expressions: w_warehouse_sk |
| | | runtime filters: RF004[bloom] <- w_warehouse_sk |
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | |
| | 20:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=2 row-size=34B cardinality=5 |
| | | in pipelines: 02(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=16.00KB thread-reservation=1 |
| | 02:SCAN HDFS [tpcds_parquet.warehouse, RANDOM] |
| | HDFS partitions=1/1 files=1 size=4.38KB |
| | runtime filters: RF001[bloom] -> tpcds_parquet.warehouse.w_warehouse_sk |
| | stored statistics: |
| | table: rows=5 size=4.38KB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=5 |
| | mem-estimate=16.00MB mem-reservation=16.00KB thread-reservation=0 |
| | tuple-ids=2 row-size=34B cardinality=5 |
| | in pipelines: 02(GETNEXT) |
| | |
| 05:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=05 |
| | hash predicates: inv_item_sk = i_item_sk |
| | fk/pk conjuncts: inv_item_sk = i_item_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3,1 row-size=40B cardinality=4.82M |
| | in pipelines: 00(GETNEXT), 01(OPEN) |
| | |
| |--F17:PLAN FRAGMENT [RANDOM] hosts=2 instances=2 |
| | | Per-Instance Resources: mem-estimate=5.02MB 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_sk |
| | | runtime filters: RF006[bloom] <- i_item_sk |
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | |
| | 19:EXCHANGE [BROADCAST] |
| | | mem-estimate=152.62KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=1 row-size=8B cardinality=18.00K |
| | | in pipelines: 01(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=256.00KB thread-reservation=1 |
| | 01:SCAN HDFS [tpcds_parquet.item, RANDOM] |
| | HDFS partitions=1/1 files=1 size=1.73MB |
| | runtime filters: RF000[bloom] -> tpcds_parquet.item.i_item_sk |
| | 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=256.00KB thread-reservation=0 |
| | tuple-ids=1 row-size=8B cardinality=18.00K |
| | in pipelines: 01(GETNEXT) |
| | |
| 04:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=06 |
| | hash predicates: inv_date_sk = d_date_sk |
| | fk/pk conjuncts: inv_date_sk = d_date_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=0,3 row-size=32B cardinality=4.82M |
| | in pipelines: 00(GETNEXT), 03(OPEN) |
| | |
| |--F18: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=01 |
| | | build expressions: d_date_sk |
| | | runtime filters: RF008[bloom] <- d_date_sk |
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | |
| | 18:EXCHANGE [BROADCAST] |
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=3 row-size=12B cardinality=108 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | 03:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(1 AS INT) |
| | stored statistics: |
| | table: rows=73.05K size=2.15MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=73.05K |
| | parquet statistics predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(1 AS INT) |
| | parquet dictionary predicates: d_year = CAST(2001 AS INT), tpcds_parquet.date_dim.d_moy = CAST(1 AS INT) |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | tuple-ids=3 row-size=12B cardinality=108 |
| | in pipelines: 03(GETNEXT) |
| | |
| 00:SCAN HDFS [tpcds_parquet.inventory, RANDOM] |
| HDFS partitions=1/1 files=2 size=34.09MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.inventory.inv_item_sk, RF001[bloom] -> tpcds_parquet.inventory.inv_warehouse_sk, RF004[bloom] -> inv_warehouse_sk, RF006[bloom] -> inv_item_sk, RF008[bloom] -> inv_date_sk |
| stored statistics: |
| table: rows=11.74M size=34.09MB |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=6.66M |
| mem-estimate=32.00MB mem-reservation=16.00MB thread-reservation=0 |
| tuple-ids=0 row-size=20B cardinality=11.74M |
| in pipelines: 00(GETNEXT) |
| ==== |