== Physical Plan ==
AdaptiveSparkPlan (247)
+- == Final Plan ==
Execute InsertIntoHadoopFsRelationCommand (3)
+- WriteFiles (2)
+- LocalTableScan (1)
+- == Initial Plan ==
Execute InsertIntoHadoopFsRelationCommand (246)
+- WriteFiles (245)
+- Project (244)
+- BroadcastNestedLoopJoin LeftOuter BuildRight (243)
:- LocalTableScan (4)
+- BroadcastExchange (242)
+- ObjectHashAggregate (241)
+- Exchange (240)
+- ObjectHashAggregate (239)
+- Project (238)
+- BroadcastHashJoin LeftOuter BuildRight (237)
:- Project (232)
: +- Filter (231)
: +- Generate (230)
: +- Project (229)
: +- Filter (228)
: +- InMemoryTableScan (5)
: +- InMemoryRelation (6)
: +- AdaptiveSparkPlan (227)
+- == Final Plan ==
ObjectHashAggregate (186)
+- ObjectHashAggregate (185)
+- * Project (184)
+- * SortMergeJoin LeftOuter (183)
:- * Sort (154)
: +- * HashAggregate (153)
: +- ShuffleQueryStage (152), Statistics(sizeInBytes=10.6 KiB, rowCount=679)
: +- Exchange (151)
: +- * HashAggregate (150)
: +- TableCacheQueryStage (149), Statistics(sizeInBytes=1513.1 KiB, rowCount=1.20E+3)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- AdaptiveSparkPlan (148)
+- == Final Plan ==
* Project (87)
+- * BroadcastHashJoin LeftOuter BuildRight (86)
:- Project (79)
: +- BroadcastHashJoin LeftOuter BuildRight (78)
: :- Project (75)
: : +- BroadcastHashJoin LeftOuter BuildRight (74)
: : :- Project (66)
: : : +- Project (65)
: : : +- Project (64)
: : : +- BroadcastHashJoin LeftOuter BuildRight (63)
: : : :- Project (55)
: : : : +- BroadcastHashJoin LeftOuter BuildRight (54)
: : : : :- Project (47)
: : : : : +- Project (46)
: : : : : +- * Project (45)
: : : : : +- Project (44)
: : : : : +- Project (43)
: : : : : +- Project (42)
: : : : : +- Project (41)
: : : : : +- BroadcastHashJoin LeftOuter BuildRight (40)
: : : : : :- * Project (31)
: : : : : : +- * BroadcastHashJoin LeftOuter BuildRight (30)
: : : : : : :- * Project (21)
: : : : : : : +- * BroadcastHashJoin LeftOuter BuildRight (20)
: : : : : : : :- ShuffleQueryStage (12), Statistics(sizeInBytes=471.8 KiB, rowCount=1.20E+3)
: : : : : : : : +- Exchange (11)
: : : : : : : : +- * ColumnarToRow (10)
: : : : : : : : +- Scan parquet (9)
: : : : : : : +- BroadcastQueryStage (19), Statistics(sizeInBytes=4.1 MiB, rowCount=3.80E+3)
: : : : : : : +- BroadcastExchange (18)
: : : : : : : +- ShuffleQueryStage (17), Statistics(sizeInBytes=3.6 MiB, rowCount=3.80E+3)
: : : : : : : +- Exchange (16)
: : : : : : : +- * Project (15)
: : : : : : : +- * ColumnarToRow (14)
: : : : : : : +- Scan parquet (13)
: : : : : : +- BroadcastQueryStage (29), Statistics(sizeInBytes=2.1 MiB, rowCount=1.43E+3)
: : : : : : +- BroadcastExchange (28)
: : : : : : +- ShuffleQueryStage (27), Statistics(sizeInBytes=1098.8 KiB, rowCount=1.43E+3)
: : : : : : +- Exchange (26)
: : : : : : +- * Project (25)
: : : : : : +- * Filter (24)
: : : : : : +- * ColumnarToRow (23)
: : : : : : +- Scan parquet (22)
: : : : : +- BroadcastQueryStage (39), Statistics(sizeInBytes=2.0 MiB, rowCount=151)
: : : : : +- BroadcastExchange (38)
: : : : : +- ShuffleQueryStage (37), Statistics(sizeInBytes=259.7 KiB, rowCount=151)
: : : : : +- Exchange (36)
: : : : : +- * Project (35)
: : : : : +- * Filter (34)
: : : : : +- * ColumnarToRow (33)
: : : : : +- Scan parquet (32)
: : : : +- BroadcastQueryStage (53), Statistics(sizeInBytes=2.1 MiB, rowCount=1.20E+3)
: : : : +- BroadcastExchange (52)
: : : : +- ShuffleQueryStage (51), Statistics(sizeInBytes=139.9 KiB, rowCount=1.20E+3)
: : : : +- Exchange (50)
: : : : +- * ColumnarToRow (49)
: : : : +- Scan parquet (48)
: : : +- BroadcastQueryStage (62), Statistics(sizeInBytes=2.0 MiB, rowCount=1)
: : : +- BroadcastExchange (61)
: : : +- ShuffleQueryStage (60), Statistics(sizeInBytes=168.0 B, rowCount=1)
: : : +- Exchange (59)
: : : +- * Project (58)
: : : +- * ColumnarToRow (57)
: : : +- Scan parquet (56)
: : +- BroadcastQueryStage (73), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
: : +- BroadcastExchange (72)
: : +- ShuffleQueryStage (71), Statistics(sizeInBytes=33.3 KiB, rowCount=572)
: : +- Exchange (70)
: : +- * Project (69)
: : +- * ColumnarToRow (68)
: : +- Scan parquet (67)
: +- BroadcastQueryStage (77), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
: +- ReusedExchange (76)
+- BroadcastQueryStage (85), Statistics(sizeInBytes=2.0 MiB, rowCount=179)
+- BroadcastExchange (84)
+- ShuffleQueryStage (83), Statistics(sizeInBytes=24.7 KiB, rowCount=179)
+- Exchange (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
+- == Initial Plan ==
Project (147)
+- BroadcastHashJoin LeftOuter BuildRight (146)
:- Project (143)
: +- BroadcastHashJoin LeftOuter BuildRight (142)
: :- Project (137)
: : +- BroadcastHashJoin LeftOuter BuildRight (136)
: : :- Project (132)
: : : +- Project (131)
: : : +- Project (130)
: : : +- BroadcastHashJoin LeftOuter BuildRight (129)
: : : :- Project (125)
: : : : +- BroadcastHashJoin LeftOuter BuildRight (124)
: : : : :- Project (121)
: : : : : +- Project (120)
: : : : : +- BroadcastHashJoin LeftOuter BuildRight (119)
: : : : : :- Project (113)
: : : : : : +- BroadcastHashJoin LeftOuter BuildRight (112)
: : : : : : :- Project (106)
: : : : : : : +- Project (105)
: : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (104)
: : : : : : : :- Project (99)
: : : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (98)
: : : : : : : : :- Project (93)
: : : : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (92)
: : : : : : : : : :- Exchange (88)
: : : : : : : : : : +- Scan parquet (9)
: : : : : : : : : +- BroadcastExchange (91)
: : : : : : : : : +- Exchange (90)
: : : : : : : : : +- Project (89)
: : : : : : : : : +- Scan parquet (13)
: : : : : : : : +- BroadcastExchange (97)
: : : : : : : : +- Exchange (96)
: : : : : : : : +- Project (95)
: : : : : : : : +- Filter (94)
: : : : : : : : +- Scan parquet (22)
: : : : : : : +- BroadcastExchange (103)
: : : : : : : +- Exchange (102)
: : : : : : : +- Project (101)
: : : : : : : +- Filter (100)
: : : : : : : +- Scan parquet (32)
: : : : : : +- BroadcastExchange (111)
: : : : : : +- Project (110)
: : : : : : +- InMemoryTableScan (107)
: : : : : : +- InMemoryRelation (108)
: : : : : : +- LocalTableScan (109)
: : : : : +- BroadcastExchange (118)
: : : : : +- Project (117)
: : : : : +- Filter (116)
: : : : : +- InMemoryTableScan (114)
: : : : : +- InMemoryRelation (115)
: : : : : +- LocalTableScan (109)
: : : : +- BroadcastExchange (123)
: : : : +- Exchange (122)
: : : : +- Scan parquet (48)
: : : +- BroadcastExchange (128)
: : : +- Exchange (127)
: : : +- Project (126)
: : : +- Scan parquet (56)
: : +- BroadcastExchange (135)
: : +- Exchange (134)
: : +- Project (133)
: : +- Scan parquet (67)
: +- BroadcastExchange (141)
: +- Exchange (140)
: +- Project (139)
: +- Scan parquet (138)
+- BroadcastExchange (145)
+- Exchange (144)
+- Scan parquet (80)
+- * Sort (182)
+- * Project (181)
+- * BroadcastHashJoin LeftOuter BuildRight (180)
:- * Project (172)
: +- * BroadcastHashJoin Inner BuildRight (171)
: :- * Project (164)
: : +- * Project (163)
: : +- * HashAggregate (162)
: : +- ShuffleQueryStage (161), Statistics(sizeInBytes=10.6 KiB, rowCount=679)
: : +- Exchange (160)
: : +- * HashAggregate (159)
: : +- * Filter (158)
: : +- TableCacheQueryStage (157), Statistics(sizeInBytes=1513.1 KiB, rowCount=1.20E+3)
: : +- InMemoryTableScan (155)
: : +- InMemoryRelation (156)
: : +- AdaptiveSparkPlan (148)
+- == Final Plan ==
* Project (87)
+- * BroadcastHashJoin LeftOuter BuildRight (86)
:- Project (79)
: +- BroadcastHashJoin LeftOuter BuildRight (78)
: :- Project (75)
: : +- BroadcastHashJoin LeftOuter BuildRight (74)
: : :- Project (66)
: : : +- Project (65)
: : : +- Project (64)
: : : +- BroadcastHashJoin LeftOuter BuildRight (63)
: : : :- Project (55)
: : : : +- BroadcastHashJoin LeftOuter BuildRight (54)
: : : : :- Project (47)
: : : : : +- Project (46)
: : : : : +- * Project (45)
: : : : : +- Project (44)
: : : : : +- Project (43)
: : : : : +- Project (42)
: : : : : +- Project (41)
: : : : : +- BroadcastHashJoin LeftOuter BuildRight (40)
: : : : : :- * Project (31)
: : : : : : +- * BroadcastHashJoin LeftOuter BuildRight (30)
: : : : : : :- * Project (21)
: : : : : : : +- * BroadcastHashJoin LeftOuter BuildRight (20)
: : : : : : : :- ShuffleQueryStage (12), Statistics(sizeInBytes=471.8 KiB, rowCount=1.20E+3)
: : : : : : : : +- Exchange (11)
: : : : : : : : +- * ColumnarToRow (10)
: : : : : : : : +- Scan parquet (9)
: : : : : : : +- BroadcastQueryStage (19), Statistics(sizeInBytes=4.1 MiB, rowCount=3.80E+3)
: : : : : : : +- BroadcastExchange (18)
: : : : : : : +- ShuffleQueryStage (17), Statistics(sizeInBytes=3.6 MiB, rowCount=3.80E+3)
: : : : : : : +- Exchange (16)
: : : : : : : +- * Project (15)
: : : : : : : +- * ColumnarToRow (14)
: : : : : : : +- Scan parquet (13)
: : : : : : +- BroadcastQueryStage (29), Statistics(sizeInBytes=2.1 MiB, rowCount=1.43E+3)
: : : : : : +- BroadcastExchange (28)
: : : : : : +- ShuffleQueryStage (27), Statistics(sizeInBytes=1098.8 KiB, rowCount=1.43E+3)
: : : : : : +- Exchange (26)
: : : : : : +- * Project (25)
: : : : : : +- * Filter (24)
: : : : : : +- * ColumnarToRow (23)
: : : : : : +- Scan parquet (22)
: : : : : +- BroadcastQueryStage (39), Statistics(sizeInBytes=2.0 MiB, rowCount=151)
: : : : : +- BroadcastExchange (38)
: : : : : +- ShuffleQueryStage (37), Statistics(sizeInBytes=259.7 KiB, rowCount=151)
: : : : : +- Exchange (36)
: : : : : +- * Project (35)
: : : : : +- * Filter (34)
: : : : : +- * ColumnarToRow (33)
: : : : : +- Scan parquet (32)
: : : : +- BroadcastQueryStage (53), Statistics(sizeInBytes=2.1 MiB, rowCount=1.20E+3)
: : : : +- BroadcastExchange (52)
: : : : +- ShuffleQueryStage (51), Statistics(sizeInBytes=139.9 KiB, rowCount=1.20E+3)
: : : : +- Exchange (50)
: : : : +- * ColumnarToRow (49)
: : : : +- Scan parquet (48)
: : : +- BroadcastQueryStage (62), Statistics(sizeInBytes=2.0 MiB, rowCount=1)
: : : +- BroadcastExchange (61)
: : : +- ShuffleQueryStage (60), Statistics(sizeInBytes=168.0 B, rowCount=1)
: : : +- Exchange (59)
: : : +- * Project (58)
: : : +- * ColumnarToRow (57)
: : : +- Scan parquet (56)
: : +- BroadcastQueryStage (73), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
: : +- BroadcastExchange (72)
: : +- ShuffleQueryStage (71), Statistics(sizeInBytes=33.3 KiB, rowCount=572)
: : +- Exchange (70)
: : +- * Project (69)
: : +- * ColumnarToRow (68)
: : +- Scan parquet (67)
: +- BroadcastQueryStage (77), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
: +- ReusedExchange (76)
+- BroadcastQueryStage (85), Statistics(sizeInBytes=2.0 MiB, rowCount=179)
+- BroadcastExchange (84)
+- ShuffleQueryStage (83), Statistics(sizeInBytes=24.7 KiB, rowCount=179)
+- Exchange (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
+- == Initial Plan ==
Project (147)
+- BroadcastHashJoin LeftOuter BuildRight (146)
:- Project (143)
: +- BroadcastHashJoin LeftOuter BuildRight (142)
: :- Project (137)
: : +- BroadcastHashJoin LeftOuter BuildRight (136)
: : :- Project (132)
: : : +- Project (131)
: : : +- Project (130)
: : : +- BroadcastHashJoin LeftOuter BuildRight (129)
: : : :- Project (125)
: : : : +- BroadcastHashJoin LeftOuter BuildRight (124)
: : : : :- Project (121)
: : : : : +- Project (120)
: : : : : +- BroadcastHashJoin LeftOuter BuildRight (119)
: : : : : :- Project (113)
: : : : : : +- BroadcastHashJoin LeftOuter BuildRight (112)
: : : : : : :- Project (106)
: : : : : : : +- Project (105)
: : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (104)
: : : : : : : :- Project (99)
: : : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (98)
: : : : : : : : :- Project (93)
: : : : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (92)
: : : : : : : : : :- Exchange (88)
: : : : : : : : : : +- Scan parquet (9)
: : : : : : : : : +- BroadcastExchange (91)
: : : : : : : : : +- Exchange (90)
: : : : : : : : : +- Project (89)
: : : : : : : : : +- Scan parquet (13)
: : : : : : : : +- BroadcastExchange (97)
: : : : : : : : +- Exchange (96)
: : : : : : : : +- Project (95)
: : : : : : : : +- Filter (94)
: : : : : : : : +- Scan parquet (22)
: : : : : : : +- BroadcastExchange (103)
: : : : : : : +- Exchange (102)
: : : : : : : +- Project (101)
: : : : : : : +- Filter (100)
: : : : : : : +- Scan parquet (32)
: : : : : : +- BroadcastExchange (111)
: : : : : : +- Project (110)
: : : : : : +- InMemoryTableScan (107)
: : : : : : +- InMemoryRelation (108)
: : : : : : +- LocalTableScan (109)
: : : : : +- BroadcastExchange (118)
: : : : : +- Project (117)
: : : : : +- Filter (116)
: : : : : +- InMemoryTableScan (114)
: : : : : +- InMemoryRelation (115)
: : : : : +- LocalTableScan (109)
: : : : +- BroadcastExchange (123)
: : : : +- Exchange (122)
: : : : +- Scan parquet (48)
: : : +- BroadcastExchange (128)
: : : +- Exchange (127)
: : : +- Project (126)
: : : +- Scan parquet (56)
: : +- BroadcastExchange (135)
: : +- Exchange (134)
: : +- Project (133)
: : +- Scan parquet (67)
: +- BroadcastExchange (141)
: +- Exchange (140)
: +- Project (139)
: +- Scan parquet (138)
+- BroadcastExchange (145)
+- Exchange (144)
+- Scan parquet (80)
: +- BroadcastQueryStage (170), Statistics(sizeInBytes=2.0 MiB, rowCount=3)
: +- BroadcastExchange (169)
: +- ShuffleQueryStage (168), Statistics(sizeInBytes=352.0 B, rowCount=3)
: +- Exchange (167)
: +- * ColumnarToRow (166)
: +- Scan parquet (165)
+- BroadcastQueryStage (179), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
+- BroadcastExchange (178)
+- ShuffleQueryStage (177), Statistics(sizeInBytes=33.3 KiB, rowCount=572)
+- Exchange (176)
+- * Project (175)
+- * ColumnarToRow (174)
+- Scan parquet (173)
+- == Initial Plan ==
ObjectHashAggregate (226)
+- ObjectHashAggregate (225)
+- Project (224)
+- SortMergeJoin LeftOuter (223)
:- Sort (190)
: +- HashAggregate (189)
: +- Exchange (188)
: +- HashAggregate (187)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- AdaptiveSparkPlan (148)
+- == Final Plan ==
* Project (87)
+- * BroadcastHashJoin LeftOuter BuildRight (86)
:- Project (79)
: +- BroadcastHashJoin LeftOuter BuildRight (78)
: :- Project (75)
: : +- BroadcastHashJoin LeftOuter BuildRight (74)
: : :- Project (66)
: : : +- Project (65)
: : : +- Project (64)
: : : +- BroadcastHashJoin LeftOuter BuildRight (63)
: : : :- Project (55)
: : : : +- BroadcastHashJoin LeftOuter BuildRight (54)
: : : : :- Project (47)
: : : : : +- Project (46)
: : : : : +- * Project (45)
: : : : : +- Project (44)
: : : : : +- Project (43)
: : : : : +- Project (42)
: : : : : +- Project (41)
: : : : : +- BroadcastHashJoin LeftOuter BuildRight (40)
: : : : : :- * Project (31)
: : : : : : +- * BroadcastHashJoin LeftOuter BuildRight (30)
: : : : : : :- * Project (21)
: : : : : : : +- * BroadcastHashJoin LeftOuter BuildRight (20)
: : : : : : : :- ShuffleQueryStage (12), Statistics(sizeInBytes=471.8 KiB, rowCount=1.20E+3)
: : : : : : : : +- Exchange (11)
: : : : : : : : +- * ColumnarToRow (10)
: : : : : : : : +- Scan parquet (9)
: : : : : : : +- BroadcastQueryStage (19), Statistics(sizeInBytes=4.1 MiB, rowCount=3.80E+3)
: : : : : : : +- BroadcastExchange (18)
: : : : : : : +- ShuffleQueryStage (17), Statistics(sizeInBytes=3.6 MiB, rowCount=3.80E+3)
: : : : : : : +- Exchange (16)
: : : : : : : +- * Project (15)
: : : : : : : +- * ColumnarToRow (14)
: : : : : : : +- Scan parquet (13)
: : : : : : +- BroadcastQueryStage (29), Statistics(sizeInBytes=2.1 MiB, rowCount=1.43E+3)
: : : : : : +- BroadcastExchange (28)
: : : : : : +- ShuffleQueryStage (27), Statistics(sizeInBytes=1098.8 KiB, rowCount=1.43E+3)
: : : : : : +- Exchange (26)
: : : : : : +- * Project (25)
: : : : : : +- * Filter (24)
: : : : : : +- * ColumnarToRow (23)
: : : : : : +- Scan parquet (22)
: : : : : +- BroadcastQueryStage (39), Statistics(sizeInBytes=2.0 MiB, rowCount=151)
: : : : : +- BroadcastExchange (38)
: : : : : +- ShuffleQueryStage (37), Statistics(sizeInBytes=259.7 KiB, rowCount=151)
: : : : : +- Exchange (36)
: : : : : +- * Project (35)
: : : : : +- * Filter (34)
: : : : : +- * ColumnarToRow (33)
: : : : : +- Scan parquet (32)
: : : : +- BroadcastQueryStage (53), Statistics(sizeInBytes=2.1 MiB, rowCount=1.20E+3)
: : : : +- BroadcastExchange (52)
: : : : +- ShuffleQueryStage (51), Statistics(sizeInBytes=139.9 KiB, rowCount=1.20E+3)
: : : : +- Exchange (50)
: : : : +- * ColumnarToRow (49)
: : : : +- Scan parquet (48)
: : : +- BroadcastQueryStage (62), Statistics(sizeInBytes=2.0 MiB, rowCount=1)
: : : +- BroadcastExchange (61)
: : : +- ShuffleQueryStage (60), Statistics(sizeInBytes=168.0 B, rowCount=1)
: : : +- Exchange (59)
: : : +- * Project (58)
: : : +- * ColumnarToRow (57)
: : : +- Scan parquet (56)
: : +- BroadcastQueryStage (73), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
: : +- BroadcastExchange (72)
: : +- ShuffleQueryStage (71), Statistics(sizeInBytes=33.3 KiB, rowCount=572)
: : +- Exchange (70)
: : +- * Project (69)
: : +- * ColumnarToRow (68)
: : +- Scan parquet (67)
: +- BroadcastQueryStage (77), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
: +- ReusedExchange (76)
+- BroadcastQueryStage (85), Statistics(sizeInBytes=2.0 MiB, rowCount=179)
+- BroadcastExchange (84)
+- ShuffleQueryStage (83), Statistics(sizeInBytes=24.7 KiB, rowCount=179)
+- Exchange (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
+- == Initial Plan ==
Project (147)
+- BroadcastHashJoin LeftOuter BuildRight (146)
:- Project (143)
: +- BroadcastHashJoin LeftOuter BuildRight (142)
: :- Project (137)
: : +- BroadcastHashJoin LeftOuter BuildRight (136)
: : :- Project (132)
: : : +- Project (131)
: : : +- Project (130)
: : : +- BroadcastHashJoin LeftOuter BuildRight (129)
: : : :- Project (125)
: : : : +- BroadcastHashJoin LeftOuter BuildRight (124)
: : : : :- Project (121)
: : : : : +- Project (120)
: : : : : +- BroadcastHashJoin LeftOuter BuildRight (119)
: : : : : :- Project (113)
: : : : : : +- BroadcastHashJoin LeftOuter BuildRight (112)
: : : : : : :- Project (106)
: : : : : : : +- Project (105)
: : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (104)
: : : : : : : :- Project (99)
: : : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (98)
: : : : : : : : :- Project (93)
: : : : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (92)
: : : : : : : : : :- Exchange (88)
: : : : : : : : : : +- Scan parquet (9)
: : : : : : : : : +- BroadcastExchange (91)
: : : : : : : : : +- Exchange (90)
: : : : : : : : : +- Project (89)
: : : : : : : : : +- Scan parquet (13)
: : : : : : : : +- BroadcastExchange (97)
: : : : : : : : +- Exchange (96)
: : : : : : : : +- Project (95)
: : : : : : : : +- Filter (94)
: : : : : : : : +- Scan parquet (22)
: : : : : : : +- BroadcastExchange (103)
: : : : : : : +- Exchange (102)
: : : : : : : +- Project (101)
: : : : : : : +- Filter (100)
: : : : : : : +- Scan parquet (32)
: : : : : : +- BroadcastExchange (111)
: : : : : : +- Project (110)
: : : : : : +- InMemoryTableScan (107)
: : : : : : +- InMemoryRelation (108)
: : : : : : +- LocalTableScan (109)
: : : : : +- BroadcastExchange (118)
: : : : : +- Project (117)
: : : : : +- Filter (116)
: : : : : +- InMemoryTableScan (114)
: : : : : +- InMemoryRelation (115)
: : : : : +- LocalTableScan (109)
: : : : +- BroadcastExchange (123)
: : : : +- Exchange (122)
: : : : +- Scan parquet (48)
: : : +- BroadcastExchange (128)
: : : +- Exchange (127)
: : : +- Project (126)
: : : +- Scan parquet (56)
: : +- BroadcastExchange (135)
: : +- Exchange (134)
: : +- Project (133)
: : +- Scan parquet (67)
: +- BroadcastExchange (141)
: +- Exchange (140)
: +- Project (139)
: +- Scan parquet (138)
+- BroadcastExchange (145)
+- Exchange (144)
+- Scan parquet (80)
+- Project (222)
+- BroadcastHashJoin LeftOuter BuildRight (221)
:- Project (217)
: +- BroadcastHashJoin Inner BuildRight (216)
: :- Project (213)
: : +- SortMergeJoin LeftOuter (212)
: : :- Sort (195)
: : : +- HashAggregate (194)
: : : +- Exchange (193)
: : : +- HashAggregate (192)
: : : +- Filter (191)
: : : +- InMemoryTableScan (155)
: : : +- InMemoryRelation (156)
: : : +- AdaptiveSparkPlan (148)
+- == Final Plan ==
* Project (87)
+- * BroadcastHashJoin LeftOuter BuildRight (86)
:- Project (79)
: +- BroadcastHashJoin LeftOuter BuildRight (78)
: :- Project (75)
: : +- BroadcastHashJoin LeftOuter BuildRight (74)
: : :- Project (66)
: : : +- Project (65)
: : : +- Project (64)
: : : +- BroadcastHashJoin LeftOuter BuildRight (63)
: : : :- Project (55)
: : : : +- BroadcastHashJoin LeftOuter BuildRight (54)
: : : : :- Project (47)
: : : : : +- Project (46)
: : : : : +- * Project (45)
: : : : : +- Project (44)
: : : : : +- Project (43)
: : : : : +- Project (42)
: : : : : +- Project (41)
: : : : : +- BroadcastHashJoin LeftOuter BuildRight (40)
: : : : : :- * Project (31)
: : : : : : +- * BroadcastHashJoin LeftOuter BuildRight (30)
: : : : : : :- * Project (21)
: : : : : : : +- * BroadcastHashJoin LeftOuter BuildRight (20)
: : : : : : : :- ShuffleQueryStage (12), Statistics(sizeInBytes=471.8 KiB, rowCount=1.20E+3)
: : : : : : : : +- Exchange (11)
: : : : : : : : +- * ColumnarToRow (10)
: : : : : : : : +- Scan parquet (9)
: : : : : : : +- BroadcastQueryStage (19), Statistics(sizeInBytes=4.1 MiB, rowCount=3.80E+3)
: : : : : : : +- BroadcastExchange (18)
: : : : : : : +- ShuffleQueryStage (17), Statistics(sizeInBytes=3.6 MiB, rowCount=3.80E+3)
: : : : : : : +- Exchange (16)
: : : : : : : +- * Project (15)
: : : : : : : +- * ColumnarToRow (14)
: : : : : : : +- Scan parquet (13)
: : : : : : +- BroadcastQueryStage (29), Statistics(sizeInBytes=2.1 MiB, rowCount=1.43E+3)
: : : : : : +- BroadcastExchange (28)
: : : : : : +- ShuffleQueryStage (27), Statistics(sizeInBytes=1098.8 KiB, rowCount=1.43E+3)
: : : : : : +- Exchange (26)
: : : : : : +- * Project (25)
: : : : : : +- * Filter (24)
: : : : : : +- * ColumnarToRow (23)
: : : : : : +- Scan parquet (22)
: : : : : +- BroadcastQueryStage (39), Statistics(sizeInBytes=2.0 MiB, rowCount=151)
: : : : : +- BroadcastExchange (38)
: : : : : +- ShuffleQueryStage (37), Statistics(sizeInBytes=259.7 KiB, rowCount=151)
: : : : : +- Exchange (36)
: : : : : +- * Project (35)
: : : : : +- * Filter (34)
: : : : : +- * ColumnarToRow (33)
: : : : : +- Scan parquet (32)
: : : : +- BroadcastQueryStage (53), Statistics(sizeInBytes=2.1 MiB, rowCount=1.20E+3)
: : : : +- BroadcastExchange (52)
: : : : +- ShuffleQueryStage (51), Statistics(sizeInBytes=139.9 KiB, rowCount=1.20E+3)
: : : : +- Exchange (50)
: : : : +- * ColumnarToRow (49)
: : : : +- Scan parquet (48)
: : : +- BroadcastQueryStage (62), Statistics(sizeInBytes=2.0 MiB, rowCount=1)
: : : +- BroadcastExchange (61)
: : : +- ShuffleQueryStage (60), Statistics(sizeInBytes=168.0 B, rowCount=1)
: : : +- Exchange (59)
: : : +- * Project (58)
: : : +- * ColumnarToRow (57)
: : : +- Scan parquet (56)
: : +- BroadcastQueryStage (73), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
: : +- BroadcastExchange (72)
: : +- ShuffleQueryStage (71), Statistics(sizeInBytes=33.3 KiB, rowCount=572)
: : +- Exchange (70)
: : +- * Project (69)
: : +- * ColumnarToRow (68)
: : +- Scan parquet (67)
: +- BroadcastQueryStage (77), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
: +- ReusedExchange (76)
+- BroadcastQueryStage (85), Statistics(sizeInBytes=2.0 MiB, rowCount=179)
+- BroadcastExchange (84)
+- ShuffleQueryStage (83), Statistics(sizeInBytes=24.7 KiB, rowCount=179)
+- Exchange (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
+- == Initial Plan ==
Project (147)
+- BroadcastHashJoin LeftOuter BuildRight (146)
:- Project (143)
: +- BroadcastHashJoin LeftOuter BuildRight (142)
: :- Project (137)
: : +- BroadcastHashJoin LeftOuter BuildRight (136)
: : :- Project (132)
: : : +- Project (131)
: : : +- Project (130)
: : : +- BroadcastHashJoin LeftOuter BuildRight (129)
: : : :- Project (125)
: : : : +- BroadcastHashJoin LeftOuter BuildRight (124)
: : : : :- Project (121)
: : : : : +- Project (120)
: : : : : +- BroadcastHashJoin LeftOuter BuildRight (119)
: : : : : :- Project (113)
: : : : : : +- BroadcastHashJoin LeftOuter BuildRight (112)
: : : : : : :- Project (106)
: : : : : : : +- Project (105)
: : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (104)
: : : : : : : :- Project (99)
: : : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (98)
: : : : : : : : :- Project (93)
: : : : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (92)
: : : : : : : : : :- Exchange (88)
: : : : : : : : : : +- Scan parquet (9)
: : : : : : : : : +- BroadcastExchange (91)
: : : : : : : : : +- Exchange (90)
: : : : : : : : : +- Project (89)
: : : : : : : : : +- Scan parquet (13)
: : : : : : : : +- BroadcastExchange (97)
: : : : : : : : +- Exchange (96)
: : : : : : : : +- Project (95)
: : : : : : : : +- Filter (94)
: : : : : : : : +- Scan parquet (22)
: : : : : : : +- BroadcastExchange (103)
: : : : : : : +- Exchange (102)
: : : : : : : +- Project (101)
: : : : : : : +- Filter (100)
: : : : : : : +- Scan parquet (32)
: : : : : : +- BroadcastExchange (111)
: : : : : : +- Project (110)
: : : : : : +- InMemoryTableScan (107)
: : : : : : +- InMemoryRelation (108)
: : : : : : +- LocalTableScan (109)
: : : : : +- BroadcastExchange (118)
: : : : : +- Project (117)
: : : : : +- Filter (116)
: : : : : +- InMemoryTableScan (114)
: : : : : +- InMemoryRelation (115)
: : : : : +- LocalTableScan (109)
: : : : +- BroadcastExchange (123)
: : : : +- Exchange (122)
: : : : +- Scan parquet (48)
: : : +- BroadcastExchange (128)
: : : +- Exchange (127)
: : : +- Project (126)
: : : +- Scan parquet (56)
: : +- BroadcastExchange (135)
: : +- Exchange (134)
: : +- Project (133)
: : +- Scan parquet (67)
: +- BroadcastExchange (141)
: +- Exchange (140)
: +- Project (139)
: +- Scan parquet (138)
+- BroadcastExchange (145)
+- Exchange (144)
+- Scan parquet (80)
: : +- Sort (211)
: : +- Exchange (210)
: : +- Project (209)
: : +- BroadcastHashJoin Inner BuildRight (208)
: : :- HashAggregate (203)
: : : +- Exchange (202)
: : : +- HashAggregate (201)
: : : +- Filter (200)
: : : +- Generate (199)
: : : +- Filter (198)
: : : +- InMemoryTableScan (196)
: : : +- InMemoryRelation (197)
: : : +- AdaptiveSparkPlan (148)
+- == Final Plan ==
* Project (87)
+- * BroadcastHashJoin LeftOuter BuildRight (86)
:- Project (79)
: +- BroadcastHashJoin LeftOuter BuildRight (78)
: :- Project (75)
: : +- BroadcastHashJoin LeftOuter BuildRight (74)
: : :- Project (66)
: : : +- Project (65)
: : : +- Project (64)
: : : +- BroadcastHashJoin LeftOuter BuildRight (63)
: : : :- Project (55)
: : : : +- BroadcastHashJoin LeftOuter BuildRight (54)
: : : : :- Project (47)
: : : : : +- Project (46)
: : : : : +- * Project (45)
: : : : : +- Project (44)
: : : : : +- Project (43)
: : : : : +- Project (42)
: : : : : +- Project (41)
: : : : : +- BroadcastHashJoin LeftOuter BuildRight (40)
: : : : : :- * Project (31)
: : : : : : +- * BroadcastHashJoin LeftOuter BuildRight (30)
: : : : : : :- * Project (21)
: : : : : : : +- * BroadcastHashJoin LeftOuter BuildRight (20)
: : : : : : : :- ShuffleQueryStage (12), Statistics(sizeInBytes=471.8 KiB, rowCount=1.20E+3)
: : : : : : : : +- Exchange (11)
: : : : : : : : +- * ColumnarToRow (10)
: : : : : : : : +- Scan parquet (9)
: : : : : : : +- BroadcastQueryStage (19), Statistics(sizeInBytes=4.1 MiB, rowCount=3.80E+3)
: : : : : : : +- BroadcastExchange (18)
: : : : : : : +- ShuffleQueryStage (17), Statistics(sizeInBytes=3.6 MiB, rowCount=3.80E+3)
: : : : : : : +- Exchange (16)
: : : : : : : +- * Project (15)
: : : : : : : +- * ColumnarToRow (14)
: : : : : : : +- Scan parquet (13)
: : : : : : +- BroadcastQueryStage (29), Statistics(sizeInBytes=2.1 MiB, rowCount=1.43E+3)
: : : : : : +- BroadcastExchange (28)
: : : : : : +- ShuffleQueryStage (27), Statistics(sizeInBytes=1098.8 KiB, rowCount=1.43E+3)
: : : : : : +- Exchange (26)
: : : : : : +- * Project (25)
: : : : : : +- * Filter (24)
: : : : : : +- * ColumnarToRow (23)
: : : : : : +- Scan parquet (22)
: : : : : +- BroadcastQueryStage (39), Statistics(sizeInBytes=2.0 MiB, rowCount=151)
: : : : : +- BroadcastExchange (38)
: : : : : +- ShuffleQueryStage (37), Statistics(sizeInBytes=259.7 KiB, rowCount=151)
: : : : : +- Exchange (36)
: : : : : +- * Project (35)
: : : : : +- * Filter (34)
: : : : : +- * ColumnarToRow (33)
: : : : : +- Scan parquet (32)
: : : : +- BroadcastQueryStage (53), Statistics(sizeInBytes=2.1 MiB, rowCount=1.20E+3)
: : : : +- BroadcastExchange (52)
: : : : +- ShuffleQueryStage (51), Statistics(sizeInBytes=139.9 KiB, rowCount=1.20E+3)
: : : : +- Exchange (50)
: : : : +- * ColumnarToRow (49)
: : : : +- Scan parquet (48)
: : : +- BroadcastQueryStage (62), Statistics(sizeInBytes=2.0 MiB, rowCount=1)
: : : +- BroadcastExchange (61)
: : : +- ShuffleQueryStage (60), Statistics(sizeInBytes=168.0 B, rowCount=1)
: : : +- Exchange (59)
: : : +- * Project (58)
: : : +- * ColumnarToRow (57)
: : : +- Scan parquet (56)
: : +- BroadcastQueryStage (73), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
: : +- BroadcastExchange (72)
: : +- ShuffleQueryStage (71), Statistics(sizeInBytes=33.3 KiB, rowCount=572)
: : +- Exchange (70)
: : +- * Project (69)
: : +- * ColumnarToRow (68)
: : +- Scan parquet (67)
: +- BroadcastQueryStage (77), Statistics(sizeInBytes=2.0 MiB, rowCount=572)
: +- ReusedExchange (76)
+- BroadcastQueryStage (85), Statistics(sizeInBytes=2.0 MiB, rowCount=179)
+- BroadcastExchange (84)
+- ShuffleQueryStage (83), Statistics(sizeInBytes=24.7 KiB, rowCount=179)
+- Exchange (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
+- == Initial Plan ==
Project (147)
+- BroadcastHashJoin LeftOuter BuildRight (146)
:- Project (143)
: +- BroadcastHashJoin LeftOuter BuildRight (142)
: :- Project (137)
: : +- BroadcastHashJoin LeftOuter BuildRight (136)
: : :- Project (132)
: : : +- Project (131)
: : : +- Project (130)
: : : +- BroadcastHashJoin LeftOuter BuildRight (129)
: : : :- Project (125)
: : : : +- BroadcastHashJoin LeftOuter BuildRight (124)
: : : : :- Project (121)
: : : : : +- Project (120)
: : : : : +- BroadcastHashJoin LeftOuter BuildRight (119)
: : : : : :- Project (113)
: : : : : : +- BroadcastHashJoin LeftOuter BuildRight (112)
: : : : : : :- Project (106)
: : : : : : : +- Project (105)
: : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (104)
: : : : : : : :- Project (99)
: : : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (98)
: : : : : : : : :- Project (93)
: : : : : : : : : +- BroadcastHashJoin LeftOuter BuildRight (92)
: : : : : : : : : :- Exchange (88)
: : : : : : : : : : +- Scan parquet (9)
: : : : : : : : : +- BroadcastExchange (91)
: : : : : : : : : +- Exchange (90)
: : : : : : : : : +- Project (89)
: : : : : : : : : +- Scan parquet (13)
: : : : : : : : +- BroadcastExchange (97)
: : : : : : : : +- Exchange (96)
: : : : : : : : +- Project (95)
: : : : : : : : +- Filter (94)
: : : : : : : : +- Scan parquet (22)
: : : : : : : +- BroadcastExchange (103)
: : : : : : : +- Exchange (102)
: : : : : : : +- Project (101)
: : : : : : : +- Filter (100)
: : : : : : : +- Scan parquet (32)
: : : : : : +- BroadcastExchange (111)
: : : : : : +- Project (110)
: : : : : : +- InMemoryTableScan (107)
: : : : : : +- InMemoryRelation (108)
: : : : : : +- LocalTableScan (109)
: : : : : +- BroadcastExchange (118)
: : : : : +- Project (117)
: : : : : +- Filter (116)
: : : : : +- InMemoryTableScan (114)
: : : : : +- InMemoryRelation (115)
: : : : : +- LocalTableScan (109)
: : : : +- BroadcastExchange (123)
: : : : +- Exchange (122)
: : : : +- Scan parquet (48)
: : : +- BroadcastExchange (128)
: : : +- Exchange (127)
: : : +- Project (126)
: : : +- Scan parquet (56)
: : +- BroadcastExchange (135)
: : +- Exchange (134)
: : +- Project (133)
: : +- Scan parquet (67)
: +- BroadcastExchange (141)
: +- Exchange (140)
: +- Project (139)
: +- Scan parquet (138)
+- BroadcastExchange (145)
+- Exchange (144)
+- Scan parquet (80)
: : +- BroadcastExchange (207)
: : +- Exchange (206)
: : +- Filter (205)
: : +- Scan parquet (204)
: +- BroadcastExchange (215)
: +- Exchange (214)
: +- Scan parquet (165)
+- BroadcastExchange (220)
+- Exchange (219)
+- Project (218)
+- Scan parquet (173)
+- BroadcastExchange (236)
+- Exchange (235)
+- Filter (234)
+- Scan parquet (233)
(1) LocalTableScan
Output [1]: [uomCategories#55001]
Arguments: [uomCategories#55001]
(2) WriteFiles
Input [1]: [uomCategories#55001]
(3) Execute InsertIntoHadoopFsRelationCommand
Input: []
Arguments: hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/common-data-snapshot/10000000096/shardId=0_1_10000000096, false, Parquet, [path=hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/common-data-snapshot/10000000096/shardId=0_1_10000000096], Overwrite, [uomCategories]
(4) LocalTableScan
Output [1]: [dummy#54997]
Arguments: [dummy#54997]
(5) InMemoryTableScan
Output [1]: [optimizationGroups#52187]
Arguments: [optimizationGroups#52187], [(size(optimizationGroups#52187.minOrderGoal, true) > 0)]
(6) InMemoryRelation
Arguments: [orderProposalId#46726L, optimizationGroups#52187], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@763c116,StorageLevel(disk, memory, 2 replicas),AdaptiveSparkPlan isFinalPlan=true
+- == Final Plan ==
ObjectHashAggregate(keys=[orderProposalId#46726L], functions=[collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)], output=[orderProposalId#46726L, optimizationGroups#52187])
+- ObjectHashAggregate(keys=[orderProposalId#46726L], functions=[partial_collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)], output=[orderProposalId#46726L, buf#54891])
+- *(9) Project [orderProposalId#46726L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, minOrderGoal#51907]
+- *(9) SortMergeJoin [orderProposalId#46726L], [orderProposalId#51960L], LeftOuter
:- *(7) Sort [orderProposalId#46726L ASC NULLS FIRST], false, 0
: +- *(7) HashAggregate(keys=[orderProposalId#46726L], functions=[], output=[orderProposalId#46726L])
: +- ShuffleQueryStage 6
: +- Exchange hashpartitioning(orderProposalId#46726L, 25), ENSURE_REQUIREMENTS, [plan_id=16708]
: +- *(4) HashAggregate(keys=[orderProposalId#46726L], functions=[], output=[orderProposalId#46726L])
: +- TableCacheQueryStage 0
: +- InMemoryTableScan [orderProposalId#46726L]
: +- InMemoryRelation [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields], StorageLevel(disk, memory, 2 replicas)
: +- AdaptiveSparkPlan isFinalPlan=true
+- == Final Plan ==
*(14) Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- *(14) BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- *(13) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 4 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 5 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : +- *(12) BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : +- *(12) BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : :- ShuffleQueryStage 0
: : : : : : : : +- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14856]
: : : : : : : : +- *(1) ColumnarToRow
: : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : +- BroadcastQueryStage 14
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=15491]
: : : : : : : +- ShuffleQueryStage 1
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14875]
: : : : : : : +- *(2) Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : +- *(2) ColumnarToRow
: : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : +- BroadcastQueryStage 19
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=15495]
: : : : : : +- ShuffleQueryStage 2
: : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14902]
: : : : : : +- *(3) Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : +- *(3) Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : +- *(3) ColumnarToRow
: : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : +- BroadcastQueryStage 20
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=15499]
: : : : : +- ShuffleQueryStage 3
: : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14931]
: : : : : +- *(4) Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : +- *(4) Filter isnotnull(internalUUID#47187)
: : : : : +- *(4) ColumnarToRow
: : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : +- BroadcastQueryStage 15
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=15509]
: : : : +- ShuffleQueryStage 6
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14975]
: : : : +- *(5) ColumnarToRow
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastQueryStage 16
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15513]
: : : +- ShuffleQueryStage 7
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14996]
: : : +- *(6) Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- *(6) ColumnarToRow
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastQueryStage 17
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
: : +- ShuffleQueryStage 8
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15021]
: : +- *(7) Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- *(7) ColumnarToRow
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastQueryStage 18
: +- ReusedExchange [internalUUID#49091, _extract_code#49700], BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
+- BroadcastQueryStage 21
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=15527]
+- ShuffleQueryStage 11
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15065]
+- *(9) ColumnarToRow
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
+- == Initial Plan ==
Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468)], [coalesce(logisticalRoundingProfile#47595, ), isnull(logisticalRoundingProfile#47595)], LeftOuter, BuildRight, false
: : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(logisticalRoundingProfile#47499, ), isnull(logisticalRoundingProfile#47499), coalesce(_extract_internalRefUUID#49702, ), isnull(_extract_internalRefUUID#49702)], LeftOuter, BuildRight, false
: : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : : : +- BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : : : :- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14315]
: : : : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14370]
: : : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14318]
: : : : : : : : : +- Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=14374]
: : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14324]
: : : : : : : : +- Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : : : +- Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=14378]
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14330]
: : : : : : : +- Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : : : +- Filter isnotnull(internalUUID#47187)
: : : : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false]), coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14383]
: : : : : : +- Project [logisticalRoundingProfile#47499, plant#47500.internalRefUUID AS _extract_internalRefUUID#49702]
: : : : : : +- InMemoryTableScan [logisticalRoundingProfile#47499, plant#47500]
: : : : : : +- InMemoryRelation [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501], StorageLevel(disk, memory, 2 replicas)
: : : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false])),false), [plan_id=14387]
: : : : : +- Project [logisticalRoundingProfile#47595]
: : : : : +- Filter isnull(plant#47596.internalRefUUID)
: : : : : +- InMemoryTableScan [logisticalRoundingProfile#47595, plant#47596], [isnull(plant#47596.internalRefUUID)]
: : : : : +- InMemoryRelation [logisticalRoundingProfile#47595, plant#47596, logisticalRoundingRule#47597], StorageLevel(disk, memory, 2 replicas)
: : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=14392]
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14345]
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14396]
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14350]
: : : +- Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14402]
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14357]
: : +- Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14406]
: +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14362]
: +- Project [internalUUID#49091, isoCode#49095.code AS _extract_code#49700]
: +- FileScan parquet [internalUUID#49091,isoCode#49095,systemId#49090] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=14410]
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14366]
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
+- *(8) Sort [orderProposalId#51960L ASC NULLS FIRST], false, 0
+- *(8) Project [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, struct(minOrderValue, dimensionValue#51813, dimensionType, dimensionType#51812, unit, dimensionUnit#51814.dimensionCode, unitUuid, dimensionUnit#51814.dimensionCodeUuid, negligibleQuantitiesThreshold, 0.2, acceptanceThreshold, (acceptanceThreshold#51815 / 100.0), isoCode, _extract_code#53711) AS minOrderGoal#51907]
+- *(8) BroadcastHashJoin [coalesce(dimensionUnit#51814.dimensionCodeUuid, ), isnull(dimensionUnit#51814.dimensionCodeUuid)], [coalesce(internalUUID#51827, ), isnull(internalUUID#51827)], LeftOuter, BuildRight, false
:- *(8) Project [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
: +- *(8) BroadcastHashJoin [coalesce(minOrderProfile#52159, ), isnull(minOrderProfile#52159)], [coalesce(supplierminimumprofilename#51810, ), isnull(supplierminimumprofilename#51810)], Inner, BuildRight, false
: :- *(8) Project [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161]
: : +- *(8) Project [orderProposalId#51960L, cast(null as string) AS optGroupId#51603, cast(null as bigint) AS orderProposalId#52066L, cast(null as string) AS minOrderProfile#52159, cast(null as string) AS assignmentDetails#52161]
: : +- *(8) HashAggregate(keys=[orderProposalId#51960L], functions=[], output=[orderProposalId#51960L])
: : +- ShuffleQueryStage 7
: : +- Exchange hashpartitioning(orderProposalId#51960L, 25), ENSURE_REQUIREMENTS, [plan_id=16727]
: : +- *(5) HashAggregate(keys=[orderProposalId#51960L], functions=[], output=[orderProposalId#51960L])
: : +- *(5) Filter isnotnull(orderProposalId#51960L)
: : +- TableCacheQueryStage 1
: : +- InMemoryTableScan [orderProposalId#51960L], [isnotnull(orderProposalId#51960L)]
: : +- InMemoryRelation [orderProposalId#51960L, orderProposalItemId#51965, supplierGroup#51947, supplier#51948, plant#51949, deliveryDateTime#51950, subrange#51951, product#51952, orderDateTime#51953, availabilityDateTime#51954, nextAvailabilityDateTime#51955, mrpController#51956, sourceOfSupplyUuid#51957, purchasingOrg#51958, purchasingGroup#51959, orderProposalHorizonGroupingId#51961L, splitIndicator#51962L, worklistShardItemId#51963L, orderProposalItemGroupId#51964, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields], StorageLevel(disk, memory, 2 replicas)
: : +- AdaptiveSparkPlan isFinalPlan=true
+- == Final Plan ==
*(14) Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- *(14) BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- *(13) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 4 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 5 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : +- *(12) BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : +- *(12) BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : :- ShuffleQueryStage 0
: : : : : : : : +- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14856]
: : : : : : : : +- *(1) ColumnarToRow
: : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : +- BroadcastQueryStage 14
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=15491]
: : : : : : : +- ShuffleQueryStage 1
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14875]
: : : : : : : +- *(2) Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : +- *(2) ColumnarToRow
: : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : +- BroadcastQueryStage 19
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=15495]
: : : : : : +- ShuffleQueryStage 2
: : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14902]
: : : : : : +- *(3) Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : +- *(3) Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : +- *(3) ColumnarToRow
: : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : +- BroadcastQueryStage 20
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=15499]
: : : : : +- ShuffleQueryStage 3
: : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14931]
: : : : : +- *(4) Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : +- *(4) Filter isnotnull(internalUUID#47187)
: : : : : +- *(4) ColumnarToRow
: : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : +- BroadcastQueryStage 15
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=15509]
: : : : +- ShuffleQueryStage 6
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14975]
: : : : +- *(5) ColumnarToRow
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastQueryStage 16
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15513]
: : : +- ShuffleQueryStage 7
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14996]
: : : +- *(6) Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- *(6) ColumnarToRow
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastQueryStage 17
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
: : +- ShuffleQueryStage 8
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15021]
: : +- *(7) Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- *(7) ColumnarToRow
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastQueryStage 18
: +- ReusedExchange [internalUUID#49091, _extract_code#49700], BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
+- BroadcastQueryStage 21
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=15527]
+- ShuffleQueryStage 11
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15065]
+- *(9) ColumnarToRow
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
+- == Initial Plan ==
Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468)], [coalesce(logisticalRoundingProfile#47595, ), isnull(logisticalRoundingProfile#47595)], LeftOuter, BuildRight, false
: : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(logisticalRoundingProfile#47499, ), isnull(logisticalRoundingProfile#47499), coalesce(_extract_internalRefUUID#49702, ), isnull(_extract_internalRefUUID#49702)], LeftOuter, BuildRight, false
: : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : : : +- BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : : : :- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14315]
: : : : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14370]
: : : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14318]
: : : : : : : : : +- Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=14374]
: : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14324]
: : : : : : : : +- Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : : : +- Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=14378]
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14330]
: : : : : : : +- Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : : : +- Filter isnotnull(internalUUID#47187)
: : : : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false]), coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14383]
: : : : : : +- Project [logisticalRoundingProfile#47499, plant#47500.internalRefUUID AS _extract_internalRefUUID#49702]
: : : : : : +- InMemoryTableScan [logisticalRoundingProfile#47499, plant#47500]
: : : : : : +- InMemoryRelation [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501], StorageLevel(disk, memory, 2 replicas)
: : : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false])),false), [plan_id=14387]
: : : : : +- Project [logisticalRoundingProfile#47595]
: : : : : +- Filter isnull(plant#47596.internalRefUUID)
: : : : : +- InMemoryTableScan [logisticalRoundingProfile#47595, plant#47596], [isnull(plant#47596.internalRefUUID)]
: : : : : +- InMemoryRelation [logisticalRoundingProfile#47595, plant#47596, logisticalRoundingRule#47597], StorageLevel(disk, memory, 2 replicas)
: : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=14392]
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14345]
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14396]
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14350]
: : : +- Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14402]
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14357]
: : +- Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14406]
: +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14362]
: +- Project [internalUUID#49091, isoCode#49095.code AS _extract_code#49700]
: +- FileScan parquet [internalUUID#49091,isoCode#49095,systemId#49090] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=14410]
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14366]
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: +- BroadcastQueryStage 9
: +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=16829]
: +- ShuffleQueryStage 4
: +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=16566]
: +- *(2) ColumnarToRow
: +- FileScan parquet [supplierminimumprofilename#51810,dimensionType#51812,dimensionValue#51813,dimensionUnit#51814,acceptanceThreshold#51815] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierminimumprofilename:string,dimensionType:int,dimensionValue:double,dimensionUnit:st...
+- BroadcastQueryStage 10
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=16833]
+- ShuffleQueryStage 5
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=16587]
+- *(3) Project [internalUUID#51827, isoCode#51831.code AS _extract_code#53711]
+- *(3) ColumnarToRow
+- FileScan parquet [internalUUID#51827,isoCode#51831,systemId#51826] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
+- == Initial Plan ==
ObjectHashAggregate(keys=[orderProposalId#46726L], functions=[collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)], output=[orderProposalId#46726L, optimizationGroups#52187])
+- ObjectHashAggregate(keys=[orderProposalId#46726L], functions=[partial_collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)], output=[orderProposalId#46726L, buf#54891])
+- Project [orderProposalId#46726L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, minOrderGoal#51907]
+- SortMergeJoin [orderProposalId#46726L], [orderProposalId#51960L], LeftOuter
:- Sort [orderProposalId#46726L ASC NULLS FIRST], false, 0
: +- HashAggregate(keys=[orderProposalId#46726L], functions=[], output=[orderProposalId#46726L])
: +- Exchange hashpartitioning(orderProposalId#46726L, 25), ENSURE_REQUIREMENTS, [plan_id=14790]
: +- HashAggregate(keys=[orderProposalId#46726L], functions=[], output=[orderProposalId#46726L])
: +- InMemoryTableScan [orderProposalId#46726L]
: +- InMemoryRelation [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields], StorageLevel(disk, memory, 2 replicas)
: +- AdaptiveSparkPlan isFinalPlan=true
+- == Final Plan ==
*(14) Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- *(14) BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- *(13) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 4 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 5 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : +- *(12) BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : +- *(12) BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : :- ShuffleQueryStage 0
: : : : : : : : +- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14856]
: : : : : : : : +- *(1) ColumnarToRow
: : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : +- BroadcastQueryStage 14
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=15491]
: : : : : : : +- ShuffleQueryStage 1
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14875]
: : : : : : : +- *(2) Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : +- *(2) ColumnarToRow
: : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : +- BroadcastQueryStage 19
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=15495]
: : : : : : +- ShuffleQueryStage 2
: : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14902]
: : : : : : +- *(3) Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : +- *(3) Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : +- *(3) ColumnarToRow
: : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : +- BroadcastQueryStage 20
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=15499]
: : : : : +- ShuffleQueryStage 3
: : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14931]
: : : : : +- *(4) Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : +- *(4) Filter isnotnull(internalUUID#47187)
: : : : : +- *(4) ColumnarToRow
: : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : +- BroadcastQueryStage 15
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=15509]
: : : : +- ShuffleQueryStage 6
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14975]
: : : : +- *(5) ColumnarToRow
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastQueryStage 16
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15513]
: : : +- ShuffleQueryStage 7
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14996]
: : : +- *(6) Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- *(6) ColumnarToRow
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastQueryStage 17
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
: : +- ShuffleQueryStage 8
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15021]
: : +- *(7) Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- *(7) ColumnarToRow
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastQueryStage 18
: +- ReusedExchange [internalUUID#49091, _extract_code#49700], BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
+- BroadcastQueryStage 21
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=15527]
+- ShuffleQueryStage 11
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15065]
+- *(9) ColumnarToRow
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
+- == Initial Plan ==
Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468)], [coalesce(logisticalRoundingProfile#47595, ), isnull(logisticalRoundingProfile#47595)], LeftOuter, BuildRight, false
: : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(logisticalRoundingProfile#47499, ), isnull(logisticalRoundingProfile#47499), coalesce(_extract_internalRefUUID#49702, ), isnull(_extract_internalRefUUID#49702)], LeftOuter, BuildRight, false
: : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : : : +- BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : : : :- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14315]
: : : : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14370]
: : : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14318]
: : : : : : : : : +- Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=14374]
: : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14324]
: : : : : : : : +- Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : : : +- Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=14378]
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14330]
: : : : : : : +- Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : : : +- Filter isnotnull(internalUUID#47187)
: : : : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false]), coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14383]
: : : : : : +- Project [logisticalRoundingProfile#47499, plant#47500.internalRefUUID AS _extract_internalRefUUID#49702]
: : : : : : +- InMemoryTableScan [logisticalRoundingProfile#47499, plant#47500]
: : : : : : +- InMemoryRelation [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501], StorageLevel(disk, memory, 2 replicas)
: : : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false])),false), [plan_id=14387]
: : : : : +- Project [logisticalRoundingProfile#47595]
: : : : : +- Filter isnull(plant#47596.internalRefUUID)
: : : : : +- InMemoryTableScan [logisticalRoundingProfile#47595, plant#47596], [isnull(plant#47596.internalRefUUID)]
: : : : : +- InMemoryRelation [logisticalRoundingProfile#47595, plant#47596, logisticalRoundingRule#47597], StorageLevel(disk, memory, 2 replicas)
: : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=14392]
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14345]
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14396]
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14350]
: : : +- Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14402]
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14357]
: : +- Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14406]
: +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14362]
: +- Project [internalUUID#49091, isoCode#49095.code AS _extract_code#49700]
: +- FileScan parquet [internalUUID#49091,isoCode#49095,systemId#49090] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=14410]
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14366]
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
+- Project [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, struct(minOrderValue, dimensionValue#51813, dimensionType, dimensionType#51812, unit, dimensionUnit#51814.dimensionCode, unitUuid, dimensionUnit#51814.dimensionCodeUuid, negligibleQuantitiesThreshold, 0.2, acceptanceThreshold, (acceptanceThreshold#51815 / 100.0), isoCode, _extract_code#53711) AS minOrderGoal#51907]
+- BroadcastHashJoin [coalesce(dimensionUnit#51814.dimensionCodeUuid, ), isnull(dimensionUnit#51814.dimensionCodeUuid)], [coalesce(internalUUID#51827, ), isnull(internalUUID#51827)], LeftOuter, BuildRight, false
:- Project [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
: +- BroadcastHashJoin [coalesce(minOrderProfile#52159, ), isnull(minOrderProfile#52159)], [coalesce(supplierminimumprofilename#51810, ), isnull(supplierminimumprofilename#51810)], Inner, BuildRight, false
: :- Project [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161]
: : +- SortMergeJoin [orderProposalId#51960L], [orderProposalId#52066L], LeftOuter
: : :- Sort [orderProposalId#51960L ASC NULLS FIRST], false, 0
: : : +- HashAggregate(keys=[orderProposalId#51960L], functions=[], output=[orderProposalId#51960L])
: : : +- Exchange hashpartitioning(orderProposalId#51960L, 25), ENSURE_REQUIREMENTS, [plan_id=14792]
: : : +- HashAggregate(keys=[orderProposalId#51960L], functions=[], output=[orderProposalId#51960L])
: : : +- Filter isnotnull(orderProposalId#51960L)
: : : +- InMemoryTableScan [orderProposalId#51960L], [isnotnull(orderProposalId#51960L)]
: : : +- InMemoryRelation [orderProposalId#51960L, orderProposalItemId#51965, supplierGroup#51947, supplier#51948, plant#51949, deliveryDateTime#51950, subrange#51951, product#51952, orderDateTime#51953, availabilityDateTime#51954, nextAvailabilityDateTime#51955, mrpController#51956, sourceOfSupplyUuid#51957, purchasingOrg#51958, purchasingGroup#51959, orderProposalHorizonGroupingId#51961L, splitIndicator#51962L, worklistShardItemId#51963L, orderProposalItemGroupId#51964, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields], StorageLevel(disk, memory, 2 replicas)
: : : +- AdaptiveSparkPlan isFinalPlan=true
+- == Final Plan ==
*(14) Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- *(14) BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- *(13) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 4 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 5 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : +- *(12) BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : +- *(12) BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : :- ShuffleQueryStage 0
: : : : : : : : +- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14856]
: : : : : : : : +- *(1) ColumnarToRow
: : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : +- BroadcastQueryStage 14
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=15491]
: : : : : : : +- ShuffleQueryStage 1
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14875]
: : : : : : : +- *(2) Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : +- *(2) ColumnarToRow
: : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : +- BroadcastQueryStage 19
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=15495]
: : : : : : +- ShuffleQueryStage 2
: : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14902]
: : : : : : +- *(3) Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : +- *(3) Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : +- *(3) ColumnarToRow
: : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : +- BroadcastQueryStage 20
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=15499]
: : : : : +- ShuffleQueryStage 3
: : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14931]
: : : : : +- *(4) Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : +- *(4) Filter isnotnull(internalUUID#47187)
: : : : : +- *(4) ColumnarToRow
: : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : +- BroadcastQueryStage 15
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=15509]
: : : : +- ShuffleQueryStage 6
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14975]
: : : : +- *(5) ColumnarToRow
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastQueryStage 16
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15513]
: : : +- ShuffleQueryStage 7
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14996]
: : : +- *(6) Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- *(6) ColumnarToRow
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastQueryStage 17
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
: : +- ShuffleQueryStage 8
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15021]
: : +- *(7) Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- *(7) ColumnarToRow
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastQueryStage 18
: +- ReusedExchange [internalUUID#49091, _extract_code#49700], BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
+- BroadcastQueryStage 21
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=15527]
+- ShuffleQueryStage 11
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15065]
+- *(9) ColumnarToRow
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
+- == Initial Plan ==
Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468)], [coalesce(logisticalRoundingProfile#47595, ), isnull(logisticalRoundingProfile#47595)], LeftOuter, BuildRight, false
: : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(logisticalRoundingProfile#47499, ), isnull(logisticalRoundingProfile#47499), coalesce(_extract_internalRefUUID#49702, ), isnull(_extract_internalRefUUID#49702)], LeftOuter, BuildRight, false
: : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : : : +- BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : : : :- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14315]
: : : : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14370]
: : : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14318]
: : : : : : : : : +- Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=14374]
: : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14324]
: : : : : : : : +- Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : : : +- Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=14378]
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14330]
: : : : : : : +- Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : : : +- Filter isnotnull(internalUUID#47187)
: : : : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false]), coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14383]
: : : : : : +- Project [logisticalRoundingProfile#47499, plant#47500.internalRefUUID AS _extract_internalRefUUID#49702]
: : : : : : +- InMemoryTableScan [logisticalRoundingProfile#47499, plant#47500]
: : : : : : +- InMemoryRelation [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501], StorageLevel(disk, memory, 2 replicas)
: : : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false])),false), [plan_id=14387]
: : : : : +- Project [logisticalRoundingProfile#47595]
: : : : : +- Filter isnull(plant#47596.internalRefUUID)
: : : : : +- InMemoryTableScan [logisticalRoundingProfile#47595, plant#47596], [isnull(plant#47596.internalRefUUID)]
: : : : : +- InMemoryRelation [logisticalRoundingProfile#47595, plant#47596, logisticalRoundingRule#47597], StorageLevel(disk, memory, 2 replicas)
: : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=14392]
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14345]
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14396]
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14350]
: : : +- Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14402]
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14357]
: : +- Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14406]
: +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14362]
: +- Project [internalUUID#49091, isoCode#49095.code AS _extract_code#49700]
: +- FileScan parquet [internalUUID#49091,isoCode#49095,systemId#49090] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=14410]
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14366]
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : +- Sort [orderProposalId#52066L ASC NULLS FIRST], false, 0
: : +- Exchange hashpartitioning(orderProposalId#52066L, 25), ENSURE_REQUIREMENTS, [plan_id=14802]
: : +- Project [optGroupId#51603, orderProposalId#52066L, minOrderProfile#52159, assignmentDetails#52161]
: : +- BroadcastHashJoin [optGroupId#51603], [optGroupId#52160], Inner, BuildRight, false
: : :- HashAggregate(keys=[orderProposalId#52066L, optGroupId#51603], functions=[], output=[orderProposalId#52066L, optGroupId#51603])
: : : +- Exchange hashpartitioning(orderProposalId#52066L, optGroupId#51603, 25), ENSURE_REQUIREMENTS, [plan_id=14794]
: : : +- HashAggregate(keys=[orderProposalId#52066L, optGroupId#51603], functions=[], output=[orderProposalId#52066L, optGroupId#51603])
: : : +- Filter isnotnull(optGroupId#51603)
: : : +- Generate explode(optimizationGroups#49479), [orderProposalId#52066L], true, [optGroupId#51603]
: : : +- Filter isnotnull(orderProposalId#52066L)
: : : +- InMemoryTableScan [orderProposalId#52066L, optimizationGroups#49479], [isnotnull(orderProposalId#52066L)]
: : : +- InMemoryRelation [orderProposalId#52066L, orderProposalItemId#52071, supplierGroup#52053, supplier#52054, plant#52055, deliveryDateTime#52056, subrange#52057, product#52058, orderDateTime#52059, availabilityDateTime#52060, nextAvailabilityDateTime#52061, mrpController#52062, sourceOfSupplyUuid#52063, purchasingOrg#52064, purchasingGroup#52065, orderProposalHorizonGroupingId#52067L, splitIndicator#52068L, worklistShardItemId#52069L, orderProposalItemGroupId#52070, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields], StorageLevel(disk, memory, 2 replicas)
: : : +- AdaptiveSparkPlan isFinalPlan=true
+- == Final Plan ==
*(14) Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- *(14) BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- *(13) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 4 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 5 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : +- *(12) BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : +- *(12) BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : :- ShuffleQueryStage 0
: : : : : : : : +- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14856]
: : : : : : : : +- *(1) ColumnarToRow
: : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : +- BroadcastQueryStage 14
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=15491]
: : : : : : : +- ShuffleQueryStage 1
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14875]
: : : : : : : +- *(2) Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : +- *(2) ColumnarToRow
: : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : +- BroadcastQueryStage 19
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=15495]
: : : : : : +- ShuffleQueryStage 2
: : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14902]
: : : : : : +- *(3) Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : +- *(3) Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : +- *(3) ColumnarToRow
: : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : +- BroadcastQueryStage 20
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=15499]
: : : : : +- ShuffleQueryStage 3
: : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14931]
: : : : : +- *(4) Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : +- *(4) Filter isnotnull(internalUUID#47187)
: : : : : +- *(4) ColumnarToRow
: : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : +- BroadcastQueryStage 15
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=15509]
: : : : +- ShuffleQueryStage 6
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14975]
: : : : +- *(5) ColumnarToRow
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastQueryStage 16
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15513]
: : : +- ShuffleQueryStage 7
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14996]
: : : +- *(6) Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- *(6) ColumnarToRow
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastQueryStage 17
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
: : +- ShuffleQueryStage 8
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15021]
: : +- *(7) Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- *(7) ColumnarToRow
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastQueryStage 18
: +- ReusedExchange [internalUUID#49091, _extract_code#49700], BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
+- BroadcastQueryStage 21
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=15527]
+- ShuffleQueryStage 11
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15065]
+- *(9) ColumnarToRow
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
+- == Initial Plan ==
Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468)], [coalesce(logisticalRoundingProfile#47595, ), isnull(logisticalRoundingProfile#47595)], LeftOuter, BuildRight, false
: : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(logisticalRoundingProfile#47499, ), isnull(logisticalRoundingProfile#47499), coalesce(_extract_internalRefUUID#49702, ), isnull(_extract_internalRefUUID#49702)], LeftOuter, BuildRight, false
: : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : : : +- BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : : : :- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14315]
: : : : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14370]
: : : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14318]
: : : : : : : : : +- Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=14374]
: : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14324]
: : : : : : : : +- Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : : : +- Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=14378]
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14330]
: : : : : : : +- Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : : : +- Filter isnotnull(internalUUID#47187)
: : : : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false]), coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14383]
: : : : : : +- Project [logisticalRoundingProfile#47499, plant#47500.internalRefUUID AS _extract_internalRefUUID#49702]
: : : : : : +- InMemoryTableScan [logisticalRoundingProfile#47499, plant#47500]
: : : : : : +- InMemoryRelation [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501], StorageLevel(disk, memory, 2 replicas)
: : : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false])),false), [plan_id=14387]
: : : : : +- Project [logisticalRoundingProfile#47595]
: : : : : +- Filter isnull(plant#47596.internalRefUUID)
: : : : : +- InMemoryTableScan [logisticalRoundingProfile#47595, plant#47596], [isnull(plant#47596.internalRefUUID)]
: : : : : +- InMemoryRelation [logisticalRoundingProfile#47595, plant#47596, logisticalRoundingRule#47597], StorageLevel(disk, memory, 2 replicas)
: : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=14392]
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14345]
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14396]
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14350]
: : : +- Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14402]
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14357]
: : +- Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14406]
: +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14362]
: +- Project [internalUUID#49091, isoCode#49095.code AS _extract_code#49700]
: +- FileScan parquet [internalUUID#49091,isoCode#49095,systemId#49090] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=14410]
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14366]
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, false]),false), [plan_id=14797]
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14777]
: : +- Filter (isnotnull(optGroupId#52160) AND isnotnull(minOrderProfile#52159))
: : +- FileScan parquet [minOrderProfile#52159,optGroupId#52160,assignmentDetails#52161] Batched: true, DataFilters: [isnotnull(optGroupId#52160), isnotnull(minOrderProfile#52159)], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [IsNotNull(optGroupId), IsNotNull(minOrderProfile)], ReadSchema: struct<minOrderProfile:string,optGroupId:string,assignmentDetails:string>
: +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14808]
: +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14764]
: +- FileScan parquet [supplierminimumprofilename#51810,dimensionType#51812,dimensionValue#51813,dimensionUnit#51814,acceptanceThreshold#51815] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierminimumprofilename:string,dimensionType:int,dimensionValue:double,dimensionUnit:st...
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14812]
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14769]
+- Project [internalUUID#51827, isoCode#51831.code AS _extract_code#53711]
+- FileScan parquet [internalUUID#51827,isoCode#51831,systemId#51826] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
,None)
(7) InMemoryTableScan
Output [1]: [orderProposalId#46726L]
Arguments: [orderProposalId#46726L]
(8) InMemoryRelation
Arguments: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@763c116,StorageLevel(disk, memory, 2 replicas),AdaptiveSparkPlan isFinalPlan=true
+- == Final Plan ==
*(14) Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- *(14) BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- *(13) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 4 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 5 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : +- *(12) BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : +- *(12) BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : :- ShuffleQueryStage 0
: : : : : : : : +- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14856]
: : : : : : : : +- *(1) ColumnarToRow
: : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : +- BroadcastQueryStage 14
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=15491]
: : : : : : : +- ShuffleQueryStage 1
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14875]
: : : : : : : +- *(2) Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : +- *(2) ColumnarToRow
: : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : +- BroadcastQueryStage 19
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=15495]
: : : : : : +- ShuffleQueryStage 2
: : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14902]
: : : : : : +- *(3) Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : +- *(3) Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : +- *(3) ColumnarToRow
: : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : +- BroadcastQueryStage 20
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=15499]
: : : : : +- ShuffleQueryStage 3
: : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14931]
: : : : : +- *(4) Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : +- *(4) Filter isnotnull(internalUUID#47187)
: : : : : +- *(4) ColumnarToRow
: : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : +- BroadcastQueryStage 15
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=15509]
: : : : +- ShuffleQueryStage 6
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14975]
: : : : +- *(5) ColumnarToRow
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastQueryStage 16
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15513]
: : : +- ShuffleQueryStage 7
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14996]
: : : +- *(6) Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- *(6) ColumnarToRow
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastQueryStage 17
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
: : +- ShuffleQueryStage 8
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15021]
: : +- *(7) Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- *(7) ColumnarToRow
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastQueryStage 18
: +- ReusedExchange [internalUUID#49091, _extract_code#49700], BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
+- BroadcastQueryStage 21
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=15527]
+- ShuffleQueryStage 11
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15065]
+- *(9) ColumnarToRow
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
+- == Initial Plan ==
Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468)], [coalesce(logisticalRoundingProfile#47595, ), isnull(logisticalRoundingProfile#47595)], LeftOuter, BuildRight, false
: : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(logisticalRoundingProfile#47499, ), isnull(logisticalRoundingProfile#47499), coalesce(_extract_internalRefUUID#49702, ), isnull(_extract_internalRefUUID#49702)], LeftOuter, BuildRight, false
: : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : : : +- BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : : : :- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14315]
: : : : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14370]
: : : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14318]
: : : : : : : : : +- Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=14374]
: : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14324]
: : : : : : : : +- Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : : : +- Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=14378]
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14330]
: : : : : : : +- Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : : : +- Filter isnotnull(internalUUID#47187)
: : : : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false]), coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14383]
: : : : : : +- Project [logisticalRoundingProfile#47499, plant#47500.internalRefUUID AS _extract_internalRefUUID#49702]
: : : : : : +- InMemoryTableScan [logisticalRoundingProfile#47499, plant#47500]
: : : : : : +- InMemoryRelation [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501], StorageLevel(disk, memory, 2 replicas)
: : : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false])),false), [plan_id=14387]
: : : : : +- Project [logisticalRoundingProfile#47595]
: : : : : +- Filter isnull(plant#47596.internalRefUUID)
: : : : : +- InMemoryTableScan [logisticalRoundingProfile#47595, plant#47596], [isnull(plant#47596.internalRefUUID)]
: : : : : +- InMemoryRelation [logisticalRoundingProfile#47595, plant#47596, logisticalRoundingRule#47597], StorageLevel(disk, memory, 2 replicas)
: : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=14392]
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14345]
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14396]
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14350]
: : : +- Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14402]
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14357]
: : +- Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14406]
: +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14362]
: +- Project [internalUUID#49091, isoCode#49095.code AS _extract_code#49700]
: +- FileScan parquet [internalUUID#49091,isoCode#49095,systemId#49090] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=14410]
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14366]
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
,None)
(9) Scan parquet
Output [19]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731]
Batched: true
Location: InMemoryFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/out/order-proposal-boundary-snapshot/10000000096/shardId=0_1_10000000096]
ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,mrpController:string,sourceOfSupplyUuid:string,purchasingOrg:string,purchasingGroup:string,orderProposalId:bigint,orderProposalHorizonGroupingId:bigint,splitIndicator:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,orderProposalItemId:string>
(10) ColumnarToRow [codegen id : 1]
Input [19]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731]
(11) Exchange
Input [19]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731]
Arguments: hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14856]
(12) ShuffleQueryStage
Output [19]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731]
Arguments: 0
(13) Scan parquet
Output [24]: [internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775, systemId#46752]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/cornerstone/sap-cic-sourceofsupply-sourceofsupply]
ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<internalRefUUID:string,id:string>,product:struct<internalRefUUID:string,id:string>,receivingPlant:struct<internalRefUUID:string,id:string>,sourceOfSupplyType:struct<internalRefUUID:string,code:string>,purchasingGroup:struct<internalRefUUID:string,id:string>,purchasingOrganization:struct<internalRefUUID:string,id:string>,productGroup:struct<internalRefUUID:string,id:string>,validFrom:timestamp,validTo:timestamp,priority:int,isPurchasingBlocked:boolean,isConsignment:boolean,isDeleted:boolean,supplierSubrange:string,plannedDeliveryTimeDays:int,orderQuantityUnit:struct<internalRefUUID:string,code:string>,purchasingPriceAspect:struct<netPrice:struct<amount:double,currencyCode:struct<internalRefUUID:string,code:string>>,netPriceQuantity:double,netPriceUnit:struct<internalRefUUID:string,code:string>>,orderCurrency:struct<internalRefUUID:string,code:string>,minimumOrderQuantity:double,logisticalRoundingProfile:struct<logisticalRoundingProfile:string,internalRefUUID:string>,supplyingPlant:struct<internalRefUUID:string,id:string>>
(14) ColumnarToRow [codegen id : 2]
Input [24]: [internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775, systemId#46752]
(15) Project [codegen id : 2]
Output [24]: [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
Input [24]: [internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775, systemId#46752]
(16) Exchange
Input [24]: [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14875]
(17) ShuffleQueryStage
Output [24]: [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
Arguments: 1
(18) BroadcastExchange
Input [24]: [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=15491]
(19) BroadcastQueryStage
Output [24]: [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
Arguments: 14
(20) BroadcastHashJoin [codegen id : 12]
Left keys [2]: [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)]
Right keys [2]: [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)]
Join type: LeftOuter
Join condition: None
(21) Project [codegen id : 12]
Output [20]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
Input [43]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
(22) Scan parquet
Output [9]: [internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963, systemId#46955]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/cornerstone/sap-cic-product-productplant]
PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,3d84243e56ebf98292ed5dba2fd51543,45f9c5206af43e1e6acbe19d9a246289,4d233bd0bf112aded9d852448354b078,6d24a939f4bbd79f6acb8684d6e45c97,717937a4d5db853d3359b6a0623cfdf0,f80b06f7b2102a5f5c63b031eb5d8e03,fca7a07ad5f143db2beafbd1d0401ea1])]
ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internalRefUUID:string,id:string>,blockedForReplenishmentStartingFrom:date,productionAspect:struct<productMovementPlants:struct<unitOfIssue:struct<internalRefUUID:string,code:string>>,productPlanningPlants:struct<mrpType:struct<internalRefUUID:string,code:string>,abcIndicator:struct<internalRefUUID:string,code:string>,mrpController:struct<internalRefUUID:string,id:string>,minimumLotSize:double,logisticalRoundingProfile:struct<internalRefUUID:string,logisticalRoundingProfile:string>>>,salesPlant:struct<loadingGroup:struct<internalRefUUID:string,code:string>>,listing:array<struct<validFrom:timestamp,validTo:timestamp,isListed:boolean>>,sourceOfSupplyCategory:struct<internalRefUUID:string,code:string>>
(23) ColumnarToRow [codegen id : 3]
Input [9]: [internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963, systemId#46955]
(24) Filter [codegen id : 3]
Input [9]: [internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963, systemId#46955]
Condition : plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
(25) Project [codegen id : 3]
Output [9]: [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
Input [9]: [internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963, systemId#46955]
(26) Exchange
Input [9]: [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14902]
(27) ShuffleQueryStage
Output [9]: [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
Arguments: 2
(28) BroadcastExchange
Input [9]: [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=15495]
(29) BroadcastQueryStage
Output [9]: [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
Arguments: 19
(30) BroadcastHashJoin [codegen id : 12]
Left keys [4]: [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)]
Right keys [4]: [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)]
Join type: LeftOuter
Join condition: None
(31) Project [codegen id : 12]
Output [23]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
Input [29]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
(32) Scan parquet
Output [12]: [internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197, systemId#47186]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/cornerstone/sap-cic-product-product-v2]
PushedFilters: [IsNotNull(internalUUID)]
ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:string>>,baseUnitOfMeasure:struct<internalRefUUID:string,code:string>,unitOfMeasures:array<struct<measurementUnit:struct<internalRefUUID:string,code:string>,productDimensions:array<struct<dimensionName:struct<internalRefUUID:string,code:string>,dimensionValue:string,measurementUnit:struct<internalRefUUID:string,code:string>>>>>,unitOfMeasureConversions:array<struct<measurementUnit1:struct<internalRefUUID:string,code:string>,measurementUnit2:struct<internalRefUUID:string,code:string>,quantityNumerator:int,quantityDenominator:int>>,productionAspect:struct<minimumRemainingShelfLife:double>,salesAspect:struct<transportationGroup:struct<internalRefUUID:string,code:string>>,procurementAspect:struct<orderUnit:struct<internalRefUUID:string,code:string>>,productGroup:struct<internalRefUUID:string,id:string>>
(33) ColumnarToRow [codegen id : 4]
Input [12]: [internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197, systemId#47186]
(34) Filter [codegen id : 4]
Input [12]: [internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197, systemId#47186]
Condition : isnotnull(internalUUID#47187)
(35) Project [codegen id : 4]
Output [12]: [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
Input [12]: [internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197, systemId#47186]
(36) Exchange
Input [12]: [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14931]
(37) ShuffleQueryStage
Output [12]: [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
Arguments: 3
(38) BroadcastExchange
Input [12]: [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
Arguments: HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=15499]
(39) BroadcastQueryStage
Output [12]: [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
Arguments: 20
(40) BroadcastHashJoin
Left keys [1]: [product#46718]
Right keys [1]: [internalUUID#47187]
Join type: LeftOuter
Join condition: None
(41) Project
Output [24]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
Input [35]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
(42) Project
Output [27]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, productInformation#47280.baseUnitOfMeasure.code AS orderQuantityBaseUom#47379, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS orderQuantityBaseUomUuid#47407, coalesce(sos#46886.logisticalRoundingProfile.logisticalRoundingProfile, productPlant#47035.productionAspect.productPlanningPlants.logisticalRoundingProfile.logisticalRoundingProfile) AS preferredRoundingProfile#47468]
Input [24]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, productInformation#47280]
(43) Project
Output [29]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, preferredRoundingProfile#47468, cast(null as string) AS logisticalRoundingProfile#47499, cast(null as string) AS _extract_internalRefUUID#49702]
Input [27]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, preferredRoundingProfile#47468]
(44) Project
Output [27]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, preferredRoundingProfile#47468]
Input [29]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, preferredRoundingProfile#47468, logisticalRoundingProfile#47499, _extract_internalRefUUID#49702]
(45) Project [codegen id : 13]
Output [28]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, preferredRoundingProfile#47468, cast(null as string) AS logisticalRoundingProfile#47595]
Input [27]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, preferredRoundingProfile#47468]
(46) Project
Output [26]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407]
Input [28]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, preferredRoundingProfile#47468, logisticalRoundingProfile#47595]
(47) Project
Output [27]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ((sos#46886.minimumOrderQuantity * cast(filter(logisticUnits#47854, lambdafunction(lambda x#47917.isOrderUnit, lambda x#47917, false))[0].numerator as double)) / cast(filter(logisticUnits#47854, lambdafunction(lambda x#47918.isOrderUnit, lambda x#47918, false))[0].denominator as double)) AS minimumOrderQuantity#47915]
Input [26]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407]
(48) Scan parquet
Output [4]: [product#47947, plant#47948, orderDateTime#47949, constraintprofile#47950]
Batched: true
Location: InMemoryFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-param-determination-service/out/10000000096/0_1_10000000096/constraintprofile]
ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
(49) ColumnarToRow [codegen id : 5]
Input [4]: [product#47947, plant#47948, orderDateTime#47949, constraintprofile#47950]
(50) Exchange
Input [4]: [product#47947, plant#47948, orderDateTime#47949, constraintprofile#47950]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14975]
(51) ShuffleQueryStage
Output [4]: [product#47947, plant#47948, orderDateTime#47949, constraintprofile#47950]
Arguments: 6
(52) BroadcastExchange
Input [4]: [product#47947, plant#47948, orderDateTime#47949, constraintprofile#47950]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=15509]
(53) BroadcastQueryStage
Output [4]: [product#47947, plant#47948, orderDateTime#47949, constraintprofile#47950]
Arguments: 15
(54) BroadcastHashJoin
Left keys [6]: [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)]
Right keys [6]: [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)]
Join type: LeftOuter
Join condition: None
(55) Project
Output [28]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#47915, constraintProfile#47950]
Input [31]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#47915, product#47947, plant#47948, orderDateTime#47949, constraintprofile#47950]
(56) Scan parquet
Output [5]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044, minOrderQuantity#48045]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/prp/constraint-profile]
ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,maxServiceLevelEndListing:struct<level:double,rank:int,isActive:boolean>,maxRangeCoverage:struct<range:int,rank:int,isActive:boolean>,minOrderQuantity:struct<rank:int,isActive:boolean>>
(57) ColumnarToRow [codegen id : 6]
Input [5]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044, minOrderQuantity#48045]
(58) Project [codegen id : 6]
Output [7]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
Input [5]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044, minOrderQuantity#48045]
(59) Exchange
Input [7]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, _extract_isActive#49725, _extract_range#49726, _extract_rank#49727, minOrderQuantity#48045]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14996]
(60) ShuffleQueryStage
Output [7]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, _extract_isActive#49725, _extract_range#49726, _extract_rank#49727, minOrderQuantity#48045]
Arguments: 7
(61) BroadcastExchange
Input [7]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, _extract_isActive#49725, _extract_range#49726, _extract_rank#49727, minOrderQuantity#48045]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15513]
(62) BroadcastQueryStage
Output [7]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, _extract_isActive#49725, _extract_range#49726, _extract_rank#49727, minOrderQuantity#48045]
Arguments: 16
(63) BroadcastHashJoin
Left keys [2]: [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)]
Right keys [2]: [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)]
Join type: LeftOuter
Join condition: None
(64) Project
Output [29]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, array(CASE WHEN (minServiceLevel#48041.isActive <=> true) THEN minServiceLevel#48041.level END, CASE WHEN (_extract_isActive#49725 <=> true) THEN cast(_extract_range#49726 as double) END, coalesce(minimumOrderQuantity#47915, 0.0), CASE WHEN (maxServiceLevelEndListing#48043.isActive <=> true) THEN maxServiceLevelEndListing#48043.level END, null) AS constraintValues#48329, array(CASE WHEN (minServiceLevel#48041.isActive <=> true) THEN minServiceLevel#48041.rank ELSE 0 END, CASE WHEN (_extract_isActive#49725 <=> true) THEN _extract_rank#49727 ELSE 0 END, CASE WHEN (minOrderQuantity#48045.isActive <=> true) THEN minOrderQuantity#48045.rank ELSE 0 END, CASE WHEN (maxServiceLevelEndListing#48043.isActive <=> true) THEN maxServiceLevelEndListing#48043.rank ELSE 0 END, 0) AS constraintRanks#48330, array((minServiceLevel#48041.isActive <=> true), (_extract_isActive#49725 <=> true), (minOrderQuantity#48045.isActive <=> true), (maxServiceLevelEndListing#48043.isActive <=> true), false) AS constraintIsActive#48331]
Input [35]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#47915, constraintProfile#47950, constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, _extract_isActive#49725, _extract_range#49726, _extract_rank#49727, minOrderQuantity#48045]
(65) Project
Output [29]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, array(CASE WHEN isnull(filter(null, lambdafunction((lambda x_40#48546.label = minServiceLevel), lambda x_40#48546, false))[0]) THEN element_at(constraintValues#48329, 1, None, false) ELSE CASE WHEN filter(null, lambdafunction((lambda x_40#48547.label = minServiceLevel), lambda x_40#48547, false))[0].isActive THEN filter(null, lambdafunction((lambda x_40#48548.label = minServiceLevel), lambda x_40#48548, false))[0].value END END, CASE WHEN isnull(filter(null, lambdafunction((lambda x_41#48549.label = maxRangeCoverage), lambda x_41#48549, false))[0]) THEN element_at(constraintValues#48329, 2, None, false) ELSE CASE WHEN filter(null, lambdafunction((lambda x_41#48550.label = maxRangeCoverage), lambda x_41#48550, false))[0].isActive THEN filter(null, lambdafunction((lambda x_41#48551.label = maxRangeCoverage), lambda x_41#48551, false))[0].value END END, element_at(constraintValues#48329, 3, None, false), CASE WHEN isnull(filter(null, lambdafunction((lambda x_42#48552.label = maxServiceLevelEndListing), lambda x_42#48552, false))[0]) THEN element_at(constraintValues#48329, 4, None, false) ELSE CASE WHEN filter(null, lambdafunction((lambda x_42#48553.label = maxServiceLevelEndListing), lambda x_42#48553, false))[0].isActive THEN filter(null, lambdafunction((lambda x_42#48554.label = maxServiceLevelEndListing), lambda x_42#48554, false))[0].value END END, CASE WHEN filter(null, lambdafunction((lambda x_43#48555.label = lockedOrderQuantity), lambda x_43#48555, false))[0].isActive THEN filter(null, lambdafunction((lambda x_43#48556.label = lockedOrderQuantity), lambda x_43#48556, false))[0].value END) AS constraintValues#48545, constraintRanks#48330, array(coalesce(filter(null, lambdafunction((lambda x_35#48506.label = minServiceLevel), lambda x_35#48506, false))[0].isActive, element_at(constraintIsActive#48331, 1, None, false)), coalesce(filter(null, lambdafunction((lambda x_36#48507.label = maxRangeCoverage), lambda x_36#48507, false))[0].isActive, element_at(constraintIsActive#48331, 2, None, false)), coalesce(filter(null, lambdafunction((lambda x_37#48508.label = minOrderQuantity), lambda x_37#48508, false))[0].isActive, element_at(constraintIsActive#48331, 3, None, false)), coalesce(filter(null, lambdafunction((lambda x_38#48509.label = maxServiceLevelEndListing), lambda x_38#48509, false))[0].isActive, element_at(constraintIsActive#48331, 4, None, false)), coalesce(filter(null, lambdafunction((lambda x_39#48510.label = lockedOrderQuantity), lambda x_39#48510, false))[0].isActive, false)) AS constraintIsActive#48505]
Input [29]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, constraintValues#48329, constraintRanks#48330, constraintIsActive#48331]
(66) Project
Output [36]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, CASE WHEN element_at(constraintIsActive#48505, 3, None, false) THEN element_at(constraintValues#48545, 3, None, false) ELSE -1.0 END AS minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, sos#46886.purchasingPriceAspect.netPrice.amount AS netPriceAmount#48659, sos#46886.purchasingPriceAspect.netPrice.currencyCode.code AS netPriceCurrencyCode#48695, sos#46886.purchasingPriceAspect.netPriceQuantity AS netPriceQuantity#48732, sos#46886.purchasingPriceAspect.netPriceUnit.code AS netPriceQuantityUom#48770, sos#46886.purchasingPriceAspect.netPriceUnit.internalRefUUID AS netPriceQuantityUomUuid#48809, struct(value, CASE WHEN (sos#46886.purchasingPriceAspect.netPriceUnit.internalRefUUID <=> orderQuantityBaseUomUuid#47407) THEN (sos#46886.purchasingPriceAspect.netPrice.amount / sos#46886.purchasingPriceAspect.netPriceQuantity) ELSE (((sos#46886.purchasingPriceAspect.netPrice.amount / sos#46886.purchasingPriceAspect.netPriceQuantity) * cast(filter(logisticUnits#47854, lambdafunction((lambda x_44#48897.uomUuid = sos#46886.purchasingPriceAspect.netPriceUnit.internalRefUUID), lambda x_44#48897, false))[0].denominator as double)) / cast(filter(logisticUnits#47854, lambdafunction((lambda x_44#48898.uomUuid = sos#46886.purchasingPriceAspect.netPriceUnit.internalRefUUID), lambda x_44#48898, false))[0].numerator as double)) END, dimensionType, 0, dimensionCode, sos#46886.purchasingPriceAspect.netPrice.currencyCode.code, dimensionCodeUuid, null, isoCode, null) AS CURRENCY#48896]
Input [29]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505]
(67) Scan parquet
Output [3]: [internalUUID#48880, isoCode#48884, systemId#48879]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/cornerstone/sap-cic-common-unitofmeasurecodes-v2]
ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
(68) ColumnarToRow [codegen id : 7]
Input [3]: [internalUUID#48880, isoCode#48884, systemId#48879]
(69) Project [codegen id : 7]
Output [2]: [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
Input [3]: [internalUUID#48880, isoCode#48884, systemId#48879]
(70) Exchange
Input [2]: [internalUUID#48880, _extract_code#49701]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15021]
(71) ShuffleQueryStage
Output [2]: [internalUUID#48880, _extract_code#49701]
Arguments: 8
(72) BroadcastExchange
Input [2]: [internalUUID#48880, _extract_code#49701]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
(73) BroadcastQueryStage
Output [2]: [internalUUID#48880, _extract_code#49701]
Arguments: 17
(74) BroadcastHashJoin
Left keys [2]: [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)]
Right keys [2]: [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)]
Join type: LeftOuter
Join condition: None
(75) Project
Output [37]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, CURRENCY#48896, struct(value, cast(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#49041.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#49041, false))[0].productDimensions, lambdafunction((lambda x_46#49047.dimensionName.code = VOLUME), lambda x_46#49047, false))[0].dimensionValue as double), dimensionType, 1, dimensionCode, filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#49042.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#49042, false))[0].productDimensions, lambdafunction((lambda x_46#49048.dimensionName.code = VOLUME), lambda x_46#49048, false))[0].measurementUnit.code, dimensionCodeUuid, filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#49043.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#49043, false))[0].productDimensions, lambdafunction((lambda x_46#49049.dimensionName.code = VOLUME), lambda x_46#49049, false))[0].measurementUnit.internalRefUUID, isoCode, _extract_code#49701) AS VOLUME#49037]
Input [38]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, CURRENCY#48896, internalUUID#48880, _extract_code#49701]
(76) ReusedExchange [Reuses operator id: 72]
Output [2]: [internalUUID#49091, _extract_code#49700]
(77) BroadcastQueryStage
Output [2]: [internalUUID#49091, _extract_code#49700]
Arguments: 18
(78) BroadcastHashJoin
Left keys [2]: [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)]
Right keys [2]: [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)]
Join type: LeftOuter
Join condition: None
(79) Project
Output [34]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, filter(array(CURRENCY#48896, VOLUME#49037, struct(value, cast(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49201.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49201, false))[0].productDimensions, lambdafunction((lambda x_48#49207.dimensionName.code = GROSS_WT), lambda x_48#49207, false))[0].dimensionValue as double), dimensionType, 3, dimensionCode, filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49202.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49202, false))[0].productDimensions, lambdafunction((lambda x_48#49208.dimensionName.code = GROSS_WT), lambda x_48#49208, false))[0].measurementUnit.code, dimensionCodeUuid, filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49203.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49203, false))[0].productDimensions, lambdafunction((lambda x_48#49209.dimensionName.code = GROSS_WT), lambda x_48#49209, false))[0].measurementUnit.internalRefUUID, isoCode, _extract_code#49700)), lambdafunction(isnotnull(lambda x_49#49252.value), lambda x_49#49252, false)) AS measurements#49251]
Input [39]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, CURRENCY#48896, VOLUME#49037, internalUUID#49091, _extract_code#49700]
(80) Scan parquet
Output [6]: [supplierGroup#49333, supplier#49334, plant#49335, deliveryDateTime#49336, subrange#49337, optimizationGroups#49338]
Batched: true
Location: InMemoryFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-param-determination-service/out/10000000096/0_1_10000000096/minorderrestrictionprofile/results]
ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,optimizationGroups:array<string>>
(81) ColumnarToRow [codegen id : 9]
Input [6]: [supplierGroup#49333, supplier#49334, plant#49335, deliveryDateTime#49336, subrange#49337, optimizationGroups#49338]
(82) Exchange
Input [6]: [supplierGroup#49333, supplier#49334, plant#49335, deliveryDateTime#49336, subrange#49337, optimizationGroups#49338]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15065]
(83) ShuffleQueryStage
Output [6]: [supplierGroup#49333, supplier#49334, plant#49335, deliveryDateTime#49336, subrange#49337, optimizationGroups#49338]
Arguments: 11
(84) BroadcastExchange
Input [6]: [supplierGroup#49333, supplier#49334, plant#49335, deliveryDateTime#49336, subrange#49337, optimizationGroups#49338]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=15527]
(85) BroadcastQueryStage
Output [6]: [supplierGroup#49333, supplier#49334, plant#49335, deliveryDateTime#49336, subrange#49337, optimizationGroups#49338]
Arguments: 21
(86) BroadcastHashJoin [codegen id : 14]
Left keys [10]: [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)]
Right keys [10]: [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)]
Join type: LeftOuter
Join condition: None
(87) Project [codegen id : 14]
Output [38]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, [ServiceLevel,RangeOfCoverage,Quantity,ServiceLevelAtStartOfDelisting,Quantity] AS constraintLabels#48327, [GE,LE,GE,LE,EQ] AS constraintOperators#48328, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, measurements#49251, null AS originalReplenishmentRunId#49292L, coalesce(optimizationGroups#49338, []) AS optimizationGroups#49479]
Input [40]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, measurements#49251, supplierGroup#49333, supplier#49334, plant#49335, deliveryDateTime#49336, subrange#49337, optimizationGroups#49338]
(88) Exchange
Input [19]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731]
Arguments: hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14315]
(89) Project
Output [24]: [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
Input [24]: [internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775, systemId#46752]
(90) Exchange
Input [24]: [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14318]
(91) BroadcastExchange
Input [24]: [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14370]
(92) BroadcastHashJoin
Left keys [2]: [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)]
Right keys [2]: [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)]
Join type: LeftOuter
Join condition: None
(93) Project
Output [20]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
Input [43]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
(94) Filter
Input [9]: [internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963, systemId#46955]
Condition : plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
(95) Project
Output [9]: [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
Input [9]: [internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963, systemId#46955]
(96) Exchange
Input [9]: [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14324]
(97) BroadcastExchange
Input [9]: [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=14374]
(98) BroadcastHashJoin
Left keys [4]: [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)]
Right keys [4]: [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)]
Join type: LeftOuter
Join condition: None
(99) Project
Output [23]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
Input [29]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
(100) Filter
Input [12]: [internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197, systemId#47186]
Condition : isnotnull(internalUUID#47187)
(101) Project
Output [12]: [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
Input [12]: [internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197, systemId#47186]
(102) Exchange
Input [12]: [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14330]
(103) BroadcastExchange
Input [12]: [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
Arguments: HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=14378]
(104) BroadcastHashJoin
Left keys [1]: [product#46718]
Right keys [1]: [internalUUID#47187]
Join type: LeftOuter
Join condition: None
(105) Project
Output [24]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
Input [35]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
(106) Project
Output [27]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, productInformation#47280.baseUnitOfMeasure.code AS orderQuantityBaseUom#47379, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS orderQuantityBaseUomUuid#47407, coalesce(sos#46886.logisticalRoundingProfile.logisticalRoundingProfile, productPlant#47035.productionAspect.productPlanningPlants.logisticalRoundingProfile.logisticalRoundingProfile) AS preferredRoundingProfile#47468]
Input [24]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, productInformation#47280]
(107) InMemoryTableScan
Output [2]: [logisticalRoundingProfile#47499, plant#47500]
Arguments: [logisticalRoundingProfile#47499, plant#47500]
(108) InMemoryRelation
Arguments: [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@763c116,StorageLevel(disk, memory, 2 replicas),LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
,None)
(109) LocalTableScan
Output [3]: [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
Arguments: <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
(110) Project
Output [2]: [logisticalRoundingProfile#47499, plant#47500.internalRefUUID AS _extract_internalRefUUID#49702]
Input [2]: [logisticalRoundingProfile#47499, plant#47500]
(111) BroadcastExchange
Input [2]: [logisticalRoundingProfile#47499, _extract_internalRefUUID#49702]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false]), coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14383]
(112) BroadcastHashJoin
Left keys [4]: [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468), coalesce(plant#46715, ), isnull(plant#46715)]
Right keys [4]: [coalesce(logisticalRoundingProfile#47499, ), isnull(logisticalRoundingProfile#47499), coalesce(_extract_internalRefUUID#49702, ), isnull(_extract_internalRefUUID#49702)]
Join type: LeftOuter
Join condition: None
(113) Project
Output [27]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, preferredRoundingProfile#47468]
Input [29]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, preferredRoundingProfile#47468, logisticalRoundingProfile#47499, _extract_internalRefUUID#49702]
(114) InMemoryTableScan
Output [2]: [logisticalRoundingProfile#47595, plant#47596]
Arguments: [logisticalRoundingProfile#47595, plant#47596], [isnull(plant#47596.internalRefUUID)]
(115) InMemoryRelation
Arguments: [logisticalRoundingProfile#47595, plant#47596, logisticalRoundingRule#47597], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@763c116,StorageLevel(disk, memory, 2 replicas),LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
,None)
(116) Filter
Input [2]: [logisticalRoundingProfile#47595, plant#47596]
Condition : isnull(plant#47596.internalRefUUID)
(117) Project
Output [1]: [logisticalRoundingProfile#47595]
Input [2]: [logisticalRoundingProfile#47595, plant#47596]
(118) BroadcastExchange
Input [1]: [logisticalRoundingProfile#47595]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false])),false), [plan_id=14387]
(119) BroadcastHashJoin
Left keys [2]: [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468)]
Right keys [2]: [coalesce(logisticalRoundingProfile#47595, ), isnull(logisticalRoundingProfile#47595)]
Join type: LeftOuter
Join condition: None
(120) Project
Output [26]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407]
Input [28]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, preferredRoundingProfile#47468, logisticalRoundingProfile#47595]
(121) Project
Output [27]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ((sos#46886.minimumOrderQuantity * cast(filter(logisticUnits#47854, lambdafunction(lambda x#47917.isOrderUnit, lambda x#47917, false))[0].numerator as double)) / cast(filter(logisticUnits#47854, lambdafunction(lambda x#47918.isOrderUnit, lambda x#47918, false))[0].denominator as double)) AS minimumOrderQuantity#47915]
Input [26]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407]
(122) Exchange
Input [4]: [product#47947, plant#47948, orderDateTime#47949, constraintprofile#47950]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14345]
(123) BroadcastExchange
Input [4]: [product#47947, plant#47948, orderDateTime#47949, constraintprofile#47950]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=14392]
(124) BroadcastHashJoin
Left keys [6]: [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)]
Right keys [6]: [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)]
Join type: LeftOuter
Join condition: None
(125) Project
Output [28]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#47915, constraintProfile#47950]
Input [31]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#47915, product#47947, plant#47948, orderDateTime#47949, constraintprofile#47950]
(126) Project
Output [7]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
Input [5]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044, minOrderQuantity#48045]
(127) Exchange
Input [7]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, _extract_isActive#49725, _extract_range#49726, _extract_rank#49727, minOrderQuantity#48045]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14350]
(128) BroadcastExchange
Input [7]: [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, _extract_isActive#49725, _extract_range#49726, _extract_rank#49727, minOrderQuantity#48045]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14396]
(129) BroadcastHashJoin
Left keys [2]: [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)]
Right keys [2]: [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)]
Join type: LeftOuter
Join condition: None
(130) Project
Output [29]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, array(CASE WHEN (minServiceLevel#48041.isActive <=> true) THEN minServiceLevel#48041.level END, CASE WHEN (_extract_isActive#49725 <=> true) THEN cast(_extract_range#49726 as double) END, coalesce(minimumOrderQuantity#47915, 0.0), CASE WHEN (maxServiceLevelEndListing#48043.isActive <=> true) THEN maxServiceLevelEndListing#48043.level END, null) AS constraintValues#48329, array(CASE WHEN (minServiceLevel#48041.isActive <=> true) THEN minServiceLevel#48041.rank ELSE 0 END, CASE WHEN (_extract_isActive#49725 <=> true) THEN _extract_rank#49727 ELSE 0 END, CASE WHEN (minOrderQuantity#48045.isActive <=> true) THEN minOrderQuantity#48045.rank ELSE 0 END, CASE WHEN (maxServiceLevelEndListing#48043.isActive <=> true) THEN maxServiceLevelEndListing#48043.rank ELSE 0 END, 0) AS constraintRanks#48330, array((minServiceLevel#48041.isActive <=> true), (_extract_isActive#49725 <=> true), (minOrderQuantity#48045.isActive <=> true), (maxServiceLevelEndListing#48043.isActive <=> true), false) AS constraintIsActive#48331]
Input [35]: [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#47915, constraintProfile#47950, constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, _extract_isActive#49725, _extract_range#49726, _extract_rank#49727, minOrderQuantity#48045]
(131) Project
Output [29]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, array(CASE WHEN isnull(filter(null, lambdafunction((lambda x_40#48546.label = minServiceLevel), lambda x_40#48546, false))[0]) THEN element_at(constraintValues#48329, 1, None, false) ELSE CASE WHEN filter(null, lambdafunction((lambda x_40#48547.label = minServiceLevel), lambda x_40#48547, false))[0].isActive THEN filter(null, lambdafunction((lambda x_40#48548.label = minServiceLevel), lambda x_40#48548, false))[0].value END END, CASE WHEN isnull(filter(null, lambdafunction((lambda x_41#48549.label = maxRangeCoverage), lambda x_41#48549, false))[0]) THEN element_at(constraintValues#48329, 2, None, false) ELSE CASE WHEN filter(null, lambdafunction((lambda x_41#48550.label = maxRangeCoverage), lambda x_41#48550, false))[0].isActive THEN filter(null, lambdafunction((lambda x_41#48551.label = maxRangeCoverage), lambda x_41#48551, false))[0].value END END, element_at(constraintValues#48329, 3, None, false), CASE WHEN isnull(filter(null, lambdafunction((lambda x_42#48552.label = maxServiceLevelEndListing), lambda x_42#48552, false))[0]) THEN element_at(constraintValues#48329, 4, None, false) ELSE CASE WHEN filter(null, lambdafunction((lambda x_42#48553.label = maxServiceLevelEndListing), lambda x_42#48553, false))[0].isActive THEN filter(null, lambdafunction((lambda x_42#48554.label = maxServiceLevelEndListing), lambda x_42#48554, false))[0].value END END, CASE WHEN filter(null, lambdafunction((lambda x_43#48555.label = lockedOrderQuantity), lambda x_43#48555, false))[0].isActive THEN filter(null, lambdafunction((lambda x_43#48556.label = lockedOrderQuantity), lambda x_43#48556, false))[0].value END) AS constraintValues#48545, constraintRanks#48330, array(coalesce(filter(null, lambdafunction((lambda x_35#48506.label = minServiceLevel), lambda x_35#48506, false))[0].isActive, element_at(constraintIsActive#48331, 1, None, false)), coalesce(filter(null, lambdafunction((lambda x_36#48507.label = maxRangeCoverage), lambda x_36#48507, false))[0].isActive, element_at(constraintIsActive#48331, 2, None, false)), coalesce(filter(null, lambdafunction((lambda x_37#48508.label = minOrderQuantity), lambda x_37#48508, false))[0].isActive, element_at(constraintIsActive#48331, 3, None, false)), coalesce(filter(null, lambdafunction((lambda x_38#48509.label = maxServiceLevelEndListing), lambda x_38#48509, false))[0].isActive, element_at(constraintIsActive#48331, 4, None, false)), coalesce(filter(null, lambdafunction((lambda x_39#48510.label = lockedOrderQuantity), lambda x_39#48510, false))[0].isActive, false)) AS constraintIsActive#48505]
Input [29]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, constraintValues#48329, constraintRanks#48330, constraintIsActive#48331]
(132) Project
Output [36]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, CASE WHEN element_at(constraintIsActive#48505, 3, None, false) THEN element_at(constraintValues#48545, 3, None, false) ELSE -1.0 END AS minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, sos#46886.purchasingPriceAspect.netPrice.amount AS netPriceAmount#48659, sos#46886.purchasingPriceAspect.netPrice.currencyCode.code AS netPriceCurrencyCode#48695, sos#46886.purchasingPriceAspect.netPriceQuantity AS netPriceQuantity#48732, sos#46886.purchasingPriceAspect.netPriceUnit.code AS netPriceQuantityUom#48770, sos#46886.purchasingPriceAspect.netPriceUnit.internalRefUUID AS netPriceQuantityUomUuid#48809, struct(value, CASE WHEN (sos#46886.purchasingPriceAspect.netPriceUnit.internalRefUUID <=> orderQuantityBaseUomUuid#47407) THEN (sos#46886.purchasingPriceAspect.netPrice.amount / sos#46886.purchasingPriceAspect.netPriceQuantity) ELSE (((sos#46886.purchasingPriceAspect.netPrice.amount / sos#46886.purchasingPriceAspect.netPriceQuantity) * cast(filter(logisticUnits#47854, lambdafunction((lambda x_44#48897.uomUuid = sos#46886.purchasingPriceAspect.netPriceUnit.internalRefUUID), lambda x_44#48897, false))[0].denominator as double)) / cast(filter(logisticUnits#47854, lambdafunction((lambda x_44#48898.uomUuid = sos#46886.purchasingPriceAspect.netPriceUnit.internalRefUUID), lambda x_44#48898, false))[0].numerator as double)) END, dimensionType, 0, dimensionCode, sos#46886.purchasingPriceAspect.netPrice.currencyCode.code, dimensionCodeUuid, null, isoCode, null) AS CURRENCY#48896]
Input [29]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505]
(133) Project
Output [2]: [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
Input [3]: [internalUUID#48880, isoCode#48884, systemId#48879]
(134) Exchange
Input [2]: [internalUUID#48880, _extract_code#49701]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14357]
(135) BroadcastExchange
Input [2]: [internalUUID#48880, _extract_code#49701]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14402]
(136) BroadcastHashJoin
Left keys [2]: [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)]
Right keys [2]: [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)]
Join type: LeftOuter
Join condition: None
(137) Project
Output [37]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, CURRENCY#48896, struct(value, cast(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#49041.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#49041, false))[0].productDimensions, lambdafunction((lambda x_46#49047.dimensionName.code = VOLUME), lambda x_46#49047, false))[0].dimensionValue as double), dimensionType, 1, dimensionCode, filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#49042.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#49042, false))[0].productDimensions, lambdafunction((lambda x_46#49048.dimensionName.code = VOLUME), lambda x_46#49048, false))[0].measurementUnit.code, dimensionCodeUuid, filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#49043.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#49043, false))[0].productDimensions, lambdafunction((lambda x_46#49049.dimensionName.code = VOLUME), lambda x_46#49049, false))[0].measurementUnit.internalRefUUID, isoCode, _extract_code#49701) AS VOLUME#49037]
Input [38]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, CURRENCY#48896, internalUUID#48880, _extract_code#49701]
(138) Scan parquet
Output [3]: [internalUUID#49091, isoCode#49095, systemId#49090]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/cornerstone/sap-cic-common-unitofmeasurecodes-v2]
ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
(139) Project
Output [2]: [internalUUID#49091, isoCode#49095.code AS _extract_code#49700]
Input [3]: [internalUUID#49091, isoCode#49095, systemId#49090]
(140) Exchange
Input [2]: [internalUUID#49091, _extract_code#49700]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14362]
(141) BroadcastExchange
Input [2]: [internalUUID#49091, _extract_code#49700]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14406]
(142) BroadcastHashJoin
Left keys [2]: [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)]
Right keys [2]: [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)]
Join type: LeftOuter
Join condition: None
(143) Project
Output [34]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, filter(array(CURRENCY#48896, VOLUME#49037, struct(value, cast(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49201.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49201, false))[0].productDimensions, lambdafunction((lambda x_48#49207.dimensionName.code = GROSS_WT), lambda x_48#49207, false))[0].dimensionValue as double), dimensionType, 3, dimensionCode, filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49202.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49202, false))[0].productDimensions, lambdafunction((lambda x_48#49208.dimensionName.code = GROSS_WT), lambda x_48#49208, false))[0].measurementUnit.code, dimensionCodeUuid, filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49203.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49203, false))[0].productDimensions, lambdafunction((lambda x_48#49209.dimensionName.code = GROSS_WT), lambda x_48#49209, false))[0].measurementUnit.internalRefUUID, isoCode, _extract_code#49700)), lambdafunction(isnotnull(lambda x_49#49252.value), lambda x_49#49252, false)) AS measurements#49251]
Input [39]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, CURRENCY#48896, VOLUME#49037, internalUUID#49091, _extract_code#49700]
(144) Exchange
Input [6]: [supplierGroup#49333, supplier#49334, plant#49335, deliveryDateTime#49336, subrange#49337, optimizationGroups#49338]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14366]
(145) BroadcastExchange
Input [6]: [supplierGroup#49333, supplier#49334, plant#49335, deliveryDateTime#49336, subrange#49337, optimizationGroups#49338]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=14410]
(146) BroadcastHashJoin
Left keys [10]: [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)]
Right keys [10]: [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)]
Join type: LeftOuter
Join condition: None
(147) Project
Output [38]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, [ServiceLevel,RangeOfCoverage,Quantity,ServiceLevelAtStartOfDelisting,Quantity] AS constraintLabels#48327, [GE,LE,GE,LE,EQ] AS constraintOperators#48328, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, measurements#49251, null AS originalReplenishmentRunId#49292L, coalesce(optimizationGroups#49338, []) AS optimizationGroups#49479]
Input [40]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, measurements#49251, supplierGroup#49333, supplier#49334, plant#49335, deliveryDateTime#49336, subrange#49337, optimizationGroups#49338]
(148) AdaptiveSparkPlan
Output [38]: [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, minimumOrderQuantity#48591, constraintLabels#48327, constraintOperators#48328, constraintValues#48545, constraintRanks#48330, constraintIsActive#48505, netPriceAmount#48659, netPriceCurrencyCode#48695, netPriceQuantity#48732, netPriceQuantityUom#48770, netPriceQuantityUomUuid#48809, measurements#49251, originalReplenishmentRunId#49292L, optimizationGroups#49479]
Arguments: isFinalPlan=true
(149) TableCacheQueryStage
Output [1]: [orderProposalId#46726L]
Arguments: 0
(150) HashAggregate [codegen id : 4]
Input [1]: [orderProposalId#46726L]
Keys [1]: [orderProposalId#46726L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#46726L]
(151) Exchange
Input [1]: [orderProposalId#46726L]
Arguments: hashpartitioning(orderProposalId#46726L, 25), ENSURE_REQUIREMENTS, [plan_id=16708]
(152) ShuffleQueryStage
Output [1]: [orderProposalId#46726L]
Arguments: 6
(153) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#46726L]
Keys [1]: [orderProposalId#46726L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#46726L]
(154) Sort [codegen id : 7]
Input [1]: [orderProposalId#46726L]
Arguments: [orderProposalId#46726L ASC NULLS FIRST], false, 0
(155) InMemoryTableScan
Output [1]: [orderProposalId#51960L]
Arguments: [orderProposalId#51960L], [isnotnull(orderProposalId#51960L)]
(156) InMemoryRelation
Arguments: [orderProposalId#51960L, orderProposalItemId#51965, supplierGroup#51947, supplier#51948, plant#51949, deliveryDateTime#51950, subrange#51951, product#51952, orderDateTime#51953, availabilityDateTime#51954, nextAvailabilityDateTime#51955, mrpController#51956, sourceOfSupplyUuid#51957, purchasingOrg#51958, purchasingGroup#51959, orderProposalHorizonGroupingId#51961L, splitIndicator#51962L, worklistShardItemId#51963L, orderProposalItemGroupId#51964, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@763c116,StorageLevel(disk, memory, 2 replicas),AdaptiveSparkPlan isFinalPlan=true
+- == Final Plan ==
*(14) Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- *(14) BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- *(13) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 4 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 5 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : +- *(12) BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : +- *(12) BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : :- ShuffleQueryStage 0
: : : : : : : : +- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14856]
: : : : : : : : +- *(1) ColumnarToRow
: : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : +- BroadcastQueryStage 14
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=15491]
: : : : : : : +- ShuffleQueryStage 1
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14875]
: : : : : : : +- *(2) Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : +- *(2) ColumnarToRow
: : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : +- BroadcastQueryStage 19
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=15495]
: : : : : : +- ShuffleQueryStage 2
: : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14902]
: : : : : : +- *(3) Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : +- *(3) Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : +- *(3) ColumnarToRow
: : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : +- BroadcastQueryStage 20
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=15499]
: : : : : +- ShuffleQueryStage 3
: : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14931]
: : : : : +- *(4) Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : +- *(4) Filter isnotnull(internalUUID#47187)
: : : : : +- *(4) ColumnarToRow
: : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : +- BroadcastQueryStage 15
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=15509]
: : : : +- ShuffleQueryStage 6
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14975]
: : : : +- *(5) ColumnarToRow
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastQueryStage 16
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15513]
: : : +- ShuffleQueryStage 7
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14996]
: : : +- *(6) Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- *(6) ColumnarToRow
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastQueryStage 17
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
: : +- ShuffleQueryStage 8
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15021]
: : +- *(7) Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- *(7) ColumnarToRow
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastQueryStage 18
: +- ReusedExchange [internalUUID#49091, _extract_code#49700], BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
+- BroadcastQueryStage 21
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=15527]
+- ShuffleQueryStage 11
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15065]
+- *(9) ColumnarToRow
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
+- == Initial Plan ==
Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468)], [coalesce(logisticalRoundingProfile#47595, ), isnull(logisticalRoundingProfile#47595)], LeftOuter, BuildRight, false
: : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(logisticalRoundingProfile#47499, ), isnull(logisticalRoundingProfile#47499), coalesce(_extract_internalRefUUID#49702, ), isnull(_extract_internalRefUUID#49702)], LeftOuter, BuildRight, false
: : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : : : +- BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : : : :- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14315]
: : : : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14370]
: : : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14318]
: : : : : : : : : +- Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=14374]
: : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14324]
: : : : : : : : +- Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : : : +- Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=14378]
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14330]
: : : : : : : +- Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : : : +- Filter isnotnull(internalUUID#47187)
: : : : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false]), coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14383]
: : : : : : +- Project [logisticalRoundingProfile#47499, plant#47500.internalRefUUID AS _extract_internalRefUUID#49702]
: : : : : : +- InMemoryTableScan [logisticalRoundingProfile#47499, plant#47500]
: : : : : : +- InMemoryRelation [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501], StorageLevel(disk, memory, 2 replicas)
: : : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false])),false), [plan_id=14387]
: : : : : +- Project [logisticalRoundingProfile#47595]
: : : : : +- Filter isnull(plant#47596.internalRefUUID)
: : : : : +- InMemoryTableScan [logisticalRoundingProfile#47595, plant#47596], [isnull(plant#47596.internalRefUUID)]
: : : : : +- InMemoryRelation [logisticalRoundingProfile#47595, plant#47596, logisticalRoundingRule#47597], StorageLevel(disk, memory, 2 replicas)
: : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=14392]
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14345]
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14396]
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14350]
: : : +- Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14402]
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14357]
: : +- Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14406]
: +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14362]
: +- Project [internalUUID#49091, isoCode#49095.code AS _extract_code#49700]
: +- FileScan parquet [internalUUID#49091,isoCode#49095,systemId#49090] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=14410]
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14366]
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
,None)
(157) TableCacheQueryStage
Output [1]: [orderProposalId#51960L]
Arguments: 1
(158) Filter [codegen id : 5]
Input [1]: [orderProposalId#51960L]
Condition : isnotnull(orderProposalId#51960L)
(159) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#51960L]
Keys [1]: [orderProposalId#51960L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#51960L]
(160) Exchange
Input [1]: [orderProposalId#51960L]
Arguments: hashpartitioning(orderProposalId#51960L, 25), ENSURE_REQUIREMENTS, [plan_id=16727]
(161) ShuffleQueryStage
Output [1]: [orderProposalId#51960L]
Arguments: 7
(162) HashAggregate [codegen id : 8]
Input [1]: [orderProposalId#51960L]
Keys [1]: [orderProposalId#51960L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#51960L]
(163) Project [codegen id : 8]
Output [5]: [orderProposalId#51960L, cast(null as string) AS optGroupId#51603, cast(null as bigint) AS orderProposalId#52066L, cast(null as string) AS minOrderProfile#52159, cast(null as string) AS assignmentDetails#52161]
Input [1]: [orderProposalId#51960L]
(164) Project [codegen id : 8]
Output [4]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161]
Input [5]: [orderProposalId#51960L, optGroupId#51603, orderProposalId#52066L, minOrderProfile#52159, assignmentDetails#52161]
(165) Scan parquet
Output [5]: [supplierminimumprofilename#51810, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/prp/supplier-minimum-profile]
ReadSchema: struct<supplierminimumprofilename:string,dimensionType:int,dimensionValue:double,dimensionUnit:struct<dimensionCode:string,dimensionCodeUuid:string>,acceptanceThreshold:double>
(166) ColumnarToRow [codegen id : 2]
Input [5]: [supplierminimumprofilename#51810, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
(167) Exchange
Input [5]: [supplierminimumprofilename#51810, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=16566]
(168) ShuffleQueryStage
Output [5]: [supplierminimumprofilename#51810, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
Arguments: 4
(169) BroadcastExchange
Input [5]: [supplierminimumprofilename#51810, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=16829]
(170) BroadcastQueryStage
Output [5]: [supplierminimumprofilename#51810, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
Arguments: 9
(171) BroadcastHashJoin [codegen id : 8]
Left keys [2]: [coalesce(minOrderProfile#52159, ), isnull(minOrderProfile#52159)]
Right keys [2]: [coalesce(supplierminimumprofilename#51810, ), isnull(supplierminimumprofilename#51810)]
Join type: Inner
Join condition: None
(172) Project [codegen id : 8]
Output [8]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
Input [9]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, supplierminimumprofilename#51810, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
(173) Scan parquet
Output [3]: [internalUUID#51827, isoCode#51831, systemId#51826]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/cornerstone/sap-cic-common-unitofmeasurecodes-v2]
ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
(174) ColumnarToRow [codegen id : 3]
Input [3]: [internalUUID#51827, isoCode#51831, systemId#51826]
(175) Project [codegen id : 3]
Output [2]: [internalUUID#51827, isoCode#51831.code AS _extract_code#53711]
Input [3]: [internalUUID#51827, isoCode#51831, systemId#51826]
(176) Exchange
Input [2]: [internalUUID#51827, _extract_code#53711]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=16587]
(177) ShuffleQueryStage
Output [2]: [internalUUID#51827, _extract_code#53711]
Arguments: 5
(178) BroadcastExchange
Input [2]: [internalUUID#51827, _extract_code#53711]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=16833]
(179) BroadcastQueryStage
Output [2]: [internalUUID#51827, _extract_code#53711]
Arguments: 10
(180) BroadcastHashJoin [codegen id : 8]
Left keys [2]: [coalesce(dimensionUnit#51814.dimensionCodeUuid, ), isnull(dimensionUnit#51814.dimensionCodeUuid)]
Right keys [2]: [coalesce(internalUUID#51827, ), isnull(internalUUID#51827)]
Join type: LeftOuter
Join condition: None
(181) Project [codegen id : 8]
Output [5]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, struct(minOrderValue, dimensionValue#51813, dimensionType, dimensionType#51812, unit, dimensionUnit#51814.dimensionCode, unitUuid, dimensionUnit#51814.dimensionCodeUuid, negligibleQuantitiesThreshold, 0.2, acceptanceThreshold, (acceptanceThreshold#51815 / 100.0), isoCode, _extract_code#53711) AS minOrderGoal#51907]
Input [10]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815, internalUUID#51827, _extract_code#53711]
(182) Sort [codegen id : 8]
Input [5]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, minOrderGoal#51907]
Arguments: [orderProposalId#51960L ASC NULLS FIRST], false, 0
(183) SortMergeJoin [codegen id : 9]
Left keys [1]: [orderProposalId#46726L]
Right keys [1]: [orderProposalId#51960L]
Join type: LeftOuter
Join condition: None
(184) Project [codegen id : 9]
Output [5]: [orderProposalId#46726L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, minOrderGoal#51907]
Input [6]: [orderProposalId#46726L, orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, minOrderGoal#51907]
(185) ObjectHashAggregate
Input [5]: [orderProposalId#46726L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, minOrderGoal#51907]
Keys [1]: [orderProposalId#46726L]
Functions [1]: [partial_collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)]
Aggregate Attributes [1]: [buf#54890]
Results [2]: [orderProposalId#46726L, buf#54891]
(186) ObjectHashAggregate
Input [2]: [orderProposalId#46726L, buf#54891]
Keys [1]: [orderProposalId#46726L]
Functions [1]: [collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)#52183]
Results [2]: [orderProposalId#46726L, filter(collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)#52183, lambdafunction(isnotnull(lambda x_50#52188.optGroupId), lambda x_50#52188, false)) AS optimizationGroups#52187]
(187) HashAggregate
Input [1]: [orderProposalId#46726L]
Keys [1]: [orderProposalId#46726L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#46726L]
(188) Exchange
Input [1]: [orderProposalId#46726L]
Arguments: hashpartitioning(orderProposalId#46726L, 25), ENSURE_REQUIREMENTS, [plan_id=14790]
(189) HashAggregate
Input [1]: [orderProposalId#46726L]
Keys [1]: [orderProposalId#46726L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#46726L]
(190) Sort
Input [1]: [orderProposalId#46726L]
Arguments: [orderProposalId#46726L ASC NULLS FIRST], false, 0
(191) Filter
Input [1]: [orderProposalId#51960L]
Condition : isnotnull(orderProposalId#51960L)
(192) HashAggregate
Input [1]: [orderProposalId#51960L]
Keys [1]: [orderProposalId#51960L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#51960L]
(193) Exchange
Input [1]: [orderProposalId#51960L]
Arguments: hashpartitioning(orderProposalId#51960L, 25), ENSURE_REQUIREMENTS, [plan_id=14792]
(194) HashAggregate
Input [1]: [orderProposalId#51960L]
Keys [1]: [orderProposalId#51960L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#51960L]
(195) Sort
Input [1]: [orderProposalId#51960L]
Arguments: [orderProposalId#51960L ASC NULLS FIRST], false, 0
(196) InMemoryTableScan
Output [2]: [orderProposalId#52066L, optimizationGroups#49479]
Arguments: [orderProposalId#52066L, optimizationGroups#49479], [isnotnull(orderProposalId#52066L)]
(197) InMemoryRelation
Arguments: [orderProposalId#52066L, orderProposalItemId#52071, supplierGroup#52053, supplier#52054, plant#52055, deliveryDateTime#52056, subrange#52057, product#52058, orderDateTime#52059, availabilityDateTime#52060, nextAvailabilityDateTime#52061, mrpController#52062, sourceOfSupplyUuid#52063, purchasingOrg#52064, purchasingGroup#52065, orderProposalHorizonGroupingId#52067L, splitIndicator#52068L, worklistShardItemId#52069L, orderProposalItemGroupId#52070, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields], CachedRDDBuilder(org.apache.spark.sql.execution.columnar.DefaultCachedBatchSerializer@763c116,StorageLevel(disk, memory, 2 replicas),AdaptiveSparkPlan isFinalPlan=true
+- == Final Plan ==
*(14) Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- *(14) BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- *(13) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 4 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 5 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : +- *(12) BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : :- *(12) Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : +- *(12) BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : :- ShuffleQueryStage 0
: : : : : : : : +- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14856]
: : : : : : : : +- *(1) ColumnarToRow
: : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : +- BroadcastQueryStage 14
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=15491]
: : : : : : : +- ShuffleQueryStage 1
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14875]
: : : : : : : +- *(2) Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : +- *(2) ColumnarToRow
: : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : +- BroadcastQueryStage 19
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=15495]
: : : : : : +- ShuffleQueryStage 2
: : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14902]
: : : : : : +- *(3) Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : +- *(3) Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : +- *(3) ColumnarToRow
: : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : +- BroadcastQueryStage 20
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=15499]
: : : : : +- ShuffleQueryStage 3
: : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14931]
: : : : : +- *(4) Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : +- *(4) Filter isnotnull(internalUUID#47187)
: : : : : +- *(4) ColumnarToRow
: : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : +- BroadcastQueryStage 15
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=15509]
: : : : +- ShuffleQueryStage 6
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14975]
: : : : +- *(5) ColumnarToRow
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastQueryStage 16
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15513]
: : : +- ShuffleQueryStage 7
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14996]
: : : +- *(6) Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- *(6) ColumnarToRow
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastQueryStage 17
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
: : +- ShuffleQueryStage 8
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15021]
: : +- *(7) Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- *(7) ColumnarToRow
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastQueryStage 18
: +- ReusedExchange [internalUUID#49091, _extract_code#49700], BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=15519]
+- BroadcastQueryStage 21
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=15527]
+- ShuffleQueryStage 11
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=15065]
+- *(9) ColumnarToRow
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
+- == Initial Plan ==
Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 14 more fields]
+- BroadcastHashJoin [coalesce(supplierGroup#46713, ), isnull(supplierGroup#46713), coalesce(supplier#46714, ), isnull(supplier#46714), coalesce(subrange#46717, ), isnull(subrange#46717), coalesce(plant#46715, ), isnull(plant#46715), coalesce(deliveryDateTime#46716, 1970-01-01 00:00:00), isnull(deliveryDateTime#46716)], [coalesce(supplierGroup#49333, ), isnull(supplierGroup#49333), coalesce(supplier#49334, ), isnull(supplier#49334), coalesce(subrange#49337, ), isnull(subrange#49337), coalesce(plant#49335, ), isnull(plant#49335), coalesce(deliveryDateTime#49336, 1970-01-01 00:00:00), isnull(deliveryDateTime#49336)], LeftOuter, BuildRight, false
:- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, logisticUnits#47854, orderQuantityBaseUom#47379, orderQuantityBaseUomUuid#47407, ... 10 more fields]
: +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_47#49097.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_47#49097, false))[0].productDimensions, lambdafunction((lambda x_48#49099.dimensionName.code = GROSS_WT), lambda x_48#49099, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#49091, ), isnull(internalUUID#49091)], LeftOuter, BuildRight, false
: :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, _extract_unitOfMeasures#49723, _extract_internalRefUUID#49724, logisticUnits#47854, ... 13 more fields]
: : +- BroadcastHashJoin [coalesce(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID, ), isnull(filter(filter(_extract_unitOfMeasures#49723, lambdafunction((lambda x_45#48939.measurementUnit.internalRefUUID = _extract_internalRefUUID#49724), lambda x_45#48939, false))[0].productDimensions, lambdafunction((lambda x_46#48941.dimensionName.code = VOLUME), lambda x_46#48941, false))[0].measurementUnit.internalRefUUID)], [coalesce(internalUUID#48880, ), isnull(internalUUID#48880)], LeftOuter, BuildRight, false
: : :- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, externalProductId#47066, externalPlantId#47099, productInformation#47280.unitOfMeasures AS _extract_unitOfMeasures#49723, productInformation#47280.baseUnitOfMeasure.internalRefUUID AS _extract_internalRefUUID#49724, logisticUnits#47854, ... 12 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- Project [orderProposalId#46726L, orderProposalItemId#46731, supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 5 more fields]
: : : +- BroadcastHashJoin [coalesce(constraintProfile#47950, ), isnull(constraintProfile#47950)], [coalesce(constraintProfile#48039, ), isnull(constraintProfile#48039)], LeftOuter, BuildRight, false
: : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 4 more fields]
: : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715), coalesce(orderDateTime#46719, 1970-01-01 00:00:00), isnull(orderDateTime#46719)], [coalesce(product#47947, ), isnull(product#47947), coalesce(plant#47948, ), isnull(plant#47948), coalesce(orderDateTime#47949, 1970-01-01 00:00:00), isnull(orderDateTime#47949)], LeftOuter, BuildRight, false
: : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47854, ... 3 more fields]
: : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47855.uom, uomUuid, lambda x_30#47855.uomUuid, numerator, lambda x_30#47855.numerator, denominator, lambda x_30#47855.denominator, isOrderUnit, lambda x_30#47855.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47855.uomUuid) THEN true ELSE lambda x_30#47855.isPreferred END), lambda x_30#47855, false)), lambdafunction(named_struct(uom, lambda x_32#47856.uom, uomUuid, lambda x_32#47856.uomUuid, numerator, lambda x_32#47856.numerator, denominator, lambda x_32#47856.denominator, isOrderUnit, lambda x_32#47856.isOrderUnit, isPreferred, CASE WHEN array_contains(transform(transform(logisticUnits#47436, lambdafunction(named_struct(uom, lambda x_30#47857.uom, uomUuid, lambda x_30#47857.uomUuid, numerator, lambda x_30#47857.numerator, denominator, lambda x_30#47857.denominator, isOrderUnit, lambda x_30#47857.isOrderUnit, isPreferred, CASE WHEN array_contains([], lambda x_30#47857.uomUuid) THEN true ELSE lambda x_30#47857.isPreferred END), lambda x_30#47857, false)), lambdafunction(lambda x_31#47858.isPreferred, lambda x_31#47858, false)), true) THEN lambda x_32#47856.isPreferred ELSE lambda x_32#47856.isOrderUnit END), lambda x_32#47856, false)) AS logisticUnits#47854, ... 2 more fields]
: : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468)], [coalesce(logisticalRoundingProfile#47595, ), isnull(logisticalRoundingProfile#47595)], LeftOuter, BuildRight, false
: : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, logisticUnits#47436, ... 3 more fields]
: : : : : : +- BroadcastHashJoin [coalesce(preferredRoundingProfile#47468, ), isnull(preferredRoundingProfile#47468), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(logisticalRoundingProfile#47499, ), isnull(logisticalRoundingProfile#47499), coalesce(_extract_internalRefUUID#49702, ), isnull(_extract_internalRefUUID#49702)], LeftOuter, BuildRight, false
: : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, externalProductId#47066, externalPlantId#47099, productInformation#47280, transform(coalesce(transform(filter(productInformation#47280.unitOfMeasureConversions, lambdafunction((array_contains(transform(productInformation#47280.unitOfMeasures, lambdafunction(lambda x_27#47352.measurementUnit.internalRefUUID, lambda x_27#47352, false)), lambda x_26#47349.measurementUnit1.internalRefUUID) AND (lambda x_26#47349.measurementUnit2.internalRefUUID = productInformation#47280.baseUnitOfMeasure.internalRefUUID)), lambda x_26#47349, false)), lambdafunction(struct(uom, lambda x_28#47353.measurementUnit1.code, uomUuid, lambda x_28#47353.measurementUnit1.internalRefUUID, numerator, lambda x_28#47353.quantityNumerator, denominator, lambda x_28#47353.quantityDenominator, isOrderUnit, false, isPreferred, false), lambda x_28#47353, false)), []), lambdafunction(named_struct(uom, lambda x_29#47437.uom, uomUuid, lambda x_29#47437.uomUuid, numerator, lambda x_29#47437.numerator, denominator, lambda x_29#47437.denominator, isOrderUnit, ((lambda x_29#47437.uomUuid = coalesce(sos#46886.orderQuantityUnit.internalRefUUID, productInformation#47280.procurementAspect.orderUnit.internalRefUUID, productInformation#47280.baseUnitOfMeasure.internalRefUUID)) <=> true), isPreferred, lambda x_29#47437.isPreferred), lambda x_29#47437, false)) AS logisticUnits#47436, ... 3 more fields]
: : : : : : : +- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, productPlant#47035, externalProductId#47066, externalPlantId#47099, CASE WHEN isnotnull(internalUUID#47187) THEN struct(systemId, systemId#47186, internalUUID, internalUUID#47187, id, id#47188, displayId, displayId#47189, name, name#47190, baseUnitOfMeasure, baseUnitOfMeasure#47191, unitOfMeasures, unitOfMeasures#47192, unitOfMeasureConversions, unitOfMeasureConversions#47193, productionAspect, productionAspect#47194, salesAspect, salesAspect#47195, procurementAspect, procurementAspect#47196, productGroup, productGroup#47197) END AS productInformation#47280]
: : : : : : : +- BroadcastHashJoin [product#46718], [internalUUID#47187], LeftOuter, BuildRight, false
: : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, sos#46886, CASE WHEN isnotnull(productionAspect#46960) THEN struct(systemId, systemId#46955, internalUUID, internalUUID#46956, plant, plant#46957, product, product#46958, blockedForReplenishmentStartingFrom, blockedForReplenishmentStartingFrom#46959, productionAspect, productionAspect#46960, salesPlant, salesPlant#46961, listing, listing#46962, sourceOfSupplyCategory, sourceOfSupplyCategory#46963) END AS productPlant#47035, product#46958.id AS externalProductId#47066, plant#46957.id AS externalPlantId#47099]
: : : : : : : : +- BroadcastHashJoin [coalesce(product#46718, ), isnull(product#46718), coalesce(plant#46715, ), isnull(plant#46715)], [coalesce(product#46958.internalRefUUID, ), isnull(product#46958.internalRefUUID), coalesce(plant#46957.internalRefUUID, ), isnull(plant#46957.internalRefUUID)], LeftOuter, BuildRight, false
: : : : : : : : :- Project [supplierGroup#46713, supplier#46714, plant#46715, deliveryDateTime#46716, subrange#46717, product#46718, orderDateTime#46719, availabilityDateTime#46720, nextAvailabilityDateTime#46721, mrpController#46722, sourceOfSupplyUuid#46723, purchasingOrg#46724, purchasingGroup#46725, orderProposalId#46726L, orderProposalHorizonGroupingId#46727L, splitIndicator#46728L, worklistShardItemId#46729L, orderProposalItemGroupId#46730, orderProposalItemId#46731, struct(systemId, systemId#46752, internalUUID, internalUUID#46753, supplier, supplier#46754, receiver, receiver#46755, product, product#46756, receivingPlant, receivingPlant#46757, sourceOfSupplyType, sourceOfSupplyType#46758, purchasingGroup, purchasingGroup#46759, purchasingOrganization, purchasingOrganization#46760, productGroup, productGroup#46761, validFrom, validFrom#46762, validTo, validTo#46763, ... 24 more fields) AS sos#46886]
: : : : : : : : : +- BroadcastHashJoin [coalesce(sourceOfSupplyUuid#46723, ), isnull(sourceOfSupplyUuid#46723)], [coalesce(internalUUID#46753, ), isnull(internalUUID#46753)], LeftOuter, BuildRight, false
: : : : : : : : : :- Exchange hashpartitioning(product#46718, plant#46715, 25), REPARTITION_BY_NUM, [plan_id=14315]
: : : : : : : : : : +- FileScan parquet [supplierGroup#46713,supplier#46714,plant#46715,deliveryDateTime#46716,subrange#46717,product#46718,orderDateTime#46719,availabilityDateTime#46720,nextAvailabilityDateTime#46721,mrpController#46722,sourceOfSupplyUuid#46723,purchasingOrg#46724,purchasingGroup#46725,orderProposalId#46726L,orderProposalHorizonGroupingId#46727L,splitIndicator#46728L,worklistShardItemId#46729L,orderProposalItemGroupId#46730,orderProposalItemId#46731] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
: : : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14370]
: : : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14318]
: : : : : : : : : +- Project [systemId#46752, internalUUID#46753, supplier#46754, receiver#46755, product#46756, receivingPlant#46757, sourceOfSupplyType#46758, purchasingGroup#46759, purchasingOrganization#46760, productGroup#46761, validFrom#46762, validTo#46763, priority#46764, isPurchasingBlocked#46765, isConsignment#46766, isDeleted#46767, supplierSubrange#46768, plannedDeliveryTimeDays#46769, orderQuantityUnit#46770, purchasingPriceAspect#46771, orderCurrency#46772, minimumOrderQuantity#46773, logisticalRoundingProfile#46774, supplyingPlant#46775]
: : : : : : : : : +- FileScan parquet [internalUUID#46753,supplier#46754,receiver#46755,product#46756,receivingPlant#46757,sourceOfSupplyType#46758,purchasingGroup#46759,purchasingOrganization#46760,productGroup#46761,validFrom#46762,validTo#46763,priority#46764,isPurchasingBlocked#46765,isConsignment#46766,isDeleted#46767,supplierSubrange#46768,plannedDeliveryTimeDays#46769,orderQuantityUnit#46770,purchasingPriceAspect#46771,orderCurrency#46772,minimumOrderQuantity#46773,logisticalRoundingProfile#46774,supplyingPlant#46775,systemId#46752] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,supplier:struct<internalRefUUID:string,id:string>,receiver:struct<inte...
: : : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[3, struct<internalRefUUID:string,id:string>, true].internalRefUUID), coalesce(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID, ), isnull(input[2, struct<internalRefUUID:string,id:string>, true].internalRefUUID)),false), [plan_id=14374]
: : : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14324]
: : : : : : : : +- Project [systemId#46955, internalUUID#46956, plant#46957, product#46958, blockedForReplenishmentStartingFrom#46959, productionAspect#46960, salesPlant#46961, listing#46962, sourceOfSupplyCategory#46963]
: : : : : : : : +- Filter plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf0,4d233bd0bf112aded9d852448354b078,fca7a07ad5f143db2beafbd1d0401ea1,45f9c5206af43e1e6acbe19d9a246289,6d24a939f4bbd79f6acb8684d6e45c97,3d84243e56ebf98292ed5dba2fd51543,24a9ebb440508219166784d4d1c19eef,25c0d9731dd07bb53999d9a8f04398e0,f80b06f7b2102a5f5c63b031eb5d8e03)
: : : : : : : : +- FileScan parquet [internalUUID#46956,plant#46957,product#46958,blockedForReplenishmentStartingFrom#46959,productionAspect#46960,salesPlant#46961,listing#46962,sourceOfSupplyCategory#46963,systemId#46955] Batched: true, DataFilters: [plant#46957.internalRefUUID IN (1c037502c75549dc72c6fc87c802bcec,717937a4d5db853d3359b6a0623cfdf..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [In(plant.internalRefUUID, [1c037502c75549dc72c6fc87c802bcec,24a9ebb440508219166784d4d1c19eef,25c..., ReadSchema: struct<internalUUID:string,plant:struct<internalRefUUID:string,id:string>,product:struct<internal...
: : : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(input[1, string, true]),false), [plan_id=14378]
: : : : : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14330]
: : : : : : : +- Project [systemId#47186, internalUUID#47187, id#47188, displayId#47189, name#47190, baseUnitOfMeasure#47191, unitOfMeasures#47192, unitOfMeasureConversions#47193, productionAspect#47194, salesAspect#47195, procurementAspect#47196, productGroup#47197]
: : : : : : : +- Filter isnotnull(internalUUID#47187)
: : : : : : : +- FileScan parquet [internalUUID#47187,id#47188,displayId#47189,name#47190,baseUnitOfMeasure#47191,unitOfMeasures#47192,unitOfMeasureConversions#47193,productionAspect#47194,salesAspect#47195,procurementAspect#47196,productGroup#47197,systemId#47186] Batched: true, DataFilters: [isnotnull(internalUUID#47187)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [IsNotNull(internalUUID)], ReadSchema: struct<internalUUID:string,id:string,displayId:string,name:array<struct<lang:string,content:strin...
: : : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false]), coalesce(input[1, string, true], ), isnull(input[1, string, true])),false), [plan_id=14383]
: : : : : : +- Project [logisticalRoundingProfile#47499, plant#47500.internalRefUUID AS _extract_internalRefUUID#49702]
: : : : : : +- InMemoryTableScan [logisticalRoundingProfile#47499, plant#47500]
: : : : : : +- InMemoryRelation [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501], StorageLevel(disk, memory, 2 replicas)
: : : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, false], ), isnull(input[0, string, false])),false), [plan_id=14387]
: : : : : +- Project [logisticalRoundingProfile#47595]
: : : : : +- Filter isnull(plant#47596.internalRefUUID)
: : : : : +- InMemoryTableScan [logisticalRoundingProfile#47595, plant#47596], [isnull(plant#47596.internalRefUUID)]
: : : : : +- InMemoryRelation [logisticalRoundingProfile#47595, plant#47596, logisticalRoundingRule#47597], StorageLevel(disk, memory, 2 replicas)
: : : : : +- LocalTableScan <empty>, [logisticalRoundingProfile#47499, plant#47500, logisticalRoundingRule#47501]
: : : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[2, timestamp, true], 1970-01-01 00:00:00), isnull(input[2, timestamp, true])),false), [plan_id=14392]
: : : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14345]
: : : : +- FileScan parquet [product#47947,plant#47948,orderDateTime#47949,constraintprofile#47950] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<product:string,plant:string,orderDateTime:timestamp,constraintprofile:string>
: : : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14396]
: : : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14350]
: : : +- Project [constraintProfile#48039, minServiceLevel#48041, maxServiceLevelEndListing#48043, maxRangeCoverage#48044.isActive AS _extract_isActive#49725, maxRangeCoverage#48044.range AS _extract_range#49726, maxRangeCoverage#48044.rank AS _extract_rank#49727, minOrderQuantity#48045]
: : : +- FileScan parquet [constraintProfile#48039,minServiceLevel#48041,maxServiceLevelEndListing#48043,maxRangeCoverage#48044,minOrderQuantity#48045] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<constraintProfile:string,minServiceLevel:struct<level:double,rank:int,isActive:boolean>,ma...
: : +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14402]
: : +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14357]
: : +- Project [internalUUID#48880, isoCode#48884.code AS _extract_code#49701]
: : +- FileScan parquet [internalUUID#48880,isoCode#48884,systemId#48879] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
: +- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14406]
: +- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14362]
: +- Project [internalUUID#49091, isoCode#49095.code AS _extract_code#49700]
: +- FileScan parquet [internalUUID#49091,isoCode#49095,systemId#49090] Batched: true, DataFilters: [], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<internalUUID:string,isoCode:struct<code:string>>
+- BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true]), coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[4, string, true], ), isnull(input[4, string, true]), coalesce(input[2, string, true], ), isnull(input[2, string, true]), coalesce(input[3, timestamp, true], 1970-01-01 00:00:00), isnull(input[3, timestamp, true])),false), [plan_id=14410]
+- Exchange RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14366]
+- FileScan parquet [supplierGroup#49333,supplier#49334,plant#49335,deliveryDateTime#49336,subrange#49337,optimizationGroups#49338] Batched: true, DataFilters: [], Format: Parquet, Location: InMemoryFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanac..., PartitionFilters: [], PushedFilters: [], ReadSchema: struct<supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:stri...
,None)
(198) Filter
Input [2]: [orderProposalId#52066L, optimizationGroups#49479]
Condition : isnotnull(orderProposalId#52066L)
(199) Generate
Input [2]: [orderProposalId#52066L, optimizationGroups#49479]
Arguments: explode(optimizationGroups#49479), [orderProposalId#52066L], true, [optGroupId#51603]
(200) Filter
Input [2]: [orderProposalId#52066L, optGroupId#51603]
Condition : isnotnull(optGroupId#51603)
(201) HashAggregate
Input [2]: [orderProposalId#52066L, optGroupId#51603]
Keys [2]: [orderProposalId#52066L, optGroupId#51603]
Functions: []
Aggregate Attributes: []
Results [2]: [orderProposalId#52066L, optGroupId#51603]
(202) Exchange
Input [2]: [orderProposalId#52066L, optGroupId#51603]
Arguments: hashpartitioning(orderProposalId#52066L, optGroupId#51603, 25), ENSURE_REQUIREMENTS, [plan_id=14794]
(203) HashAggregate
Input [2]: [orderProposalId#52066L, optGroupId#51603]
Keys [2]: [orderProposalId#52066L, optGroupId#51603]
Functions: []
Aggregate Attributes: []
Results [2]: [orderProposalId#52066L, optGroupId#51603]
(204) Scan parquet
Output [3]: [minOrderProfile#52159, optGroupId#52160, assignmentDetails#52161]
Batched: true
Location: InMemoryFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-param-determination-service/out/10000000096/0_1_10000000096/minorderrestrictionprofile/optimizationgroups]
PushedFilters: [IsNotNull(optGroupId), IsNotNull(minOrderProfile)]
ReadSchema: struct<minOrderProfile:string,optGroupId:string,assignmentDetails:string>
(205) Filter
Input [3]: [minOrderProfile#52159, optGroupId#52160, assignmentDetails#52161]
Condition : (isnotnull(optGroupId#52160) AND isnotnull(minOrderProfile#52159))
(206) Exchange
Input [3]: [minOrderProfile#52159, optGroupId#52160, assignmentDetails#52161]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14777]
(207) BroadcastExchange
Input [3]: [minOrderProfile#52159, optGroupId#52160, assignmentDetails#52161]
Arguments: HashedRelationBroadcastMode(List(input[1, string, false]),false), [plan_id=14797]
(208) BroadcastHashJoin
Left keys [1]: [optGroupId#51603]
Right keys [1]: [optGroupId#52160]
Join type: Inner
Join condition: None
(209) Project
Output [4]: [optGroupId#51603, orderProposalId#52066L, minOrderProfile#52159, assignmentDetails#52161]
Input [5]: [orderProposalId#52066L, optGroupId#51603, minOrderProfile#52159, optGroupId#52160, assignmentDetails#52161]
(210) Exchange
Input [4]: [optGroupId#51603, orderProposalId#52066L, minOrderProfile#52159, assignmentDetails#52161]
Arguments: hashpartitioning(orderProposalId#52066L, 25), ENSURE_REQUIREMENTS, [plan_id=14802]
(211) Sort
Input [4]: [optGroupId#51603, orderProposalId#52066L, minOrderProfile#52159, assignmentDetails#52161]
Arguments: [orderProposalId#52066L ASC NULLS FIRST], false, 0
(212) SortMergeJoin
Left keys [1]: [orderProposalId#51960L]
Right keys [1]: [orderProposalId#52066L]
Join type: LeftOuter
Join condition: None
(213) Project
Output [4]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161]
Input [5]: [orderProposalId#51960L, optGroupId#51603, orderProposalId#52066L, minOrderProfile#52159, assignmentDetails#52161]
(214) Exchange
Input [5]: [supplierminimumprofilename#51810, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14764]
(215) BroadcastExchange
Input [5]: [supplierminimumprofilename#51810, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14808]
(216) BroadcastHashJoin
Left keys [2]: [coalesce(minOrderProfile#52159, ), isnull(minOrderProfile#52159)]
Right keys [2]: [coalesce(supplierminimumprofilename#51810, ), isnull(supplierminimumprofilename#51810)]
Join type: Inner
Join condition: None
(217) Project
Output [8]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
Input [9]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, supplierminimumprofilename#51810, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815]
(218) Project
Output [2]: [internalUUID#51827, isoCode#51831.code AS _extract_code#53711]
Input [3]: [internalUUID#51827, isoCode#51831, systemId#51826]
(219) Exchange
Input [2]: [internalUUID#51827, _extract_code#53711]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=14769]
(220) BroadcastExchange
Input [2]: [internalUUID#51827, _extract_code#53711]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[0, string, true], ), isnull(input[0, string, true])),false), [plan_id=14812]
(221) BroadcastHashJoin
Left keys [2]: [coalesce(dimensionUnit#51814.dimensionCodeUuid, ), isnull(dimensionUnit#51814.dimensionCodeUuid)]
Right keys [2]: [coalesce(internalUUID#51827, ), isnull(internalUUID#51827)]
Join type: LeftOuter
Join condition: None
(222) Project
Output [5]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, struct(minOrderValue, dimensionValue#51813, dimensionType, dimensionType#51812, unit, dimensionUnit#51814.dimensionCode, unitUuid, dimensionUnit#51814.dimensionCodeUuid, negligibleQuantitiesThreshold, 0.2, acceptanceThreshold, (acceptanceThreshold#51815 / 100.0), isoCode, _extract_code#53711) AS minOrderGoal#51907]
Input [10]: [orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, dimensionType#51812, dimensionValue#51813, dimensionUnit#51814, acceptanceThreshold#51815, internalUUID#51827, _extract_code#53711]
(223) SortMergeJoin
Left keys [1]: [orderProposalId#46726L]
Right keys [1]: [orderProposalId#51960L]
Join type: LeftOuter
Join condition: None
(224) Project
Output [5]: [orderProposalId#46726L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, minOrderGoal#51907]
Input [6]: [orderProposalId#46726L, orderProposalId#51960L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, minOrderGoal#51907]
(225) ObjectHashAggregate
Input [5]: [orderProposalId#46726L, optGroupId#51603, minOrderProfile#52159, assignmentDetails#52161, minOrderGoal#51907]
Keys [1]: [orderProposalId#46726L]
Functions [1]: [partial_collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)]
Aggregate Attributes [1]: [buf#54890]
Results [2]: [orderProposalId#46726L, buf#54891]
(226) ObjectHashAggregate
Input [2]: [orderProposalId#46726L, buf#54891]
Keys [1]: [orderProposalId#46726L]
Functions [1]: [collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)#52183]
Results [2]: [orderProposalId#46726L, filter(collect_list(struct(optGroupId, optGroupId#51603, minOrderProfile, minOrderProfile#52159, assignmentDetails, assignmentDetails#52161, minOrderGoal, minOrderGoal#51907), 0, 0)#52183, lambdafunction(isnotnull(lambda x_50#52188.optGroupId), lambda x_50#52188, false)) AS optimizationGroups#52187]
(227) AdaptiveSparkPlan
Output [2]: [orderProposalId#46726L, optimizationGroups#52187]
Arguments: isFinalPlan=true
(228) Filter
Input [1]: [optimizationGroups#52187]
Condition : (size(optimizationGroups#52187.minOrderGoal, true) > 0)
(229) Project
Output [1]: [optimizationGroups#52187.minOrderGoal AS _extract_minOrderGoal#57066]
Input [1]: [optimizationGroups#52187]
(230) Generate
Input [1]: [_extract_minOrderGoal#57066]
Arguments: explode(_extract_minOrderGoal#57066), false, [minOrderGoal#54944]
(231) Filter
Input [1]: [minOrderGoal#54944]
Condition : (minOrderGoal#54944.dimensionType <=> 2)
(232) Project
Output [1]: [minOrderGoal#54944.unit AS uomCategoryName#54947]
Input [1]: [minOrderGoal#54944]
(233) Scan parquet
Output [2]: [uomCategoryName#54932, uoms#54934]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-dl-stream-service/prp/uom-category]
PushedFilters: [IsNotNull(uomCategoryName)]
ReadSchema: struct<uomCategoryName:string,uoms:array<struct<internalRefUUID:string,id:string>>>
(234) Filter
Input [2]: [uomCategoryName#54932, uoms#54934]
Condition : isnotnull(uomCategoryName#54932)
(235) Exchange
Input [2]: [uomCategoryName#54932, uoms#54934]
Arguments: RoundRobinPartitioning(25), REPARTITION_BY_NUM, [plan_id=17397]
(236) BroadcastExchange
Input [2]: [uomCategoryName#54932, uoms#54934]
Arguments: HashedRelationBroadcastMode(List(input[0, string, false]),false), [plan_id=17406]
(237) BroadcastHashJoin
Left keys [1]: [uomCategoryName#54947]
Right keys [1]: [uomCategoryName#54932]
Join type: LeftOuter
Join condition: None
(238) Project
Output [1]: [struct(uomCategoryName, uomCategoryName#54947, uoms, transform(coalesce(uoms#54934, []), lambdafunction(struct(uom, lambda x_51#54965.id, uomUuid, lambda x_51#54965.internalRefUUID), lambda x_51#54965, false))) AS uomCategory#54971]
Input [3]: [uomCategoryName#54947, uomCategoryName#54932, uoms#54934]
(239) ObjectHashAggregate
Input [1]: [uomCategory#54971]
Keys [1]: [dummy AS dummy#57440]
Functions [1]: [partial_collect_set(uomCategory#54971, 0, 0)]
Aggregate Attributes [1]: [buf#57441]
Results [2]: [dummy#57440, buf#57442]
(240) Exchange
Input [2]: [dummy#57440, buf#57442]
Arguments: hashpartitioning(dummy#57440, 25), ENSURE_REQUIREMENTS, [plan_id=17411]
(241) ObjectHashAggregate
Input [2]: [dummy#57440, buf#57442]
Keys [1]: [dummy#57440]
Functions [1]: [collect_set(uomCategory#54971, 0, 0)]
Aggregate Attributes [1]: [collect_set(uomCategory#54971, 0, 0)#54993]
Results [1]: [collect_set(uomCategory#54971, 0, 0)#54993 AS uomCategories#54994]
(242) BroadcastExchange
Input [1]: [uomCategories#54994]
Arguments: IdentityBroadcastMode, [plan_id=17414]
(243) BroadcastNestedLoopJoin
Join type: LeftOuter
Join condition: (dummy#54997 = dummy)
(244) Project
Output [1]: [coalesce(uomCategories#54994, []) AS uomCategories#55001]
Input [2]: [dummy#54997, uomCategories#54994]
(245) WriteFiles
Input [1]: [uomCategories#55001]
(246) Execute InsertIntoHadoopFsRelationCommand
Input: []
Arguments: hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/common-data-snapshot/10000000096/shardId=0_1_10000000096, false, Parquet, [path=hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/common-data-snapshot/10000000096/shardId=0_1_10000000096], Overwrite, [uomCategories]
(247) AdaptiveSparkPlan
Output: []
Arguments: isFinalPlan=true