blob: 077aacdf5c284c316fb19365dd342e6aa6b8acc0 [file] [log] [blame]
# TPCDS-Q91
SELECT cc_call_center_id Call_Center,
cc_name Call_Center_Name,
cc_manager Manager,
sum(cr_net_loss) Returns_Loss
FROM call_center,
catalog_returns,
date_dim,
customer,
customer_address,
customer_demographics,
household_demographics
WHERE cr_call_center_sk = cc_call_center_sk
AND cr_returned_date_sk = d_date_sk
AND cr_returning_customer_sk= c_customer_sk
AND cd_demo_sk = c_current_cdemo_sk
AND hd_demo_sk = c_current_hdemo_sk
AND ca_address_sk = c_current_addr_sk
AND d_year = 1998
AND d_moy = 11
AND ((cd_marital_status = 'M'
AND cd_education_status = 'Unknown') or(cd_marital_status = 'W'
AND cd_education_status = 'Advanced Degree'))
AND hd_buy_potential LIKE 'Unknown%'
AND ca_gmt_offset = -7
GROUP BY cc_call_center_id,
cc_name,
cc_manager,
cd_marital_status,
cd_education_status
ORDER BY sum(cr_net_loss) DESC;
---- PLAN
Max Per-Host Resource Reservation: Memory=29.47MB Threads=8
Per-Host Resource Estimates: Memory=401MB
F00:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=400.62MB mem-reservation=29.47MB thread-reservation=8 runtime-filters-memory=6.00MB
PLAN-ROOT SINK
| output exprs: cc_call_center_id, cc_name, cc_manager, sum(cr_net_loss)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
14:SORT
| order by: sum(cr_net_loss) DESC
| mem-estimate=12.00MB mem-reservation=12.00MB spill-buffer=2.00MB thread-reservation=0
| tuple-ids=8 row-size=92B cardinality=191
| in pipelines: 14(GETNEXT), 13(OPEN)
|
13:AGGREGATE [FINALIZE]
| output: sum(cr_net_loss)
| group by: cc_call_center_id, cc_name, cc_manager, cd_marital_status, cd_education_status
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7 row-size=127B cardinality=191
| in pipelines: 13(GETNEXT), 01(OPEN)
|
12:HASH JOIN [INNER JOIN]
| hash predicates: cr_call_center_sk = cc_call_center_sk
| fk/pk conjuncts: cr_call_center_sk = cc_call_center_sk
| runtime filters: RF000[bloom] <- cc_call_center_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=1,5,3,6,4,2,0 row-size=194B cardinality=191
| in pipelines: 01(GETNEXT), 00(OPEN)
|
|--00:SCAN HDFS [tpcds_parquet.call_center]
| HDFS partitions=1/1 files=1 size=10.28KB
| stored statistics:
| table: rows=6 size=10.28KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=6
| mem-estimate=64.00MB mem-reservation=32.00KB thread-reservation=1
| tuple-ids=0 row-size=80B cardinality=6
| in pipelines: 00(GETNEXT)
|
11:HASH JOIN [INNER JOIN]
| hash predicates: cr_returned_date_sk = d_date_sk
| fk/pk conjuncts: cr_returned_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=1,5,3,6,4,2 row-size=114B cardinality=191
| in pipelines: 01(GETNEXT), 02(OPEN)
|
|--02:SCAN HDFS [tpcds_parquet.date_dim]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_year = CAST(1998 AS INT), d_moy = CAST(11 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(1998 AS INT), d_moy = CAST(11 AS INT)
| parquet dictionary predicates: d_year = CAST(1998 AS INT), d_moy = CAST(11 AS INT)
| mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=2 row-size=12B cardinality=108
| in pipelines: 02(GETNEXT)
|
10:HASH JOIN [INNER JOIN]
| hash predicates: cr_returning_customer_sk = c_customer_sk
| fk/pk conjuncts: none
| runtime filters: RF004[bloom] <- c_customer_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=1,5,3,6,4 row-size=102B cardinality=3.61K
| in pipelines: 01(GETNEXT), 05(OPEN)
|
|--09:HASH JOIN [INNER JOIN]
| | hash predicates: c_current_addr_sk = ca_address_sk
| | fk/pk conjuncts: c_current_addr_sk = ca_address_sk
| | runtime filters: RF006[bloom] <- ca_address_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=5,3,6,4 row-size=86B cardinality=1.89K
| | in pipelines: 05(GETNEXT), 04(OPEN)
| |
| |--04:SCAN HDFS [tpcds_parquet.customer_address]
| | HDFS partitions=1/1 files=1 size=1.16MB
| | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0))
| | stored statistics:
| | table: rows=50.00K size=1.16MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | parquet statistics predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0))
| | parquet dictionary predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0))
| | mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=1
| | tuple-ids=4 row-size=8B cardinality=8.33K
| | in pipelines: 04(GETNEXT)
| |
| 08:HASH JOIN [INNER JOIN]
| | hash predicates: c_current_hdemo_sk = hd_demo_sk
| | fk/pk conjuncts: c_current_hdemo_sk = hd_demo_sk
| | runtime filters: RF008[bloom] <- hd_demo_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=5,3,6 row-size=78B cardinality=9.76K
| | in pipelines: 05(GETNEXT), 06(OPEN)
| |
| |--06:SCAN HDFS [tpcds_parquet.household_demographics]
| | HDFS partitions=1/1 files=1 size=41.69KB
| | predicates: hd_buy_potential LIKE 'Unknown%'
| | stored statistics:
| | table: rows=7.20K size=41.69KB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=7.20K
| | parquet dictionary predicates: hd_buy_potential LIKE 'Unknown%'
| | mem-estimate=32.00MB mem-reservation=64.00KB thread-reservation=1
| | tuple-ids=6 row-size=24B cardinality=720
| | in pipelines: 06(GETNEXT)
| |
| 07:HASH JOIN [INNER JOIN]
| | hash predicates: cd_demo_sk = c_current_cdemo_sk
| | fk/pk conjuncts: none
| | runtime filters: RF010[bloom] <- c_current_cdemo_sk
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | tuple-ids=5,3 row-size=55B cardinality=100.00K
| | in pipelines: 05(GETNEXT), 03(OPEN)
| |
| |--03:SCAN HDFS [tpcds_parquet.customer]
| | HDFS partitions=1/1 files=1 size=5.49MB
| | runtime filters: RF006[bloom] -> c_current_addr_sk, RF008[bloom] -> c_current_hdemo_sk
| | stored statistics:
| | table: rows=100.00K size=5.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=100.00K
| | mem-estimate=64.00MB mem-reservation=2.00MB thread-reservation=1
| | tuple-ids=3 row-size=16B cardinality=100.00K
| | in pipelines: 03(GETNEXT)
| |
| 05:SCAN HDFS [tpcds_parquet.customer_demographics]
| HDFS partitions=1/1 files=1 size=7.49MB
| predicates: ((cd_marital_status = 'M' AND cd_education_status = 'Unknown') OR (cd_marital_status = 'W' AND cd_education_status = 'Advanced Degree'))
| 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=48.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=5 row-size=39B cardinality=108.19K
| in pipelines: 05(GETNEXT)
|
01:SCAN HDFS [tpcds_parquet.catalog_returns]
HDFS partitions=1/1 files=1 size=10.62MB
runtime filters: RF000[bloom] -> cr_call_center_sk, RF002[bloom] -> cr_returned_date_sk, RF004[bloom] -> cr_returning_customer_sk
stored statistics:
table: rows=144.07K size=10.62MB
columns: all
extrapolated-rows=disabled max-scan-range-rows=144.07K
mem-estimate=96.00MB mem-reservation=2.00MB thread-reservation=1
tuple-ids=1 row-size=16B cardinality=144.07K
in pipelines: 01(GETNEXT)
---- DISTRIBUTEDPLAN
Max Per-Host Resource Reservation: Memory=49.34MB Threads=16
Per-Host Resource Estimates: Memory=439MB
F08:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Host Resources: mem-estimate=35.19KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: cc_call_center_id, cc_name, cc_manager, sum(cr_net_loss)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
23:MERGING-EXCHANGE [UNPARTITIONED]
| order by: sum(cr_net_loss) DESC
| mem-estimate=35.19KB mem-reservation=0B thread-reservation=0
| tuple-ids=8 row-size=92B cardinality=191
| in pipelines: 14(GETNEXT)
|
F07:PLAN FRAGMENT [HASH(cc_call_center_id,cc_name,cc_manager,cd_marital_status,cd_education_status)] hosts=1 instances=1
Per-Host Resources: mem-estimate=22.00MB mem-reservation=13.94MB thread-reservation=1
14:SORT
| order by: sum(cr_net_loss) DESC
| mem-estimate=12.00MB mem-reservation=12.00MB spill-buffer=2.00MB thread-reservation=0
| tuple-ids=8 row-size=92B cardinality=191
| in pipelines: 14(GETNEXT), 22(OPEN)
|
22:AGGREGATE [FINALIZE]
| output: sum:merge(cr_net_loss)
| group by: cc_call_center_id, cc_name, cc_manager, cd_marital_status, cd_education_status
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7 row-size=127B cardinality=191
| in pipelines: 22(GETNEXT), 01(OPEN)
|
21:EXCHANGE [HASH(cc_call_center_id,cc_name,cc_manager,cd_marital_status,cd_education_status)]
| mem-estimate=48.09KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=127B cardinality=191
| in pipelines: 01(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
Per-Host Resources: mem-estimate=115.10MB mem-reservation=12.81MB thread-reservation=2 runtime-filters-memory=3.00MB
13:AGGREGATE [STREAMING]
| output: sum(cr_net_loss)
| group by: cc_call_center_id, cc_name, cc_manager, cd_marital_status, cd_education_status
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7 row-size=127B cardinality=191
| in pipelines: 01(GETNEXT)
|
12:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: cr_call_center_sk = cc_call_center_sk
| fk/pk conjuncts: cr_call_center_sk = cc_call_center_sk
| runtime filters: RF000[bloom] <- cc_call_center_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=1,5,3,6,4,2,0 row-size=194B cardinality=191
| in pipelines: 01(GETNEXT), 00(OPEN)
|
|--20:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=0 row-size=80B cardinality=6
| | in pipelines: 00(GETNEXT)
| |
| F06:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=64.00MB mem-reservation=32.00KB thread-reservation=2
| 00:SCAN HDFS [tpcds_parquet.call_center, RANDOM]
| HDFS partitions=1/1 files=1 size=10.28KB
| stored statistics:
| table: rows=6 size=10.28KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=6
| mem-estimate=64.00MB mem-reservation=32.00KB thread-reservation=1
| tuple-ids=0 row-size=80B cardinality=6
| in pipelines: 00(GETNEXT)
|
11:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: cr_returned_date_sk = d_date_sk
| fk/pk conjuncts: cr_returned_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=1,5,3,6,4,2 row-size=114B cardinality=191
| in pipelines: 01(GETNEXT), 02(OPEN)
|
|--19:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=12B cardinality=108
| | in pipelines: 02(GETNEXT)
| |
| F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=2
| 02:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_year = CAST(1998 AS INT), d_moy = CAST(11 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(1998 AS INT), d_moy = CAST(11 AS INT)
| parquet dictionary predicates: d_year = CAST(1998 AS INT), d_moy = CAST(11 AS INT)
| mem-estimate=48.00MB mem-reservation=512.00KB thread-reservation=1
| tuple-ids=2 row-size=12B cardinality=108
| in pipelines: 02(GETNEXT)
|
10:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: cr_returning_customer_sk = c_customer_sk
| fk/pk conjuncts: none
| runtime filters: RF004[bloom] <- c_customer_sk
| mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=1,5,3,6,4 row-size=102B cardinality=3.61K
| in pipelines: 01(GETNEXT), 05(OPEN)
|
|--18:EXCHANGE [BROADCAST]
| | mem-estimate=260.77KB mem-reservation=0B thread-reservation=0
| | tuple-ids=5,3,6,4 row-size=86B cardinality=1.89K
| | in pipelines: 05(GETNEXT)
| |
| F01:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Host Resources: mem-estimate=59.41MB mem-reservation=17.75MB thread-reservation=2 runtime-filters-memory=3.00MB
| 09:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: c_current_addr_sk = ca_address_sk
| | fk/pk conjuncts: c_current_addr_sk = ca_address_sk
| | runtime filters: RF006[bloom] <- ca_address_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=5,3,6,4 row-size=86B cardinality=1.89K
| | in pipelines: 05(GETNEXT), 04(OPEN)
| |
| |--17:EXCHANGE [BROADCAST]
| | | mem-estimate=77.10KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=8B cardinality=8.33K
| | | in pipelines: 04(GETNEXT)
| | |
| | F04:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=2
| | 04:SCAN HDFS [tpcds_parquet.customer_address, RANDOM]
| | HDFS partitions=1/1 files=1 size=1.16MB
| | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0))
| | stored statistics:
| | table: rows=50.00K size=1.16MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | parquet statistics predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0))
| | parquet dictionary predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0))
| | mem-estimate=32.00MB mem-reservation=256.00KB thread-reservation=1
| | tuple-ids=4 row-size=8B cardinality=8.33K
| | in pipelines: 04(GETNEXT)
| |
| 08:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: c_current_hdemo_sk = hd_demo_sk
| | fk/pk conjuncts: c_current_hdemo_sk = hd_demo_sk
| | runtime filters: RF008[bloom] <- hd_demo_sk
| | mem-estimate=1.94MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=5,3,6 row-size=78B cardinality=9.76K
| | in pipelines: 05(GETNEXT), 06(OPEN)
| |
| |--16:EXCHANGE [BROADCAST]
| | | mem-estimate=35.86KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=6 row-size=24B cardinality=720
| | | in pipelines: 06(GETNEXT)
| | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=32.00MB mem-reservation=64.00KB thread-reservation=2
| | 06:SCAN HDFS [tpcds_parquet.household_demographics, RANDOM]
| | HDFS partitions=1/1 files=1 size=41.69KB
| | predicates: hd_buy_potential LIKE 'Unknown%'
| | stored statistics:
| | table: rows=7.20K size=41.69KB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=7.20K
| | parquet dictionary predicates: hd_buy_potential LIKE 'Unknown%'
| | mem-estimate=32.00MB mem-reservation=64.00KB thread-reservation=1
| | tuple-ids=6 row-size=24B cardinality=720
| | in pipelines: 06(GETNEXT)
| |
| 07:HASH JOIN [INNER JOIN, BROADCAST]
| | hash predicates: cd_demo_sk = c_current_cdemo_sk
| | fk/pk conjuncts: none
| | runtime filters: RF010[bloom] <- c_current_cdemo_sk
| | mem-estimate=2.88MB mem-reservation=2.88MB spill-buffer=128.00KB thread-reservation=0
| | tuple-ids=5,3 row-size=55B cardinality=100.00K
| | in pipelines: 05(GETNEXT), 03(OPEN)
| |
| |--15:EXCHANGE [BROADCAST]
| | | mem-estimate=1.55MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=3 row-size=16B cardinality=100.00K
| | | in pipelines: 03(GETNEXT)
| | |
| | F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Host Resources: mem-estimate=66.00MB mem-reservation=4.00MB thread-reservation=2 runtime-filters-memory=2.00MB
| | 03:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.49MB
| | runtime filters: RF006[bloom] -> c_current_addr_sk, RF008[bloom] -> c_current_hdemo_sk
| | stored statistics:
| | table: rows=100.00K size=5.49MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=100.00K
| | mem-estimate=64.00MB mem-reservation=2.00MB thread-reservation=1
| | tuple-ids=3 row-size=16B cardinality=100.00K
| | in pipelines: 03(GETNEXT)
| |
| 05:SCAN HDFS [tpcds_parquet.customer_demographics, RANDOM]
| HDFS partitions=1/1 files=1 size=7.49MB
| predicates: ((cd_marital_status = 'M' AND cd_education_status = 'Unknown') OR (cd_marital_status = 'W' AND cd_education_status = 'Advanced Degree'))
| 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=48.00MB mem-reservation=8.00MB thread-reservation=1
| tuple-ids=5 row-size=39B cardinality=108.19K
| in pipelines: 05(GETNEXT)
|
01:SCAN HDFS [tpcds_parquet.catalog_returns, RANDOM]
HDFS partitions=1/1 files=1 size=10.62MB
runtime filters: RF000[bloom] -> cr_call_center_sk, RF002[bloom] -> cr_returned_date_sk, RF004[bloom] -> cr_returning_customer_sk
stored statistics:
table: rows=144.07K size=10.62MB
columns: all
extrapolated-rows=disabled max-scan-range-rows=144.07K
mem-estimate=96.00MB mem-reservation=2.00MB thread-reservation=1
tuple-ids=1 row-size=16B cardinality=144.07K
in pipelines: 01(GETNEXT)
---- PARALLELPLANS
Max Per-Host Resource Reservation: Memory=65.91MB Threads=15
Per-Host Resource Estimates: Memory=191MB
F08:PLAN FRAGMENT [UNPARTITIONED] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=35.19KB mem-reservation=0B thread-reservation=1
PLAN-ROOT SINK
| output exprs: cc_call_center_id, cc_name, cc_manager, sum(cr_net_loss)
| mem-estimate=0B mem-reservation=0B thread-reservation=0
|
23:MERGING-EXCHANGE [UNPARTITIONED]
| order by: sum(cr_net_loss) DESC
| mem-estimate=35.19KB mem-reservation=0B thread-reservation=0
| tuple-ids=8 row-size=92B cardinality=191
| in pipelines: 14(GETNEXT)
|
F07:PLAN FRAGMENT [HASH(cc_call_center_id,cc_name,cc_manager,cd_marital_status,cd_education_status)] hosts=1 instances=1
Per-Instance Resources: mem-estimate=22.00MB mem-reservation=13.94MB thread-reservation=1
14:SORT
| order by: sum(cr_net_loss) DESC
| mem-estimate=12.00MB mem-reservation=12.00MB spill-buffer=2.00MB thread-reservation=0
| tuple-ids=8 row-size=92B cardinality=191
| in pipelines: 14(GETNEXT), 22(OPEN)
|
22:AGGREGATE [FINALIZE]
| output: sum:merge(cr_net_loss)
| group by: cc_call_center_id, cc_name, cc_manager, cd_marital_status, cd_education_status
| mem-estimate=10.00MB mem-reservation=1.94MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7 row-size=127B cardinality=191
| in pipelines: 22(GETNEXT), 01(OPEN)
|
21:EXCHANGE [HASH(cc_call_center_id,cc_name,cc_manager,cd_marital_status,cd_education_status)]
| mem-estimate=48.09KB mem-reservation=0B thread-reservation=0
| tuple-ids=7 row-size=127B cardinality=191
| in pipelines: 01(GETNEXT)
|
F00:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
Per-Host Shared Resources: mem-estimate=3.00MB mem-reservation=3.00MB thread-reservation=0 runtime-filters-memory=3.00MB
Per-Instance Resources: mem-estimate=34.00MB mem-reservation=4.00MB thread-reservation=1
13:AGGREGATE [STREAMING]
| output: sum(cr_net_loss)
| group by: cc_call_center_id, cc_name, cc_manager, cd_marital_status, cd_education_status
| mem-estimate=10.00MB mem-reservation=2.00MB spill-buffer=64.00KB thread-reservation=0
| tuple-ids=7 row-size=127B cardinality=191
| in pipelines: 01(GETNEXT)
|
12:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=00
| hash predicates: cr_call_center_sk = cc_call_center_sk
| fk/pk conjuncts: cr_call_center_sk = cc_call_center_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=1,5,3,6,4,2,0 row-size=194B cardinality=191
| in pipelines: 01(GETNEXT), 00(OPEN)
|
|--F09:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=00 plan-id=01 cohort-id=01
| | build expressions: cc_call_center_sk
| | runtime filters: RF000[bloom] <- cc_call_center_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=0 row-size=80B cardinality=6
| | in pipelines: 00(GETNEXT)
| |
| F06:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=32.00KB thread-reservation=1
| 00:SCAN HDFS [tpcds_parquet.call_center, RANDOM]
| HDFS partitions=1/1 files=1 size=10.28KB
| stored statistics:
| table: rows=6 size=10.28KB
| columns: all
| extrapolated-rows=disabled max-scan-range-rows=6
| mem-estimate=16.00MB mem-reservation=32.00KB thread-reservation=0
| tuple-ids=0 row-size=80B cardinality=6
| in pipelines: 00(GETNEXT)
|
11:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=01
| hash predicates: cr_returned_date_sk = d_date_sk
| fk/pk conjuncts: cr_returned_date_sk = d_date_sk
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=1,5,3,6,4,2 row-size=114B cardinality=191
| in pipelines: 01(GETNEXT), 02(OPEN)
|
|--F10:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=4.89MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=01 plan-id=02 cohort-id=01
| | build expressions: d_date_sk
| | runtime filters: RF002[bloom] <- d_date_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 19:EXCHANGE [BROADCAST]
| | mem-estimate=16.00KB mem-reservation=0B thread-reservation=0
| | tuple-ids=2 row-size=12B cardinality=108
| | in pipelines: 02(GETNEXT)
| |
| F05:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| Per-Instance Resources: mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=1
| 02:SCAN HDFS [tpcds_parquet.date_dim, RANDOM]
| HDFS partitions=1/1 files=1 size=2.15MB
| predicates: d_year = CAST(1998 AS INT), d_moy = CAST(11 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(1998 AS INT), d_moy = CAST(11 AS INT)
| parquet dictionary predicates: d_year = CAST(1998 AS INT), d_moy = CAST(11 AS INT)
| mem-estimate=16.00MB mem-reservation=512.00KB thread-reservation=0
| tuple-ids=2 row-size=12B cardinality=108
| in pipelines: 02(GETNEXT)
|
10:HASH JOIN [INNER JOIN, BROADCAST]
| hash-table-id=02
| hash predicates: cr_returning_customer_sk = c_customer_sk
| fk/pk conjuncts: none
| mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| tuple-ids=1,5,3,6,4 row-size=102B cardinality=3.61K
| in pipelines: 01(GETNEXT), 05(OPEN)
|
|--F11:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=5.13MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| JOIN BUILD
| | join-table-id=02 plan-id=03 cohort-id=01
| | build expressions: c_customer_sk
| | runtime filters: RF004[bloom] <- c_customer_sk
| | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| |
| 18:EXCHANGE [BROADCAST]
| | mem-estimate=260.77KB mem-reservation=0B thread-reservation=0
| | tuple-ids=5,3,6,4 row-size=86B cardinality=1.89K
| | in pipelines: 05(GETNEXT)
| |
| F01: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
| 09:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=03
| | hash predicates: c_current_addr_sk = ca_address_sk
| | fk/pk conjuncts: c_current_addr_sk = ca_address_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=5,3,6,4 row-size=86B cardinality=1.89K
| | in pipelines: 05(GETNEXT), 04(OPEN)
| |
| |--F12: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=03 plan-id=04 cohort-id=02
| | | build expressions: ca_address_sk
| | | runtime filters: RF006[bloom] <- ca_address_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 17:EXCHANGE [BROADCAST]
| | | mem-estimate=77.10KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=4 row-size=8B cardinality=8.33K
| | | in pipelines: 04(GETNEXT)
| | |
| | F04:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=1
| | 04:SCAN HDFS [tpcds_parquet.customer_address, RANDOM]
| | HDFS partitions=1/1 files=1 size=1.16MB
| | predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0))
| | stored statistics:
| | table: rows=50.00K size=1.16MB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=50.00K
| | parquet statistics predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0))
| | parquet dictionary predicates: ca_gmt_offset = CAST(-7 AS DECIMAL(3,0))
| | mem-estimate=16.00MB mem-reservation=256.00KB thread-reservation=0
| | tuple-ids=4 row-size=8B cardinality=8.33K
| | in pipelines: 04(GETNEXT)
| |
| 08:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=04
| | hash predicates: c_current_hdemo_sk = hd_demo_sk
| | fk/pk conjuncts: c_current_hdemo_sk = hd_demo_sk
| | mem-estimate=0B mem-reservation=0B spill-buffer=64.00KB thread-reservation=0
| | tuple-ids=5,3,6 row-size=78B cardinality=9.76K
| | in pipelines: 05(GETNEXT), 06(OPEN)
| |
| |--F13:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=4.91MB mem-reservation=4.88MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=04 plan-id=05 cohort-id=02
| | | build expressions: hd_demo_sk
| | | runtime filters: RF008[bloom] <- hd_demo_sk
| | | mem-estimate=3.88MB mem-reservation=3.88MB spill-buffer=64.00KB thread-reservation=0
| | |
| | 16:EXCHANGE [BROADCAST]
| | | mem-estimate=35.86KB mem-reservation=0B thread-reservation=0
| | | tuple-ids=6 row-size=24B cardinality=720
| | | in pipelines: 06(GETNEXT)
| | |
| | F03:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | Per-Instance Resources: mem-estimate=16.00MB mem-reservation=64.00KB thread-reservation=1
| | 06:SCAN HDFS [tpcds_parquet.household_demographics, RANDOM]
| | HDFS partitions=1/1 files=1 size=41.69KB
| | predicates: hd_buy_potential LIKE 'Unknown%'
| | stored statistics:
| | table: rows=7.20K size=41.69KB
| | columns: all
| | extrapolated-rows=disabled max-scan-range-rows=7.20K
| | parquet dictionary predicates: hd_buy_potential LIKE 'Unknown%'
| | mem-estimate=16.00MB mem-reservation=64.00KB thread-reservation=0
| | tuple-ids=6 row-size=24B cardinality=720
| | in pipelines: 06(GETNEXT)
| |
| 07:HASH JOIN [INNER JOIN, BROADCAST]
| | hash-table-id=05
| | hash predicates: cd_demo_sk = c_current_cdemo_sk
| | fk/pk conjuncts: none
| | mem-estimate=0B mem-reservation=0B spill-buffer=128.00KB thread-reservation=0
| | tuple-ids=5,3 row-size=55B cardinality=100.00K
| | in pipelines: 05(GETNEXT), 03(OPEN)
| |
| |--F14:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | | Per-Instance Resources: mem-estimate=8.30MB mem-reservation=6.75MB thread-reservation=1 runtime-filters-memory=1.00MB
| | JOIN BUILD
| | | join-table-id=05 plan-id=06 cohort-id=02
| | | build expressions: c_current_cdemo_sk
| | | runtime filters: RF010[bloom] <- c_current_cdemo_sk
| | | mem-estimate=5.75MB mem-reservation=5.75MB spill-buffer=128.00KB thread-reservation=0
| | |
| | 15:EXCHANGE [BROADCAST]
| | | mem-estimate=1.55MB mem-reservation=0B thread-reservation=0
| | | tuple-ids=3 row-size=16B cardinality=100.00K
| | | in pipelines: 03(GETNEXT)
| | |
| | F02:PLAN FRAGMENT [RANDOM] hosts=1 instances=1
| | 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=2.00MB thread-reservation=1
| | 03:SCAN HDFS [tpcds_parquet.customer, RANDOM]
| | HDFS partitions=1/1 files=1 size=5.49MB
| | runtime filters: RF006[bloom] -> c_current_addr_sk, RF008[bloom] -> c_current_hdemo_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=3 row-size=16B cardinality=100.00K
| | in pipelines: 03(GETNEXT)
| |
| 05:SCAN HDFS [tpcds_parquet.customer_demographics, RANDOM]
| HDFS partitions=1/1 files=1 size=7.49MB
| predicates: ((cd_marital_status = 'M' AND cd_education_status = 'Unknown') OR (cd_marital_status = 'W' AND cd_education_status = 'Advanced Degree'))
| 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=16.00MB mem-reservation=8.00MB thread-reservation=0
| tuple-ids=5 row-size=39B cardinality=108.19K
| in pipelines: 05(GETNEXT)
|
01:SCAN HDFS [tpcds_parquet.catalog_returns, RANDOM]
HDFS partitions=1/1 files=1 size=10.62MB
runtime filters: RF000[bloom] -> cr_call_center_sk, RF002[bloom] -> cr_returned_date_sk, RF004[bloom] -> cr_returning_customer_sk
stored statistics:
table: rows=144.07K size=10.62MB
columns: all
extrapolated-rows=disabled max-scan-range-rows=144.07K
mem-estimate=24.00MB mem-reservation=2.00MB thread-reservation=0
tuple-ids=1 row-size=16B cardinality=144.07K
in pipelines: 01(GETNEXT)
====