== Physical Plan ==
TakeOrderedAndProject (165)
+- * HashAggregate (164)
   +- Exchange (163)
      +- * HashAggregate (162)
         +- Union (161)
            :- * HashAggregate (104)
            :  +- Union (103)
            :     :- * Filter (72)
            :     :  +- * HashAggregate (71)
            :     :     +- Exchange (70)
            :     :        +- * HashAggregate (69)
            :     :           +- * Project (68)
            :     :              +- * BroadcastHashJoin Inner BuildRight (67)
            :     :                 :- * Project (60)
            :     :                 :  +- * BroadcastHashJoin Inner BuildRight (59)
            :     :                 :     :- * BroadcastHashJoin LeftSemi BuildRight (57)
            :     :                 :     :  :- * Filter (3)
            :     :                 :     :  :  +- * ColumnarToRow (2)
            :     :                 :     :  :     +- Scan parquet spark_catalog.default.store_sales (1)
            :     :                 :     :  +- BroadcastExchange (56)
            :     :                 :     :     +- * Project (55)
            :     :                 :     :        +- * BroadcastHashJoin Inner BuildRight (54)
            :     :                 :     :           :- * Filter (6)
            :     :                 :     :           :  +- * ColumnarToRow (5)
            :     :                 :     :           :     +- Scan parquet spark_catalog.default.item (4)
            :     :                 :     :           +- BroadcastExchange (53)
            :     :                 :     :              +- * SortMergeJoin LeftSemi (52)
            :     :                 :     :                 :- * Sort (40)
            :     :                 :     :                 :  +- Exchange (39)
            :     :                 :     :                 :     +- * HashAggregate (38)
            :     :                 :     :                 :        +- Exchange (37)
            :     :                 :     :                 :           +- * HashAggregate (36)
            :     :                 :     :                 :              +- * Project (35)
            :     :                 :     :                 :                 +- * BroadcastHashJoin Inner BuildRight (34)
            :     :                 :     :                 :                    :- * Project (12)
            :     :                 :     :                 :                    :  +- * BroadcastHashJoin Inner BuildRight (11)
            :     :                 :     :                 :                    :     :- * Filter (9)
            :     :                 :     :                 :                    :     :  +- * ColumnarToRow (8)
            :     :                 :     :                 :                    :     :     +- Scan parquet spark_catalog.default.store_sales (7)
            :     :                 :     :                 :                    :     +- ReusedExchange (10)
            :     :                 :     :                 :                    +- BroadcastExchange (33)
            :     :                 :     :                 :                       +- * SortMergeJoin LeftSemi (32)
            :     :                 :     :                 :                          :- * Sort (17)
            :     :                 :     :                 :                          :  +- Exchange (16)
            :     :                 :     :                 :                          :     +- * Filter (15)
            :     :                 :     :                 :                          :        +- * ColumnarToRow (14)
            :     :                 :     :                 :                          :           +- Scan parquet spark_catalog.default.item (13)
            :     :                 :     :                 :                          +- * Sort (31)
            :     :                 :     :                 :                             +- Exchange (30)
            :     :                 :     :                 :                                +- * Project (29)
            :     :                 :     :                 :                                   +- * BroadcastHashJoin Inner BuildRight (28)
            :     :                 :     :                 :                                      :- * Project (23)
            :     :                 :     :                 :                                      :  +- * BroadcastHashJoin Inner BuildRight (22)
            :     :                 :     :                 :                                      :     :- * Filter (20)
            :     :                 :     :                 :                                      :     :  +- * ColumnarToRow (19)
            :     :                 :     :                 :                                      :     :     +- Scan parquet spark_catalog.default.catalog_sales (18)
            :     :                 :     :                 :                                      :     +- ReusedExchange (21)
            :     :                 :     :                 :                                      +- BroadcastExchange (27)
            :     :                 :     :                 :                                         +- * Filter (26)
            :     :                 :     :                 :                                            +- * ColumnarToRow (25)
            :     :                 :     :                 :                                               +- Scan parquet spark_catalog.default.item (24)
            :     :                 :     :                 +- * Sort (51)
            :     :                 :     :                    +- Exchange (50)
            :     :                 :     :                       +- * Project (49)
            :     :                 :     :                          +- * BroadcastHashJoin Inner BuildRight (48)
            :     :                 :     :                             :- * Project (46)
            :     :                 :     :                             :  +- * BroadcastHashJoin Inner BuildRight (45)
            :     :                 :     :                             :     :- * Filter (43)
            :     :                 :     :                             :     :  +- * ColumnarToRow (42)
            :     :                 :     :                             :     :     +- Scan parquet spark_catalog.default.web_sales (41)
            :     :                 :     :                             :     +- ReusedExchange (44)
            :     :                 :     :                             +- ReusedExchange (47)
            :     :                 :     +- ReusedExchange (58)
            :     :                 +- BroadcastExchange (66)
            :     :                    +- * BroadcastHashJoin LeftSemi BuildRight (65)
            :     :                       :- * Filter (63)
            :     :                       :  +- * ColumnarToRow (62)
            :     :                       :     +- Scan parquet spark_catalog.default.item (61)
            :     :                       +- ReusedExchange (64)
            :     :- * Filter (87)
            :     :  +- * HashAggregate (86)
            :     :     +- Exchange (85)
            :     :        +- * HashAggregate (84)
            :     :           +- * Project (83)
            :     :              +- * BroadcastHashJoin Inner BuildRight (82)
            :     :                 :- * Project (80)
            :     :                 :  +- * BroadcastHashJoin Inner BuildRight (79)
            :     :                 :     :- * BroadcastHashJoin LeftSemi BuildRight (77)
            :     :                 :     :  :- * Filter (75)
            :     :                 :     :  :  +- * ColumnarToRow (74)
            :     :                 :     :  :     +- Scan parquet spark_catalog.default.catalog_sales (73)
            :     :                 :     :  +- ReusedExchange (76)
            :     :                 :     +- ReusedExchange (78)
            :     :                 +- ReusedExchange (81)
            :     +- * Filter (102)
            :        +- * HashAggregate (101)
            :           +- Exchange (100)
            :              +- * HashAggregate (99)
            :                 +- * Project (98)
            :                    +- * BroadcastHashJoin Inner BuildRight (97)
            :                       :- * Project (95)
            :                       :  +- * BroadcastHashJoin Inner BuildRight (94)
            :                       :     :- * BroadcastHashJoin LeftSemi BuildRight (92)
            :                       :     :  :- * Filter (90)
            :                       :     :  :  +- * ColumnarToRow (89)
            :                       :     :  :     +- Scan parquet spark_catalog.default.web_sales (88)
            :                       :     :  +- ReusedExchange (91)
            :                       :     +- ReusedExchange (93)
            :                       +- ReusedExchange (96)
            :- * HashAggregate (118)
            :  +- Exchange (117)
            :     +- * HashAggregate (116)
            :        +- * HashAggregate (115)
            :           +- Union (114)
            :              :- * Filter (107)
            :              :  +- * HashAggregate (106)
            :              :     +- ReusedExchange (105)
            :              :- * Filter (110)
            :              :  +- * HashAggregate (109)
            :              :     +- ReusedExchange (108)
            :              +- * Filter (113)
            :                 +- * HashAggregate (112)
            :                    +- ReusedExchange (111)
            :- * HashAggregate (132)
            :  +- Exchange (131)
            :     +- * HashAggregate (130)
            :        +- * HashAggregate (129)
            :           +- Union (128)
            :              :- * Filter (121)
            :              :  +- * HashAggregate (120)
            :              :     +- ReusedExchange (119)
            :              :- * Filter (124)
            :              :  +- * HashAggregate (123)
            :              :     +- ReusedExchange (122)
            :              +- * Filter (127)
            :                 +- * HashAggregate (126)
            :                    +- ReusedExchange (125)
            :- * HashAggregate (146)
            :  +- Exchange (145)
            :     +- * HashAggregate (144)
            :        +- * HashAggregate (143)
            :           +- Union (142)
            :              :- * Filter (135)
            :              :  +- * HashAggregate (134)
            :              :     +- ReusedExchange (133)
            :              :- * Filter (138)
            :              :  +- * HashAggregate (137)
            :              :     +- ReusedExchange (136)
            :              +- * Filter (141)
            :                 +- * HashAggregate (140)
            :                    +- ReusedExchange (139)
            +- * HashAggregate (160)
               +- Exchange (159)
                  +- * HashAggregate (158)
                     +- * HashAggregate (157)
                        +- Union (156)
                           :- * Filter (149)
                           :  +- * HashAggregate (148)
                           :     +- ReusedExchange (147)
                           :- * Filter (152)
                           :  +- * HashAggregate (151)
                           :     +- ReusedExchange (150)
                           +- * Filter (155)
                              +- * HashAggregate (154)
                                 +- ReusedExchange (153)


(1) Scan parquet spark_catalog.default.store_sales
Output [4]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ss_sold_date_sk#4), dynamicpruningexpression(ss_sold_date_sk#4 IN dynamicpruning#5)]
PushedFilters: [IsNotNull(ss_item_sk)]
ReadSchema: struct<ss_item_sk:int,ss_quantity:int,ss_list_price:decimal(7,2)>

(2) ColumnarToRow [codegen id : 37]
Input [4]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4]

(3) Filter [codegen id : 37]
Input [4]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4]
Condition : isnotnull(ss_item_sk#1)

(4) Scan parquet spark_catalog.default.item
Output [4]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9]
Batched: true
Location [not included in comparison]/{warehouse_dir}/item]
PushedFilters: [IsNotNull(i_brand_id), IsNotNull(i_class_id), IsNotNull(i_category_id)]
ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int>

(5) ColumnarToRow [codegen id : 17]
Input [4]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9]

(6) Filter [codegen id : 17]
Input [4]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9]
Condition : ((isnotnull(i_brand_id#7) AND isnotnull(i_class_id#8)) AND isnotnull(i_category_id#9))

(7) Scan parquet spark_catalog.default.store_sales
Output [2]: [ss_item_sk#10, ss_sold_date_sk#11]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ss_sold_date_sk#11), dynamicpruningexpression(ss_sold_date_sk#11 IN dynamicpruning#12)]
PushedFilters: [IsNotNull(ss_item_sk)]
ReadSchema: struct<ss_item_sk:int>

(8) ColumnarToRow [codegen id : 9]
Input [2]: [ss_item_sk#10, ss_sold_date_sk#11]

(9) Filter [codegen id : 9]
Input [2]: [ss_item_sk#10, ss_sold_date_sk#11]
Condition : isnotnull(ss_item_sk#10)

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

(11) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [ss_sold_date_sk#11]
Right keys [1]: [d_date_sk#13]
Join type: Inner
Join condition: None

(12) Project [codegen id : 9]
Output [1]: [ss_item_sk#10]
Input [3]: [ss_item_sk#10, ss_sold_date_sk#11, d_date_sk#13]

(13) Scan parquet spark_catalog.default.item
Output [4]: [i_item_sk#14, i_brand_id#15, i_class_id#16, i_category_id#17]
Batched: true
Location [not included in comparison]/{warehouse_dir}/item]
PushedFilters: [IsNotNull(i_item_sk), IsNotNull(i_brand_id), IsNotNull(i_class_id), IsNotNull(i_category_id)]
ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int>

(14) ColumnarToRow [codegen id : 2]
Input [4]: [i_item_sk#14, i_brand_id#15, i_class_id#16, i_category_id#17]

(15) Filter [codegen id : 2]
Input [4]: [i_item_sk#14, i_brand_id#15, i_class_id#16, i_category_id#17]
Condition : (((isnotnull(i_item_sk#14) AND isnotnull(i_brand_id#15)) AND isnotnull(i_class_id#16)) AND isnotnull(i_category_id#17))

(16) Exchange
Input [4]: [i_item_sk#14, i_brand_id#15, i_class_id#16, i_category_id#17]
Arguments: hashpartitioning(coalesce(i_brand_id#15, 0), isnull(i_brand_id#15), coalesce(i_class_id#16, 0), isnull(i_class_id#16), coalesce(i_category_id#17, 0), isnull(i_category_id#17), 5), ENSURE_REQUIREMENTS, [plan_id=1]

(17) Sort [codegen id : 3]
Input [4]: [i_item_sk#14, i_brand_id#15, i_class_id#16, i_category_id#17]
Arguments: [coalesce(i_brand_id#15, 0) ASC NULLS FIRST, isnull(i_brand_id#15) ASC NULLS FIRST, coalesce(i_class_id#16, 0) ASC NULLS FIRST, isnull(i_class_id#16) ASC NULLS FIRST, coalesce(i_category_id#17, 0) ASC NULLS FIRST, isnull(i_category_id#17) ASC NULLS FIRST], false, 0

(18) Scan parquet spark_catalog.default.catalog_sales
Output [2]: [cs_item_sk#18, cs_sold_date_sk#19]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(cs_sold_date_sk#19), dynamicpruningexpression(cs_sold_date_sk#19 IN dynamicpruning#12)]
PushedFilters: [IsNotNull(cs_item_sk)]
ReadSchema: struct<cs_item_sk:int>

(19) ColumnarToRow [codegen id : 6]
Input [2]: [cs_item_sk#18, cs_sold_date_sk#19]

(20) Filter [codegen id : 6]
Input [2]: [cs_item_sk#18, cs_sold_date_sk#19]
Condition : isnotnull(cs_item_sk#18)

(21) ReusedExchange [Reuses operator id: 199]
Output [1]: [d_date_sk#20]

(22) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [cs_sold_date_sk#19]
Right keys [1]: [d_date_sk#20]
Join type: Inner
Join condition: None

(23) Project [codegen id : 6]
Output [1]: [cs_item_sk#18]
Input [3]: [cs_item_sk#18, cs_sold_date_sk#19, d_date_sk#20]

(24) Scan parquet spark_catalog.default.item
Output [4]: [i_item_sk#21, i_brand_id#22, i_class_id#23, i_category_id#24]
Batched: true
Location [not included in comparison]/{warehouse_dir}/item]
PushedFilters: [IsNotNull(i_item_sk)]
ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int>

(25) ColumnarToRow [codegen id : 5]
Input [4]: [i_item_sk#21, i_brand_id#22, i_class_id#23, i_category_id#24]

(26) Filter [codegen id : 5]
Input [4]: [i_item_sk#21, i_brand_id#22, i_class_id#23, i_category_id#24]
Condition : isnotnull(i_item_sk#21)

(27) BroadcastExchange
Input [4]: [i_item_sk#21, i_brand_id#22, i_class_id#23, i_category_id#24]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=2]

(28) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [cs_item_sk#18]
Right keys [1]: [i_item_sk#21]
Join type: Inner
Join condition: None

(29) Project [codegen id : 6]
Output [3]: [i_brand_id#22, i_class_id#23, i_category_id#24]
Input [5]: [cs_item_sk#18, i_item_sk#21, i_brand_id#22, i_class_id#23, i_category_id#24]

(30) Exchange
Input [3]: [i_brand_id#22, i_class_id#23, i_category_id#24]
Arguments: hashpartitioning(coalesce(i_brand_id#22, 0), isnull(i_brand_id#22), coalesce(i_class_id#23, 0), isnull(i_class_id#23), coalesce(i_category_id#24, 0), isnull(i_category_id#24), 5), ENSURE_REQUIREMENTS, [plan_id=3]

(31) Sort [codegen id : 7]
Input [3]: [i_brand_id#22, i_class_id#23, i_category_id#24]
Arguments: [coalesce(i_brand_id#22, 0) ASC NULLS FIRST, isnull(i_brand_id#22) ASC NULLS FIRST, coalesce(i_class_id#23, 0) ASC NULLS FIRST, isnull(i_class_id#23) ASC NULLS FIRST, coalesce(i_category_id#24, 0) ASC NULLS FIRST, isnull(i_category_id#24) ASC NULLS FIRST], false, 0

(32) SortMergeJoin [codegen id : 8]
Left keys [6]: [coalesce(i_brand_id#15, 0), isnull(i_brand_id#15), coalesce(i_class_id#16, 0), isnull(i_class_id#16), coalesce(i_category_id#17, 0), isnull(i_category_id#17)]
Right keys [6]: [coalesce(i_brand_id#22, 0), isnull(i_brand_id#22), coalesce(i_class_id#23, 0), isnull(i_class_id#23), coalesce(i_category_id#24, 0), isnull(i_category_id#24)]
Join type: LeftSemi
Join condition: None

(33) BroadcastExchange
Input [4]: [i_item_sk#14, i_brand_id#15, i_class_id#16, i_category_id#17]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=4]

(34) BroadcastHashJoin [codegen id : 9]
Left keys [1]: [ss_item_sk#10]
Right keys [1]: [i_item_sk#14]
Join type: Inner
Join condition: None

(35) Project [codegen id : 9]
Output [3]: [i_brand_id#15 AS brand_id#25, i_class_id#16 AS class_id#26, i_category_id#17 AS category_id#27]
Input [5]: [ss_item_sk#10, i_item_sk#14, i_brand_id#15, i_class_id#16, i_category_id#17]

(36) HashAggregate [codegen id : 9]
Input [3]: [brand_id#25, class_id#26, category_id#27]
Keys [3]: [brand_id#25, class_id#26, category_id#27]
Functions: []
Aggregate Attributes: []
Results [3]: [brand_id#25, class_id#26, category_id#27]

(37) Exchange
Input [3]: [brand_id#25, class_id#26, category_id#27]
Arguments: hashpartitioning(brand_id#25, class_id#26, category_id#27, 5), ENSURE_REQUIREMENTS, [plan_id=5]

(38) HashAggregate [codegen id : 10]
Input [3]: [brand_id#25, class_id#26, category_id#27]
Keys [3]: [brand_id#25, class_id#26, category_id#27]
Functions: []
Aggregate Attributes: []
Results [3]: [brand_id#25, class_id#26, category_id#27]

(39) Exchange
Input [3]: [brand_id#25, class_id#26, category_id#27]
Arguments: hashpartitioning(coalesce(brand_id#25, 0), isnull(brand_id#25), coalesce(class_id#26, 0), isnull(class_id#26), coalesce(category_id#27, 0), isnull(category_id#27), 5), ENSURE_REQUIREMENTS, [plan_id=6]

(40) Sort [codegen id : 11]
Input [3]: [brand_id#25, class_id#26, category_id#27]
Arguments: [coalesce(brand_id#25, 0) ASC NULLS FIRST, isnull(brand_id#25) ASC NULLS FIRST, coalesce(class_id#26, 0) ASC NULLS FIRST, isnull(class_id#26) ASC NULLS FIRST, coalesce(category_id#27, 0) ASC NULLS FIRST, isnull(category_id#27) ASC NULLS FIRST], false, 0

(41) Scan parquet spark_catalog.default.web_sales
Output [2]: [ws_item_sk#28, ws_sold_date_sk#29]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ws_sold_date_sk#29), dynamicpruningexpression(ws_sold_date_sk#29 IN dynamicpruning#12)]
PushedFilters: [IsNotNull(ws_item_sk)]
ReadSchema: struct<ws_item_sk:int>

(42) ColumnarToRow [codegen id : 14]
Input [2]: [ws_item_sk#28, ws_sold_date_sk#29]

(43) Filter [codegen id : 14]
Input [2]: [ws_item_sk#28, ws_sold_date_sk#29]
Condition : isnotnull(ws_item_sk#28)

(44) ReusedExchange [Reuses operator id: 199]
Output [1]: [d_date_sk#30]

(45) BroadcastHashJoin [codegen id : 14]
Left keys [1]: [ws_sold_date_sk#29]
Right keys [1]: [d_date_sk#30]
Join type: Inner
Join condition: None

(46) Project [codegen id : 14]
Output [1]: [ws_item_sk#28]
Input [3]: [ws_item_sk#28, ws_sold_date_sk#29, d_date_sk#30]

(47) ReusedExchange [Reuses operator id: 27]
Output [4]: [i_item_sk#31, i_brand_id#32, i_class_id#33, i_category_id#34]

(48) BroadcastHashJoin [codegen id : 14]
Left keys [1]: [ws_item_sk#28]
Right keys [1]: [i_item_sk#31]
Join type: Inner
Join condition: None

(49) Project [codegen id : 14]
Output [3]: [i_brand_id#32, i_class_id#33, i_category_id#34]
Input [5]: [ws_item_sk#28, i_item_sk#31, i_brand_id#32, i_class_id#33, i_category_id#34]

(50) Exchange
Input [3]: [i_brand_id#32, i_class_id#33, i_category_id#34]
Arguments: hashpartitioning(coalesce(i_brand_id#32, 0), isnull(i_brand_id#32), coalesce(i_class_id#33, 0), isnull(i_class_id#33), coalesce(i_category_id#34, 0), isnull(i_category_id#34), 5), ENSURE_REQUIREMENTS, [plan_id=7]

(51) Sort [codegen id : 15]
Input [3]: [i_brand_id#32, i_class_id#33, i_category_id#34]
Arguments: [coalesce(i_brand_id#32, 0) ASC NULLS FIRST, isnull(i_brand_id#32) ASC NULLS FIRST, coalesce(i_class_id#33, 0) ASC NULLS FIRST, isnull(i_class_id#33) ASC NULLS FIRST, coalesce(i_category_id#34, 0) ASC NULLS FIRST, isnull(i_category_id#34) ASC NULLS FIRST], false, 0

(52) SortMergeJoin [codegen id : 16]
Left keys [6]: [coalesce(brand_id#25, 0), isnull(brand_id#25), coalesce(class_id#26, 0), isnull(class_id#26), coalesce(category_id#27, 0), isnull(category_id#27)]
Right keys [6]: [coalesce(i_brand_id#32, 0), isnull(i_brand_id#32), coalesce(i_class_id#33, 0), isnull(i_class_id#33), coalesce(i_category_id#34, 0), isnull(i_category_id#34)]
Join type: LeftSemi
Join condition: None

(53) BroadcastExchange
Input [3]: [brand_id#25, class_id#26, category_id#27]
Arguments: HashedRelationBroadcastMode(List(input[0, int, true], input[1, int, true], input[2, int, true]),false), [plan_id=8]

(54) BroadcastHashJoin [codegen id : 17]
Left keys [3]: [i_brand_id#7, i_class_id#8, i_category_id#9]
Right keys [3]: [brand_id#25, class_id#26, category_id#27]
Join type: Inner
Join condition: None

(55) Project [codegen id : 17]
Output [1]: [i_item_sk#6 AS ss_item_sk#35]
Input [7]: [i_item_sk#6, i_brand_id#7, i_class_id#8, i_category_id#9, brand_id#25, class_id#26, category_id#27]

(56) BroadcastExchange
Input [1]: [ss_item_sk#35]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=9]

(57) BroadcastHashJoin [codegen id : 37]
Left keys [1]: [ss_item_sk#1]
Right keys [1]: [ss_item_sk#35]
Join type: LeftSemi
Join condition: None

(58) ReusedExchange [Reuses operator id: 194]
Output [1]: [d_date_sk#36]

(59) BroadcastHashJoin [codegen id : 37]
Left keys [1]: [ss_sold_date_sk#4]
Right keys [1]: [d_date_sk#36]
Join type: Inner
Join condition: None

(60) Project [codegen id : 37]
Output [3]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3]
Input [5]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, ss_sold_date_sk#4, d_date_sk#36]

(61) Scan parquet spark_catalog.default.item
Output [4]: [i_item_sk#37, i_brand_id#38, i_class_id#39, i_category_id#40]
Batched: true
Location [not included in comparison]/{warehouse_dir}/item]
PushedFilters: [IsNotNull(i_item_sk)]
ReadSchema: struct<i_item_sk:int,i_brand_id:int,i_class_id:int,i_category_id:int>

(62) ColumnarToRow [codegen id : 36]
Input [4]: [i_item_sk#37, i_brand_id#38, i_class_id#39, i_category_id#40]

(63) Filter [codegen id : 36]
Input [4]: [i_item_sk#37, i_brand_id#38, i_class_id#39, i_category_id#40]
Condition : isnotnull(i_item_sk#37)

(64) ReusedExchange [Reuses operator id: 56]
Output [1]: [ss_item_sk#35]

(65) BroadcastHashJoin [codegen id : 36]
Left keys [1]: [i_item_sk#37]
Right keys [1]: [ss_item_sk#35]
Join type: LeftSemi
Join condition: None

(66) BroadcastExchange
Input [4]: [i_item_sk#37, i_brand_id#38, i_class_id#39, i_category_id#40]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, false] as bigint)),false), [plan_id=10]

(67) BroadcastHashJoin [codegen id : 37]
Left keys [1]: [ss_item_sk#1]
Right keys [1]: [i_item_sk#37]
Join type: Inner
Join condition: None

(68) Project [codegen id : 37]
Output [5]: [ss_quantity#2, ss_list_price#3, i_brand_id#38, i_class_id#39, i_category_id#40]
Input [7]: [ss_item_sk#1, ss_quantity#2, ss_list_price#3, i_item_sk#37, i_brand_id#38, i_class_id#39, i_category_id#40]

(69) HashAggregate [codegen id : 37]
Input [5]: [ss_quantity#2, ss_list_price#3, i_brand_id#38, i_class_id#39, i_category_id#40]
Keys [3]: [i_brand_id#38, i_class_id#39, i_category_id#40]
Functions [2]: [partial_sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3)), partial_count(1)]
Aggregate Attributes [3]: [sum#41, isEmpty#42, count#43]
Results [6]: [i_brand_id#38, i_class_id#39, i_category_id#40, sum#44, isEmpty#45, count#46]

(70) Exchange
Input [6]: [i_brand_id#38, i_class_id#39, i_category_id#40, sum#44, isEmpty#45, count#46]
Arguments: hashpartitioning(i_brand_id#38, i_class_id#39, i_category_id#40, 5), ENSURE_REQUIREMENTS, [plan_id=11]

(71) HashAggregate [codegen id : 38]
Input [6]: [i_brand_id#38, i_class_id#39, i_category_id#40, sum#44, isEmpty#45, count#46]
Keys [3]: [i_brand_id#38, i_class_id#39, i_category_id#40]
Functions [2]: [sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3)), count(1)]
Aggregate Attributes [2]: [sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3))#47, count(1)#48]
Results [6]: [store AS channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum((cast(ss_quantity#2 as decimal(10,0)) * ss_list_price#3))#47 AS sales#50, count(1)#48 AS number_sales#51]

(72) Filter [codegen id : 38]
Input [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sales#50, number_sales#51]
Condition : (isnotnull(sales#50) AND (cast(sales#50 as decimal(32,6)) > cast(Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(73) Scan parquet spark_catalog.default.catalog_sales
Output [4]: [cs_item_sk#53, cs_quantity#54, cs_list_price#55, cs_sold_date_sk#56]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(cs_sold_date_sk#56), dynamicpruningexpression(cs_sold_date_sk#56 IN dynamicpruning#5)]
PushedFilters: [IsNotNull(cs_item_sk)]
ReadSchema: struct<cs_item_sk:int,cs_quantity:int,cs_list_price:decimal(7,2)>

(74) ColumnarToRow [codegen id : 75]
Input [4]: [cs_item_sk#53, cs_quantity#54, cs_list_price#55, cs_sold_date_sk#56]

(75) Filter [codegen id : 75]
Input [4]: [cs_item_sk#53, cs_quantity#54, cs_list_price#55, cs_sold_date_sk#56]
Condition : isnotnull(cs_item_sk#53)

(76) ReusedExchange [Reuses operator id: 56]
Output [1]: [ss_item_sk#57]

(77) BroadcastHashJoin [codegen id : 75]
Left keys [1]: [cs_item_sk#53]
Right keys [1]: [ss_item_sk#57]
Join type: LeftSemi
Join condition: None

(78) ReusedExchange [Reuses operator id: 194]
Output [1]: [d_date_sk#58]

(79) BroadcastHashJoin [codegen id : 75]
Left keys [1]: [cs_sold_date_sk#56]
Right keys [1]: [d_date_sk#58]
Join type: Inner
Join condition: None

(80) Project [codegen id : 75]
Output [3]: [cs_item_sk#53, cs_quantity#54, cs_list_price#55]
Input [5]: [cs_item_sk#53, cs_quantity#54, cs_list_price#55, cs_sold_date_sk#56, d_date_sk#58]

(81) ReusedExchange [Reuses operator id: 66]
Output [4]: [i_item_sk#59, i_brand_id#60, i_class_id#61, i_category_id#62]

(82) BroadcastHashJoin [codegen id : 75]
Left keys [1]: [cs_item_sk#53]
Right keys [1]: [i_item_sk#59]
Join type: Inner
Join condition: None

(83) Project [codegen id : 75]
Output [5]: [cs_quantity#54, cs_list_price#55, i_brand_id#60, i_class_id#61, i_category_id#62]
Input [7]: [cs_item_sk#53, cs_quantity#54, cs_list_price#55, i_item_sk#59, i_brand_id#60, i_class_id#61, i_category_id#62]

(84) HashAggregate [codegen id : 75]
Input [5]: [cs_quantity#54, cs_list_price#55, i_brand_id#60, i_class_id#61, i_category_id#62]
Keys [3]: [i_brand_id#60, i_class_id#61, i_category_id#62]
Functions [2]: [partial_sum((cast(cs_quantity#54 as decimal(10,0)) * cs_list_price#55)), partial_count(1)]
Aggregate Attributes [3]: [sum#63, isEmpty#64, count#65]
Results [6]: [i_brand_id#60, i_class_id#61, i_category_id#62, sum#66, isEmpty#67, count#68]

(85) Exchange
Input [6]: [i_brand_id#60, i_class_id#61, i_category_id#62, sum#66, isEmpty#67, count#68]
Arguments: hashpartitioning(i_brand_id#60, i_class_id#61, i_category_id#62, 5), ENSURE_REQUIREMENTS, [plan_id=13]

(86) HashAggregate [codegen id : 76]
Input [6]: [i_brand_id#60, i_class_id#61, i_category_id#62, sum#66, isEmpty#67, count#68]
Keys [3]: [i_brand_id#60, i_class_id#61, i_category_id#62]
Functions [2]: [sum((cast(cs_quantity#54 as decimal(10,0)) * cs_list_price#55)), count(1)]
Aggregate Attributes [2]: [sum((cast(cs_quantity#54 as decimal(10,0)) * cs_list_price#55))#69, count(1)#70]
Results [6]: [catalog AS channel#71, i_brand_id#60, i_class_id#61, i_category_id#62, sum((cast(cs_quantity#54 as decimal(10,0)) * cs_list_price#55))#69 AS sales#72, count(1)#70 AS number_sales#73]

(87) Filter [codegen id : 76]
Input [6]: [channel#71, i_brand_id#60, i_class_id#61, i_category_id#62, sales#72, number_sales#73]
Condition : (isnotnull(sales#72) AND (cast(sales#72 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(88) Scan parquet spark_catalog.default.web_sales
Output [4]: [ws_item_sk#74, ws_quantity#75, ws_list_price#76, ws_sold_date_sk#77]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ws_sold_date_sk#77), dynamicpruningexpression(ws_sold_date_sk#77 IN dynamicpruning#5)]
PushedFilters: [IsNotNull(ws_item_sk)]
ReadSchema: struct<ws_item_sk:int,ws_quantity:int,ws_list_price:decimal(7,2)>

(89) ColumnarToRow [codegen id : 113]
Input [4]: [ws_item_sk#74, ws_quantity#75, ws_list_price#76, ws_sold_date_sk#77]

(90) Filter [codegen id : 113]
Input [4]: [ws_item_sk#74, ws_quantity#75, ws_list_price#76, ws_sold_date_sk#77]
Condition : isnotnull(ws_item_sk#74)

(91) ReusedExchange [Reuses operator id: 56]
Output [1]: [ss_item_sk#78]

(92) BroadcastHashJoin [codegen id : 113]
Left keys [1]: [ws_item_sk#74]
Right keys [1]: [ss_item_sk#78]
Join type: LeftSemi
Join condition: None

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

(94) BroadcastHashJoin [codegen id : 113]
Left keys [1]: [ws_sold_date_sk#77]
Right keys [1]: [d_date_sk#79]
Join type: Inner
Join condition: None

(95) Project [codegen id : 113]
Output [3]: [ws_item_sk#74, ws_quantity#75, ws_list_price#76]
Input [5]: [ws_item_sk#74, ws_quantity#75, ws_list_price#76, ws_sold_date_sk#77, d_date_sk#79]

(96) ReusedExchange [Reuses operator id: 66]
Output [4]: [i_item_sk#80, i_brand_id#81, i_class_id#82, i_category_id#83]

(97) BroadcastHashJoin [codegen id : 113]
Left keys [1]: [ws_item_sk#74]
Right keys [1]: [i_item_sk#80]
Join type: Inner
Join condition: None

(98) Project [codegen id : 113]
Output [5]: [ws_quantity#75, ws_list_price#76, i_brand_id#81, i_class_id#82, i_category_id#83]
Input [7]: [ws_item_sk#74, ws_quantity#75, ws_list_price#76, i_item_sk#80, i_brand_id#81, i_class_id#82, i_category_id#83]

(99) HashAggregate [codegen id : 113]
Input [5]: [ws_quantity#75, ws_list_price#76, i_brand_id#81, i_class_id#82, i_category_id#83]
Keys [3]: [i_brand_id#81, i_class_id#82, i_category_id#83]
Functions [2]: [partial_sum((cast(ws_quantity#75 as decimal(10,0)) * ws_list_price#76)), partial_count(1)]
Aggregate Attributes [3]: [sum#84, isEmpty#85, count#86]
Results [6]: [i_brand_id#81, i_class_id#82, i_category_id#83, sum#87, isEmpty#88, count#89]

(100) Exchange
Input [6]: [i_brand_id#81, i_class_id#82, i_category_id#83, sum#87, isEmpty#88, count#89]
Arguments: hashpartitioning(i_brand_id#81, i_class_id#82, i_category_id#83, 5), ENSURE_REQUIREMENTS, [plan_id=14]

(101) HashAggregate [codegen id : 114]
Input [6]: [i_brand_id#81, i_class_id#82, i_category_id#83, sum#87, isEmpty#88, count#89]
Keys [3]: [i_brand_id#81, i_class_id#82, i_category_id#83]
Functions [2]: [sum((cast(ws_quantity#75 as decimal(10,0)) * ws_list_price#76)), count(1)]
Aggregate Attributes [2]: [sum((cast(ws_quantity#75 as decimal(10,0)) * ws_list_price#76))#90, count(1)#91]
Results [6]: [web AS channel#92, i_brand_id#81, i_class_id#82, i_category_id#83, sum((cast(ws_quantity#75 as decimal(10,0)) * ws_list_price#76))#90 AS sales#93, count(1)#91 AS number_sales#94]

(102) Filter [codegen id : 114]
Input [6]: [channel#92, i_brand_id#81, i_class_id#82, i_category_id#83, sales#93, number_sales#94]
Condition : (isnotnull(sales#93) AND (cast(sales#93 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(103) Union

(104) HashAggregate [codegen id : 115]
Input [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sales#50, number_sales#51]
Keys [4]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40]
Functions [2]: [sum(sales#50), sum(number_sales#51)]
Aggregate Attributes [2]: [sum(sales#50)#95, sum(number_sales#51)#96]
Results [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum(sales#50)#95 AS sum_sales#97, sum(number_sales#51)#96 AS number_sales#98]

(105) ReusedExchange [Reuses operator id: 70]
Output [6]: [i_brand_id#99, i_class_id#100, i_category_id#101, sum#102, isEmpty#103, count#46]

(106) HashAggregate [codegen id : 153]
Input [6]: [i_brand_id#99, i_class_id#100, i_category_id#101, sum#102, isEmpty#103, count#46]
Keys [3]: [i_brand_id#99, i_class_id#100, i_category_id#101]
Functions [2]: [sum((cast(ss_quantity#104 as decimal(10,0)) * ss_list_price#105)), count(1)]
Aggregate Attributes [2]: [sum((cast(ss_quantity#104 as decimal(10,0)) * ss_list_price#105))#47, count(1)#48]
Results [6]: [store AS channel#106, i_brand_id#99, i_class_id#100, i_category_id#101, sum((cast(ss_quantity#104 as decimal(10,0)) * ss_list_price#105))#47 AS sales#107, count(1)#48 AS number_sales#108]

(107) Filter [codegen id : 153]
Input [6]: [channel#106, i_brand_id#99, i_class_id#100, i_category_id#101, sales#107, number_sales#108]
Condition : (isnotnull(sales#107) AND (cast(sales#107 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(108) ReusedExchange [Reuses operator id: 85]
Output [6]: [i_brand_id#109, i_class_id#110, i_category_id#111, sum#112, isEmpty#113, count#68]

(109) HashAggregate [codegen id : 191]
Input [6]: [i_brand_id#109, i_class_id#110, i_category_id#111, sum#112, isEmpty#113, count#68]
Keys [3]: [i_brand_id#109, i_class_id#110, i_category_id#111]
Functions [2]: [sum((cast(cs_quantity#114 as decimal(10,0)) * cs_list_price#115)), count(1)]
Aggregate Attributes [2]: [sum((cast(cs_quantity#114 as decimal(10,0)) * cs_list_price#115))#69, count(1)#70]
Results [6]: [catalog AS channel#116, i_brand_id#109, i_class_id#110, i_category_id#111, sum((cast(cs_quantity#114 as decimal(10,0)) * cs_list_price#115))#69 AS sales#117, count(1)#70 AS number_sales#118]

(110) Filter [codegen id : 191]
Input [6]: [channel#116, i_brand_id#109, i_class_id#110, i_category_id#111, sales#117, number_sales#118]
Condition : (isnotnull(sales#117) AND (cast(sales#117 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(111) ReusedExchange [Reuses operator id: 100]
Output [6]: [i_brand_id#119, i_class_id#120, i_category_id#121, sum#122, isEmpty#123, count#89]

(112) HashAggregate [codegen id : 229]
Input [6]: [i_brand_id#119, i_class_id#120, i_category_id#121, sum#122, isEmpty#123, count#89]
Keys [3]: [i_brand_id#119, i_class_id#120, i_category_id#121]
Functions [2]: [sum((cast(ws_quantity#124 as decimal(10,0)) * ws_list_price#125)), count(1)]
Aggregate Attributes [2]: [sum((cast(ws_quantity#124 as decimal(10,0)) * ws_list_price#125))#90, count(1)#91]
Results [6]: [web AS channel#126, i_brand_id#119, i_class_id#120, i_category_id#121, sum((cast(ws_quantity#124 as decimal(10,0)) * ws_list_price#125))#90 AS sales#127, count(1)#91 AS number_sales#128]

(113) Filter [codegen id : 229]
Input [6]: [channel#126, i_brand_id#119, i_class_id#120, i_category_id#121, sales#127, number_sales#128]
Condition : (isnotnull(sales#127) AND (cast(sales#127 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(114) Union

(115) HashAggregate [codegen id : 230]
Input [6]: [channel#106, i_brand_id#99, i_class_id#100, i_category_id#101, sales#107, number_sales#108]
Keys [4]: [channel#106, i_brand_id#99, i_class_id#100, i_category_id#101]
Functions [2]: [sum(sales#107), sum(number_sales#108)]
Aggregate Attributes [2]: [sum(sales#107)#95, sum(number_sales#108)#96]
Results [5]: [channel#106, i_brand_id#99, i_class_id#100, sum(sales#107)#95 AS sum_sales#129, sum(number_sales#108)#96 AS number_sales#130]

(116) HashAggregate [codegen id : 230]
Input [5]: [channel#106, i_brand_id#99, i_class_id#100, sum_sales#129, number_sales#130]
Keys [3]: [channel#106, i_brand_id#99, i_class_id#100]
Functions [2]: [partial_sum(sum_sales#129), partial_sum(number_sales#130)]
Aggregate Attributes [3]: [sum#131, isEmpty#132, sum#133]
Results [6]: [channel#106, i_brand_id#99, i_class_id#100, sum#134, isEmpty#135, sum#136]

(117) Exchange
Input [6]: [channel#106, i_brand_id#99, i_class_id#100, sum#134, isEmpty#135, sum#136]
Arguments: hashpartitioning(channel#106, i_brand_id#99, i_class_id#100, 5), ENSURE_REQUIREMENTS, [plan_id=15]

(118) HashAggregate [codegen id : 231]
Input [6]: [channel#106, i_brand_id#99, i_class_id#100, sum#134, isEmpty#135, sum#136]
Keys [3]: [channel#106, i_brand_id#99, i_class_id#100]
Functions [2]: [sum(sum_sales#129), sum(number_sales#130)]
Aggregate Attributes [2]: [sum(sum_sales#129)#137, sum(number_sales#130)#138]
Results [6]: [channel#106, i_brand_id#99, i_class_id#100, null AS i_category_id#139, sum(sum_sales#129)#137 AS sum(sum_sales)#140, sum(number_sales#130)#138 AS sum(number_sales)#141]

(119) ReusedExchange [Reuses operator id: 70]
Output [6]: [i_brand_id#142, i_class_id#143, i_category_id#144, sum#145, isEmpty#146, count#46]

(120) HashAggregate [codegen id : 269]
Input [6]: [i_brand_id#142, i_class_id#143, i_category_id#144, sum#145, isEmpty#146, count#46]
Keys [3]: [i_brand_id#142, i_class_id#143, i_category_id#144]
Functions [2]: [sum((cast(ss_quantity#147 as decimal(10,0)) * ss_list_price#148)), count(1)]
Aggregate Attributes [2]: [sum((cast(ss_quantity#147 as decimal(10,0)) * ss_list_price#148))#47, count(1)#48]
Results [6]: [store AS channel#149, i_brand_id#142, i_class_id#143, i_category_id#144, sum((cast(ss_quantity#147 as decimal(10,0)) * ss_list_price#148))#47 AS sales#150, count(1)#48 AS number_sales#151]

(121) Filter [codegen id : 269]
Input [6]: [channel#149, i_brand_id#142, i_class_id#143, i_category_id#144, sales#150, number_sales#151]
Condition : (isnotnull(sales#150) AND (cast(sales#150 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(122) ReusedExchange [Reuses operator id: 85]
Output [6]: [i_brand_id#152, i_class_id#153, i_category_id#154, sum#155, isEmpty#156, count#68]

(123) HashAggregate [codegen id : 307]
Input [6]: [i_brand_id#152, i_class_id#153, i_category_id#154, sum#155, isEmpty#156, count#68]
Keys [3]: [i_brand_id#152, i_class_id#153, i_category_id#154]
Functions [2]: [sum((cast(cs_quantity#157 as decimal(10,0)) * cs_list_price#158)), count(1)]
Aggregate Attributes [2]: [sum((cast(cs_quantity#157 as decimal(10,0)) * cs_list_price#158))#69, count(1)#70]
Results [6]: [catalog AS channel#159, i_brand_id#152, i_class_id#153, i_category_id#154, sum((cast(cs_quantity#157 as decimal(10,0)) * cs_list_price#158))#69 AS sales#160, count(1)#70 AS number_sales#161]

(124) Filter [codegen id : 307]
Input [6]: [channel#159, i_brand_id#152, i_class_id#153, i_category_id#154, sales#160, number_sales#161]
Condition : (isnotnull(sales#160) AND (cast(sales#160 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(125) ReusedExchange [Reuses operator id: 100]
Output [6]: [i_brand_id#162, i_class_id#163, i_category_id#164, sum#165, isEmpty#166, count#89]

(126) HashAggregate [codegen id : 345]
Input [6]: [i_brand_id#162, i_class_id#163, i_category_id#164, sum#165, isEmpty#166, count#89]
Keys [3]: [i_brand_id#162, i_class_id#163, i_category_id#164]
Functions [2]: [sum((cast(ws_quantity#167 as decimal(10,0)) * ws_list_price#168)), count(1)]
Aggregate Attributes [2]: [sum((cast(ws_quantity#167 as decimal(10,0)) * ws_list_price#168))#90, count(1)#91]
Results [6]: [web AS channel#169, i_brand_id#162, i_class_id#163, i_category_id#164, sum((cast(ws_quantity#167 as decimal(10,0)) * ws_list_price#168))#90 AS sales#170, count(1)#91 AS number_sales#171]

(127) Filter [codegen id : 345]
Input [6]: [channel#169, i_brand_id#162, i_class_id#163, i_category_id#164, sales#170, number_sales#171]
Condition : (isnotnull(sales#170) AND (cast(sales#170 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(128) Union

(129) HashAggregate [codegen id : 346]
Input [6]: [channel#149, i_brand_id#142, i_class_id#143, i_category_id#144, sales#150, number_sales#151]
Keys [4]: [channel#149, i_brand_id#142, i_class_id#143, i_category_id#144]
Functions [2]: [sum(sales#150), sum(number_sales#151)]
Aggregate Attributes [2]: [sum(sales#150)#95, sum(number_sales#151)#96]
Results [4]: [channel#149, i_brand_id#142, sum(sales#150)#95 AS sum_sales#172, sum(number_sales#151)#96 AS number_sales#173]

(130) HashAggregate [codegen id : 346]
Input [4]: [channel#149, i_brand_id#142, sum_sales#172, number_sales#173]
Keys [2]: [channel#149, i_brand_id#142]
Functions [2]: [partial_sum(sum_sales#172), partial_sum(number_sales#173)]
Aggregate Attributes [3]: [sum#174, isEmpty#175, sum#176]
Results [5]: [channel#149, i_brand_id#142, sum#177, isEmpty#178, sum#179]

(131) Exchange
Input [5]: [channel#149, i_brand_id#142, sum#177, isEmpty#178, sum#179]
Arguments: hashpartitioning(channel#149, i_brand_id#142, 5), ENSURE_REQUIREMENTS, [plan_id=16]

(132) HashAggregate [codegen id : 347]
Input [5]: [channel#149, i_brand_id#142, sum#177, isEmpty#178, sum#179]
Keys [2]: [channel#149, i_brand_id#142]
Functions [2]: [sum(sum_sales#172), sum(number_sales#173)]
Aggregate Attributes [2]: [sum(sum_sales#172)#180, sum(number_sales#173)#181]
Results [6]: [channel#149, i_brand_id#142, null AS i_class_id#182, null AS i_category_id#183, sum(sum_sales#172)#180 AS sum(sum_sales)#184, sum(number_sales#173)#181 AS sum(number_sales)#185]

(133) ReusedExchange [Reuses operator id: 70]
Output [6]: [i_brand_id#186, i_class_id#187, i_category_id#188, sum#189, isEmpty#190, count#46]

(134) HashAggregate [codegen id : 385]
Input [6]: [i_brand_id#186, i_class_id#187, i_category_id#188, sum#189, isEmpty#190, count#46]
Keys [3]: [i_brand_id#186, i_class_id#187, i_category_id#188]
Functions [2]: [sum((cast(ss_quantity#191 as decimal(10,0)) * ss_list_price#192)), count(1)]
Aggregate Attributes [2]: [sum((cast(ss_quantity#191 as decimal(10,0)) * ss_list_price#192))#47, count(1)#48]
Results [6]: [store AS channel#193, i_brand_id#186, i_class_id#187, i_category_id#188, sum((cast(ss_quantity#191 as decimal(10,0)) * ss_list_price#192))#47 AS sales#194, count(1)#48 AS number_sales#195]

(135) Filter [codegen id : 385]
Input [6]: [channel#193, i_brand_id#186, i_class_id#187, i_category_id#188, sales#194, number_sales#195]
Condition : (isnotnull(sales#194) AND (cast(sales#194 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(136) ReusedExchange [Reuses operator id: 85]
Output [6]: [i_brand_id#196, i_class_id#197, i_category_id#198, sum#199, isEmpty#200, count#68]

(137) HashAggregate [codegen id : 423]
Input [6]: [i_brand_id#196, i_class_id#197, i_category_id#198, sum#199, isEmpty#200, count#68]
Keys [3]: [i_brand_id#196, i_class_id#197, i_category_id#198]
Functions [2]: [sum((cast(cs_quantity#201 as decimal(10,0)) * cs_list_price#202)), count(1)]
Aggregate Attributes [2]: [sum((cast(cs_quantity#201 as decimal(10,0)) * cs_list_price#202))#69, count(1)#70]
Results [6]: [catalog AS channel#203, i_brand_id#196, i_class_id#197, i_category_id#198, sum((cast(cs_quantity#201 as decimal(10,0)) * cs_list_price#202))#69 AS sales#204, count(1)#70 AS number_sales#205]

(138) Filter [codegen id : 423]
Input [6]: [channel#203, i_brand_id#196, i_class_id#197, i_category_id#198, sales#204, number_sales#205]
Condition : (isnotnull(sales#204) AND (cast(sales#204 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(139) ReusedExchange [Reuses operator id: 100]
Output [6]: [i_brand_id#206, i_class_id#207, i_category_id#208, sum#209, isEmpty#210, count#89]

(140) HashAggregate [codegen id : 461]
Input [6]: [i_brand_id#206, i_class_id#207, i_category_id#208, sum#209, isEmpty#210, count#89]
Keys [3]: [i_brand_id#206, i_class_id#207, i_category_id#208]
Functions [2]: [sum((cast(ws_quantity#211 as decimal(10,0)) * ws_list_price#212)), count(1)]
Aggregate Attributes [2]: [sum((cast(ws_quantity#211 as decimal(10,0)) * ws_list_price#212))#90, count(1)#91]
Results [6]: [web AS channel#213, i_brand_id#206, i_class_id#207, i_category_id#208, sum((cast(ws_quantity#211 as decimal(10,0)) * ws_list_price#212))#90 AS sales#214, count(1)#91 AS number_sales#215]

(141) Filter [codegen id : 461]
Input [6]: [channel#213, i_brand_id#206, i_class_id#207, i_category_id#208, sales#214, number_sales#215]
Condition : (isnotnull(sales#214) AND (cast(sales#214 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(142) Union

(143) HashAggregate [codegen id : 462]
Input [6]: [channel#193, i_brand_id#186, i_class_id#187, i_category_id#188, sales#194, number_sales#195]
Keys [4]: [channel#193, i_brand_id#186, i_class_id#187, i_category_id#188]
Functions [2]: [sum(sales#194), sum(number_sales#195)]
Aggregate Attributes [2]: [sum(sales#194)#95, sum(number_sales#195)#96]
Results [3]: [channel#193, sum(sales#194)#95 AS sum_sales#216, sum(number_sales#195)#96 AS number_sales#217]

(144) HashAggregate [codegen id : 462]
Input [3]: [channel#193, sum_sales#216, number_sales#217]
Keys [1]: [channel#193]
Functions [2]: [partial_sum(sum_sales#216), partial_sum(number_sales#217)]
Aggregate Attributes [3]: [sum#218, isEmpty#219, sum#220]
Results [4]: [channel#193, sum#221, isEmpty#222, sum#223]

(145) Exchange
Input [4]: [channel#193, sum#221, isEmpty#222, sum#223]
Arguments: hashpartitioning(channel#193, 5), ENSURE_REQUIREMENTS, [plan_id=17]

(146) HashAggregate [codegen id : 463]
Input [4]: [channel#193, sum#221, isEmpty#222, sum#223]
Keys [1]: [channel#193]
Functions [2]: [sum(sum_sales#216), sum(number_sales#217)]
Aggregate Attributes [2]: [sum(sum_sales#216)#224, sum(number_sales#217)#225]
Results [6]: [channel#193, null AS i_brand_id#226, null AS i_class_id#227, null AS i_category_id#228, sum(sum_sales#216)#224 AS sum(sum_sales)#229, sum(number_sales#217)#225 AS sum(number_sales)#230]

(147) ReusedExchange [Reuses operator id: 70]
Output [6]: [i_brand_id#231, i_class_id#232, i_category_id#233, sum#234, isEmpty#235, count#46]

(148) HashAggregate [codegen id : 501]
Input [6]: [i_brand_id#231, i_class_id#232, i_category_id#233, sum#234, isEmpty#235, count#46]
Keys [3]: [i_brand_id#231, i_class_id#232, i_category_id#233]
Functions [2]: [sum((cast(ss_quantity#236 as decimal(10,0)) * ss_list_price#237)), count(1)]
Aggregate Attributes [2]: [sum((cast(ss_quantity#236 as decimal(10,0)) * ss_list_price#237))#47, count(1)#48]
Results [6]: [store AS channel#238, i_brand_id#231, i_class_id#232, i_category_id#233, sum((cast(ss_quantity#236 as decimal(10,0)) * ss_list_price#237))#47 AS sales#239, count(1)#48 AS number_sales#240]

(149) Filter [codegen id : 501]
Input [6]: [channel#238, i_brand_id#231, i_class_id#232, i_category_id#233, sales#239, number_sales#240]
Condition : (isnotnull(sales#239) AND (cast(sales#239 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(150) ReusedExchange [Reuses operator id: 85]
Output [6]: [i_brand_id#241, i_class_id#242, i_category_id#243, sum#244, isEmpty#245, count#68]

(151) HashAggregate [codegen id : 539]
Input [6]: [i_brand_id#241, i_class_id#242, i_category_id#243, sum#244, isEmpty#245, count#68]
Keys [3]: [i_brand_id#241, i_class_id#242, i_category_id#243]
Functions [2]: [sum((cast(cs_quantity#246 as decimal(10,0)) * cs_list_price#247)), count(1)]
Aggregate Attributes [2]: [sum((cast(cs_quantity#246 as decimal(10,0)) * cs_list_price#247))#69, count(1)#70]
Results [6]: [catalog AS channel#248, i_brand_id#241, i_class_id#242, i_category_id#243, sum((cast(cs_quantity#246 as decimal(10,0)) * cs_list_price#247))#69 AS sales#249, count(1)#70 AS number_sales#250]

(152) Filter [codegen id : 539]
Input [6]: [channel#248, i_brand_id#241, i_class_id#242, i_category_id#243, sales#249, number_sales#250]
Condition : (isnotnull(sales#249) AND (cast(sales#249 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(153) ReusedExchange [Reuses operator id: 100]
Output [6]: [i_brand_id#251, i_class_id#252, i_category_id#253, sum#254, isEmpty#255, count#89]

(154) HashAggregate [codegen id : 577]
Input [6]: [i_brand_id#251, i_class_id#252, i_category_id#253, sum#254, isEmpty#255, count#89]
Keys [3]: [i_brand_id#251, i_class_id#252, i_category_id#253]
Functions [2]: [sum((cast(ws_quantity#256 as decimal(10,0)) * ws_list_price#257)), count(1)]
Aggregate Attributes [2]: [sum((cast(ws_quantity#256 as decimal(10,0)) * ws_list_price#257))#90, count(1)#91]
Results [6]: [web AS channel#258, i_brand_id#251, i_class_id#252, i_category_id#253, sum((cast(ws_quantity#256 as decimal(10,0)) * ws_list_price#257))#90 AS sales#259, count(1)#91 AS number_sales#260]

(155) Filter [codegen id : 577]
Input [6]: [channel#258, i_brand_id#251, i_class_id#252, i_category_id#253, sales#259, number_sales#260]
Condition : (isnotnull(sales#259) AND (cast(sales#259 as decimal(32,6)) > cast(ReusedSubquery Subquery scalar-subquery#52, [id=#12] as decimal(32,6))))

(156) Union

(157) HashAggregate [codegen id : 578]
Input [6]: [channel#238, i_brand_id#231, i_class_id#232, i_category_id#233, sales#239, number_sales#240]
Keys [4]: [channel#238, i_brand_id#231, i_class_id#232, i_category_id#233]
Functions [2]: [sum(sales#239), sum(number_sales#240)]
Aggregate Attributes [2]: [sum(sales#239)#95, sum(number_sales#240)#96]
Results [2]: [sum(sales#239)#95 AS sum_sales#261, sum(number_sales#240)#96 AS number_sales#262]

(158) HashAggregate [codegen id : 578]
Input [2]: [sum_sales#261, number_sales#262]
Keys: []
Functions [2]: [partial_sum(sum_sales#261), partial_sum(number_sales#262)]
Aggregate Attributes [3]: [sum#263, isEmpty#264, sum#265]
Results [3]: [sum#266, isEmpty#267, sum#268]

(159) Exchange
Input [3]: [sum#266, isEmpty#267, sum#268]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=18]

(160) HashAggregate [codegen id : 579]
Input [3]: [sum#266, isEmpty#267, sum#268]
Keys: []
Functions [2]: [sum(sum_sales#261), sum(number_sales#262)]
Aggregate Attributes [2]: [sum(sum_sales#261)#269, sum(number_sales#262)#270]
Results [6]: [null AS channel#271, null AS i_brand_id#272, null AS i_class_id#273, null AS i_category_id#274, sum(sum_sales#261)#269 AS sum(sum_sales)#275, sum(number_sales#262)#270 AS sum(number_sales)#276]

(161) Union

(162) HashAggregate [codegen id : 580]
Input [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum_sales#97, number_sales#98]
Keys [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum_sales#97, number_sales#98]
Functions: []
Aggregate Attributes: []
Results [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum_sales#97, number_sales#98]

(163) Exchange
Input [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum_sales#97, number_sales#98]
Arguments: hashpartitioning(channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum_sales#97, number_sales#98, 5), ENSURE_REQUIREMENTS, [plan_id=19]

(164) HashAggregate [codegen id : 581]
Input [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum_sales#97, number_sales#98]
Keys [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum_sales#97, number_sales#98]
Functions: []
Aggregate Attributes: []
Results [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum_sales#97, number_sales#98]

(165) TakeOrderedAndProject
Input [6]: [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum_sales#97, number_sales#98]
Arguments: 100, [channel#49 ASC NULLS FIRST, i_brand_id#38 ASC NULLS FIRST, i_class_id#39 ASC NULLS FIRST, i_category_id#40 ASC NULLS FIRST], [channel#49, i_brand_id#38, i_class_id#39, i_category_id#40, sum_sales#97, number_sales#98]

===== Subqueries =====

Subquery:1 Hosting operator id = 72 Hosting Expression = Subquery scalar-subquery#52, [id=#12]
* HashAggregate (184)
+- Exchange (183)
   +- * HashAggregate (182)
      +- * Union (181)
         :- * Project (170)
         :  +- * BroadcastHashJoin Inner BuildRight (169)
         :     :- * ColumnarToRow (167)
         :     :  +- Scan parquet spark_catalog.default.store_sales (166)
         :     +- ReusedExchange (168)
         :- * Project (175)
         :  +- * BroadcastHashJoin Inner BuildRight (174)
         :     :- * ColumnarToRow (172)
         :     :  +- Scan parquet spark_catalog.default.catalog_sales (171)
         :     +- ReusedExchange (173)
         +- * Project (180)
            +- * BroadcastHashJoin Inner BuildRight (179)
               :- * ColumnarToRow (177)
               :  +- Scan parquet spark_catalog.default.web_sales (176)
               +- ReusedExchange (178)


(166) Scan parquet spark_catalog.default.store_sales
Output [3]: [ss_quantity#277, ss_list_price#278, ss_sold_date_sk#279]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ss_sold_date_sk#279), dynamicpruningexpression(ss_sold_date_sk#279 IN dynamicpruning#12)]
ReadSchema: struct<ss_quantity:int,ss_list_price:decimal(7,2)>

(167) ColumnarToRow [codegen id : 4]
Input [3]: [ss_quantity#277, ss_list_price#278, ss_sold_date_sk#279]

(168) ReusedExchange [Reuses operator id: 199]
Output [1]: [d_date_sk#280]

(169) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [ss_sold_date_sk#279]
Right keys [1]: [d_date_sk#280]
Join type: Inner
Join condition: None

(170) Project [codegen id : 4]
Output [2]: [ss_quantity#277 AS quantity#281, ss_list_price#278 AS list_price#282]
Input [4]: [ss_quantity#277, ss_list_price#278, ss_sold_date_sk#279, d_date_sk#280]

(171) Scan parquet spark_catalog.default.catalog_sales
Output [3]: [cs_quantity#283, cs_list_price#284, cs_sold_date_sk#285]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(cs_sold_date_sk#285), dynamicpruningexpression(cs_sold_date_sk#285 IN dynamicpruning#286)]
ReadSchema: struct<cs_quantity:int,cs_list_price:decimal(7,2)>

(172) ColumnarToRow
Input [3]: [cs_quantity#283, cs_list_price#284, cs_sold_date_sk#285]

(173) ReusedExchange [Reuses operator id: 189]
Output [1]: [d_date_sk#287]

(174) BroadcastHashJoin
Left keys [1]: [cs_sold_date_sk#285]
Right keys [1]: [d_date_sk#287]
Join type: Inner
Join condition: None

(175) Project
Output [2]: [cs_quantity#283 AS quantity#288, cs_list_price#284 AS list_price#289]
Input [4]: [cs_quantity#283, cs_list_price#284, cs_sold_date_sk#285, d_date_sk#287]

(176) Scan parquet spark_catalog.default.web_sales
Output [3]: [ws_quantity#290, ws_list_price#291, ws_sold_date_sk#292]
Batched: true
Location: InMemoryFileIndex []
PartitionFilters: [isnotnull(ws_sold_date_sk#292), dynamicpruningexpression(ws_sold_date_sk#292 IN dynamicpruning#286)]
ReadSchema: struct<ws_quantity:int,ws_list_price:decimal(7,2)>

(177) ColumnarToRow
Input [3]: [ws_quantity#290, ws_list_price#291, ws_sold_date_sk#292]

(178) ReusedExchange [Reuses operator id: 189]
Output [1]: [d_date_sk#293]

(179) BroadcastHashJoin
Left keys [1]: [ws_sold_date_sk#292]
Right keys [1]: [d_date_sk#293]
Join type: Inner
Join condition: None

(180) Project
Output [2]: [ws_quantity#290 AS quantity#294, ws_list_price#291 AS list_price#295]
Input [4]: [ws_quantity#290, ws_list_price#291, ws_sold_date_sk#292, d_date_sk#293]

(181) Union [codegen id : 4]

(182) HashAggregate [codegen id : 4]
Input [2]: [quantity#281, list_price#282]
Keys: []
Functions [1]: [partial_avg((cast(quantity#281 as decimal(10,0)) * list_price#282))]
Aggregate Attributes [2]: [sum#296, count#297]
Results [2]: [sum#298, count#299]

(183) Exchange
Input [2]: [sum#298, count#299]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=20]

(184) HashAggregate [codegen id : 5]
Input [2]: [sum#298, count#299]
Keys: []
Functions [1]: [avg((cast(quantity#281 as decimal(10,0)) * list_price#282))]
Aggregate Attributes [1]: [avg((cast(quantity#281 as decimal(10,0)) * list_price#282))#300]
Results [1]: [avg((cast(quantity#281 as decimal(10,0)) * list_price#282))#300 AS average_sales#301]

Subquery:2 Hosting operator id = 166 Hosting Expression = ss_sold_date_sk#279 IN dynamicpruning#12

Subquery:3 Hosting operator id = 171 Hosting Expression = cs_sold_date_sk#285 IN dynamicpruning#286
BroadcastExchange (189)
+- * Project (188)
   +- * Filter (187)
      +- * ColumnarToRow (186)
         +- Scan parquet spark_catalog.default.date_dim (185)


(185) Scan parquet spark_catalog.default.date_dim
Output [2]: [d_date_sk#287, d_year#302]
Batched: true
Location [not included in comparison]/{warehouse_dir}/date_dim]
PushedFilters: [IsNotNull(d_year), GreaterThanOrEqual(d_year,1998), LessThanOrEqual(d_year,2000), IsNotNull(d_date_sk)]
ReadSchema: struct<d_date_sk:int,d_year:int>

(186) ColumnarToRow [codegen id : 1]
Input [2]: [d_date_sk#287, d_year#302]

(187) Filter [codegen id : 1]
Input [2]: [d_date_sk#287, d_year#302]
Condition : (((isnotnull(d_year#302) AND (d_year#302 >= 1998)) AND (d_year#302 <= 2000)) AND isnotnull(d_date_sk#287))

(188) Project [codegen id : 1]
Output [1]: [d_date_sk#287]
Input [2]: [d_date_sk#287, d_year#302]

(189) BroadcastExchange
Input [1]: [d_date_sk#287]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=21]

Subquery:4 Hosting operator id = 176 Hosting Expression = ws_sold_date_sk#292 IN dynamicpruning#286

Subquery:5 Hosting operator id = 1 Hosting Expression = ss_sold_date_sk#4 IN dynamicpruning#5
BroadcastExchange (194)
+- * Project (193)
   +- * Filter (192)
      +- * ColumnarToRow (191)
         +- Scan parquet spark_catalog.default.date_dim (190)


(190) Scan parquet spark_catalog.default.date_dim
Output [3]: [d_date_sk#36, d_year#303, d_moy#304]
Batched: true
Location [not included in comparison]/{warehouse_dir}/date_dim]
PushedFilters: [IsNotNull(d_year), IsNotNull(d_moy), EqualTo(d_year,2000), EqualTo(d_moy,11), IsNotNull(d_date_sk)]
ReadSchema: struct<d_date_sk:int,d_year:int,d_moy:int>

(191) ColumnarToRow [codegen id : 1]
Input [3]: [d_date_sk#36, d_year#303, d_moy#304]

(192) Filter [codegen id : 1]
Input [3]: [d_date_sk#36, d_year#303, d_moy#304]
Condition : ((((isnotnull(d_year#303) AND isnotnull(d_moy#304)) AND (d_year#303 = 2000)) AND (d_moy#304 = 11)) AND isnotnull(d_date_sk#36))

(193) Project [codegen id : 1]
Output [1]: [d_date_sk#36]
Input [3]: [d_date_sk#36, d_year#303, d_moy#304]

(194) BroadcastExchange
Input [1]: [d_date_sk#36]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=22]

Subquery:6 Hosting operator id = 7 Hosting Expression = ss_sold_date_sk#11 IN dynamicpruning#12
BroadcastExchange (199)
+- * Project (198)
   +- * Filter (197)
      +- * ColumnarToRow (196)
         +- Scan parquet spark_catalog.default.date_dim (195)


(195) Scan parquet spark_catalog.default.date_dim
Output [2]: [d_date_sk#13, d_year#305]
Batched: true
Location [not included in comparison]/{warehouse_dir}/date_dim]
PushedFilters: [IsNotNull(d_year), GreaterThanOrEqual(d_year,1999), LessThanOrEqual(d_year,2001), IsNotNull(d_date_sk)]
ReadSchema: struct<d_date_sk:int,d_year:int>

(196) ColumnarToRow [codegen id : 1]
Input [2]: [d_date_sk#13, d_year#305]

(197) Filter [codegen id : 1]
Input [2]: [d_date_sk#13, d_year#305]
Condition : (((isnotnull(d_year#305) AND (d_year#305 >= 1999)) AND (d_year#305 <= 2001)) AND isnotnull(d_date_sk#13))

(198) Project [codegen id : 1]
Output [1]: [d_date_sk#13]
Input [2]: [d_date_sk#13, d_year#305]

(199) BroadcastExchange
Input [1]: [d_date_sk#13]
Arguments: HashedRelationBroadcastMode(List(cast(input[0, int, true] as bigint)),false), [plan_id=23]

Subquery:7 Hosting operator id = 18 Hosting Expression = cs_sold_date_sk#19 IN dynamicpruning#12

Subquery:8 Hosting operator id = 41 Hosting Expression = ws_sold_date_sk#29 IN dynamicpruning#12

Subquery:9 Hosting operator id = 87 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:10 Hosting operator id = 73 Hosting Expression = cs_sold_date_sk#56 IN dynamicpruning#5

Subquery:11 Hosting operator id = 102 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:12 Hosting operator id = 88 Hosting Expression = ws_sold_date_sk#77 IN dynamicpruning#5

Subquery:13 Hosting operator id = 107 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:14 Hosting operator id = 110 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:15 Hosting operator id = 113 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:16 Hosting operator id = 121 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:17 Hosting operator id = 124 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:18 Hosting operator id = 127 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:19 Hosting operator id = 135 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:20 Hosting operator id = 138 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:21 Hosting operator id = 141 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:22 Hosting operator id = 149 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:23 Hosting operator id = 152 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]

Subquery:24 Hosting operator id = 155 Hosting Expression = ReusedSubquery Subquery scalar-subquery#52, [id=#12]


