| # TPCDS-Q23b second of two queries |
| WITH frequent_ss_items AS |
| (SELECT itemdesc, |
| i_item_sk item_sk, |
| d_date solddate, |
| count(*) cnt |
| FROM store_sales, |
| date_dim, |
| (SELECT SUBSTRING(i_item_desc, 1, 30) itemdesc, |
| * |
| FROM item) sq1 |
| WHERE ss_sold_date_sk = d_date_sk |
| AND ss_item_sk = i_item_sk |
| AND d_year IN (2000, |
| 2000+1, |
| 2000+2, |
| 2000+3) |
| GROUP BY itemdesc, |
| i_item_sk, |
| d_date |
| HAVING count(*) >4), |
| max_store_sales AS |
| (SELECT max(csales) tpcds_cmax |
| FROM |
| (SELECT c_customer_sk, |
| sum(ss_quantity*ss_sales_price) csales |
| FROM store_sales, |
| customer, |
| date_dim |
| WHERE ss_customer_sk = c_customer_sk |
| AND ss_sold_date_sk = d_date_sk |
| AND d_year IN (2000, |
| 2000+1, |
| 2000+2, |
| 2000+3) |
| GROUP BY c_customer_sk) sq2), |
| best_ss_customer AS |
| (SELECT c_customer_sk, |
| sum(ss_quantity*ss_sales_price) ssales |
| FROM store_sales, |
| customer, |
| max_store_sales |
| WHERE ss_customer_sk = c_customer_sk |
| GROUP BY c_customer_sk |
| HAVING sum(ss_quantity*ss_sales_price) > (50/100.0) * max(tpcds_cmax)) |
| SELECT c_last_name, |
| c_first_name, |
| sales |
| FROM |
| (SELECT c_last_name, |
| c_first_name, |
| sum(cs_quantity*cs_list_price) sales |
| FROM catalog_sales, |
| customer, |
| date_dim, |
| frequent_ss_items, |
| best_ss_customer |
| WHERE d_year = 2000 |
| AND d_moy = 2 |
| AND cs_sold_date_sk = d_date_sk |
| AND cs_item_sk = item_sk |
| AND cs_bill_customer_sk = best_ss_customer.c_customer_sk |
| AND cs_bill_customer_sk = customer.c_customer_sk |
| GROUP BY c_last_name, |
| c_first_name |
| UNION ALL SELECT c_last_name, |
| c_first_name, |
| sum(ws_quantity*ws_list_price) sales |
| FROM web_sales, |
| customer, |
| date_dim, |
| frequent_ss_items, |
| best_ss_customer |
| WHERE d_year = 2000 |
| AND d_moy = 2 |
| AND ws_sold_date_sk = d_date_sk |
| AND ws_item_sk = item_sk |
| AND ws_bill_customer_sk = best_ss_customer.c_customer_sk |
| AND ws_bill_customer_sk = customer.c_customer_sk |
| GROUP BY c_last_name, |
| c_first_name) sq3 |
| ORDER BY c_last_name, |
| c_first_name, |
| sales |
| LIMIT 100; |
| ---- PLAN |
| Max Per-Host Resource Reservation: Memory=73.81MB Threads=12 |
| Per-Host Resource Estimates: Memory=660MB |
| F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=659.94MB mem-reservation=73.81MB thread-reservation=12 runtime-filters-memory=10.00MB |
| PLAN-ROOT SINK |
| | output exprs: c_last_name, c_first_name, sales |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 53:TOP-N [LIMIT=100] |
| | order by: c_last_name ASC, c_first_name ASC, sales ASC |
| | mem-estimate=5.08KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=44 row-size=52B cardinality=100 |
| | in pipelines: 53(GETNEXT), 26(OPEN), 52(OPEN) |
| | |
| 00:UNION |
| | pass-through-operands: all |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=42 row-size=52B cardinality=20.15K |
| | in pipelines: 26(GETNEXT), 52(GETNEXT) |
| | |
| |--52:AGGREGATE [FINALIZE] |
| | | output: sum(CAST(ws_quantity AS DECIMAL(10,0)) * ws_list_price) |
| | | group by: c_last_name, c_first_name |
| | | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=41 row-size=52B cardinality=9.63K |
| | | in pipelines: 52(GETNEXT), 35(OPEN) |
| | | |
| | 51:HASH JOIN [INNER JOIN] |
| | | hash predicates: i_item_sk = ws_item_sk |
| | | fk/pk conjuncts: i_item_sk = ws_item_sk |
| | | runtime filters: RF018[bloom] <- ws_item_sk |
| | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | tuple-ids=28,22,21,23,39 row-size=162B cardinality=9.63K |
| | | in pipelines: 35(GETNEXT), 28(OPEN) |
| | | |
| | |--50:HASH JOIN [INNER JOIN] |
| | | | hash predicates: customer.c_customer_sk = ws_bill_customer_sk |
| | | | fk/pk conjuncts: customer.c_customer_sk = ws_bill_customer_sk |
| | | | runtime filters: RF024[bloom] <- ws_bill_customer_sk |
| | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | tuple-ids=22,21,23,39 row-size=112B cardinality=9.63K |
| | | | in pipelines: 28(GETNEXT), 27(OPEN) |
| | | | |
| | | |--49:HASH JOIN [INNER JOIN] |
| | | | | hash predicates: ws_bill_customer_sk = c_customer_sk |
| | | | | fk/pk conjuncts: ws_bill_customer_sk = c_customer_sk |
| | | | | runtime filters: RF026[bloom] <- c_customer_sk |
| | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=21,23,39 row-size=72B cardinality=9.63K |
| | | | | in pipelines: 27(GETNEXT), 47(OPEN) |
| | | | | |
| | | | |--47:AGGREGATE [FINALIZE] |
| | | | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price), max(max(csales)) |
| | | | | | group by: c_customer_sk |
| | | | | | having: sum(ss_quantity * ss_sales_price) > CAST(0.500000 AS DECIMAL(10,6)) * max(tpcds_cmax) |
| | | | | | mem-estimate=10.00MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0 |
| | | | | | tuple-ids=39 row-size=36B cardinality=10.00K |
| | | | | | in pipelines: 47(GETNEXT), 36(OPEN) |
| | | | | | |
| | | | | 46:NESTED LOOP JOIN [CROSS JOIN] |
| | | | | | mem-estimate=16B mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=30,31,37 row-size=32B cardinality=2.88M |
| | | | | | in pipelines: 36(GETNEXT), 44(OPEN) |
| | | | | | |
| | | | | |--44:AGGREGATE [FINALIZE] |
| | | | | | | output: max(sum(ss_quantity * ss_sales_price)) |
| | | | | | | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | | | | | tuple-ids=37 row-size=16B cardinality=1 |
| | | | | | | in pipelines: 44(GETNEXT), 43(OPEN) |
| | | | | | | |
| | | | | | 43:AGGREGATE [FINALIZE] |
| | | | | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price) |
| | | | | | | group by: c_customer_sk |
| | | | | | | mem-estimate=10.00MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | | | | | tuple-ids=35 row-size=20B cardinality=100.00K |
| | | | | | | in pipelines: 43(GETNEXT), 38(OPEN) |
| | | | | | | |
| | | | | | 42:HASH JOIN [INNER JOIN] |
| | | | | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | | tuple-ids=32,34,33 row-size=28B cardinality=2.35M |
| | | | | | | in pipelines: 38(GETNEXT), 39(OPEN) |
| | | | | | | |
| | | | | | |--39:SCAN HDFS [tpcds_parquet.customer] |
| | | | | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | | | | stored statistics: |
| | | | | | | table: rows=100.00K size=5.49MB |
| | | | | | | columns: all |
| | | | | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | | | tuple-ids=33 row-size=4B cardinality=100.00K |
| | | | | | | in pipelines: 39(GETNEXT) |
| | | | | | | |
| | | | | | 41:HASH JOIN [INNER JOIN] |
| | | | | | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | | | | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | | tuple-ids=32,34 row-size=24B cardinality=2.35M |
| | | | | | | in pipelines: 38(GETNEXT), 40(OPEN) |
| | | | | | | |
| | | | | | |--40:SCAN HDFS [tpcds_parquet.date_dim] |
| | | | | | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | | | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | | | tuple-ids=34 row-size=8B cardinality=1.49K |
| | | | | | | in pipelines: 40(GETNEXT) |
| | | | | | | |
| | | | | | 38:SCAN HDFS [tpcds_parquet.store_sales] |
| | | | | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | | | | stored statistics: |
| | | | | | table: rows=2.88M size=200.95MB |
| | | | | | partitions: 1824/1824 rows=2.88M |
| | | | | | columns: all |
| | | | | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | | | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | | | | tuple-ids=32 row-size=16B cardinality=2.88M |
| | | | | | in pipelines: 38(GETNEXT) |
| | | | | | |
| | | | | 45:HASH JOIN [INNER JOIN] |
| | | | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | tuple-ids=30,31 row-size=16B cardinality=2.88M |
| | | | | | in pipelines: 36(GETNEXT), 37(OPEN) |
| | | | | | |
| | | | | |--37:SCAN HDFS [tpcds_parquet.customer] |
| | | | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | | | stored statistics: |
| | | | | | table: rows=100.00K size=5.49MB |
| | | | | | columns: all |
| | | | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | | tuple-ids=31 row-size=4B cardinality=100.00K |
| | | | | | in pipelines: 37(GETNEXT) |
| | | | | | |
| | | | | 36:SCAN HDFS [tpcds_parquet.store_sales] |
| | | | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | | | stored statistics: |
| | | | | table: rows=2.88M size=200.95MB |
| | | | | partitions: 1824/1824 rows=2.88M |
| | | | | columns: all |
| | | | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | | | tuple-ids=30 row-size=12B cardinality=2.88M |
| | | | | in pipelines: 36(GETNEXT) |
| | | | | |
| | | | 48: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: RF028[bloom] <- d_date_sk |
| | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=21,23 row-size=36B cardinality=42.85K |
| | | | | in pipelines: 27(GETNEXT), 29(OPEN) |
| | | | | |
| | | | |--29:SCAN HDFS [tpcds_parquet.date_dim] |
| | | | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | | | predicates: d_year = CAST(2000 AS INT), 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(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | | | parquet dictionary predicates: d_year = CAST(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | tuple-ids=23 row-size=12B cardinality=108 |
| | | | | in pipelines: 29(GETNEXT) |
| | | | | |
| | | | 27:SCAN HDFS [tpcds_parquet.web_sales] |
| | | | HDFS partitions=1/1 files=2 size=45.09MB |
| | | | runtime filters: RF028[bloom] -> ws_sold_date_sk, RF026[bloom] -> ws_bill_customer_sk |
| | | | stored statistics: |
| | | | table: rows=719.38K size=45.09MB |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=644.77K |
| | | | mem-estimate=160.00MB mem-reservation=8.00MB thread-reservation=1 |
| | | | tuple-ids=21 row-size=24B cardinality=719.38K |
| | | | in pipelines: 27(GETNEXT) |
| | | | |
| | | 28:SCAN HDFS [tpcds_parquet.customer] |
| | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | runtime filters: RF024[bloom] -> customer.c_customer_sk |
| | | stored statistics: |
| | | table: rows=100.00K size=5.49MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | tuple-ids=22 row-size=40B cardinality=100.00K |
| | | in pipelines: 28(GETNEXT) |
| | | |
| | 35:AGGREGATE [FINALIZE] |
| | | output: count(*) |
| | | group by: substring(i_item_desc, CAST(1 AS BIGINT), CAST(30 AS BIGINT)), tpcds_parquet.item.i_item_sk, d_date |
| | | having: count(*) > CAST(4 AS BIGINT) |
| | | mem-estimate=123.50MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=28 row-size=50B cardinality=235.45K |
| | | in pipelines: 35(GETNEXT), 30(OPEN) |
| | | |
| | 34:HASH JOIN [INNER JOIN] |
| | | hash predicates: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | | fk/pk conjuncts: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | | mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0 |
| | | tuple-ids=24,25,26 row-size=162B cardinality=2.35M |
| | | in pipelines: 30(GETNEXT), 32(OPEN) |
| | | |
| | |--32:SCAN HDFS [tpcds_parquet.item] |
| | | HDFS partitions=1/1 files=1 size=1.73MB |
| | | runtime filters: RF018[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=32.00MB mem-reservation=2.00MB thread-reservation=1 |
| | | tuple-ids=26 row-size=120B cardinality=18.00K |
| | | in pipelines: 32(GETNEXT) |
| | | |
| | 33:HASH JOIN [INNER JOIN] |
| | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=24,25 row-size=42B cardinality=2.35M |
| | | in pipelines: 30(GETNEXT), 31(OPEN) |
| | | |
| | |--31:SCAN HDFS [tpcds_parquet.date_dim] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | mem-estimate=48.00MB mem-reservation=2.00MB thread-reservation=1 |
| | | tuple-ids=25 row-size=30B cardinality=1.49K |
| | | in pipelines: 31(GETNEXT) |
| | | |
| | 30:SCAN HDFS [tpcds_parquet.store_sales] |
| | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | runtime filters: RF018[bloom] -> tpcds_parquet.store_sales.ss_item_sk |
| | stored statistics: |
| | table: rows=2.88M size=200.95MB |
| | partitions: 1824/1824 rows=2.88M |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | tuple-ids=24 row-size=12B cardinality=2.88M |
| | in pipelines: 30(GETNEXT) |
| | |
| 26:AGGREGATE [FINALIZE] |
| | output: sum(CAST(cs_quantity AS DECIMAL(10,0)) * cs_list_price) |
| | group by: c_last_name, c_first_name |
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=20 row-size=52B cardinality=10.53K |
| | in pipelines: 26(GETNEXT), 09(OPEN) |
| | |
| 25:HASH JOIN [INNER JOIN] |
| | hash predicates: i_item_sk = cs_item_sk |
| | fk/pk conjuncts: i_item_sk = cs_item_sk |
| | runtime filters: RF000[bloom] <- cs_item_sk |
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | tuple-ids=7,1,0,2,18 row-size=162B cardinality=10.53K |
| | in pipelines: 09(GETNEXT), 02(OPEN) |
| | |
| |--24:HASH JOIN [INNER JOIN] |
| | | hash predicates: customer.c_customer_sk = cs_bill_customer_sk |
| | | fk/pk conjuncts: customer.c_customer_sk = cs_bill_customer_sk |
| | | runtime filters: RF006[bloom] <- cs_bill_customer_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=1,0,2,18 row-size=112B cardinality=10.53K |
| | | in pipelines: 02(GETNEXT), 01(OPEN) |
| | | |
| | |--23:HASH JOIN [INNER JOIN] |
| | | | hash predicates: cs_bill_customer_sk = c_customer_sk |
| | | | fk/pk conjuncts: cs_bill_customer_sk = c_customer_sk |
| | | | runtime filters: RF008[bloom] <- c_customer_sk |
| | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | tuple-ids=0,2,18 row-size=72B cardinality=10.53K |
| | | | in pipelines: 01(GETNEXT), 21(OPEN) |
| | | | |
| | | |--21:AGGREGATE [FINALIZE] |
| | | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price), max(max(csales)) |
| | | | | group by: c_customer_sk |
| | | | | having: sum(ss_quantity * ss_sales_price) > CAST(0.500000 AS DECIMAL(10,6)) * max(tpcds_cmax) |
| | | | | mem-estimate=10.00MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0 |
| | | | | tuple-ids=18 row-size=36B cardinality=10.00K |
| | | | | in pipelines: 21(GETNEXT), 10(OPEN) |
| | | | | |
| | | | 20:NESTED LOOP JOIN [CROSS JOIN] |
| | | | | mem-estimate=16B mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=9,10,16 row-size=32B cardinality=2.88M |
| | | | | in pipelines: 10(GETNEXT), 18(OPEN) |
| | | | | |
| | | | |--18:AGGREGATE [FINALIZE] |
| | | | | | output: max(sum(ss_quantity * ss_sales_price)) |
| | | | | | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | | | | tuple-ids=16 row-size=16B cardinality=1 |
| | | | | | in pipelines: 18(GETNEXT), 17(OPEN) |
| | | | | | |
| | | | | 17:AGGREGATE [FINALIZE] |
| | | | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price) |
| | | | | | group by: c_customer_sk |
| | | | | | mem-estimate=10.00MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | | | | tuple-ids=14 row-size=20B cardinality=100.00K |
| | | | | | in pipelines: 17(GETNEXT), 12(OPEN) |
| | | | | | |
| | | | | 16:HASH JOIN [INNER JOIN] |
| | | | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | tuple-ids=11,13,12 row-size=28B cardinality=2.35M |
| | | | | | in pipelines: 12(GETNEXT), 13(OPEN) |
| | | | | | |
| | | | | |--13:SCAN HDFS [tpcds_parquet.customer] |
| | | | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | | | stored statistics: |
| | | | | | table: rows=100.00K size=5.49MB |
| | | | | | columns: all |
| | | | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | | tuple-ids=12 row-size=4B cardinality=100.00K |
| | | | | | in pipelines: 13(GETNEXT) |
| | | | | | |
| | | | | 15:HASH JOIN [INNER JOIN] |
| | | | | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | | | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | | | | runtime filters: RF016[bloom] <- d_date_sk |
| | | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | tuple-ids=11,13 row-size=24B cardinality=2.35M |
| | | | | | in pipelines: 12(GETNEXT), 14(OPEN) |
| | | | | | |
| | | | | |--14:SCAN HDFS [tpcds_parquet.date_dim] |
| | | | | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | | tuple-ids=13 row-size=8B cardinality=1.49K |
| | | | | | in pipelines: 14(GETNEXT) |
| | | | | | |
| | | | | 12:SCAN HDFS [tpcds_parquet.store_sales] |
| | | | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | | | runtime filters: RF016[bloom] -> ss_sold_date_sk |
| | | | | stored statistics: |
| | | | | table: rows=2.88M size=200.95MB |
| | | | | partitions: 1824/1824 rows=2.88M |
| | | | | columns: all |
| | | | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | | | tuple-ids=11 row-size=16B cardinality=2.88M |
| | | | | in pipelines: 12(GETNEXT) |
| | | | | |
| | | | 19:HASH JOIN [INNER JOIN] |
| | | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=9,10 row-size=16B cardinality=2.88M |
| | | | | in pipelines: 10(GETNEXT), 11(OPEN) |
| | | | | |
| | | | |--11:SCAN HDFS [tpcds_parquet.customer] |
| | | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | | stored statistics: |
| | | | | table: rows=100.00K size=5.49MB |
| | | | | columns: all |
| | | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | tuple-ids=10 row-size=4B cardinality=100.00K |
| | | | | in pipelines: 11(GETNEXT) |
| | | | | |
| | | | 10:SCAN HDFS [tpcds_parquet.store_sales] |
| | | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | | stored statistics: |
| | | | table: rows=2.88M size=200.95MB |
| | | | partitions: 1824/1824 rows=2.88M |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | | tuple-ids=9 row-size=12B cardinality=2.88M |
| | | | in pipelines: 10(GETNEXT) |
| | | | |
| | | 22: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: RF010[bloom] <- d_date_sk |
| | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | tuple-ids=0,2 row-size=36B cardinality=85.31K |
| | | | in pipelines: 01(GETNEXT), 03(OPEN) |
| | | | |
| | | |--03:SCAN HDFS [tpcds_parquet.date_dim] |
| | | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | | predicates: d_year = CAST(2000 AS INT), 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(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | | parquet dictionary predicates: d_year = CAST(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | tuple-ids=2 row-size=12B cardinality=108 |
| | | | in pipelines: 03(GETNEXT) |
| | | | |
| | | 01:SCAN HDFS [tpcds_parquet.catalog_sales] |
| | | HDFS partitions=1/1 files=3 size=96.62MB |
| | | runtime filters: RF010[bloom] -> cs_sold_date_sk, RF008[bloom] -> cs_bill_customer_sk |
| | | stored statistics: |
| | | table: rows=1.44M size=96.62MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=650.14K |
| | | mem-estimate=240.00MB mem-reservation=8.00MB thread-reservation=1 |
| | | tuple-ids=0 row-size=24B cardinality=1.44M |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | 02:SCAN HDFS [tpcds_parquet.customer] |
| | HDFS partitions=1/1 files=1 size=5.49MB |
| | runtime filters: RF006[bloom] -> customer.c_customer_sk |
| | stored statistics: |
| | table: rows=100.00K size=5.49MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | tuple-ids=1 row-size=40B cardinality=100.00K |
| | in pipelines: 02(GETNEXT) |
| | |
| 09:AGGREGATE [FINALIZE] |
| | output: count(*) |
| | group by: substring(i_item_desc, CAST(1 AS BIGINT), CAST(30 AS BIGINT)), tpcds_parquet.item.i_item_sk, d_date |
| | having: count(*) > CAST(4 AS BIGINT) |
| | mem-estimate=123.50MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=50B cardinality=235.45K |
| | in pipelines: 09(GETNEXT), 04(OPEN) |
| | |
| 08:HASH JOIN [INNER JOIN] |
| | hash predicates: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | fk/pk conjuncts: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0 |
| | tuple-ids=3,4,5 row-size=162B cardinality=2.35M |
| | in pipelines: 04(GETNEXT), 06(OPEN) |
| | |
| |--06: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=32.00MB mem-reservation=2.00MB thread-reservation=1 |
| | tuple-ids=5 row-size=120B cardinality=18.00K |
| | in pipelines: 06(GETNEXT) |
| | |
| 07:HASH JOIN [INNER JOIN] |
| | hash predicates: ss_sold_date_sk = d_date_sk |
| | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | runtime filters: RF004[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=2.35M |
| | in pipelines: 04(GETNEXT), 05(OPEN) |
| | |
| |--05:SCAN HDFS [tpcds_parquet.date_dim] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | mem-estimate=48.00MB mem-reservation=2.00MB thread-reservation=1 |
| | tuple-ids=4 row-size=30B cardinality=1.49K |
| | in pipelines: 05(GETNEXT) |
| | |
| 04:SCAN HDFS [tpcds_parquet.store_sales] |
| HDFS partitions=1824/1824 files=1824 size=200.95MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.store_sales.ss_item_sk, RF004[bloom] -> ss_sold_date_sk |
| stored statistics: |
| table: rows=2.88M size=200.95MB |
| partitions: 1824/1824 rows=2.88M |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=130.09K |
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| tuple-ids=3 row-size=12B cardinality=2.88M |
| in pipelines: 04(GETNEXT) |
| ---- DISTRIBUTEDPLAN |
| Max Per-Host Resource Reservation: Memory=260.81MB Threads=56 |
| Per-Host Resource Estimates: Memory=1.56GB |
| F35:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=18.09KB mem-reservation=0B thread-reservation=1 |
| PLAN-ROOT SINK |
| | output exprs: c_last_name, c_first_name, sales |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 96:MERGING-EXCHANGE [UNPARTITIONED] |
| | order by: c_last_name ASC, c_first_name ASC, sales ASC |
| | limit: 100 |
| | mem-estimate=18.09KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=44 row-size=52B cardinality=100 |
| | in pipelines: 53(GETNEXT) |
| | |
| F34:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| Per-Host Resources: mem-estimate=10.34MB mem-reservation=1.94MB thread-reservation=1 |
| 53:TOP-N [LIMIT=100] |
| | order by: c_last_name ASC, c_first_name ASC, sales ASC |
| | mem-estimate=5.08KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=44 row-size=52B cardinality=100 |
| | in pipelines: 53(GETNEXT), 74(OPEN), 95(OPEN) |
| | |
| 00:UNION |
| | pass-through-operands: all |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=42 row-size=52B cardinality=20.15K |
| | in pipelines: 74(GETNEXT), 95(GETNEXT) |
| | |
| |--95:AGGREGATE [FINALIZE] |
| | | output: sum:merge(ws_quantity * ws_list_price) |
| | | group by: c_last_name, c_first_name |
| | | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=41 row-size=52B cardinality=9.63K |
| | | in pipelines: 95(GETNEXT), 78(OPEN) |
| | | |
| | 94:EXCHANGE [HASH(c_last_name,c_first_name)] |
| | | mem-estimate=330.72KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=41 row-size=52B cardinality=9.63K |
| | | in pipelines: 78(GETNEXT) |
| | | |
| | F20:PLAN FRAGMENT [HASH(itemdesc,i_item_sk,d_date)] hosts=3 instances=3 |
| | Per-Host Resources: mem-estimate=87.06MB mem-reservation=39.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | 52:AGGREGATE [STREAMING] |
| | | output: sum(CAST(ws_quantity AS DECIMAL(10,0)) * ws_list_price) |
| | | group by: c_last_name, c_first_name |
| | | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=41 row-size=52B cardinality=9.63K |
| | | in pipelines: 78(GETNEXT) |
| | | |
| | 51:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: i_item_sk = ws_item_sk |
| | | fk/pk conjuncts: i_item_sk = ws_item_sk |
| | | runtime filters: RF018[bloom] <- ws_item_sk |
| | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | tuple-ids=28,21,23,39,22 row-size=162B cardinality=9.63K |
| | | in pipelines: 78(GETNEXT), 27(OPEN) |
| | | |
| | |--93:EXCHANGE [BROADCAST] |
| | | | mem-estimate=1.28MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=21,23,39,22 row-size=112B cardinality=9.63K |
| | | | in pipelines: 27(GETNEXT) |
| | | | |
| | | F32:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2 |
| | | Per-Host Resources: mem-estimate=7.22MB mem-reservation=2.88MB thread-reservation=1 |
| | | 50:HASH JOIN [INNER JOIN, PARTITIONED] |
| | | | hash predicates: ws_bill_customer_sk = customer.c_customer_sk |
| | | | fk/pk conjuncts: ws_bill_customer_sk = customer.c_customer_sk |
| | | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | | tuple-ids=21,23,39,22 row-size=112B cardinality=9.63K |
| | | | in pipelines: 27(GETNEXT), 28(OPEN) |
| | | | |
| | | |--92:EXCHANGE [HASH(customer.c_customer_sk)] |
| | | | | mem-estimate=3.85MB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=22 row-size=40B cardinality=100.00K |
| | | | | in pipelines: 28(GETNEXT) |
| | | | | |
| | | | F31:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | Per-Host Resources: mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=2 |
| | | | 28:SCAN HDFS [tpcds_parquet.customer, RANDOM] |
| | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | stored statistics: |
| | | | table: rows=100.00K size=5.49MB |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | | tuple-ids=22 row-size=40B cardinality=100.00K |
| | | | in pipelines: 28(GETNEXT) |
| | | | |
| | | 91:EXCHANGE [HASH(ws_bill_customer_sk)] |
| | | | mem-estimate=506.41KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=21,23,39 row-size=72B cardinality=9.63K |
| | | | in pipelines: 27(GETNEXT) |
| | | | |
| | | F21:PLAN FRAGMENT [RANDOM] hosts=2 instances=2 |
| | | Per-Host Resources: mem-estimate=166.35MB mem-reservation=13.88MB thread-reservation=2 runtime-filters-memory=2.00MB |
| | | 49:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | hash predicates: ws_bill_customer_sk = c_customer_sk |
| | | | fk/pk conjuncts: ws_bill_customer_sk = c_customer_sk |
| | | | runtime filters: RF026[bloom] <- c_customer_sk |
| | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | tuple-ids=21,23,39 row-size=72B cardinality=9.63K |
| | | | in pipelines: 27(GETNEXT), 89(OPEN) |
| | | | |
| | | |--90:EXCHANGE [BROADCAST] |
| | | | | mem-estimate=471.56KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=39 row-size=36B cardinality=10.00K |
| | | | | in pipelines: 89(GETNEXT) |
| | | | | |
| | | | F30:PLAN FRAGMENT [HASH(c_customer_sk)] hosts=3 instances=3 |
| | | | Per-Host Resources: mem-estimate=11.26MB mem-reservation=2.88MB thread-reservation=1 |
| | | | 89:AGGREGATE [FINALIZE] |
| | | | | output: sum:merge(ss_quantity * ss_sales_price), max:merge(tpcds_cmax) |
| | | | | group by: c_customer_sk |
| | | | | having: sum(ss_quantity * ss_sales_price) > CAST(0.500000 AS DECIMAL(10,6)) * max(tpcds_cmax) |
| | | | | mem-estimate=10.00MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | | | tuple-ids=39 row-size=36B cardinality=10.00K |
| | | | | in pipelines: 89(GETNEXT), 36(OPEN) |
| | | | | |
| | | | 88:EXCHANGE [HASH(c_customer_sk)] |
| | | | | mem-estimate=1.26MB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=39 row-size=36B cardinality=100.00K |
| | | | | in pipelines: 36(GETNEXT) |
| | | | | |
| | | | F23:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | Per-Host Resources: mem-estimate=60.34MB mem-reservation=7.94MB thread-reservation=2 |
| | | | 47:AGGREGATE [STREAMING] |
| | | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price), max(max(csales)) |
| | | | | group by: c_customer_sk |
| | | | | mem-estimate=10.00MB mem-reservation=5.00MB spill-buffer=256.00KB thread-reservation=0 |
| | | | | tuple-ids=39 row-size=36B cardinality=100.00K |
| | | | | in pipelines: 36(GETNEXT) |
| | | | | |
| | | | 46:NESTED LOOP JOIN [CROSS JOIN, BROADCAST] |
| | | | | mem-estimate=16B mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=30,31,37 row-size=32B cardinality=2.88M |
| | | | | in pipelines: 36(GETNEXT), 86(OPEN) |
| | | | | |
| | | | |--87:EXCHANGE [BROADCAST] |
| | | | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=37 row-size=16B cardinality=1 |
| | | | | | in pipelines: 86(GETNEXT) |
| | | | | | |
| | | | | F29:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | | | | Per-Host Resources: mem-estimate=10.02MB mem-reservation=0B thread-reservation=1 |
| | | | | 86:AGGREGATE [FINALIZE] |
| | | | | | output: max:merge(csales) |
| | | | | | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | | | | tuple-ids=37 row-size=16B cardinality=1 |
| | | | | | in pipelines: 86(GETNEXT), 44(OPEN) |
| | | | | | |
| | | | | 85:EXCHANGE [UNPARTITIONED] |
| | | | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=37 row-size=16B cardinality=1 |
| | | | | | in pipelines: 44(GETNEXT) |
| | | | | | |
| | | | | F28:PLAN FRAGMENT [HASH(c_customer_sk)] hosts=3 instances=3 |
| | | | | Per-Host Resources: mem-estimate=20.00MB mem-reservation=1.94MB thread-reservation=1 |
| | | | | 44:AGGREGATE |
| | | | | | output: max(sum(ss_quantity * ss_sales_price)) |
| | | | | | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | | | | tuple-ids=37 row-size=16B cardinality=1 |
| | | | | | in pipelines: 44(GETNEXT), 84(OPEN) |
| | | | | | |
| | | | | 84:AGGREGATE [FINALIZE] |
| | | | | | output: sum:merge(ss_quantity * ss_sales_price) |
| | | | | | group by: c_customer_sk |
| | | | | | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | tuple-ids=35 row-size=20B cardinality=100.00K |
| | | | | | in pipelines: 84(GETNEXT), 38(OPEN) |
| | | | | | |
| | | | | 83:EXCHANGE [HASH(c_customer_sk)] |
| | | | | | mem-estimate=723.04KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=35 row-size=20B cardinality=100.00K |
| | | | | | in pipelines: 38(GETNEXT) |
| | | | | | |
| | | | | F25:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | | Per-Host Resources: mem-estimate=63.29MB mem-reservation=8.88MB thread-reservation=2 runtime-filters-memory=1.00MB |
| | | | | 43:AGGREGATE [STREAMING] |
| | | | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price) |
| | | | | | group by: c_customer_sk |
| | | | | | mem-estimate=10.00MB mem-reservation=3.00MB spill-buffer=128.00KB thread-reservation=0 |
| | | | | | tuple-ids=35 row-size=20B cardinality=100.00K |
| | | | | | in pipelines: 38(GETNEXT) |
| | | | | | |
| | | | | 42:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | tuple-ids=32,34,33 row-size=28B cardinality=2.35M |
| | | | | | in pipelines: 38(GETNEXT), 39(OPEN) |
| | | | | | |
| | | | | |--82:EXCHANGE [BROADCAST] |
| | | | | | | mem-estimate=398.62KB mem-reservation=0B thread-reservation=0 |
| | | | | | | tuple-ids=33 row-size=4B cardinality=100.00K |
| | | | | | | in pipelines: 39(GETNEXT) |
| | | | | | | |
| | | | | | F27:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | | | Per-Host Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=2 |
| | | | | | 39:SCAN HDFS [tpcds_parquet.customer, RANDOM] |
| | | | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | | | stored statistics: |
| | | | | | table: rows=100.00K size=5.49MB |
| | | | | | columns: all |
| | | | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | | tuple-ids=33 row-size=4B cardinality=100.00K |
| | | | | | in pipelines: 39(GETNEXT) |
| | | | | | |
| | | | | 41:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | | | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | | | | runtime filters: RF034[bloom] <- d_date_sk |
| | | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | tuple-ids=32,34 row-size=24B cardinality=2.35M |
| | | | | | in pipelines: 38(GETNEXT), 40(OPEN) |
| | | | | | |
| | | | | |--81:EXCHANGE [BROADCAST] |
| | | | | | | mem-estimate=23.65KB mem-reservation=0B thread-reservation=0 |
| | | | | | | tuple-ids=34 row-size=8B cardinality=1.49K |
| | | | | | | in pipelines: 40(GETNEXT) |
| | | | | | | |
| | | | | | F26:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | | | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2 |
| | | | | | 40:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | | | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | | tuple-ids=34 row-size=8B cardinality=1.49K |
| | | | | | in pipelines: 40(GETNEXT) |
| | | | | | |
| | | | | 38:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | | | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | | | runtime filters: RF034[bloom] -> ss_sold_date_sk |
| | | | | stored statistics: |
| | | | | table: rows=2.88M size=200.95MB |
| | | | | partitions: 1824/1824 rows=2.88M |
| | | | | columns: all |
| | | | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | | | tuple-ids=32 row-size=16B cardinality=2.88M |
| | | | | in pipelines: 38(GETNEXT) |
| | | | | |
| | | | 45:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=30,31 row-size=16B cardinality=2.88M |
| | | | | in pipelines: 36(GETNEXT), 37(OPEN) |
| | | | | |
| | | | |--80:EXCHANGE [BROADCAST] |
| | | | | | mem-estimate=398.62KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=31 row-size=4B cardinality=100.00K |
| | | | | | in pipelines: 37(GETNEXT) |
| | | | | | |
| | | | | F24:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | | Per-Host Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=2 |
| | | | | 37:SCAN HDFS [tpcds_parquet.customer, RANDOM] |
| | | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | | stored statistics: |
| | | | | table: rows=100.00K size=5.49MB |
| | | | | columns: all |
| | | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | tuple-ids=31 row-size=4B cardinality=100.00K |
| | | | | in pipelines: 37(GETNEXT) |
| | | | | |
| | | | 36:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | | stored statistics: |
| | | | table: rows=2.88M size=200.95MB |
| | | | partitions: 1824/1824 rows=2.88M |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | | tuple-ids=30 row-size=12B cardinality=2.88M |
| | | | in pipelines: 36(GETNEXT) |
| | | | |
| | | 48: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: RF028[bloom] <- d_date_sk |
| | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | tuple-ids=21,23 row-size=36B cardinality=42.85K |
| | | | in pipelines: 27(GETNEXT), 29(OPEN) |
| | | | |
| | | |--79:EXCHANGE [BROADCAST] |
| | | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=23 row-size=12B cardinality=108 |
| | | | | in pipelines: 29(GETNEXT) |
| | | | | |
| | | | F22:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2 |
| | | | 29:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | | predicates: d_year = CAST(2000 AS INT), 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(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | | parquet dictionary predicates: d_year = CAST(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | tuple-ids=23 row-size=12B cardinality=108 |
| | | | in pipelines: 29(GETNEXT) |
| | | | |
| | | 27:SCAN HDFS [tpcds_parquet.web_sales, RANDOM] |
| | | HDFS partitions=1/1 files=2 size=45.09MB |
| | | runtime filters: RF028[bloom] -> ws_sold_date_sk, RF026[bloom] -> ws_bill_customer_sk |
| | | stored statistics: |
| | | table: rows=719.38K size=45.09MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=644.77K |
| | | mem-estimate=160.00MB mem-reservation=8.00MB thread-reservation=1 |
| | | tuple-ids=21 row-size=24B cardinality=719.38K |
| | | in pipelines: 27(GETNEXT) |
| | | |
| | 78:AGGREGATE [FINALIZE] |
| | | output: count:merge(*) |
| | | group by: itemdesc, i_item_sk, d_date |
| | | having: count(*) > CAST(4 AS BIGINT) |
| | | mem-estimate=61.75MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=28 row-size=50B cardinality=235.45K |
| | | in pipelines: 78(GETNEXT), 30(OPEN) |
| | | |
| | 77:EXCHANGE [HASH(itemdesc,i_item_sk,d_date)] |
| | | mem-estimate=10.16MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=28 row-size=50B cardinality=2.35M |
| | | in pipelines: 30(GETNEXT) |
| | | |
| | F17:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | Per-Host Resources: mem-estimate=88.70MB mem-reservation=43.19MB thread-reservation=2 runtime-filters-memory=2.00MB |
| | 35:AGGREGATE [STREAMING] |
| | | output: count(*) |
| | | group by: substring(i_item_desc, CAST(1 AS BIGINT), CAST(30 AS BIGINT)), tpcds_parquet.item.i_item_sk, d_date |
| | | mem-estimate=61.75MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=28 row-size=50B cardinality=2.35M |
| | | in pipelines: 30(GETNEXT) |
| | | |
| | 34:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | | fk/pk conjuncts: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | | mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0 |
| | | tuple-ids=24,25,26 row-size=162B cardinality=2.35M |
| | | in pipelines: 30(GETNEXT), 32(OPEN) |
| | | |
| | |--76:EXCHANGE [BROADCAST] |
| | | | mem-estimate=2.19MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=26 row-size=120B cardinality=18.00K |
| | | | in pipelines: 32(GETNEXT) |
| | | | |
| | | F19:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Host Resources: mem-estimate=33.00MB mem-reservation=3.00MB thread-reservation=2 runtime-filters-memory=1.00MB |
| | | 32:SCAN HDFS [tpcds_parquet.item, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=1.73MB |
| | | runtime filters: RF018[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=32.00MB mem-reservation=2.00MB thread-reservation=1 |
| | | tuple-ids=26 row-size=120B cardinality=18.00K |
| | | in pipelines: 32(GETNEXT) |
| | | |
| | 33:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | runtime filters: RF022[bloom] <- d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=24,25 row-size=42B cardinality=2.35M |
| | | in pipelines: 30(GETNEXT), 31(OPEN) |
| | | |
| | |--75:EXCHANGE [BROADCAST] |
| | | | mem-estimate=77.68KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=25 row-size=30B cardinality=1.49K |
| | | | in pipelines: 31(GETNEXT) |
| | | | |
| | | F18:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Host Resources: mem-estimate=48.00MB mem-reservation=2.00MB thread-reservation=2 |
| | | 31:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | mem-estimate=48.00MB mem-reservation=2.00MB thread-reservation=1 |
| | | tuple-ids=25 row-size=30B cardinality=1.49K |
| | | in pipelines: 31(GETNEXT) |
| | | |
| | 30:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | runtime filters: RF018[bloom] -> tpcds_parquet.store_sales.ss_item_sk, RF022[bloom] -> ss_sold_date_sk |
| | stored statistics: |
| | table: rows=2.88M size=200.95MB |
| | partitions: 1824/1824 rows=2.88M |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | tuple-ids=24 row-size=12B cardinality=2.88M |
| | in pipelines: 30(GETNEXT) |
| | |
| 74:AGGREGATE [FINALIZE] |
| | output: sum:merge(cs_quantity * cs_list_price) |
| | group by: c_last_name, c_first_name |
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=20 row-size=52B cardinality=10.53K |
| | in pipelines: 74(GETNEXT), 57(OPEN) |
| | |
| 73:EXCHANGE [HASH(c_last_name,c_first_name)] |
| | mem-estimate=345.95KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=20 row-size=52B cardinality=10.53K |
| | in pipelines: 57(GETNEXT) |
| | |
| F03:PLAN FRAGMENT [HASH(itemdesc,i_item_sk,d_date)] hosts=3 instances=3 |
| Per-Host Resources: mem-estimate=87.28MB mem-reservation=39.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| 26:AGGREGATE [STREAMING] |
| | output: sum(CAST(cs_quantity AS DECIMAL(10,0)) * cs_list_price) |
| | group by: c_last_name, c_first_name |
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=20 row-size=52B cardinality=10.53K |
| | in pipelines: 57(GETNEXT) |
| | |
| 25:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash predicates: i_item_sk = cs_item_sk |
| | fk/pk conjuncts: i_item_sk = cs_item_sk |
| | runtime filters: RF000[bloom] <- cs_item_sk |
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | tuple-ids=7,0,2,18,1 row-size=162B cardinality=10.53K |
| | in pipelines: 57(GETNEXT), 01(OPEN) |
| | |
| |--72:EXCHANGE [BROADCAST] |
| | | mem-estimate=1.50MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,2,18,1 row-size=112B cardinality=10.53K |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | F15:PLAN FRAGMENT [HASH(cs_bill_customer_sk)] hosts=3 instances=3 |
| | Per-Host Resources: mem-estimate=7.22MB mem-reservation=2.88MB thread-reservation=1 |
| | 24:HASH JOIN [INNER JOIN, PARTITIONED] |
| | | hash predicates: cs_bill_customer_sk = customer.c_customer_sk |
| | | fk/pk conjuncts: cs_bill_customer_sk = customer.c_customer_sk |
| | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | tuple-ids=0,2,18,1 row-size=112B cardinality=10.53K |
| | | in pipelines: 01(GETNEXT), 02(OPEN) |
| | | |
| | |--71:EXCHANGE [HASH(customer.c_customer_sk)] |
| | | | mem-estimate=3.85MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=1 row-size=40B cardinality=100.00K |
| | | | in pipelines: 02(GETNEXT) |
| | | | |
| | | F14:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Host Resources: mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=2 |
| | | 02:SCAN HDFS [tpcds_parquet.customer, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | stored statistics: |
| | | table: rows=100.00K size=5.49MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | tuple-ids=1 row-size=40B cardinality=100.00K |
| | | in pipelines: 02(GETNEXT) |
| | | |
| | 70:EXCHANGE [HASH(cs_bill_customer_sk)] |
| | | mem-estimate=498.70KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,2,18 row-size=72B cardinality=10.53K |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | F04:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | Per-Host Resources: mem-estimate=246.35MB mem-reservation=13.88MB thread-reservation=2 runtime-filters-memory=2.00MB |
| | 23:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash predicates: cs_bill_customer_sk = c_customer_sk |
| | | fk/pk conjuncts: cs_bill_customer_sk = c_customer_sk |
| | | runtime filters: RF008[bloom] <- c_customer_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=0,2,18 row-size=72B cardinality=10.53K |
| | | in pipelines: 01(GETNEXT), 68(OPEN) |
| | | |
| | |--69:EXCHANGE [BROADCAST] |
| | | | mem-estimate=471.56KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=18 row-size=36B cardinality=10.00K |
| | | | in pipelines: 68(GETNEXT) |
| | | | |
| | | F13:PLAN FRAGMENT [HASH(c_customer_sk)] hosts=3 instances=3 |
| | | Per-Host Resources: mem-estimate=11.26MB mem-reservation=2.88MB thread-reservation=1 |
| | | 68:AGGREGATE [FINALIZE] |
| | | | output: sum:merge(ss_quantity * ss_sales_price), max:merge(tpcds_cmax) |
| | | | group by: c_customer_sk |
| | | | having: sum(ss_quantity * ss_sales_price) > CAST(0.500000 AS DECIMAL(10,6)) * max(tpcds_cmax) |
| | | | mem-estimate=10.00MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | | tuple-ids=18 row-size=36B cardinality=10.00K |
| | | | in pipelines: 68(GETNEXT), 10(OPEN) |
| | | | |
| | | 67:EXCHANGE [HASH(c_customer_sk)] |
| | | | mem-estimate=1.26MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=18 row-size=36B cardinality=100.00K |
| | | | in pipelines: 10(GETNEXT) |
| | | | |
| | | F06:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | Per-Host Resources: mem-estimate=60.34MB mem-reservation=7.94MB thread-reservation=2 |
| | | 21:AGGREGATE [STREAMING] |
| | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price), max(max(csales)) |
| | | | group by: c_customer_sk |
| | | | mem-estimate=10.00MB mem-reservation=5.00MB spill-buffer=256.00KB thread-reservation=0 |
| | | | tuple-ids=18 row-size=36B cardinality=100.00K |
| | | | in pipelines: 10(GETNEXT) |
| | | | |
| | | 20:NESTED LOOP JOIN [CROSS JOIN, BROADCAST] |
| | | | mem-estimate=16B mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=9,10,16 row-size=32B cardinality=2.88M |
| | | | in pipelines: 10(GETNEXT), 65(OPEN) |
| | | | |
| | | |--66:EXCHANGE [BROADCAST] |
| | | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=16 row-size=16B cardinality=1 |
| | | | | in pipelines: 65(GETNEXT) |
| | | | | |
| | | | F12:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | | | Per-Host Resources: mem-estimate=10.02MB mem-reservation=0B thread-reservation=1 |
| | | | 65:AGGREGATE [FINALIZE] |
| | | | | output: max:merge(csales) |
| | | | | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | | | tuple-ids=16 row-size=16B cardinality=1 |
| | | | | in pipelines: 65(GETNEXT), 18(OPEN) |
| | | | | |
| | | | 64:EXCHANGE [UNPARTITIONED] |
| | | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=16 row-size=16B cardinality=1 |
| | | | | in pipelines: 18(GETNEXT) |
| | | | | |
| | | | F11:PLAN FRAGMENT [HASH(c_customer_sk)] hosts=3 instances=3 |
| | | | Per-Host Resources: mem-estimate=20.00MB mem-reservation=1.94MB thread-reservation=1 |
| | | | 18:AGGREGATE |
| | | | | output: max(sum(ss_quantity * ss_sales_price)) |
| | | | | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | | | tuple-ids=16 row-size=16B cardinality=1 |
| | | | | in pipelines: 18(GETNEXT), 63(OPEN) |
| | | | | |
| | | | 63:AGGREGATE [FINALIZE] |
| | | | | output: sum:merge(ss_quantity * ss_sales_price) |
| | | | | group by: c_customer_sk |
| | | | | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=14 row-size=20B cardinality=100.00K |
| | | | | in pipelines: 63(GETNEXT), 12(OPEN) |
| | | | | |
| | | | 62:EXCHANGE [HASH(c_customer_sk)] |
| | | | | mem-estimate=723.04KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=14 row-size=20B cardinality=100.00K |
| | | | | in pipelines: 12(GETNEXT) |
| | | | | |
| | | | F08:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | Per-Host Resources: mem-estimate=63.29MB mem-reservation=8.88MB thread-reservation=2 runtime-filters-memory=1.00MB |
| | | | 17:AGGREGATE [STREAMING] |
| | | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price) |
| | | | | group by: c_customer_sk |
| | | | | mem-estimate=10.00MB mem-reservation=3.00MB spill-buffer=128.00KB thread-reservation=0 |
| | | | | tuple-ids=14 row-size=20B cardinality=100.00K |
| | | | | in pipelines: 12(GETNEXT) |
| | | | | |
| | | | 16:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=11,13,12 row-size=28B cardinality=2.35M |
| | | | | in pipelines: 12(GETNEXT), 13(OPEN) |
| | | | | |
| | | | |--61:EXCHANGE [BROADCAST] |
| | | | | | mem-estimate=398.62KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=12 row-size=4B cardinality=100.00K |
| | | | | | in pipelines: 13(GETNEXT) |
| | | | | | |
| | | | | F10:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | | Per-Host Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=2 |
| | | | | 13:SCAN HDFS [tpcds_parquet.customer, RANDOM] |
| | | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | | stored statistics: |
| | | | | table: rows=100.00K size=5.49MB |
| | | | | columns: all |
| | | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | tuple-ids=12 row-size=4B cardinality=100.00K |
| | | | | in pipelines: 13(GETNEXT) |
| | | | | |
| | | | 15:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | | | runtime filters: RF016[bloom] <- d_date_sk |
| | | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=11,13 row-size=24B cardinality=2.35M |
| | | | | in pipelines: 12(GETNEXT), 14(OPEN) |
| | | | | |
| | | | |--60:EXCHANGE [BROADCAST] |
| | | | | | mem-estimate=23.65KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=13 row-size=8B cardinality=1.49K |
| | | | | | in pipelines: 14(GETNEXT) |
| | | | | | |
| | | | | F09:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | | Per-Host Resources: mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=2 |
| | | | | 14:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | mem-estimate=32.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | tuple-ids=13 row-size=8B cardinality=1.49K |
| | | | | in pipelines: 14(GETNEXT) |
| | | | | |
| | | | 12:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | | runtime filters: RF016[bloom] -> ss_sold_date_sk |
| | | | stored statistics: |
| | | | table: rows=2.88M size=200.95MB |
| | | | partitions: 1824/1824 rows=2.88M |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | | tuple-ids=11 row-size=16B cardinality=2.88M |
| | | | in pipelines: 12(GETNEXT) |
| | | | |
| | | 19:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | tuple-ids=9,10 row-size=16B cardinality=2.88M |
| | | | in pipelines: 10(GETNEXT), 11(OPEN) |
| | | | |
| | | |--59:EXCHANGE [BROADCAST] |
| | | | | mem-estimate=398.62KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=10 row-size=4B cardinality=100.00K |
| | | | | in pipelines: 11(GETNEXT) |
| | | | | |
| | | | F07:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | Per-Host Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=2 |
| | | | 11:SCAN HDFS [tpcds_parquet.customer, RANDOM] |
| | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | stored statistics: |
| | | | table: rows=100.00K size=5.49MB |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | tuple-ids=10 row-size=4B cardinality=100.00K |
| | | | in pipelines: 11(GETNEXT) |
| | | | |
| | | 10:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | stored statistics: |
| | | table: rows=2.88M size=200.95MB |
| | | partitions: 1824/1824 rows=2.88M |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | mem-estimate=48.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | tuple-ids=9 row-size=12B cardinality=2.88M |
| | | in pipelines: 10(GETNEXT) |
| | | |
| | 22: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: RF010[bloom] <- d_date_sk |
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=0,2 row-size=36B cardinality=85.31K |
| | | in pipelines: 01(GETNEXT), 03(OPEN) |
| | | |
| | |--58:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=2 row-size=12B cardinality=108 |
| | | | in pipelines: 03(GETNEXT) |
| | | | |
| | | F05: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(2000 AS INT), 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(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | tuple-ids=2 row-size=12B cardinality=108 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | 01:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM] |
| | HDFS partitions=1/1 files=3 size=96.62MB |
| | runtime filters: RF010[bloom] -> cs_sold_date_sk, RF008[bloom] -> cs_bill_customer_sk |
| | stored statistics: |
| | table: rows=1.44M size=96.62MB |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=650.14K |
| | mem-estimate=240.00MB mem-reservation=8.00MB thread-reservation=1 |
| | tuple-ids=0 row-size=24B cardinality=1.44M |
| | in pipelines: 01(GETNEXT) |
| | |
| 57:AGGREGATE [FINALIZE] |
| | output: count:merge(*) |
| | group by: itemdesc, i_item_sk, d_date |
| | having: count(*) > CAST(4 AS BIGINT) |
| | mem-estimate=61.75MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=50B cardinality=235.45K |
| | in pipelines: 57(GETNEXT), 04(OPEN) |
| | |
| 56:EXCHANGE [HASH(itemdesc,i_item_sk,d_date)] |
| | mem-estimate=10.16MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=7 row-size=50B cardinality=2.35M |
| | in pipelines: 04(GETNEXT) |
| | |
| F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| Per-Host Resources: mem-estimate=88.70MB mem-reservation=43.19MB thread-reservation=2 runtime-filters-memory=2.00MB |
| 09:AGGREGATE [STREAMING] |
| | output: count(*) |
| | group by: substring(i_item_desc, CAST(1 AS BIGINT), CAST(30 AS BIGINT)), tpcds_parquet.item.i_item_sk, d_date |
| | mem-estimate=61.75MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=50B cardinality=2.35M |
| | in pipelines: 04(GETNEXT) |
| | |
| 08:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash predicates: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | fk/pk conjuncts: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | mem-estimate=4.75MB mem-reservation=4.75MB spill-buffer=256.00KB thread-reservation=0 |
| | tuple-ids=3,4,5 row-size=162B cardinality=2.35M |
| | in pipelines: 04(GETNEXT), 06(OPEN) |
| | |
| |--55:EXCHANGE [BROADCAST] |
| | | mem-estimate=2.19MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=5 row-size=120B cardinality=18.00K |
| | | in pipelines: 06(GETNEXT) |
| | | |
| | F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=33.00MB mem-reservation=3.00MB thread-reservation=2 runtime-filters-memory=1.00MB |
| | 06: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=32.00MB mem-reservation=2.00MB thread-reservation=1 |
| | tuple-ids=5 row-size=120B cardinality=18.00K |
| | in pipelines: 06(GETNEXT) |
| | |
| 07:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash predicates: ss_sold_date_sk = d_date_sk |
| | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | runtime filters: RF004[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=2.35M |
| | in pipelines: 04(GETNEXT), 05(OPEN) |
| | |
| |--54:EXCHANGE [BROADCAST] |
| | | mem-estimate=77.68KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=4 row-size=30B cardinality=1.49K |
| | | in pipelines: 05(GETNEXT) |
| | | |
| | F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Host Resources: mem-estimate=48.00MB mem-reservation=2.00MB thread-reservation=2 |
| | 05:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | mem-estimate=48.00MB mem-reservation=2.00MB thread-reservation=1 |
| | tuple-ids=4 row-size=30B cardinality=1.49K |
| | in pipelines: 05(GETNEXT) |
| | |
| 04:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| HDFS partitions=1824/1824 files=1824 size=200.95MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.store_sales.ss_item_sk, RF004[bloom] -> ss_sold_date_sk |
| stored statistics: |
| table: rows=2.88M size=200.95MB |
| partitions: 1824/1824 rows=2.88M |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=130.09K |
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| tuple-ids=3 row-size=12B cardinality=2.88M |
| in pipelines: 04(GETNEXT) |
| ---- PARALLELPLANS |
| Max Per-Host Resource Reservation: Memory=476.12MB Threads=67 |
| Per-Host Resource Estimates: Memory=1.19GB |
| F35:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=34.49KB mem-reservation=0B thread-reservation=1 |
| PLAN-ROOT SINK |
| | output exprs: c_last_name, c_first_name, sales |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | |
| 96:MERGING-EXCHANGE [UNPARTITIONED] |
| | order by: c_last_name ASC, c_first_name ASC, sales ASC |
| | limit: 100 |
| | mem-estimate=34.49KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=44 row-size=52B cardinality=100 |
| | in pipelines: 53(GETNEXT) |
| | |
| F34:PLAN FRAGMENT [RANDOM] hosts=3 instances=6 |
| Per-Instance Resources: mem-estimate=10.51MB mem-reservation=1.94MB thread-reservation=1 |
| 53:TOP-N [LIMIT=100] |
| | order by: c_last_name ASC, c_first_name ASC, sales ASC |
| | mem-estimate=5.08KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=44 row-size=52B cardinality=100 |
| | in pipelines: 53(GETNEXT), 74(OPEN), 95(OPEN) |
| | |
| 00:UNION |
| | pass-through-operands: all |
| | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | tuple-ids=42 row-size=52B cardinality=20.15K |
| | in pipelines: 74(GETNEXT), 95(GETNEXT) |
| | |
| |--95:AGGREGATE [FINALIZE] |
| | | output: sum:merge(ws_quantity * ws_list_price) |
| | | group by: c_last_name, c_first_name |
| | | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=41 row-size=52B cardinality=9.63K |
| | | in pipelines: 95(GETNEXT), 78(OPEN) |
| | | |
| | 94:EXCHANGE [HASH(c_last_name,c_first_name)] |
| | | mem-estimate=498.62KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=41 row-size=52B cardinality=9.63K |
| | | in pipelines: 78(GETNEXT) |
| | | |
| | F20:PLAN FRAGMENT [HASH(itemdesc,i_item_sk,d_date)] hosts=3 instances=6 |
| | Per-Instance Resources: mem-estimate=54.32MB mem-reservation=36.00MB thread-reservation=1 |
| | 52:AGGREGATE [STREAMING] |
| | | output: sum(CAST(ws_quantity AS DECIMAL(10,0)) * ws_list_price) |
| | | group by: c_last_name, c_first_name |
| | | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=41 row-size=52B cardinality=9.63K |
| | | in pipelines: 78(GETNEXT) |
| | | |
| | 51:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=10 |
| | | hash predicates: i_item_sk = ws_item_sk |
| | | fk/pk conjuncts: i_item_sk = ws_item_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0 |
| | | tuple-ids=28,21,23,39,22 row-size=162B cardinality=9.63K |
| | | in pipelines: 78(GETNEXT), 27(OPEN) |
| | | |
| | |--F46:PLAN FRAGMENT [HASH(itemdesc,i_item_sk,d_date)] hosts=3 instances=3 |
| | | | Per-Instance Resources: mem-estimate=8.03MB mem-reservation=6.75MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | JOIN BUILD |
| | | | join-table-id=10 plan-id=11 cohort-id=05 |
| | | | build expressions: ws_item_sk |
| | | | runtime filters: RF018[bloom] <- ws_item_sk |
| | | | mem-estimate=5.75MB mem-reservation=5.75MB spill-buffer=128.00KB thread-reservation=0 |
| | | | |
| | | 93:EXCHANGE [BROADCAST] |
| | | | mem-estimate=1.28MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=21,23,39,22 row-size=112B cardinality=9.63K |
| | | | in pipelines: 27(GETNEXT) |
| | | | |
| | | F32:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2 |
| | | Per-Instance Resources: mem-estimate=506.41KB mem-reservation=0B thread-reservation=1 |
| | | 50:HASH JOIN [INNER JOIN, PARTITIONED] |
| | | | hash-table-id=11 |
| | | | hash predicates: ws_bill_customer_sk = customer.c_customer_sk |
| | | | fk/pk conjuncts: ws_bill_customer_sk = customer.c_customer_sk |
| | | | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0 |
| | | | tuple-ids=21,23,39,22 row-size=112B cardinality=9.63K |
| | | | in pipelines: 27(GETNEXT), 28(OPEN) |
| | | | |
| | | |--F47:PLAN FRAGMENT [HASH(ws_bill_customer_sk)] hosts=2 instances=2 |
| | | | | Per-Instance Resources: mem-estimate=6.73MB mem-reservation=2.88MB thread-reservation=1 |
| | | | JOIN BUILD |
| | | | | join-table-id=11 plan-id=12 cohort-id=06 |
| | | | | build expressions: customer.c_customer_sk |
| | | | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | | | |
| | | | 92:EXCHANGE [HASH(customer.c_customer_sk)] |
| | | | | mem-estimate=3.85MB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=22 row-size=40B cardinality=100.00K |
| | | | | in pipelines: 28(GETNEXT) |
| | | | | |
| | | | F31:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=1 |
| | | | 28:SCAN HDFS [tpcds_parquet.customer, RANDOM] |
| | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | stored statistics: |
| | | | table: rows=100.00K size=5.49MB |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | | | tuple-ids=22 row-size=40B cardinality=100.00K |
| | | | in pipelines: 28(GETNEXT) |
| | | | |
| | | 91:EXCHANGE [HASH(ws_bill_customer_sk)] |
| | | | mem-estimate=506.41KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=21,23,39 row-size=72B cardinality=9.63K |
| | | | in pipelines: 27(GETNEXT) |
| | | | |
| | | F21: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 |
| | | 49:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | hash-table-id=12 |
| | | | hash predicates: ws_bill_customer_sk = c_customer_sk |
| | | | fk/pk conjuncts: ws_bill_customer_sk = c_customer_sk |
| | | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | | tuple-ids=21,23,39 row-size=72B cardinality=9.63K |
| | | | in pipelines: 27(GETNEXT), 89(OPEN) |
| | | | |
| | | |--F48:PLAN FRAGMENT [RANDOM] hosts=2 instances=2 |
| | | | | Per-Instance Resources: mem-estimate=5.45MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | | JOIN BUILD |
| | | | | join-table-id=12 plan-id=13 cohort-id=06 |
| | | | | build expressions: c_customer_sk |
| | | | | runtime filters: RF026[bloom] <- c_customer_sk |
| | | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | |
| | | | 90:EXCHANGE [BROADCAST] |
| | | | | mem-estimate=591.56KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=39 row-size=36B cardinality=10.00K |
| | | | | in pipelines: 89(GETNEXT) |
| | | | | |
| | | | F30:PLAN FRAGMENT [HASH(c_customer_sk)] hosts=3 instances=6 |
| | | | Per-Instance Resources: mem-estimate=11.38MB mem-reservation=1.94MB thread-reservation=1 |
| | | | 89:AGGREGATE [FINALIZE] |
| | | | | output: sum:merge(ss_quantity * ss_sales_price), max:merge(tpcds_cmax) |
| | | | | group by: c_customer_sk |
| | | | | having: sum(ss_quantity * ss_sales_price) > CAST(0.500000 AS DECIMAL(10,6)) * max(tpcds_cmax) |
| | | | | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=39 row-size=36B cardinality=10.00K |
| | | | | in pipelines: 89(GETNEXT), 36(OPEN) |
| | | | | |
| | | | 88:EXCHANGE [HASH(c_customer_sk)] |
| | | | | mem-estimate=1.38MB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=39 row-size=36B cardinality=100.00K |
| | | | | in pipelines: 36(GETNEXT) |
| | | | | |
| | | | F23:PLAN FRAGMENT [RANDOM] hosts=3 instances=6 |
| | | | Per-Instance Resources: mem-estimate=26.00MB mem-reservation=6.00MB thread-reservation=1 |
| | | | 47:AGGREGATE [STREAMING] |
| | | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price), max(max(csales)) |
| | | | | group by: c_customer_sk |
| | | | | mem-estimate=10.00MB mem-reservation=5.00MB spill-buffer=256.00KB thread-reservation=0 |
| | | | | tuple-ids=39 row-size=36B cardinality=100.00K |
| | | | | in pipelines: 36(GETNEXT) |
| | | | | |
| | | | 46:NESTED LOOP JOIN [CROSS JOIN, BROADCAST] |
| | | | | join table id: 13 |
| | | | | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=30,31,37 row-size=32B cardinality=2.88M |
| | | | | in pipelines: 36(GETNEXT), 86(OPEN) |
| | | | | |
| | | | |--F49:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | | | Per-Instance Resources: mem-estimate=16.02KB mem-reservation=0B thread-reservation=1 |
| | | | | JOIN BUILD |
| | | | | | join-table-id=13 plan-id=14 cohort-id=07 |
| | | | | | mem-estimate=16B mem-reservation=0B thread-reservation=0 |
| | | | | | |
| | | | | 87:EXCHANGE [BROADCAST] |
| | | | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=37 row-size=16B cardinality=1 |
| | | | | | in pipelines: 86(GETNEXT) |
| | | | | | |
| | | | | F29:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | | | | Per-Instance Resources: mem-estimate=10.02MB mem-reservation=0B thread-reservation=1 |
| | | | | 86:AGGREGATE [FINALIZE] |
| | | | | | output: max:merge(csales) |
| | | | | | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | | | | tuple-ids=37 row-size=16B cardinality=1 |
| | | | | | in pipelines: 86(GETNEXT), 44(OPEN) |
| | | | | | |
| | | | | 85:EXCHANGE [UNPARTITIONED] |
| | | | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=37 row-size=16B cardinality=1 |
| | | | | | in pipelines: 44(GETNEXT) |
| | | | | | |
| | | | | F28:PLAN FRAGMENT [HASH(c_customer_sk)] hosts=3 instances=6 |
| | | | | Per-Instance Resources: mem-estimate=20.00MB mem-reservation=1.94MB thread-reservation=1 |
| | | | | 44:AGGREGATE |
| | | | | | output: max(sum(ss_quantity * ss_sales_price)) |
| | | | | | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | | | | tuple-ids=37 row-size=16B cardinality=1 |
| | | | | | in pipelines: 44(GETNEXT), 84(OPEN) |
| | | | | | |
| | | | | 84:AGGREGATE [FINALIZE] |
| | | | | | output: sum:merge(ss_quantity * ss_sales_price) |
| | | | | | group by: c_customer_sk |
| | | | | | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | tuple-ids=35 row-size=20B cardinality=100.00K |
| | | | | | in pipelines: 84(GETNEXT), 38(OPEN) |
| | | | | | |
| | | | | 83:EXCHANGE [HASH(c_customer_sk)] |
| | | | | | mem-estimate=795.04KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=35 row-size=20B cardinality=100.00K |
| | | | | | in pipelines: 38(GETNEXT) |
| | | | | | |
| | | | | F25:PLAN FRAGMENT [RANDOM] hosts=3 instances=6 |
| | | | | 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=26.00MB mem-reservation=4.00MB thread-reservation=1 |
| | | | | 43:AGGREGATE [STREAMING] |
| | | | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price) |
| | | | | | group by: c_customer_sk |
| | | | | | mem-estimate=10.00MB mem-reservation=3.00MB spill-buffer=128.00KB thread-reservation=0 |
| | | | | | tuple-ids=35 row-size=20B cardinality=100.00K |
| | | | | | in pipelines: 38(GETNEXT) |
| | | | | | |
| | | | | 42:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | | | hash-table-id=14 |
| | | | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | | | | tuple-ids=32,34,33 row-size=28B cardinality=2.35M |
| | | | | | in pipelines: 38(GETNEXT), 39(OPEN) |
| | | | | | |
| | | | | |--F50:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | | | | Per-Instance Resources: mem-estimate=4.26MB mem-reservation=3.88MB thread-reservation=1 |
| | | | | | JOIN BUILD |
| | | | | | | join-table-id=14 plan-id=15 cohort-id=08 |
| | | | | | | build expressions: c_customer_sk |
| | | | | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | | |
| | | | | | 82:EXCHANGE [BROADCAST] |
| | | | | | | mem-estimate=398.62KB mem-reservation=0B thread-reservation=0 |
| | | | | | | tuple-ids=33 row-size=4B cardinality=100.00K |
| | | | | | | in pipelines: 39(GETNEXT) |
| | | | | | | |
| | | | | | F27:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | | 39:SCAN HDFS [tpcds_parquet.customer, RANDOM] |
| | | | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | | | stored statistics: |
| | | | | | table: rows=100.00K size=5.49MB |
| | | | | | columns: all |
| | | | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | | | | tuple-ids=33 row-size=4B cardinality=100.00K |
| | | | | | in pipelines: 39(GETNEXT) |
| | | | | | |
| | | | | 41:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | | | hash-table-id=15 |
| | | | | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | | | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | | | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | | | | tuple-ids=32,34 row-size=24B cardinality=2.35M |
| | | | | | in pipelines: 38(GETNEXT), 40(OPEN) |
| | | | | | |
| | | | | |--F51:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | | | | Per-Instance Resources: mem-estimate=4.90MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | | | | JOIN BUILD |
| | | | | | | join-table-id=15 plan-id=16 cohort-id=08 |
| | | | | | | build expressions: d_date_sk |
| | | | | | | runtime filters: RF034[bloom] <- d_date_sk |
| | | | | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | | |
| | | | | | 81:EXCHANGE [BROADCAST] |
| | | | | | | mem-estimate=23.65KB mem-reservation=0B thread-reservation=0 |
| | | | | | | tuple-ids=34 row-size=8B cardinality=1.49K |
| | | | | | | in pipelines: 40(GETNEXT) |
| | | | | | | |
| | | | | | F26:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | | 40:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | | | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | | | | tuple-ids=34 row-size=8B cardinality=1.49K |
| | | | | | in pipelines: 40(GETNEXT) |
| | | | | | |
| | | | | 38:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | | | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | | | runtime filters: RF034[bloom] -> ss_sold_date_sk |
| | | | | stored statistics: |
| | | | | table: rows=2.88M size=200.95MB |
| | | | | partitions: 1824/1824 rows=2.88M |
| | | | | columns: all |
| | | | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | | | | tuple-ids=32 row-size=16B cardinality=2.88M |
| | | | | in pipelines: 38(GETNEXT) |
| | | | | |
| | | | 45:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | | hash-table-id=16 |
| | | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=30,31 row-size=16B cardinality=2.88M |
| | | | | in pipelines: 36(GETNEXT), 37(OPEN) |
| | | | | |
| | | | |--F52:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | | | Per-Instance Resources: mem-estimate=4.26MB mem-reservation=3.88MB thread-reservation=1 |
| | | | | JOIN BUILD |
| | | | | | join-table-id=16 plan-id=17 cohort-id=07 |
| | | | | | build expressions: c_customer_sk |
| | | | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | |
| | | | | 80:EXCHANGE [BROADCAST] |
| | | | | | mem-estimate=398.62KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=31 row-size=4B cardinality=100.00K |
| | | | | | in pipelines: 37(GETNEXT) |
| | | | | | |
| | | | | F24:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | 37:SCAN HDFS [tpcds_parquet.customer, RANDOM] |
| | | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | | stored statistics: |
| | | | | table: rows=100.00K size=5.49MB |
| | | | | columns: all |
| | | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | | | tuple-ids=31 row-size=4B cardinality=100.00K |
| | | | | in pipelines: 37(GETNEXT) |
| | | | | |
| | | | 36:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | | stored statistics: |
| | | | table: rows=2.88M size=200.95MB |
| | | | partitions: 1824/1824 rows=2.88M |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | | | tuple-ids=30 row-size=12B cardinality=2.88M |
| | | | in pipelines: 36(GETNEXT) |
| | | | |
| | | 48:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | hash-table-id=17 |
| | | | 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=21,23 row-size=36B cardinality=42.85K |
| | | | in pipelines: 27(GETNEXT), 29(OPEN) |
| | | | |
| | | |--F53: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=17 plan-id=18 cohort-id=06 |
| | | | | build expressions: d_date_sk |
| | | | | runtime filters: RF028[bloom] <- d_date_sk |
| | | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | |
| | | | 79:EXCHANGE [BROADCAST] |
| | | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=23 row-size=12B cardinality=108 |
| | | | | in pipelines: 29(GETNEXT) |
| | | | | |
| | | | F22:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | 29:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | | predicates: d_year = CAST(2000 AS INT), 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(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | | parquet dictionary predicates: d_year = CAST(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | | tuple-ids=23 row-size=12B cardinality=108 |
| | | | in pipelines: 29(GETNEXT) |
| | | | |
| | | 27:SCAN HDFS [tpcds_parquet.web_sales, RANDOM] |
| | | HDFS partitions=1/1 files=2 size=45.09MB |
| | | runtime filters: RF028[bloom] -> ws_sold_date_sk, RF026[bloom] -> ws_bill_customer_sk |
| | | stored statistics: |
| | | table: rows=719.38K size=45.09MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=644.77K |
| | | mem-estimate=32.00MB mem-reservation=8.00MB thread-reservation=0 |
| | | tuple-ids=21 row-size=24B cardinality=719.38K |
| | | in pipelines: 27(GETNEXT) |
| | | |
| | 78:AGGREGATE [FINALIZE] |
| | | output: count:merge(*) |
| | | group by: itemdesc, i_item_sk, d_date |
| | | having: count(*) > CAST(4 AS BIGINT) |
| | | mem-estimate=34.00MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=28 row-size=50B cardinality=235.45K |
| | | in pipelines: 78(GETNEXT), 30(OPEN) |
| | | |
| | 77:EXCHANGE [HASH(itemdesc,i_item_sk,d_date)] |
| | | mem-estimate=10.32MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=28 row-size=50B cardinality=2.35M |
| | | in pipelines: 30(GETNEXT) |
| | | |
| | F17:PLAN FRAGMENT [RANDOM] hosts=3 instances=6 |
| | Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB |
| | Per-Instance Resources: mem-estimate=50.00MB mem-reservation=34.50MB thread-reservation=1 |
| | 35:AGGREGATE [STREAMING] |
| | | output: count(*) |
| | | group by: substring(i_item_desc, CAST(1 AS BIGINT), CAST(30 AS BIGINT)), tpcds_parquet.item.i_item_sk, d_date |
| | | mem-estimate=34.00MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | | tuple-ids=28 row-size=50B cardinality=2.35M |
| | | in pipelines: 30(GETNEXT) |
| | | |
| | 34:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=18 |
| | | hash predicates: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | | fk/pk conjuncts: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=256.00KB thread-reservation=0 |
| | | tuple-ids=24,25,26 row-size=162B cardinality=2.35M |
| | | in pipelines: 30(GETNEXT), 32(OPEN) |
| | | |
| | |--F54:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | Per-Instance Resources: mem-estimate=11.69MB mem-reservation=9.50MB thread-reservation=1 |
| | | JOIN BUILD |
| | | | join-table-id=18 plan-id=19 cohort-id=05 |
| | | | build expressions: tpcds_parquet.item.i_item_sk |
| | | | mem-estimate=9.50MB mem-reservation=9.50MB spill-buffer=256.00KB thread-reservation=0 |
| | | | |
| | | 76:EXCHANGE [BROADCAST] |
| | | | mem-estimate=2.19MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=26 row-size=120B cardinality=18.00K |
| | | | in pipelines: 32(GETNEXT) |
| | | | |
| | | F19: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=2.00MB thread-reservation=1 |
| | | 32:SCAN HDFS [tpcds_parquet.item, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=1.73MB |
| | | runtime filters: RF018[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=2.00MB thread-reservation=0 |
| | | tuple-ids=26 row-size=120B cardinality=18.00K |
| | | in pipelines: 32(GETNEXT) |
| | | |
| | 33:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=19 |
| | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=24,25 row-size=42B cardinality=2.35M |
| | | in pipelines: 30(GETNEXT), 31(OPEN) |
| | | |
| | |--F55:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | Per-Instance Resources: mem-estimate=4.95MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | JOIN BUILD |
| | | | join-table-id=19 plan-id=20 cohort-id=05 |
| | | | build expressions: d_date_sk |
| | | | runtime filters: RF022[bloom] <- d_date_sk |
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | |
| | | 75:EXCHANGE [BROADCAST] |
| | | | mem-estimate=77.68KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=25 row-size=30B cardinality=1.49K |
| | | | in pipelines: 31(GETNEXT) |
| | | | |
| | | F18:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=2.00MB thread-reservation=1 |
| | | 31:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | mem-estimate=16.00MB mem-reservation=2.00MB thread-reservation=0 |
| | | tuple-ids=25 row-size=30B cardinality=1.49K |
| | | in pipelines: 31(GETNEXT) |
| | | |
| | 30:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | runtime filters: RF018[bloom] -> tpcds_parquet.store_sales.ss_item_sk, RF022[bloom] -> ss_sold_date_sk |
| | stored statistics: |
| | table: rows=2.88M size=200.95MB |
| | partitions: 1824/1824 rows=2.88M |
| | columns: all |
| | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | tuple-ids=24 row-size=12B cardinality=2.88M |
| | in pipelines: 30(GETNEXT) |
| | |
| 74:AGGREGATE [FINALIZE] |
| | output: sum:merge(cs_quantity * cs_list_price) |
| | group by: c_last_name, c_first_name |
| | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=20 row-size=52B cardinality=10.53K |
| | in pipelines: 74(GETNEXT), 57(OPEN) |
| | |
| 73:EXCHANGE [HASH(c_last_name,c_first_name)] |
| | mem-estimate=513.84KB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=20 row-size=52B cardinality=10.53K |
| | in pipelines: 57(GETNEXT) |
| | |
| F03:PLAN FRAGMENT [HASH(itemdesc,i_item_sk,d_date)] hosts=3 instances=6 |
| Per-Instance Resources: mem-estimate=54.32MB mem-reservation=36.00MB thread-reservation=1 |
| 26:AGGREGATE [STREAMING] |
| | output: sum(CAST(cs_quantity AS DECIMAL(10,0)) * cs_list_price) |
| | group by: c_last_name, c_first_name |
| | mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=20 row-size=52B cardinality=10.53K |
| | in pipelines: 57(GETNEXT) |
| | |
| 25:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=00 |
| | hash predicates: i_item_sk = cs_item_sk |
| | fk/pk conjuncts: i_item_sk = cs_item_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0 |
| | tuple-ids=7,0,2,18,1 row-size=162B cardinality=10.53K |
| | in pipelines: 57(GETNEXT), 01(OPEN) |
| | |
| |--F36:PLAN FRAGMENT [HASH(itemdesc,i_item_sk,d_date)] hosts=3 instances=3 |
| | | Per-Instance Resources: mem-estimate=8.25MB mem-reservation=6.75MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | JOIN BUILD |
| | | join-table-id=00 plan-id=01 cohort-id=01 |
| | | build expressions: cs_item_sk |
| | | runtime filters: RF000[bloom] <- cs_item_sk |
| | | mem-estimate=5.75MB mem-reservation=5.75MB spill-buffer=128.00KB thread-reservation=0 |
| | | |
| | 72:EXCHANGE [BROADCAST] |
| | | mem-estimate=1.50MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,2,18,1 row-size=112B cardinality=10.53K |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | F15:PLAN FRAGMENT [HASH(cs_bill_customer_sk)] hosts=3 instances=3 |
| | Per-Instance Resources: mem-estimate=498.70KB mem-reservation=0B thread-reservation=1 |
| | 24:HASH JOIN [INNER JOIN, PARTITIONED] |
| | | hash-table-id=01 |
| | | hash predicates: cs_bill_customer_sk = customer.c_customer_sk |
| | | fk/pk conjuncts: cs_bill_customer_sk = customer.c_customer_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0 |
| | | tuple-ids=0,2,18,1 row-size=112B cardinality=10.53K |
| | | in pipelines: 01(GETNEXT), 02(OPEN) |
| | | |
| | |--F37:PLAN FRAGMENT [HASH(cs_bill_customer_sk)] hosts=3 instances=3 |
| | | | Per-Instance Resources: mem-estimate=6.73MB mem-reservation=2.88MB thread-reservation=1 |
| | | JOIN BUILD |
| | | | join-table-id=01 plan-id=02 cohort-id=02 |
| | | | build expressions: customer.c_customer_sk |
| | | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0 |
| | | | |
| | | 71:EXCHANGE [HASH(customer.c_customer_sk)] |
| | | | mem-estimate=3.85MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=1 row-size=40B cardinality=100.00K |
| | | | in pipelines: 02(GETNEXT) |
| | | | |
| | | F14: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.customer, RANDOM] |
| | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | stored statistics: |
| | | table: rows=100.00K size=5.49MB |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | | tuple-ids=1 row-size=40B cardinality=100.00K |
| | | in pipelines: 02(GETNEXT) |
| | | |
| | 70:EXCHANGE [HASH(cs_bill_customer_sk)] |
| | | mem-estimate=498.70KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=0,2,18 row-size=72B cardinality=10.53K |
| | | in pipelines: 01(GETNEXT) |
| | | |
| | F04: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 |
| | 23:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=02 |
| | | hash predicates: cs_bill_customer_sk = c_customer_sk |
| | | fk/pk conjuncts: cs_bill_customer_sk = c_customer_sk |
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | tuple-ids=0,2,18 row-size=72B cardinality=10.53K |
| | | in pipelines: 01(GETNEXT), 68(OPEN) |
| | | |
| | |--F38:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | Per-Instance Resources: mem-estimate=5.45MB 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: c_customer_sk |
| | | | runtime filters: RF008[bloom] <- c_customer_sk |
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | |
| | | 69:EXCHANGE [BROADCAST] |
| | | | mem-estimate=591.56KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=18 row-size=36B cardinality=10.00K |
| | | | in pipelines: 68(GETNEXT) |
| | | | |
| | | F13:PLAN FRAGMENT [HASH(c_customer_sk)] hosts=3 instances=6 |
| | | Per-Instance Resources: mem-estimate=11.38MB mem-reservation=1.94MB thread-reservation=1 |
| | | 68:AGGREGATE [FINALIZE] |
| | | | output: sum:merge(ss_quantity * ss_sales_price), max:merge(tpcds_cmax) |
| | | | group by: c_customer_sk |
| | | | having: sum(ss_quantity * ss_sales_price) > CAST(0.500000 AS DECIMAL(10,6)) * max(tpcds_cmax) |
| | | | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | tuple-ids=18 row-size=36B cardinality=10.00K |
| | | | in pipelines: 68(GETNEXT), 10(OPEN) |
| | | | |
| | | 67:EXCHANGE [HASH(c_customer_sk)] |
| | | | mem-estimate=1.38MB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=18 row-size=36B cardinality=100.00K |
| | | | in pipelines: 10(GETNEXT) |
| | | | |
| | | F06:PLAN FRAGMENT [RANDOM] hosts=3 instances=6 |
| | | Per-Instance Resources: mem-estimate=26.00MB mem-reservation=6.00MB thread-reservation=1 |
| | | 21:AGGREGATE [STREAMING] |
| | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price), max(max(csales)) |
| | | | group by: c_customer_sk |
| | | | mem-estimate=10.00MB mem-reservation=5.00MB spill-buffer=256.00KB thread-reservation=0 |
| | | | tuple-ids=18 row-size=36B cardinality=100.00K |
| | | | in pipelines: 10(GETNEXT) |
| | | | |
| | | 20:NESTED LOOP JOIN [CROSS JOIN, BROADCAST] |
| | | | join table id: 03 |
| | | | mem-estimate=0B mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=9,10,16 row-size=32B cardinality=2.88M |
| | | | in pipelines: 10(GETNEXT), 65(OPEN) |
| | | | |
| | | |--F39:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | | Per-Instance Resources: mem-estimate=16.02KB mem-reservation=0B thread-reservation=1 |
| | | | JOIN BUILD |
| | | | | join-table-id=03 plan-id=04 cohort-id=03 |
| | | | | mem-estimate=16B mem-reservation=0B thread-reservation=0 |
| | | | | |
| | | | 66:EXCHANGE [BROADCAST] |
| | | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=16 row-size=16B cardinality=1 |
| | | | | in pipelines: 65(GETNEXT) |
| | | | | |
| | | | F12:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1 |
| | | | Per-Instance Resources: mem-estimate=10.02MB mem-reservation=0B thread-reservation=1 |
| | | | 65:AGGREGATE [FINALIZE] |
| | | | | output: max:merge(csales) |
| | | | | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | | | tuple-ids=16 row-size=16B cardinality=1 |
| | | | | in pipelines: 65(GETNEXT), 18(OPEN) |
| | | | | |
| | | | 64:EXCHANGE [UNPARTITIONED] |
| | | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=16 row-size=16B cardinality=1 |
| | | | | in pipelines: 18(GETNEXT) |
| | | | | |
| | | | F11:PLAN FRAGMENT [HASH(c_customer_sk)] hosts=3 instances=6 |
| | | | Per-Instance Resources: mem-estimate=20.00MB mem-reservation=1.94MB thread-reservation=1 |
| | | | 18:AGGREGATE |
| | | | | output: max(sum(ss_quantity * ss_sales_price)) |
| | | | | mem-estimate=10.00MB mem-reservation=0B spill-buffer=2.00MB thread-reservation=0 |
| | | | | tuple-ids=16 row-size=16B cardinality=1 |
| | | | | in pipelines: 18(GETNEXT), 63(OPEN) |
| | | | | |
| | | | 63:AGGREGATE [FINALIZE] |
| | | | | output: sum:merge(ss_quantity * ss_sales_price) |
| | | | | group by: c_customer_sk |
| | | | | mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=14 row-size=20B cardinality=100.00K |
| | | | | in pipelines: 63(GETNEXT), 12(OPEN) |
| | | | | |
| | | | 62:EXCHANGE [HASH(c_customer_sk)] |
| | | | | mem-estimate=795.04KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=14 row-size=20B cardinality=100.00K |
| | | | | in pipelines: 12(GETNEXT) |
| | | | | |
| | | | F08:PLAN FRAGMENT [RANDOM] hosts=3 instances=6 |
| | | | 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=26.00MB mem-reservation=4.00MB thread-reservation=1 |
| | | | 17:AGGREGATE [STREAMING] |
| | | | | output: sum(CAST(ss_quantity AS DECIMAL(10,0)) * ss_sales_price) |
| | | | | group by: c_customer_sk |
| | | | | mem-estimate=10.00MB mem-reservation=3.00MB spill-buffer=128.00KB thread-reservation=0 |
| | | | | tuple-ids=14 row-size=20B cardinality=100.00K |
| | | | | in pipelines: 12(GETNEXT) |
| | | | | |
| | | | 16:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | | hash-table-id=04 |
| | | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=11,13,12 row-size=28B cardinality=2.35M |
| | | | | in pipelines: 12(GETNEXT), 13(OPEN) |
| | | | | |
| | | | |--F40:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | | | Per-Instance Resources: mem-estimate=4.26MB mem-reservation=3.88MB thread-reservation=1 |
| | | | | JOIN BUILD |
| | | | | | join-table-id=04 plan-id=05 cohort-id=04 |
| | | | | | build expressions: c_customer_sk |
| | | | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | |
| | | | | 61:EXCHANGE [BROADCAST] |
| | | | | | mem-estimate=398.62KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=12 row-size=4B cardinality=100.00K |
| | | | | | in pipelines: 13(GETNEXT) |
| | | | | | |
| | | | | F10:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | 13:SCAN HDFS [tpcds_parquet.customer, RANDOM] |
| | | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | | stored statistics: |
| | | | | table: rows=100.00K size=5.49MB |
| | | | | columns: all |
| | | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | | | tuple-ids=12 row-size=4B cardinality=100.00K |
| | | | | in pipelines: 13(GETNEXT) |
| | | | | |
| | | | 15:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | | hash-table-id=05 |
| | | | | hash predicates: ss_sold_date_sk = d_date_sk |
| | | | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | | | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | | | tuple-ids=11,13 row-size=24B cardinality=2.35M |
| | | | | in pipelines: 12(GETNEXT), 14(OPEN) |
| | | | | |
| | | | |--F41:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | | | Per-Instance Resources: mem-estimate=4.90MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | | | | JOIN BUILD |
| | | | | | join-table-id=05 plan-id=06 cohort-id=04 |
| | | | | | build expressions: d_date_sk |
| | | | | | runtime filters: RF016[bloom] <- d_date_sk |
| | | | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | | |
| | | | | 60:EXCHANGE [BROADCAST] |
| | | | | | mem-estimate=23.65KB mem-reservation=0B thread-reservation=0 |
| | | | | | tuple-ids=13 row-size=8B cardinality=1.49K |
| | | | | | in pipelines: 14(GETNEXT) |
| | | | | | |
| | | | | F09:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | | | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1 |
| | | | | 14:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | | | | HDFS partitions=1/1 files=1 size=2.15MB |
| | | | | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | | | tuple-ids=13 row-size=8B cardinality=1.49K |
| | | | | in pipelines: 14(GETNEXT) |
| | | | | |
| | | | 12:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | | runtime filters: RF016[bloom] -> ss_sold_date_sk |
| | | | stored statistics: |
| | | | table: rows=2.88M size=200.95MB |
| | | | partitions: 1824/1824 rows=2.88M |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | | | tuple-ids=11 row-size=16B cardinality=2.88M |
| | | | in pipelines: 12(GETNEXT) |
| | | | |
| | | 19:HASH JOIN [INNER JOIN, BROADCAST] |
| | | | hash-table-id=06 |
| | | | hash predicates: ss_customer_sk = c_customer_sk |
| | | | fk/pk conjuncts: ss_customer_sk = c_customer_sk |
| | | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | | | tuple-ids=9,10 row-size=16B cardinality=2.88M |
| | | | in pipelines: 10(GETNEXT), 11(OPEN) |
| | | | |
| | | |--F42:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | | | Per-Instance Resources: mem-estimate=4.26MB mem-reservation=3.88MB thread-reservation=1 |
| | | | JOIN BUILD |
| | | | | join-table-id=06 plan-id=07 cohort-id=03 |
| | | | | build expressions: c_customer_sk |
| | | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | | |
| | | | 59:EXCHANGE [BROADCAST] |
| | | | | mem-estimate=398.62KB mem-reservation=0B thread-reservation=0 |
| | | | | tuple-ids=10 row-size=4B cardinality=100.00K |
| | | | | in pipelines: 11(GETNEXT) |
| | | | | |
| | | | F07: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.customer, RANDOM] |
| | | | HDFS partitions=1/1 files=1 size=5.49MB |
| | | | stored statistics: |
| | | | table: rows=100.00K size=5.49MB |
| | | | columns: all |
| | | | extrapolated-rows=disabled max-scan-range-rows=100.00K |
| | | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | | tuple-ids=10 row-size=4B cardinality=100.00K |
| | | | in pipelines: 11(GETNEXT) |
| | | | |
| | | 10:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| | | HDFS partitions=1824/1824 files=1824 size=200.95MB |
| | | stored statistics: |
| | | table: rows=2.88M size=200.95MB |
| | | partitions: 1824/1824 rows=2.88M |
| | | columns: all |
| | | extrapolated-rows=disabled max-scan-range-rows=130.09K |
| | | mem-estimate=16.00MB mem-reservation=1.00MB thread-reservation=0 |
| | | tuple-ids=9 row-size=12B cardinality=2.88M |
| | | in pipelines: 10(GETNEXT) |
| | | |
| | 22:HASH JOIN [INNER JOIN, BROADCAST] |
| | | hash-table-id=07 |
| | | 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,2 row-size=36B cardinality=85.31K |
| | | in pipelines: 01(GETNEXT), 03(OPEN) |
| | | |
| | |--F43: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=07 plan-id=08 cohort-id=02 |
| | | | build expressions: d_date_sk |
| | | | runtime filters: RF010[bloom] <- d_date_sk |
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | | |
| | | 58:EXCHANGE [BROADCAST] |
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0 |
| | | | tuple-ids=2 row-size=12B cardinality=108 |
| | | | in pipelines: 03(GETNEXT) |
| | | | |
| | | F05: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(2000 AS INT), 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(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | parquet dictionary predicates: d_year = CAST(2000 AS INT), d_moy = CAST(2 AS INT) |
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| | | tuple-ids=2 row-size=12B cardinality=108 |
| | | in pipelines: 03(GETNEXT) |
| | | |
| | 01:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM] |
| | HDFS partitions=1/1 files=3 size=96.62MB |
| | runtime filters: RF010[bloom] -> cs_sold_date_sk, RF008[bloom] -> cs_bill_customer_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=24B cardinality=1.44M |
| | in pipelines: 01(GETNEXT) |
| | |
| 57:AGGREGATE [FINALIZE] |
| | output: count:merge(*) |
| | group by: itemdesc, i_item_sk, d_date |
| | having: count(*) > CAST(4 AS BIGINT) |
| | mem-estimate=34.00MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=50B cardinality=235.45K |
| | in pipelines: 57(GETNEXT), 04(OPEN) |
| | |
| 56:EXCHANGE [HASH(itemdesc,i_item_sk,d_date)] |
| | mem-estimate=10.32MB mem-reservation=0B thread-reservation=0 |
| | tuple-ids=7 row-size=50B cardinality=2.35M |
| | in pipelines: 04(GETNEXT) |
| | |
| F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=6 |
| Per-Host Shared Resources: mem-estimate=2.00MB mem-reservation=2.00MB thread-reservation=0 runtime-filters-memory=2.00MB |
| Per-Instance Resources: mem-estimate=50.00MB mem-reservation=34.50MB thread-reservation=1 |
| 09:AGGREGATE [STREAMING] |
| | output: count(*) |
| | group by: substring(i_item_desc, CAST(1 AS BIGINT), CAST(30 AS BIGINT)), tpcds_parquet.item.i_item_sk, d_date |
| | mem-estimate=34.00MB mem-reservation=34.00MB spill-buffer=2.00MB thread-reservation=0 |
| | tuple-ids=7 row-size=50B cardinality=2.35M |
| | in pipelines: 04(GETNEXT) |
| | |
| 08:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=08 |
| | hash predicates: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | fk/pk conjuncts: ss_item_sk = tpcds_parquet.item.i_item_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=256.00KB thread-reservation=0 |
| | tuple-ids=3,4,5 row-size=162B cardinality=2.35M |
| | in pipelines: 04(GETNEXT), 06(OPEN) |
| | |
| |--F44:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | Per-Instance Resources: mem-estimate=11.69MB mem-reservation=9.50MB thread-reservation=1 |
| | JOIN BUILD |
| | | join-table-id=08 plan-id=09 cohort-id=01 |
| | | build expressions: tpcds_parquet.item.i_item_sk |
| | | mem-estimate=9.50MB mem-reservation=9.50MB spill-buffer=256.00KB thread-reservation=0 |
| | | |
| | 55:EXCHANGE [BROADCAST] |
| | | mem-estimate=2.19MB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=5 row-size=120B cardinality=18.00K |
| | | in pipelines: 06(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=2.00MB thread-reservation=1 |
| | 06: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=2.00MB thread-reservation=0 |
| | tuple-ids=5 row-size=120B cardinality=18.00K |
| | in pipelines: 06(GETNEXT) |
| | |
| 07:HASH JOIN [INNER JOIN, BROADCAST] |
| | hash-table-id=09 |
| | hash predicates: ss_sold_date_sk = d_date_sk |
| | fk/pk conjuncts: ss_sold_date_sk = d_date_sk |
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0 |
| | tuple-ids=3,4 row-size=42B cardinality=2.35M |
| | in pipelines: 04(GETNEXT), 05(OPEN) |
| | |
| |--F45:PLAN FRAGMENT [RANDOM] hosts=3 instances=3 |
| | | Per-Instance Resources: mem-estimate=4.95MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB |
| | JOIN BUILD |
| | | join-table-id=09 plan-id=10 cohort-id=01 |
| | | build expressions: d_date_sk |
| | | runtime filters: RF004[bloom] <- d_date_sk |
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0 |
| | | |
| | 54:EXCHANGE [BROADCAST] |
| | | mem-estimate=77.68KB mem-reservation=0B thread-reservation=0 |
| | | tuple-ids=4 row-size=30B cardinality=1.49K |
| | | in pipelines: 05(GETNEXT) |
| | | |
| | F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1 |
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=2.00MB thread-reservation=1 |
| | 05:SCAN HDFS [tpcds_parquet.date_dim, RANDOM] |
| | HDFS partitions=1/1 files=1 size=2.15MB |
| | predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 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 IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | parquet dictionary predicates: d_year IN (CAST(2000 AS INT), CAST(2001 AS INT), CAST(2002 AS INT), CAST(2003 AS INT)) |
| | mem-estimate=16.00MB mem-reservation=2.00MB thread-reservation=0 |
| | tuple-ids=4 row-size=30B cardinality=1.49K |
| | in pipelines: 05(GETNEXT) |
| | |
| 04:SCAN HDFS [tpcds_parquet.store_sales, RANDOM] |
| HDFS partitions=1824/1824 files=1824 size=200.95MB |
| runtime filters: RF000[bloom] -> tpcds_parquet.store_sales.ss_item_sk, RF004[bloom] -> ss_sold_date_sk |
| stored statistics: |
| table: rows=2.88M size=200.95MB |
| partitions: 1824/1824 rows=2.88M |
| columns: all |
| extrapolated-rows=disabled max-scan-range-rows=130.09K |
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0 |
| tuple-ids=3 row-size=12B cardinality=2.88M |
| in pipelines: 04(GETNEXT) |
| ==== |