== Physical Plan ==
VeloxColumnarToRow (88)
+- TakeOrderedAndProjectExecTransformer (87)
   +- ^ ProjectExecTransformer (85)
      +- ^ RegularHashAggregateExecTransformer (84)
         +- ^ InputIteratorTransformer (83)
            +- ColumnarExchange (81)
               +- VeloxResizeBatches (80)
                  +- ^ ProjectExecTransformer (78)
                     +- ^ FlushableHashAggregateExecTransformer (77)
                        +- ^ ProjectExecTransformer (76)
                           +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (75)
                              :- ^ InputIteratorTransformer (66)
                              :  +- ColumnarExchange (64)
                              :     +- VeloxResizeBatches (63)
                              :        +- ^ ProjectExecTransformer (61)
                              :           +- ^ ShuffledHashJoinExecTransformer Inner BuildRight (60)
                              :              :- ^ InputIteratorTransformer (51)
                              :              :  +- ColumnarExchange (49)
                              :              :     +- VeloxResizeBatches (48)
                              :              :        +- ^ ProjectExecTransformer (46)
                              :              :           +- ^ FilterExecTransformer (45)
                              :              :              +- ^ ShuffledHashJoinExecTransformer ExistenceJoin(exists#1) BuildRight (44)
                              :              :                 :- ^ ShuffledHashJoinExecTransformer ExistenceJoin(exists#2) BuildRight (32)
                              :              :                 :  :- ^ ShuffledHashJoinExecTransformer LeftSemi BuildRight (20)
                              :              :                 :  :  :- ^ InputIteratorTransformer (8)
                              :              :                 :  :  :  +- ColumnarExchange (6)
                              :              :                 :  :  :     +- VeloxResizeBatches (5)
                              :              :                 :  :  :        +- ^ ProjectExecTransformer (3)
                              :              :                 :  :  :           +- ^ FilterExecTransformer (2)
                              :              :                 :  :  :              +- ^ FileSourceScanExecTransformer parquet spark_catalog.default.customer (1)
                              :              :                 :  :  +- ^ InputIteratorTransformer (19)
                              :              :                 :  :     +- ColumnarExchange (17)
                              :              :                 :  :        +- VeloxResizeBatches (16)
                              :              :                 :  :           +- ^ ProjectExecTransformer (14)
                              :              :                 :  :              +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (13)
                              :              :                 :  :                 :- ^ FileSourceScanExecTransformer parquet spark_catalog.default.store_sales (9)
                              :              :                 :  :                 +- ^ InputIteratorTransformer (12)
                              :              :                 :  :                    +- ReusedExchange (10)
                              :              :                 :  +- ^ InputIteratorTransformer (31)
                              :              :                 :     +- ColumnarExchange (29)
                              :              :                 :        +- VeloxResizeBatches (28)
                              :              :                 :           +- ^ ProjectExecTransformer (26)
                              :              :                 :              +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (25)
                              :              :                 :                 :- ^ FileSourceScanExecTransformer parquet spark_catalog.default.web_sales (21)
                              :              :                 :                 +- ^ InputIteratorTransformer (24)
                              :              :                 :                    +- ReusedExchange (22)
                              :              :                 +- ^ InputIteratorTransformer (43)
                              :              :                    +- ColumnarExchange (41)
                              :              :                       +- VeloxResizeBatches (40)
                              :              :                          +- ^ ProjectExecTransformer (38)
                              :              :                             +- ^ BroadcastHashJoinExecTransformer Inner BuildRight (37)
                              :              :                                :- ^ FileSourceScanExecTransformer parquet spark_catalog.default.catalog_sales (33)
                              :              :                                +- ^ InputIteratorTransformer (36)
                              :              :                                   +- ReusedExchange (34)
                              :              +- ^ InputIteratorTransformer (59)
                              :                 +- ColumnarExchange (57)
                              :                    +- VeloxResizeBatches (56)
                              :                       +- ^ ProjectExecTransformer (54)
                              :                          +- ^ FilterExecTransformer (53)
                              :                             +- ^ FileSourceScanExecTransformer parquet spark_catalog.default.customer_address (52)
                              +- ^ InputIteratorTransformer (74)
                                 +- ColumnarExchange (72)
                                    +- VeloxResizeBatches (71)
                                       +- ^ ProjectExecTransformer (69)
                                          +- ^ FilterExecTransformer (68)
                                             +- ^ FileSourceScanExecTransformer parquet spark_catalog.default.customer_demographics (67)


(1) FileSourceScanExecTransformer parquet spark_catalog.default.customer
Output [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
Batched: true
Location: InMemoryFileIndex [{warehouse_dir}/customer]
PushedFilters: [IsNotNull(c_current_addr_sk), IsNotNull(c_current_cdemo_sk)]
ReadSchema: struct<c_customer_sk:int,c_current_cdemo_sk:int,c_current_addr_sk:int>

(2) FilterExecTransformer
Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
Arguments: (isnotnull(c_current_addr_sk#5) AND isnotnull(c_current_cdemo_sk#4))

(3) ProjectExecTransformer
Output [4]: [hash(c_customer_sk#3, 42) AS hash_partition_key#6, c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]

(4) WholeStageCodegenTransformer (1)
Input [4]: [hash_partition_key#6, c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
Arguments: false

(5) VeloxResizeBatches
Input [4]: [hash_partition_key#6, c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
Arguments: 1024, 2147483647, 10485760

(6) ColumnarExchange
Input [4]: [hash_partition_key#6, c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]
Arguments: hashpartitioning(c_customer_sk#3, 1), ENSURE_REQUIREMENTS, [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5], [plan_id=1], [shuffle_writer_type=hash]

(7) InputAdapter
Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]

(8) InputIteratorTransformer
Input [3]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5]

(9) FileSourceScanExecTransformer parquet spark_catalog.default.store_sales
Output [2]: [ss_customer_sk#7, ss_sold_date_sk#8]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ss_sold_date_sk#8), dynamicpruningexpression(ss_sold_date_sk#8 IN dynamicpruning#9)]
ReadSchema: struct<ss_customer_sk:int>

(10) ReusedExchange [Reuses operator id: 93]
Output [1]: [d_date_sk#10]

(11) InputAdapter
Input [1]: [d_date_sk#10]

(12) InputIteratorTransformer
Input [1]: [d_date_sk#10]

(13) BroadcastHashJoinExecTransformer
Left keys [1]: [ss_sold_date_sk#8]
Right keys [1]: [d_date_sk#10]
Join type: Inner
Join condition: None

(14) ProjectExecTransformer
Output [2]: [hash(ss_customer_sk#7, 42) AS hash_partition_key#11, ss_customer_sk#7]
Input [3]: [ss_customer_sk#7, ss_sold_date_sk#8, d_date_sk#10]

(15) WholeStageCodegenTransformer (4)
Input [2]: [hash_partition_key#11, ss_customer_sk#7]
Arguments: false

(16) VeloxResizeBatches
Input [2]: [hash_partition_key#11, ss_customer_sk#7]
Arguments: 1024, 2147483647, 10485760

(17) ColumnarExchange
Input [2]: [hash_partition_key#11, ss_customer_sk#7]
Arguments: hashpartitioning(ss_customer_sk#7, 1), ENSURE_REQUIREMENTS, [ss_customer_sk#7], [plan_id=2], [shuffle_writer_type=hash]

(18) InputAdapter
Input [1]: [ss_customer_sk#7]

(19) InputIteratorTransformer
Input [1]: [ss_customer_sk#7]

(20) ShuffledHashJoinExecTransformer
Left keys [1]: [c_customer_sk#3]
Right keys [1]: [ss_customer_sk#7]
Join type: LeftSemi
Join condition: None

(21) FileSourceScanExecTransformer parquet spark_catalog.default.web_sales
Output [2]: [ws_bill_customer_sk#12, ws_sold_date_sk#13]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ws_sold_date_sk#13), dynamicpruningexpression(ws_sold_date_sk#13 IN dynamicpruning#9)]
ReadSchema: struct<ws_bill_customer_sk:int>

(22) ReusedExchange [Reuses operator id: 93]
Output [1]: [d_date_sk#14]

(23) InputAdapter
Input [1]: [d_date_sk#14]

(24) InputIteratorTransformer
Input [1]: [d_date_sk#14]

(25) BroadcastHashJoinExecTransformer
Left keys [1]: [ws_sold_date_sk#13]
Right keys [1]: [d_date_sk#14]
Join type: Inner
Join condition: None

(26) ProjectExecTransformer
Output [2]: [hash(ws_bill_customer_sk#12, 42) AS hash_partition_key#15, ws_bill_customer_sk#12]
Input [3]: [ws_bill_customer_sk#12, ws_sold_date_sk#13, d_date_sk#14]

(27) WholeStageCodegenTransformer (7)
Input [2]: [hash_partition_key#15, ws_bill_customer_sk#12]
Arguments: false

(28) VeloxResizeBatches
Input [2]: [hash_partition_key#15, ws_bill_customer_sk#12]
Arguments: 1024, 2147483647, 10485760

(29) ColumnarExchange
Input [2]: [hash_partition_key#15, ws_bill_customer_sk#12]
Arguments: hashpartitioning(ws_bill_customer_sk#12, 1), ENSURE_REQUIREMENTS, [ws_bill_customer_sk#12], [plan_id=3], [shuffle_writer_type=hash]

(30) InputAdapter
Input [1]: [ws_bill_customer_sk#12]

(31) InputIteratorTransformer
Input [1]: [ws_bill_customer_sk#12]

(32) ShuffledHashJoinExecTransformer
Left keys [1]: [c_customer_sk#3]
Right keys [1]: [ws_bill_customer_sk#12]
Join type: ExistenceJoin(exists#2)
Join condition: None

(33) FileSourceScanExecTransformer parquet spark_catalog.default.catalog_sales
Output [2]: [cs_ship_customer_sk#16, cs_sold_date_sk#17]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(cs_sold_date_sk#17), dynamicpruningexpression(cs_sold_date_sk#17 IN dynamicpruning#9)]
ReadSchema: struct<cs_ship_customer_sk:int>

(34) ReusedExchange [Reuses operator id: 93]
Output [1]: [d_date_sk#18]

(35) InputAdapter
Input [1]: [d_date_sk#18]

(36) InputIteratorTransformer
Input [1]: [d_date_sk#18]

(37) BroadcastHashJoinExecTransformer
Left keys [1]: [cs_sold_date_sk#17]
Right keys [1]: [d_date_sk#18]
Join type: Inner
Join condition: None

(38) ProjectExecTransformer
Output [2]: [hash(cs_ship_customer_sk#16, 42) AS hash_partition_key#19, cs_ship_customer_sk#16]
Input [3]: [cs_ship_customer_sk#16, cs_sold_date_sk#17, d_date_sk#18]

(39) WholeStageCodegenTransformer (10)
Input [2]: [hash_partition_key#19, cs_ship_customer_sk#16]
Arguments: false

(40) VeloxResizeBatches
Input [2]: [hash_partition_key#19, cs_ship_customer_sk#16]
Arguments: 1024, 2147483647, 10485760

(41) ColumnarExchange
Input [2]: [hash_partition_key#19, cs_ship_customer_sk#16]
Arguments: hashpartitioning(cs_ship_customer_sk#16, 1), ENSURE_REQUIREMENTS, [cs_ship_customer_sk#16], [plan_id=4], [shuffle_writer_type=hash]

(42) InputAdapter
Input [1]: [cs_ship_customer_sk#16]

(43) InputIteratorTransformer
Input [1]: [cs_ship_customer_sk#16]

(44) ShuffledHashJoinExecTransformer
Left keys [1]: [c_customer_sk#3]
Right keys [1]: [cs_ship_customer_sk#16]
Join type: ExistenceJoin(exists#1)
Join condition: None

(45) FilterExecTransformer
Input [5]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5, exists#2, exists#1]
Arguments: (exists#2 OR exists#1)

(46) ProjectExecTransformer
Output [3]: [hash(c_current_addr_sk#5, 42) AS hash_partition_key#20, c_current_cdemo_sk#4, c_current_addr_sk#5]
Input [5]: [c_customer_sk#3, c_current_cdemo_sk#4, c_current_addr_sk#5, exists#2, exists#1]

(47) WholeStageCodegenTransformer (11)
Input [3]: [hash_partition_key#20, c_current_cdemo_sk#4, c_current_addr_sk#5]
Arguments: false

(48) VeloxResizeBatches
Input [3]: [hash_partition_key#20, c_current_cdemo_sk#4, c_current_addr_sk#5]
Arguments: 1024, 2147483647, 10485760

(49) ColumnarExchange
Input [3]: [hash_partition_key#20, c_current_cdemo_sk#4, c_current_addr_sk#5]
Arguments: hashpartitioning(c_current_addr_sk#5, 1), ENSURE_REQUIREMENTS, [c_current_cdemo_sk#4, c_current_addr_sk#5], [plan_id=5], [shuffle_writer_type=hash]

(50) InputAdapter
Input [2]: [c_current_cdemo_sk#4, c_current_addr_sk#5]

(51) InputIteratorTransformer
Input [2]: [c_current_cdemo_sk#4, c_current_addr_sk#5]

(52) FileSourceScanExecTransformer parquet spark_catalog.default.customer_address
Output [2]: [ca_address_sk#21, ca_state#22]
Batched: true
Location: InMemoryFileIndex [{warehouse_dir}/customer_address]
PushedFilters: [IsNotNull(ca_address_sk)]
ReadSchema: struct<ca_address_sk:int,ca_state:string>

(53) FilterExecTransformer
Input [2]: [ca_address_sk#21, ca_state#22]
Arguments: isnotnull(ca_address_sk#21)

(54) ProjectExecTransformer
Output [3]: [hash(ca_address_sk#21, 42) AS hash_partition_key#23, ca_address_sk#21, ca_state#22]
Input [2]: [ca_address_sk#21, ca_state#22]

(55) WholeStageCodegenTransformer (12)
Input [3]: [hash_partition_key#23, ca_address_sk#21, ca_state#22]
Arguments: false

(56) VeloxResizeBatches
Input [3]: [hash_partition_key#23, ca_address_sk#21, ca_state#22]
Arguments: 1024, 2147483647, 10485760

(57) ColumnarExchange
Input [3]: [hash_partition_key#23, ca_address_sk#21, ca_state#22]
Arguments: hashpartitioning(ca_address_sk#21, 1), ENSURE_REQUIREMENTS, [ca_address_sk#21, ca_state#22], [plan_id=6], [shuffle_writer_type=hash]

(58) InputAdapter
Input [2]: [ca_address_sk#21, ca_state#22]

(59) InputIteratorTransformer
Input [2]: [ca_address_sk#21, ca_state#22]

(60) ShuffledHashJoinExecTransformer
Left keys [1]: [c_current_addr_sk#5]
Right keys [1]: [ca_address_sk#21]
Join type: Inner
Join condition: None

(61) ProjectExecTransformer
Output [3]: [hash(c_current_cdemo_sk#4, 42) AS hash_partition_key#24, c_current_cdemo_sk#4, ca_state#22]
Input [4]: [c_current_cdemo_sk#4, c_current_addr_sk#5, ca_address_sk#21, ca_state#22]

(62) WholeStageCodegenTransformer (13)
Input [3]: [hash_partition_key#24, c_current_cdemo_sk#4, ca_state#22]
Arguments: false

(63) VeloxResizeBatches
Input [3]: [hash_partition_key#24, c_current_cdemo_sk#4, ca_state#22]
Arguments: 1024, 2147483647, 10485760

(64) ColumnarExchange
Input [3]: [hash_partition_key#24, c_current_cdemo_sk#4, ca_state#22]
Arguments: hashpartitioning(c_current_cdemo_sk#4, 1), ENSURE_REQUIREMENTS, [c_current_cdemo_sk#4, ca_state#22], [plan_id=7], [shuffle_writer_type=hash]

(65) InputAdapter
Input [2]: [c_current_cdemo_sk#4, ca_state#22]

(66) InputIteratorTransformer
Input [2]: [c_current_cdemo_sk#4, ca_state#22]

(67) FileSourceScanExecTransformer parquet spark_catalog.default.customer_demographics
Output [6]: [cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Batched: true
Location: InMemoryFileIndex [{warehouse_dir}/customer_demographics]
PushedFilters: [IsNotNull(cd_demo_sk)]
ReadSchema: struct<cd_demo_sk:int,cd_gender:string,cd_marital_status:string,cd_dep_count:int,cd_dep_employed_count:int,cd_dep_college_count:int>

(68) FilterExecTransformer
Input [6]: [cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Arguments: isnotnull(cd_demo_sk#25)

(69) ProjectExecTransformer
Output [7]: [hash(cd_demo_sk#25, 42) AS hash_partition_key#31, cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Input [6]: [cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]

(70) WholeStageCodegenTransformer (14)
Input [7]: [hash_partition_key#31, cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Arguments: false

(71) VeloxResizeBatches
Input [7]: [hash_partition_key#31, cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Arguments: 1024, 2147483647, 10485760

(72) ColumnarExchange
Input [7]: [hash_partition_key#31, cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Arguments: hashpartitioning(cd_demo_sk#25, 1), ENSURE_REQUIREMENTS, [cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30], [plan_id=8], [shuffle_writer_type=hash]

(73) InputAdapter
Input [6]: [cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]

(74) InputIteratorTransformer
Input [6]: [cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]

(75) ShuffledHashJoinExecTransformer
Left keys [1]: [c_current_cdemo_sk#4]
Right keys [1]: [cd_demo_sk#25]
Join type: Inner
Join condition: None

(76) ProjectExecTransformer
Output [6]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Input [8]: [c_current_cdemo_sk#4, ca_state#22, cd_demo_sk#25, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]

(77) FlushableHashAggregateExecTransformer
Input [6]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Keys [6]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Functions [10]: [partial_count(1), partial_min(cd_dep_count#28), partial_max(cd_dep_count#28), partial_avg(cd_dep_count#28), partial_min(cd_dep_employed_count#29), partial_max(cd_dep_employed_count#29), partial_avg(cd_dep_employed_count#29), partial_min(cd_dep_college_count#30), partial_max(cd_dep_college_count#30), partial_avg(cd_dep_college_count#30)]
Aggregate Attributes [13]: [count#32, min#33, max#34, sum#35, count#36, min#37, max#38, sum#39, count#40, min#41, max#42, sum#43, count#44]
Results [19]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#45, min#46, max#47, sum#48, count#49, min#50, max#51, sum#52, count#53, min#54, max#55, sum#56, count#57]

(78) ProjectExecTransformer
Output [20]: [hash(ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, 42) AS hash_partition_key#58, ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#45, min#46, max#47, sum#48, count#49, min#50, max#51, sum#52, count#53, min#54, max#55, sum#56, count#57]
Input [19]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#45, min#46, max#47, sum#48, count#49, min#50, max#51, sum#52, count#53, min#54, max#55, sum#56, count#57]

(79) WholeStageCodegenTransformer (15)
Input [20]: [hash_partition_key#58, ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#45, min#46, max#47, sum#48, count#49, min#50, max#51, sum#52, count#53, min#54, max#55, sum#56, count#57]
Arguments: false

(80) VeloxResizeBatches
Input [20]: [hash_partition_key#58, ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#45, min#46, max#47, sum#48, count#49, min#50, max#51, sum#52, count#53, min#54, max#55, sum#56, count#57]
Arguments: 1024, 2147483647, 10485760

(81) ColumnarExchange
Input [20]: [hash_partition_key#58, ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#45, min#46, max#47, sum#48, count#49, min#50, max#51, sum#52, count#53, min#54, max#55, sum#56, count#57]
Arguments: hashpartitioning(ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, 1), ENSURE_REQUIREMENTS, [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#45, min#46, max#47, sum#48, count#49, min#50, max#51, sum#52, count#53, min#54, max#55, sum#56, count#57], [plan_id=9], [shuffle_writer_type=hash]

(82) InputAdapter
Input [19]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#45, min#46, max#47, sum#48, count#49, min#50, max#51, sum#52, count#53, min#54, max#55, sum#56, count#57]

(83) InputIteratorTransformer
Input [19]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#45, min#46, max#47, sum#48, count#49, min#50, max#51, sum#52, count#53, min#54, max#55, sum#56, count#57]

(84) RegularHashAggregateExecTransformer
Input [19]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count#45, min#46, max#47, sum#48, count#49, min#50, max#51, sum#52, count#53, min#54, max#55, sum#56, count#57]
Keys [6]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30]
Functions [10]: [count(1), min(cd_dep_count#28), max(cd_dep_count#28), avg(cd_dep_count#28), min(cd_dep_employed_count#29), max(cd_dep_employed_count#29), avg(cd_dep_employed_count#29), min(cd_dep_college_count#30), max(cd_dep_college_count#30), avg(cd_dep_college_count#30)]
Aggregate Attributes [10]: [count(1)#59, min(cd_dep_count#28)#60, max(cd_dep_count#28)#61, avg(cd_dep_count#28)#62, min(cd_dep_employed_count#29)#63, max(cd_dep_employed_count#29)#64, avg(cd_dep_employed_count#29)#65, min(cd_dep_college_count#30)#66, max(cd_dep_college_count#30)#67, avg(cd_dep_college_count#30)#68]
Results [16]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count(1)#59, min(cd_dep_count#28)#60, max(cd_dep_count#28)#61, avg(cd_dep_count#28)#62, min(cd_dep_employed_count#29)#63, max(cd_dep_employed_count#29)#64, avg(cd_dep_employed_count#29)#65, min(cd_dep_college_count#30)#66, max(cd_dep_college_count#30)#67, avg(cd_dep_college_count#30)#68]

(85) ProjectExecTransformer
Output [18]: [ca_state#22, cd_gender#26, cd_marital_status#27, count(1)#59 AS cnt1#69, min(cd_dep_count#28)#60 AS min(cd_dep_count)#70, max(cd_dep_count#28)#61 AS max(cd_dep_count)#71, avg(cd_dep_count#28)#62 AS avg(cd_dep_count)#72, cd_dep_employed_count#29, count(1)#59 AS cnt2#73, min(cd_dep_employed_count#29)#63 AS min(cd_dep_employed_count)#74, max(cd_dep_employed_count#29)#64 AS max(cd_dep_employed_count)#75, avg(cd_dep_employed_count#29)#65 AS avg(cd_dep_employed_count)#76, cd_dep_college_count#30, count(1)#59 AS cnt3#77, min(cd_dep_college_count#30)#66 AS min(cd_dep_college_count)#78, max(cd_dep_college_count#30)#67 AS max(cd_dep_college_count)#79, avg(cd_dep_college_count#30)#68 AS avg(cd_dep_college_count)#80, cd_dep_count#28]
Input [16]: [ca_state#22, cd_gender#26, cd_marital_status#27, cd_dep_count#28, cd_dep_employed_count#29, cd_dep_college_count#30, count(1)#59, min(cd_dep_count#28)#60, max(cd_dep_count#28)#61, avg(cd_dep_count#28)#62, min(cd_dep_employed_count#29)#63, max(cd_dep_employed_count#29)#64, avg(cd_dep_employed_count#29)#65, min(cd_dep_college_count#30)#66, max(cd_dep_college_count#30)#67, avg(cd_dep_college_count#30)#68]

(86) WholeStageCodegenTransformer (16)
Input [18]: [ca_state#22, cd_gender#26, cd_marital_status#27, cnt1#69, min(cd_dep_count)#70, max(cd_dep_count)#71, avg(cd_dep_count)#72, cd_dep_employed_count#29, cnt2#73, min(cd_dep_employed_count)#74, max(cd_dep_employed_count)#75, avg(cd_dep_employed_count)#76, cd_dep_college_count#30, cnt3#77, min(cd_dep_college_count)#78, max(cd_dep_college_count)#79, avg(cd_dep_college_count)#80, cd_dep_count#28]
Arguments: false

(87) TakeOrderedAndProjectExecTransformer
Input [18]: [ca_state#22, cd_gender#26, cd_marital_status#27, cnt1#69, min(cd_dep_count)#70, max(cd_dep_count)#71, avg(cd_dep_count)#72, cd_dep_employed_count#29, cnt2#73, min(cd_dep_employed_count)#74, max(cd_dep_employed_count)#75, avg(cd_dep_employed_count)#76, cd_dep_college_count#30, cnt3#77, min(cd_dep_college_count)#78, max(cd_dep_college_count)#79, avg(cd_dep_college_count)#80, cd_dep_count#28]
Arguments: 100, [ca_state#22 ASC NULLS FIRST, cd_gender#26 ASC NULLS FIRST, cd_marital_status#27 ASC NULLS FIRST, cd_dep_count#28 ASC NULLS FIRST, cd_dep_employed_count#29 ASC NULLS FIRST, cd_dep_college_count#30 ASC NULLS FIRST], [ca_state#22, cd_gender#26, cd_marital_status#27, cnt1#69, min(cd_dep_count)#70, max(cd_dep_count)#71, avg(cd_dep_count)#72, cd_dep_employed_count#29, cnt2#73, min(cd_dep_employed_count)#74, max(cd_dep_employed_count)#75, avg(cd_dep_employed_count)#76, cd_dep_college_count#30, cnt3#77, min(cd_dep_college_count)#78, max(cd_dep_college_count)#79, avg(cd_dep_college_count)#80], 0

(88) VeloxColumnarToRow
Input [17]: [ca_state#22, cd_gender#26, cd_marital_status#27, cnt1#69, min(cd_dep_count)#70, max(cd_dep_count)#71, avg(cd_dep_count)#72, cd_dep_employed_count#29, cnt2#73, min(cd_dep_employed_count)#74, max(cd_dep_employed_count)#75, avg(cd_dep_employed_count)#76, cd_dep_college_count#30, cnt3#77, min(cd_dep_college_count)#78, max(cd_dep_college_count)#79, avg(cd_dep_college_count)#80]

===== Subqueries =====

Subquery:1 Hosting operator id = 9 Hosting Expression = ss_sold_date_sk#8 IN dynamicpruning#9
ColumnarBroadcastExchange (93)
+- ^ ProjectExecTransformer (91)
   +- ^ FilterExecTransformer (90)
      +- ^ FileSourceScanExecTransformer parquet spark_catalog.default.date_dim (89)


(89) FileSourceScanExecTransformer parquet spark_catalog.default.date_dim
Output [3]: [d_date_sk#10, d_year#81, d_qoy#82]
Batched: true
Location: InMemoryFileIndex [{warehouse_dir}/date_dim]
PushedFilters: [IsNotNull(d_year), IsNotNull(d_qoy), EqualTo(d_year,2002), LessThan(d_qoy,4), IsNotNull(d_date_sk)]
ReadSchema: struct<d_date_sk:int,d_year:int,d_qoy:int>

(90) FilterExecTransformer
Input [3]: [d_date_sk#10, d_year#81, d_qoy#82]
Arguments: ((((isnotnull(d_year#81) AND isnotnull(d_qoy#82)) AND (d_year#81 = 2002)) AND (d_qoy#82 < 4)) AND isnotnull(d_date_sk#10))

(91) ProjectExecTransformer
Output [1]: [d_date_sk#10]
Input [3]: [d_date_sk#10, d_year#81, d_qoy#82]

(92) WholeStageCodegenTransformer (2)
Input [1]: [d_date_sk#10]
Arguments: false

(93) ColumnarBroadcastExchange
Input [1]: [d_date_sk#10]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=10]

Subquery:2 Hosting operator id = 21 Hosting Expression = ws_sold_date_sk#13 IN dynamicpruning#9

Subquery:3 Hosting operator id = 33 Hosting Expression = cs_sold_date_sk#17 IN dynamicpruning#9


