== Physical Plan ==
* ColumnarToRow (47)
+- CometHashAggregate (46)
   +- CometExchange (45)
      +- CometHashAggregate (44)
         +- CometProject (43)
            +- CometBroadcastHashJoin (42)
               :- CometBroadcastHashJoin (29)
               :  :- CometHashAggregate (16)
               :  :  +- CometExchange (15)
               :  :     +- CometHashAggregate (14)
               :  :        +- CometProject (13)
               :  :           +- CometBroadcastHashJoin (12)
               :  :              :- CometProject (8)
               :  :              :  +- CometBroadcastHashJoin (7)
               :  :              :     :- CometFilter (2)
               :  :              :     :  +- CometScan parquet spark_catalog.default.store_sales (1)
               :  :              :     +- CometBroadcastExchange (6)
               :  :              :        +- CometProject (5)
               :  :              :           +- CometFilter (4)
               :  :              :              +- CometScan parquet spark_catalog.default.date_dim (3)
               :  :              +- CometBroadcastExchange (11)
               :  :                 +- CometFilter (10)
               :  :                    +- CometScan parquet spark_catalog.default.customer (9)
               :  +- CometBroadcastExchange (28)
               :     +- CometHashAggregate (27)
               :        +- CometExchange (26)
               :           +- CometHashAggregate (25)
               :              +- CometProject (24)
               :                 +- CometBroadcastHashJoin (23)
               :                    :- CometProject (21)
               :                    :  +- CometBroadcastHashJoin (20)
               :                    :     :- CometFilter (18)
               :                    :     :  +- CometScan parquet spark_catalog.default.catalog_sales (17)
               :                    :     +- ReusedExchange (19)
               :                    +- ReusedExchange (22)
               +- CometBroadcastExchange (41)
                  +- CometHashAggregate (40)
                     +- CometExchange (39)
                        +- CometHashAggregate (38)
                           +- CometProject (37)
                              +- CometBroadcastHashJoin (36)
                                 :- CometProject (34)
                                 :  +- CometBroadcastHashJoin (33)
                                 :     :- CometFilter (31)
                                 :     :  +- CometScan parquet spark_catalog.default.web_sales (30)
                                 :     +- ReusedExchange (32)
                                 +- ReusedExchange (35)


(1) CometScan parquet spark_catalog.default.store_sales
Output [2]: [ss_customer_sk#1, ss_sold_date_sk#2]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ss_sold_date_sk#2)]
PushedFilters: [IsNotNull(ss_customer_sk)]
ReadSchema: struct<ss_customer_sk:int>

(2) CometFilter
Input [2]: [ss_customer_sk#1, ss_sold_date_sk#2]
Condition : isnotnull(ss_customer_sk#1)

(3) CometScan parquet spark_catalog.default.date_dim
Output [3]: [d_date_sk#3, d_date#4, d_month_seq#5]
Batched: true
Location [not included in comparison]/{warehouse_dir}/date_dim]
PushedFilters: [IsNotNull(d_month_seq), GreaterThanOrEqual(d_month_seq,1200), LessThanOrEqual(d_month_seq,1211), IsNotNull(d_date_sk)]
ReadSchema: struct<d_date_sk:int,d_date:date,d_month_seq:int>

(4) CometFilter
Input [3]: [d_date_sk#3, d_date#4, d_month_seq#5]
Condition : (((isnotnull(d_month_seq#5) AND (d_month_seq#5 >= 1200)) AND (d_month_seq#5 <= 1211)) AND isnotnull(d_date_sk#3))

(5) CometProject
Input [3]: [d_date_sk#3, d_date#4, d_month_seq#5]
Arguments: [d_date_sk#3, d_date#4], [d_date_sk#3, d_date#4]

(6) CometBroadcastExchange
Input [2]: [d_date_sk#3, d_date#4]
Arguments: [d_date_sk#3, d_date#4]

(7) CometBroadcastHashJoin
Left output [2]: [ss_customer_sk#1, ss_sold_date_sk#2]
Right output [2]: [d_date_sk#3, d_date#4]
Arguments: [ss_sold_date_sk#2], [d_date_sk#3], Inner, BuildRight

(8) CometProject
Input [4]: [ss_customer_sk#1, ss_sold_date_sk#2, d_date_sk#3, d_date#4]
Arguments: [ss_customer_sk#1, d_date#4], [ss_customer_sk#1, d_date#4]

(9) CometScan parquet spark_catalog.default.customer
Output [3]: [c_customer_sk#6, c_first_name#7, c_last_name#8]
Batched: true
Location [not included in comparison]/{warehouse_dir}/customer]
PushedFilters: [IsNotNull(c_customer_sk)]
ReadSchema: struct<c_customer_sk:int,c_first_name:string,c_last_name:string>

(10) CometFilter
Input [3]: [c_customer_sk#6, c_first_name#7, c_last_name#8]
Condition : isnotnull(c_customer_sk#6)

(11) CometBroadcastExchange
Input [3]: [c_customer_sk#6, c_first_name#7, c_last_name#8]
Arguments: [c_customer_sk#6, c_first_name#7, c_last_name#8]

(12) CometBroadcastHashJoin
Left output [2]: [ss_customer_sk#1, d_date#4]
Right output [3]: [c_customer_sk#6, c_first_name#7, c_last_name#8]
Arguments: [ss_customer_sk#1], [c_customer_sk#6], Inner, BuildRight

(13) CometProject
Input [5]: [ss_customer_sk#1, d_date#4, c_customer_sk#6, c_first_name#7, c_last_name#8]
Arguments: [c_last_name#8, c_first_name#7, d_date#4], [c_last_name#8, c_first_name#7, d_date#4]

(14) CometHashAggregate
Input [3]: [c_last_name#8, c_first_name#7, d_date#4]
Keys [3]: [c_last_name#8, c_first_name#7, d_date#4]
Functions: []

(15) CometExchange
Input [3]: [c_last_name#8, c_first_name#7, d_date#4]
Arguments: hashpartitioning(c_last_name#8, c_first_name#7, d_date#4, 5), ENSURE_REQUIREMENTS, CometNativeShuffle, [plan_id=1]

(16) CometHashAggregate
Input [3]: [c_last_name#8, c_first_name#7, d_date#4]
Keys [3]: [c_last_name#8, c_first_name#7, d_date#4]
Functions: []

(17) CometScan parquet spark_catalog.default.catalog_sales
Output [2]: [cs_bill_customer_sk#9, cs_sold_date_sk#10]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(cs_sold_date_sk#10)]
PushedFilters: [IsNotNull(cs_bill_customer_sk)]
ReadSchema: struct<cs_bill_customer_sk:int>

(18) CometFilter
Input [2]: [cs_bill_customer_sk#9, cs_sold_date_sk#10]
Condition : isnotnull(cs_bill_customer_sk#9)

(19) ReusedExchange [Reuses operator id: 6]
Output [2]: [d_date_sk#11, d_date#12]

(20) CometBroadcastHashJoin
Left output [2]: [cs_bill_customer_sk#9, cs_sold_date_sk#10]
Right output [2]: [d_date_sk#11, d_date#12]
Arguments: [cs_sold_date_sk#10], [d_date_sk#11], Inner, BuildRight

(21) CometProject
Input [4]: [cs_bill_customer_sk#9, cs_sold_date_sk#10, d_date_sk#11, d_date#12]
Arguments: [cs_bill_customer_sk#9, d_date#12], [cs_bill_customer_sk#9, d_date#12]

(22) ReusedExchange [Reuses operator id: 11]
Output [3]: [c_customer_sk#13, c_first_name#14, c_last_name#15]

(23) CometBroadcastHashJoin
Left output [2]: [cs_bill_customer_sk#9, d_date#12]
Right output [3]: [c_customer_sk#13, c_first_name#14, c_last_name#15]
Arguments: [cs_bill_customer_sk#9], [c_customer_sk#13], Inner, BuildRight

(24) CometProject
Input [5]: [cs_bill_customer_sk#9, d_date#12, c_customer_sk#13, c_first_name#14, c_last_name#15]
Arguments: [c_last_name#15, c_first_name#14, d_date#12], [c_last_name#15, c_first_name#14, d_date#12]

(25) CometHashAggregate
Input [3]: [c_last_name#15, c_first_name#14, d_date#12]
Keys [3]: [c_last_name#15, c_first_name#14, d_date#12]
Functions: []

(26) CometExchange
Input [3]: [c_last_name#15, c_first_name#14, d_date#12]
Arguments: hashpartitioning(c_last_name#15, c_first_name#14, d_date#12, 5), ENSURE_REQUIREMENTS, CometNativeShuffle, [plan_id=2]

(27) CometHashAggregate
Input [3]: [c_last_name#15, c_first_name#14, d_date#12]
Keys [3]: [c_last_name#15, c_first_name#14, d_date#12]
Functions: []

(28) CometBroadcastExchange
Input [3]: [c_last_name#15, c_first_name#14, d_date#12]
Arguments: [c_last_name#15, c_first_name#14, d_date#12]

(29) CometBroadcastHashJoin
Left output [3]: [c_last_name#8, c_first_name#7, d_date#4]
Right output [3]: [c_last_name#15, c_first_name#14, d_date#12]
Arguments: [coalesce(c_last_name#8, ), isnull(c_last_name#8), coalesce(c_first_name#7, ), isnull(c_first_name#7), coalesce(d_date#4, 1970-01-01), isnull(d_date#4)], [coalesce(c_last_name#15, ), isnull(c_last_name#15), coalesce(c_first_name#14, ), isnull(c_first_name#14), coalesce(d_date#12, 1970-01-01), isnull(d_date#12)], LeftSemi, BuildRight

(30) CometScan parquet spark_catalog.default.web_sales
Output [2]: [ws_bill_customer_sk#16, ws_sold_date_sk#17]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ws_sold_date_sk#17)]
PushedFilters: [IsNotNull(ws_bill_customer_sk)]
ReadSchema: struct<ws_bill_customer_sk:int>

(31) CometFilter
Input [2]: [ws_bill_customer_sk#16, ws_sold_date_sk#17]
Condition : isnotnull(ws_bill_customer_sk#16)

(32) ReusedExchange [Reuses operator id: 6]
Output [2]: [d_date_sk#18, d_date#19]

(33) CometBroadcastHashJoin
Left output [2]: [ws_bill_customer_sk#16, ws_sold_date_sk#17]
Right output [2]: [d_date_sk#18, d_date#19]
Arguments: [ws_sold_date_sk#17], [d_date_sk#18], Inner, BuildRight

(34) CometProject
Input [4]: [ws_bill_customer_sk#16, ws_sold_date_sk#17, d_date_sk#18, d_date#19]
Arguments: [ws_bill_customer_sk#16, d_date#19], [ws_bill_customer_sk#16, d_date#19]

(35) ReusedExchange [Reuses operator id: 11]
Output [3]: [c_customer_sk#20, c_first_name#21, c_last_name#22]

(36) CometBroadcastHashJoin
Left output [2]: [ws_bill_customer_sk#16, d_date#19]
Right output [3]: [c_customer_sk#20, c_first_name#21, c_last_name#22]
Arguments: [ws_bill_customer_sk#16], [c_customer_sk#20], Inner, BuildRight

(37) CometProject
Input [5]: [ws_bill_customer_sk#16, d_date#19, c_customer_sk#20, c_first_name#21, c_last_name#22]
Arguments: [c_last_name#22, c_first_name#21, d_date#19], [c_last_name#22, c_first_name#21, d_date#19]

(38) CometHashAggregate
Input [3]: [c_last_name#22, c_first_name#21, d_date#19]
Keys [3]: [c_last_name#22, c_first_name#21, d_date#19]
Functions: []

(39) CometExchange
Input [3]: [c_last_name#22, c_first_name#21, d_date#19]
Arguments: hashpartitioning(c_last_name#22, c_first_name#21, d_date#19, 5), ENSURE_REQUIREMENTS, CometNativeShuffle, [plan_id=3]

(40) CometHashAggregate
Input [3]: [c_last_name#22, c_first_name#21, d_date#19]
Keys [3]: [c_last_name#22, c_first_name#21, d_date#19]
Functions: []

(41) CometBroadcastExchange
Input [3]: [c_last_name#22, c_first_name#21, d_date#19]
Arguments: [c_last_name#22, c_first_name#21, d_date#19]

(42) CometBroadcastHashJoin
Left output [3]: [c_last_name#8, c_first_name#7, d_date#4]
Right output [3]: [c_last_name#22, c_first_name#21, d_date#19]
Arguments: [coalesce(c_last_name#8, ), isnull(c_last_name#8), coalesce(c_first_name#7, ), isnull(c_first_name#7), coalesce(d_date#4, 1970-01-01), isnull(d_date#4)], [coalesce(c_last_name#22, ), isnull(c_last_name#22), coalesce(c_first_name#21, ), isnull(c_first_name#21), coalesce(d_date#19, 1970-01-01), isnull(d_date#19)], LeftSemi, BuildRight

(43) CometProject
Input [3]: [c_last_name#8, c_first_name#7, d_date#4]

(44) CometHashAggregate
Input: []
Keys: []
Functions [1]: [partial_count(1)]

(45) CometExchange
Input [1]: [count#23]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, CometNativeShuffle, [plan_id=4]

(46) CometHashAggregate
Input [1]: [count#23]
Keys: []
Functions [1]: [count(1)]

(47) ColumnarToRow [codegen id : 1]
Input [1]: [count(1)#24]

