blob: 85af0d44bd965589e9c115b215ec848a866bcdae [file] [log] [blame]
# TPCDS-Q69
SELECT cd_gender,
cd_marital_status,
cd_education_status,
count(*) cnt1,
cd_purchase_estimate,
count(*) cnt2,
cd_credit_rating,
count(*) cnt3
FROM customer c,
customer_address ca,
customer_demographics
WHERE c.c_current_addr_sk = ca.ca_address_sk
AND ca_state IN ('KY',
'GA',
'NM')
AND cd_demo_sk = c.c_current_cdemo_sk
AND EXISTS
(SELECT *
FROM store_sales,
date_dim
WHERE c.c_customer_sk = ss_customer_sk
AND ss_sold_date_sk = d_date_sk
AND d_year = 2001
AND d_moy BETWEEN 4 AND 4+2)
AND (NOT EXISTS
(SELECT *
FROM web_sales,
date_dim
WHERE c.c_customer_sk = ws_bill_customer_sk
AND ws_sold_date_sk = d_date_sk
AND d_year = 2001
AND d_moy BETWEEN 4 AND 4+2)
AND NOT EXISTS
(SELECT *
FROM catalog_sales,
date_dim
WHERE c.c_customer_sk = cs_ship_customer_sk
AND cs_sold_date_sk = d_date_sk
AND d_year = 2001
AND d_moy BETWEEN 4 AND 4+2))
GROUP BY cd_gender,
cd_marital_status,
cd_education_status,
cd_purchase_estimate,
cd_credit_rating
ORDER BY cd_gender,
cd_marital_status,
cd_education_status,
cd_purchase_estimate,
cd_credit_rating
LIMIT 100;
---- PLAN
Max Per-Host Resource Reservation: Memory=36.88MB Threads=10
Per-Host Resource Estimates: Memory=513MB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=512.62MB mem-reservation=36.88MB thread-reservation=10 runtime-filters-memory=6.00MB
PLAN-ROOT SINK
| output exprs: cd_gender, cd_marital_status, cd_education_status, count(*), cd_purchase_estimate, count(*), cd_credit_rating, count(*)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
18:TOP-N [LIMIT=100]
| order by: cd_gender ASC, cd_marital_status ASC, cd_education_status ASC, cd_purchase_estimate ASC, cd_credit_rating ASC
| mem-estimate=7.67KB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=79B cardinality=100
| in pipelines: 18(GETNEXT), 17(OPEN)
|
17:AGGREGATE [FINALIZE]
| output: count(*)
| group by: cd_gender, cd_marital_status, cd_education_status, cd_purchase_estimate, cd_credit_rating
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12 row-size=79B cardinality=5.60K
| in pipelines: 17(GETNEXT), 09(OPEN)
|
16:HASH JOIN [RIGHT ANTI JOIN]
| hash predicates: cs_ship_customer_sk = c.c_customer_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| in pipelines: 09(GETNEXT), 06(OPEN)
|
|--15:HASH JOIN [RIGHT ANTI JOIN]
| | hash predicates: ws_bill_customer_sk = c.c_customer_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | in pipelines: 06(GETNEXT), 03(OPEN)
| |
| |--14:HASH JOIN [RIGHT SEMI JOIN]
| | | hash predicates: ss_customer_sk = c.c_customer_sk
| | | runtime filters: RF004[bloom] <- c.c_customer_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | | in pipelines: 03(GETNEXT), 02(OPEN)
| | |
| | |--13:HASH JOIN [INNER JOIN]
| | | | hash predicates: c.c_current_addr_sk = ca.ca_address_sk
| | | | fk/pk conjuncts: c.c_current_addr_sk = ca.ca_address_sk
| | | | runtime filters: RF008[bloom] <- ca.ca_address_sk
| | | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | | | in pipelines: 02(GETNEXT), 01(OPEN)
| | | |
| | | |--01:SCAN HDFS [tpcds_parquet.customer_address ca]
| | | | HDFS partitions=1/1 files=1 size=1.16MB
| | | | predicates: ca_state IN ('KY', 'GA', 'NM')
| | | | stored statistics:
| | | | table: rows=50.00K size=1.16MB
| | | | columns: all
| | | | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | | | parquet statistics predicates: ca_state IN ('KY', 'GA', 'NM')
| | | | parquet dictionary predicates: ca_state IN ('KY', 'GA', 'NM')
| | | | mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=1
| | | | tuple-ids=1 row-size=18B cardinality=2.94K
| | | | in pipelines: 01(GETNEXT)
| | | |
| | | 12:HASH JOIN [INNER JOIN]
| | | | hash predicates: cd_demo_sk = c.c_current_cdemo_sk
| | | | fk/pk conjuncts: none
| | | | runtime filters: RF010[bloom] <- c.c_current_cdemo_sk
| | | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | | | tuple-ids=2,0 row-size=87B cardinality=100.00K
| | | | in pipelines: 02(GETNEXT), 00(OPEN)
| | | |
| | | |--00:SCAN HDFS [tpcds_parquet.customer c]
| | | | HDFS partitions=1/1 files=1 size=5.49MB
| | | | runtime filters: RF008[bloom] -> c.c_current_addr_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=2.00MB thread-reservation=1
| | | | tuple-ids=0 row-size=12B cardinality=100.00K
| | | | in pipelines: 00(GETNEXT)
| | | |
| | | 02:SCAN HDFS [tpcds_parquet.customer_demographics]
| | | HDFS partitions=1/1 files=1 size=7.49MB
| | | runtime filters: RF010[bloom] -> cd_demo_sk
| | | stored statistics:
| | | table: rows=1.92M size=7.49MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=1.92M
| | | mem-estimate=96.00MB mem-reservation=8.00MB thread-reservation=1
| | | tuple-ids=2 row-size=75B cardinality=1.92M
| | | in pipelines: 02(GETNEXT)
| | |
| | 05:HASH JOIN [INNER JOIN]
| | | hash predicates: ss_sold_date_sk = d_date_sk
| | | fk/pk conjuncts: ss_sold_date_sk = d_date_sk
| | | runtime filters: RF006[bloom] <- d_date_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=3,4 row-size=20B cardinality=186.34K
| | | in pipelines: 03(GETNEXT), 04(OPEN)
| | |
| | |--04:SCAN HDFS [tpcds_parquet.date_dim]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | | stored statistics:
| | | table: rows=73.05K size=2.15MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| | | tuple-ids=4 row-size=12B cardinality=118
| | | in pipelines: 04(GETNEXT)
| | |
| | 03:SCAN HDFS [tpcds_parquet.store_sales]
| | HDFS partitions=1824/1824 files=1824 size=200.95MB
| | runtime filters: RF004[bloom] -> ss_customer_sk, RF006[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=8B cardinality=2.88M
| | in pipelines: 03(GETNEXT)
| |
| 08:HASH JOIN [INNER JOIN]
| | hash predicates: ws_sold_date_sk = d_date_sk
| | fk/pk conjuncts: ws_sold_date_sk = d_date_sk
| | runtime filters: RF002[bloom] <- d_date_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=6,7 row-size=20B cardinality=46.82K
| | in pipelines: 06(GETNEXT), 07(OPEN)
| |
| |--07:SCAN HDFS [tpcds_parquet.date_dim]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=7 row-size=12B cardinality=118
| | in pipelines: 07(GETNEXT)
| |
| 06:SCAN HDFS [tpcds_parquet.web_sales]
| HDFS partitions=1/1 files=2 size=45.09MB
| runtime filters: RF002[bloom] -> ws_sold_date_sk
| stored statistics:
| table: rows=719.38K size=45.09MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=644.77K
| mem-estimate=64.00MB mem-reservation=4.00MB thread-reservation=1
| tuple-ids=6 row-size=8B cardinality=719.38K
| in pipelines: 06(GETNEXT)
|
11: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: RF000[bloom] <- d_date_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=9,10 row-size=20B cardinality=93.21K
| in pipelines: 09(GETNEXT), 10(OPEN)
|
|--10:SCAN HDFS [tpcds_parquet.date_dim]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=10 row-size=12B cardinality=118
| in pipelines: 10(GETNEXT)
|
09:SCAN HDFS [tpcds_parquet.catalog_sales]
HDFS partitions=1/1 files=3 size=96.62MB
runtime filters: RF000[bloom] -> cs_sold_date_sk
stored statistics:
table: rows=1.44M size=96.62MB
columns: all
extrapolated-rows=disabled max-scan-range-rows=650.14K
mem-estimate=96.00MB mem-reservation=4.00MB thread-reservation=1
tuple-ids=9 row-size=8B cardinality=1.44M
in pipelines: 09(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=48.62MB Threads=21
Per-Host Resource Estimates: Memory=544MB
F11:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=26.75KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: cd_gender, cd_marital_status, cd_education_status, count(*), cd_purchase_estimate, count(*), cd_credit_rating, count(*)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
30:MERGING-EXCHANGE [UNPARTITIONED]
| order by: cd_gender ASC, cd_marital_status ASC, cd_education_status ASC, cd_purchase_estimate ASC, cd_credit_rating ASC
| limit: 100
| mem-estimate=26.75KB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=79B cardinality=100
| in pipelines: 18(GETNEXT)
|
F10:PLAN FRAGMENT [HASH(cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating)] hosts=3 instances=3
Per-Host Resources: mem-estimate=10.38MB mem-reservation=1.94MB thread-reservation=1
18:TOP-N [LIMIT=100]
| order by: cd_gender ASC, cd_marital_status ASC, cd_education_status ASC, cd_purchase_estimate ASC, cd_credit_rating ASC
| mem-estimate=7.67KB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=79B cardinality=100
| in pipelines: 18(GETNEXT), 29(OPEN)
|
29:AGGREGATE [FINALIZE]
| output: count:merge(*)
| group by: cd_gender, cd_marital_status, cd_education_status, cd_purchase_estimate, cd_credit_rating
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12 row-size=79B cardinality=5.60K
| in pipelines: 29(GETNEXT), 09(OPEN)
|
28:EXCHANGE [HASH(cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating)]
| mem-estimate=390.95KB mem-reservation=0B thread-reservation=0
| tuple-ids=12 row-size=79B cardinality=5.60K
| in pipelines: 09(GETNEXT)
|
F07:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=3 instances=3
Per-Host Resources: mem-estimate=18.75MB mem-reservation=8.81MB thread-reservation=1 runtime-filters-memory=1.00MB
17:AGGREGATE [STREAMING]
| output: count(*)
| group by: cd_gender, cd_marital_status, cd_education_status, cd_purchase_estimate, cd_credit_rating
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12 row-size=79B cardinality=5.60K
| in pipelines: 09(GETNEXT)
|
16:HASH JOIN [RIGHT ANTI JOIN, PARTITIONED]
| hash predicates: cs_ship_customer_sk = c.c_customer_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| in pipelines: 09(GETNEXT), 03(OPEN)
|
|--15:HASH JOIN [LEFT ANTI JOIN, PARTITIONED]
| | hash predicates: c.c_customer_sk = ws_bill_customer_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | in pipelines: 03(GETNEXT), 06(OPEN)
| |
| |--26:EXCHANGE [HASH(ws_bill_customer_sk)]
| | | mem-estimate=513.25KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=6,7 row-size=20B cardinality=46.82K
| | | in pipelines: 06(GETNEXT)
| | |
| | F08:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| | Per-Host Resources: mem-estimate=66.95MB mem-reservation=6.94MB thread-reservation=2 runtime-filters-memory=1.00MB
| | 08: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: RF010[bloom] <- d_date_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=6,7 row-size=20B cardinality=46.82K
| | | in pipelines: 06(GETNEXT), 07(OPEN)
| | |
| | |--25:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=7 row-size=12B cardinality=118
| | | | in pipelines: 07(GETNEXT)
| | | |
| | | F09:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2
| | | 07:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | | stored statistics:
| | | table: rows=73.05K size=2.15MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| | | tuple-ids=7 row-size=12B cardinality=118
| | | in pipelines: 07(GETNEXT)
| | |
| | 06:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| | HDFS partitions=1/1 files=2 size=45.09MB
| | runtime filters: RF010[bloom] -> ws_sold_date_sk
| | stored statistics:
| | table: rows=719.38K size=45.09MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=644.77K
| | mem-estimate=64.00MB mem-reservation=4.00MB thread-reservation=1
| | tuple-ids=6 row-size=8B cardinality=719.38K
| | in pipelines: 06(GETNEXT)
| |
| 14:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED]
| | hash predicates: ss_customer_sk = c.c_customer_sk
| | runtime filters: RF002[bloom] <- c.c_customer_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | in pipelines: 03(GETNEXT), 02(OPEN)
| |
| |--24:EXCHANGE [HASH(c.c_customer_sk)]
| | | mem-estimate=813.54KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | | in pipelines: 02(GETNEXT)
| | |
| | F04:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=104.04MB mem-reservation=14.81MB thread-reservation=2 runtime-filters-memory=2.00MB
| | 13:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash predicates: c.c_current_addr_sk = ca.ca_address_sk
| | | fk/pk conjuncts: c.c_current_addr_sk = ca.ca_address_sk
| | | runtime filters: RF006[bloom] <- ca.ca_address_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | | in pipelines: 02(GETNEXT), 01(OPEN)
| | |
| | |--22:EXCHANGE [BROADCAST]
| | | | mem-estimate=73.70KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=1 row-size=18B cardinality=2.94K
| | | | in pipelines: 01(GETNEXT)
| | | |
| | | F06:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Host Resources: mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=2
| | | 01:SCAN HDFS [tpcds_parquet.customer_address ca, RANDOM]
| | | HDFS partitions=1/1 files=1 size=1.16MB
| | | predicates: ca_state IN ('KY', 'GA', 'NM')
| | | stored statistics:
| | | table: rows=50.00K size=1.16MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | | parquet statistics predicates: ca_state IN ('KY', 'GA', 'NM')
| | | parquet dictionary predicates: ca_state IN ('KY', 'GA', 'NM')
| | | mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=1
| | | tuple-ids=1 row-size=18B cardinality=2.94K
| | | in pipelines: 01(GETNEXT)
| | |
| | 12:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash predicates: cd_demo_sk = c.c_current_cdemo_sk
| | | fk/pk conjuncts: none
| | | runtime filters: RF008[bloom] <- c.c_current_cdemo_sk
| | | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | | tuple-ids=2,0 row-size=87B cardinality=100.00K
| | | in pipelines: 02(GETNEXT), 00(OPEN)
| | |
| | |--21:EXCHANGE [BROADCAST]
| | | | mem-estimate=1.16MB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=0 row-size=12B cardinality=100.00K
| | | | in pipelines: 00(GETNEXT)
| | | |
| | | F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Host Resources: mem-estimate=49.00MB mem-reservation=3.00MB thread-reservation=2 runtime-filters-memory=1.00MB
| | | 00:SCAN HDFS [tpcds_parquet.customer c, RANDOM]
| | | HDFS partitions=1/1 files=1 size=5.49MB
| | | runtime filters: RF006[bloom] -> c.c_current_addr_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=2.00MB thread-reservation=1
| | | tuple-ids=0 row-size=12B cardinality=100.00K
| | | in pipelines: 00(GETNEXT)
| | |
| | 02:SCAN HDFS [tpcds_parquet.customer_demographics, RANDOM]
| | HDFS partitions=1/1 files=1 size=7.49MB
| | runtime filters: RF008[bloom] -> cd_demo_sk
| | stored statistics:
| | table: rows=1.92M size=7.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=1.92M
| | mem-estimate=96.00MB mem-reservation=8.00MB thread-reservation=1
| | tuple-ids=2 row-size=75B cardinality=1.92M
| | in pipelines: 02(GETNEXT)
| |
| 23:EXCHANGE [HASH(ss_customer_sk)]
| | mem-estimate=1.27MB mem-reservation=0B thread-reservation=0
| | tuple-ids=3,4 row-size=20B cardinality=186.34K
| | in pipelines: 03(GETNEXT)
| |
| F02:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
| Per-Host Resources: mem-estimate=19.95MB mem-reservation=4.44MB thread-reservation=2 runtime-filters-memory=2.00MB
| 05: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=20B cardinality=186.34K
| | in pipelines: 03(GETNEXT), 04(OPEN)
| |
| |--20:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=12B cardinality=118
| | | in pipelines: 04(GETNEXT)
| | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2
| | 04:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| | tuple-ids=4 row-size=12B cardinality=118
| | in pipelines: 04(GETNEXT)
| |
| 03:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
| HDFS partitions=1824/1824 files=1824 size=200.95MB
| runtime filters: RF002[bloom] -> ss_customer_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=8B cardinality=2.88M
| in pipelines: 03(GETNEXT)
|
27:EXCHANGE [HASH(cs_ship_customer_sk)]
| mem-estimate=690.82KB mem-reservation=0B thread-reservation=0
| tuple-ids=9,10 row-size=20B cardinality=93.21K
| in pipelines: 09(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
Per-Host Resources: mem-estimate=98.95MB mem-reservation=6.94MB thread-reservation=2 runtime-filters-memory=1.00MB
11: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: RF000[bloom] <- d_date_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=9,10 row-size=20B cardinality=93.21K
| in pipelines: 09(GETNEXT), 10(OPEN)
|
|--19:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=10 row-size=12B cardinality=118
| | in pipelines: 10(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2
| 10:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=10 row-size=12B cardinality=118
| in pipelines: 10(GETNEXT)
|
09:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM]
HDFS partitions=1/1 files=3 size=96.62MB
runtime filters: RF000[bloom] -> cs_sold_date_sk
stored statistics:
table: rows=1.44M size=96.62MB
columns: all
extrapolated-rows=disabled max-scan-range-rows=650.14K
mem-estimate=96.00MB mem-reservation=4.00MB thread-reservation=1
tuple-ids=9 row-size=8B cardinality=1.44M
in pipelines: 09(GETNEXT)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=63.75MB Threads=21
Per-Host Resource Estimates: Memory=272MB
F11:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=26.75KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: cd_gender, cd_marital_status, cd_education_status, count(*), cd_purchase_estimate, count(*), cd_credit_rating, count(*)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
30:MERGING-EXCHANGE [UNPARTITIONED]
| order by: cd_gender ASC, cd_marital_status ASC, cd_education_status ASC, cd_purchase_estimate ASC, cd_credit_rating ASC
| limit: 100
| mem-estimate=26.75KB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=79B cardinality=100
| in pipelines: 18(GETNEXT)
|
F10:PLAN FRAGMENT [HASH(cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating)] hosts=3 instances=3
Per-Instance Resources: mem-estimate=10.38MB mem-reservation=1.94MB thread-reservation=1
18:TOP-N [LIMIT=100]
| order by: cd_gender ASC, cd_marital_status ASC, cd_education_status ASC, cd_purchase_estimate ASC, cd_credit_rating ASC
| mem-estimate=7.67KB mem-reservation=0B thread-reservation=0
| tuple-ids=13 row-size=79B cardinality=100
| in pipelines: 18(GETNEXT), 29(OPEN)
|
29:AGGREGATE [FINALIZE]
| output: count:merge(*)
| group by: cd_gender, cd_marital_status, cd_education_status, cd_purchase_estimate, cd_credit_rating
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12 row-size=79B cardinality=5.60K
| in pipelines: 29(GETNEXT), 09(OPEN)
|
28:EXCHANGE [HASH(cd_gender,cd_marital_status,cd_education_status,cd_purchase_estimate,cd_credit_rating)]
| mem-estimate=390.95KB mem-reservation=0B thread-reservation=0
| tuple-ids=12 row-size=79B cardinality=5.60K
| in pipelines: 09(GETNEXT)
|
F07:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=3 instances=3
Per-Instance Resources: mem-estimate=10.67MB mem-reservation=2.00MB thread-reservation=1
17:AGGREGATE [STREAMING]
| output: count(*)
| group by: cd_gender, cd_marital_status, cd_education_status, cd_purchase_estimate, cd_credit_rating
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=12 row-size=79B cardinality=5.60K
| in pipelines: 09(GETNEXT)
|
16:HASH JOIN [RIGHT ANTI JOIN, PARTITIONED]
| hash-table-id=00
| hash predicates: cs_ship_customer_sk = c.c_customer_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| in pipelines: 09(GETNEXT), 03(OPEN)
|
|--F12:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=3 instances=3
| | Per-Instance Resources: mem-estimate=3.29MB mem-reservation=1.94MB thread-reservation=1
| JOIN BUILD
| | join-table-id=00 plan-id=01 cohort-id=01
| | build expressions: c.c_customer_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| |
| 15:HASH JOIN [LEFT ANTI JOIN, PARTITIONED]
| | hash-table-id=01
| | hash predicates: c.c_customer_sk = ws_bill_customer_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | in pipelines: 03(GETNEXT), 06(OPEN)
| |
| |--F13:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=3 instances=3
| | | Per-Instance Resources: mem-estimate=2.44MB mem-reservation=1.94MB thread-reservation=1
| | JOIN BUILD
| | | join-table-id=01 plan-id=02 cohort-id=02
| | | build expressions: ws_bill_customer_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 26:EXCHANGE [HASH(ws_bill_customer_sk)]
| | | mem-estimate=513.25KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=6,7 row-size=20B cardinality=46.82K
| | | in pipelines: 06(GETNEXT)
| | |
| | F08:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| | Per-Host Shared Resources: mem-estimate=1.00MB mem-reservation=1.00MB thread-reservation=0 runtime-filters-memory=1.00MB
| | Per-Instance Resources: mem-estimate=32.00MB mem-reservation=4.00MB thread-reservation=1
| | 08:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash-table-id=02
| | | 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=6,7 row-size=20B cardinality=46.82K
| | | in pipelines: 06(GETNEXT), 07(OPEN)
| | |
| | |--F14:PLAN FRAGMENT [RANDOM] hosts=2 instances=2
| | | | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | | JOIN BUILD
| | | | join-table-id=02 plan-id=03 cohort-id=03
| | | | 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
| | | |
| | | 25:EXCHANGE [BROADCAST]
| | | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=7 row-size=12B cardinality=118
| | | | in pipelines: 07(GETNEXT)
| | | |
| | | F09:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | | 07:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | | HDFS partitions=1/1 files=1 size=2.15MB
| | | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | | stored statistics:
| | | table: rows=73.05K size=2.15MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | | tuple-ids=7 row-size=12B cardinality=118
| | | in pipelines: 07(GETNEXT)
| | |
| | 06:SCAN HDFS [tpcds_parquet.web_sales, RANDOM]
| | HDFS partitions=1/1 files=2 size=45.09MB
| | runtime filters: RF010[bloom] -> ws_sold_date_sk
| | stored statistics:
| | table: rows=719.38K size=45.09MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=644.77K
| | mem-estimate=32.00MB mem-reservation=4.00MB thread-reservation=0
| | tuple-ids=6 row-size=8B cardinality=719.38K
| | in pipelines: 06(GETNEXT)
| |
| 14:HASH JOIN [RIGHT SEMI JOIN, PARTITIONED]
| | hash-table-id=03
| | hash predicates: ss_customer_sk = c.c_customer_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | in pipelines: 03(GETNEXT), 02(OPEN)
| |
| |--F15:PLAN FRAGMENT [HASH(c.c_customer_sk)] hosts=3 instances=3
| | | Per-Instance Resources: mem-estimate=3.73MB mem-reservation=2.94MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=03 plan-id=04 cohort-id=02
| | | build expressions: c.c_customer_sk
| | | runtime filters: RF002[bloom] <- c.c_customer_sk
| | | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 24:EXCHANGE [HASH(c.c_customer_sk)]
| | | mem-estimate=813.54KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | | in pipelines: 02(GETNEXT)
| | |
| | F04: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=8.00MB thread-reservation=1
| | 13:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash-table-id=04
| | | hash predicates: c.c_current_addr_sk = ca.ca_address_sk
| | | fk/pk conjuncts: c.c_current_addr_sk = ca.ca_address_sk
| | | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | | tuple-ids=2,0,1 row-size=105B cardinality=6.83K
| | | in pipelines: 02(GETNEXT), 01(OPEN)
| | |
| | |--F16:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | | Per-Instance Resources: mem-estimate=4.95MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | | JOIN BUILD
| | | | join-table-id=04 plan-id=05 cohort-id=04
| | | | build expressions: ca.ca_address_sk
| | | | runtime filters: RF006[bloom] <- ca.ca_address_sk
| | | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | | |
| | | 22:EXCHANGE [BROADCAST]
| | | | mem-estimate=73.70KB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=1 row-size=18B cardinality=2.94K
| | | | in pipelines: 01(GETNEXT)
| | | |
| | | F06:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=1
| | | 01:SCAN HDFS [tpcds_parquet.customer_address ca, RANDOM]
| | | HDFS partitions=1/1 files=1 size=1.16MB
| | | predicates: ca_state IN ('KY', 'GA', 'NM')
| | | stored statistics:
| | | table: rows=50.00K size=1.16MB
| | | columns: all
| | | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | | parquet statistics predicates: ca_state IN ('KY', 'GA', 'NM')
| | | parquet dictionary predicates: ca_state IN ('KY', 'GA', 'NM')
| | | mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=0
| | | tuple-ids=1 row-size=18B cardinality=2.94K
| | | in pipelines: 01(GETNEXT)
| | |
| | 12:HASH JOIN [INNER JOIN, BROADCAST]
| | | hash-table-id=05
| | | hash predicates: cd_demo_sk = c.c_current_cdemo_sk
| | | fk/pk conjuncts: none
| | | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0
| | | tuple-ids=2,0 row-size=87B cardinality=100.00K
| | | in pipelines: 02(GETNEXT), 00(OPEN)
| | |
| | |--F17:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | | Per-Instance Resources: mem-estimate=7.91MB mem-reservation=6.75MB thread-reservation=1 runtime-filters-memory=1.00MB
| | | JOIN BUILD
| | | | join-table-id=05 plan-id=06 cohort-id=04
| | | | build expressions: c.c_current_cdemo_sk
| | | | runtime filters: RF008[bloom] <- c.c_current_cdemo_sk
| | | | mem-estimate=5.75MB mem-reservation=5.75MB spill-buffer=128.00KB thread-reservation=0
| | | |
| | | 21:EXCHANGE [BROADCAST]
| | | | mem-estimate=1.16MB mem-reservation=0B thread-reservation=0
| | | | tuple-ids=0 row-size=12B cardinality=100.00K
| | | | in pipelines: 00(GETNEXT)
| | | |
| | | F05: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
| | | 00:SCAN HDFS [tpcds_parquet.customer c, RANDOM]
| | | HDFS partitions=1/1 files=1 size=5.49MB
| | | runtime filters: RF006[bloom] -> c.c_current_addr_sk
| | | 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=2.00MB thread-reservation=0
| | | tuple-ids=0 row-size=12B cardinality=100.00K
| | | in pipelines: 00(GETNEXT)
| | |
| | 02:SCAN HDFS [tpcds_parquet.customer_demographics, RANDOM]
| | HDFS partitions=1/1 files=1 size=7.49MB
| | runtime filters: RF008[bloom] -> cd_demo_sk
| | stored statistics:
| | table: rows=1.92M size=7.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=1.92M
| | mem-estimate=16.00MB mem-reservation=8.00MB thread-reservation=0
| | tuple-ids=2 row-size=75B cardinality=1.92M
| | in pipelines: 02(GETNEXT)
| |
| 23:EXCHANGE [HASH(ss_customer_sk)]
| | mem-estimate=1.35MB mem-reservation=0B thread-reservation=0
| | tuple-ids=3,4 row-size=20B cardinality=186.34K
| | in pipelines: 03(GETNEXT)
| |
| F02: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=16.00MB mem-reservation=512.00KB thread-reservation=1
| 05:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=06
| | 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=20B cardinality=186.34K
| | in pipelines: 03(GETNEXT), 04(OPEN)
| |
| |--F18: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=06 plan-id=07 cohort-id=02
| | | 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
| | |
| | 20:EXCHANGE [BROADCAST]
| | | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=12B cardinality=118
| | | in pipelines: 04(GETNEXT)
| | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| | 04:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| | HDFS partitions=1/1 files=1 size=2.15MB
| | predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | stored statistics:
| | table: rows=73.05K size=2.15MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=73.05K
| | parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| | mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| | tuple-ids=4 row-size=12B cardinality=118
| | in pipelines: 04(GETNEXT)
| |
| 03:SCAN HDFS [tpcds_parquet.store_sales, RANDOM]
| HDFS partitions=1824/1824 files=1824 size=200.95MB
| runtime filters: RF002[bloom] -> ss_customer_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=8B cardinality=2.88M
| in pipelines: 03(GETNEXT)
|
27:EXCHANGE [HASH(cs_ship_customer_sk)]
| mem-estimate=690.82KB mem-reservation=0B thread-reservation=0
| tuple-ids=9,10 row-size=20B cardinality=93.21K
| in pipelines: 09(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=3 instances=3
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=48.00MB mem-reservation=4.00MB thread-reservation=1
11: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=9,10 row-size=20B cardinality=93.21K
| in pipelines: 09(GETNEXT), 10(OPEN)
|
|--F19: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=01
| | build expressions: d_date_sk
| | runtime filters: RF000[bloom] <- d_date_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 19:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=10 row-size=12B cardinality=118
| | in pipelines: 10(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| 10:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| stored statistics:
| table: rows=73.05K size=2.15MB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=73.05K
| parquet statistics predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| parquet dictionary predicates: d_year = CAST(2001 AS INT), d_moy <= CAST(6 AS INT), d_moy >= CAST(4 AS INT)
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| tuple-ids=10 row-size=12B cardinality=118
| in pipelines: 10(GETNEXT)
|
09:SCAN HDFS [tpcds_parquet.catalog_sales, RANDOM]
HDFS partitions=1/1 files=3 size=96.62MB
runtime filters: RF000[bloom] -> cs_sold_date_sk
stored statistics:
table: rows=1.44M size=96.62MB
columns: all
extrapolated-rows=disabled max-scan-range-rows=650.14K
mem-estimate=48.00MB mem-reservation=4.00MB thread-reservation=0
tuple-ids=9 row-size=8B cardinality=1.44M
in pipelines: 09(GETNEXT)
====