digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 2 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 1425.0 B<br>merged fetch fallback count: 0<br>local blocks read: 19<br>remote merged chunks fetched: 0<br>remote blocks read: 11<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 1034761.0: task 2669556))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 0 ms (stage 1034761.0: task 2669575))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 825.0 B<br>number of partitions: 1<br>remote reqs duration: 1 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.2 KiB (75.0 B, 75.0 B, 75.0 B (stage 1034761.0: task 2669556))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=3020971]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n250 ms (5 ms, 8 ms, 12 ms (stage 1034761.0: task 2669560))";
tooltip="WholeStageCodegen (1)";
4 [id="node4" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build total (min, med, max (stageId: taskId))<br>242 ms (5 ms, 8 ms, 12 ms (stage 1034761.0: task 2669560))<br>number of output rows: 30" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,954" tooltip="Generate explode(_extract_deliveryDateTime#10218609), false, [numberOfOrderProposalItems#10218581]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#10217190.parentItems.deliveryDateTime AS _extract_deliveryDateTime#10218609]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,354" tooltip="Filter (size(orderProposal#10217190.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,354" tooltip="InMemoryTableScan [orderProposal#10217190], [(size(orderProposal#10217190.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, named_struct(orderProposalId, _extract_orderProposalId#10217838L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#10217830L, supplierGroup, _extract_supplierGroup#10217831, optimizationGroups, coalesce(optimizationGroups#10217083, []), supplier, _extract_supplier#10217832, supplyingPlant, _extract_supplyingPlant#10217833, orderDateTime, _extract_orderDateTime#10217834, itemGroups, _extract_itemGroups#10217835, previousOrderProposals, _extract_previousOrderProposals#10217836, parentItems, _extract_parentItems#10217837) AS orderProposal#10217190]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,354<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034761.0: task 2669556))" tooltip="SortMergeJoin [coalesce(shardId#10214802, ), isnull(shardId#10214802), coalesce(_extract_orderProposalId#10217838L, 0), isnull(_extract_orderProposalId#10217838L)], [coalesce(shardId#10217086, ), isnull(shardId#10217086), coalesce(orderProposalId#10217087L, 0), isnull(orderProposalId#10217087L)], LeftOuter"];
12 [id="node12" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034761.0: task 2669556))<br>peak memory total (min, med, max (stageId: taskId))<br>255.9 MiB (8.1 MiB, 8.1 MiB, 10.1 MiB (stage 1034761.0: task 2669553))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034761.0: task 2669556))" tooltip="Sort [coalesce(shardId#10214802, ) ASC NULLS FIRST, isnull(shardId#10214802) ASC NULLS FIRST, coalesce(_extract_orderProposalId#10217838L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#10217838L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,354<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,354<br>local bytes read total (min, med, max (stageId: taskId))<br>10.7 MiB (242.1 KiB, 369.1 KiB, 487.5 KiB (stage 1034761.0: task 2669572))<br>merged fetch fallback count: 0<br>local blocks read: 419<br>remote merged chunks fetched: 0<br>remote blocks read: 414<br>data size total (min, med, max (stageId: taskId))<br>217.4 MiB (5.7 MiB, 7.4 MiB, 9.0 MiB (stage 1034759.0: task 2669540))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>91 ms (2 ms, 2 ms, 4 ms (stage 1034759.0: task 2669530))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>8 ms (0 ms, 0 ms, 8 ms (stage 1034761.0: task 2669582))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.0 MiB (260.3 KiB, 342.1 KiB, 451.5 KiB (stage 1034761.0: task 2669563))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>118 ms (1 ms, 3 ms, 20 ms (stage 1034761.0: task 2669580))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.7 MiB (554.3 KiB, 720.2 KiB, 876.1 KiB (stage 1034759.0: task 2669540))" tooltip="Exchange hashpartitioning(coalesce(shardId#10214802, ), isnull(shardId#10214802), coalesce(_extract_orderProposalId#10217838L, 0), isnull(_extract_orderProposalId#10217838L), 30), ENSURE_REQUIREMENTS, [plan_id=3020805]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, orderProposal#10217071.orderProposalId AS _extract_orderProposalId#10217829L, orderProposal#10217071.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#10217830L, orderProposal#10217071.supplierGroup AS _extract_supplierGroup#10217831, orderProposal#10217071.supplier AS _extract_supplier#10217832, orderProposal#10217071.supplyingPlant AS _extract_supplyingPlant#10217833, orderProposal#10217071.orderDateTime AS _extract_orderDateTime#10217834, orderProposal#10217071.itemGroups AS _extract_itemGroups#10217835, orderProposal#10217071.previousOrderProposals AS _extract_previousOrderProposals#10217836, orderProposal#10217071.parentItems AS _extract_parentItems#10217837, orderProposal#10217071.orderProposalId AS _extract_orderProposalId#10217838L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, struct(orderProposalId, orderProposalId#10215472L, originalReplenishmentRunId, originalReplenishmentRunId#10217039L, supplierGroup, supplierGroup#10217040, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#10217040) THEN supplier#10217041 END, supplyingPlant, supplyingPlant#10217042, orderDateTime, orderDateTime#10217043, itemGroups, itemGroups#10217044, previousOrderProposals, array_distinct(previousOrderProposals#10217046), parentItems, parentItems#10217045) AS orderProposal#10217071]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,354<br>time in aggregation build total (min, med, max (stageId: taskId))<br>836 ms (15 ms, 19 ms, 54 ms (stage 1034759.0: task 2669524))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034759.0: task 2669523))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#10214802, orderProposalId#10215472L], functions=[max(originalReplenishmentRunId#10216977L), max(supplierGroup#10216978), max(supplier#10216979), max(supplyingPlant#10216980), max(orderDateTime#10216981), collect_list(itemGroup#10217038, 0, 0), collect_list(parentItems#10216982, 0, 0), collect_set(previousOrderProposals#10216984, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,354<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,354<br>local bytes read total (min, med, max (stageId: taskId))<br>10.2 MiB (251.5 KiB, 351.6 KiB, 444.0 KiB (stage 1034759.0: task 2669540))<br>merged fetch fallback count: 0<br>local blocks read: 414<br>remote merged chunks fetched: 0<br>remote blocks read: 418<br>data size total (min, med, max (stageId: taskId))<br>217.6 MiB (5.9 MiB, 7.2 MiB, 8.8 MiB (stage 1034758.0: task 2669494))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>100 ms (2 ms, 2 ms, 8 ms (stage 1034758.0: task 2669513))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034759.0: task 2669523))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.5 MiB (257.3 KiB, 360.8 KiB, 434.3 KiB (stage 1034759.0: task 2669530))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>109 ms (1 ms, 3 ms, 7 ms (stage 1034759.0: task 2669523))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.7 MiB (577.0 KiB, 705.0 KiB, 859.4 KiB (stage 1034758.0: task 2669494))" tooltip="Exchange hashpartitioning(shardId#10214802, orderProposalId#10215472L, 30), ENSURE_REQUIREMENTS, [plan_id=3020801]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,354<br>time in aggregation build total (min, med, max (stageId: taskId))<br>326 ms (4 ms, 5 ms, 25 ms (stage 1034758.0: task 2669498))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034758.0: task 2669493))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#10214802, orderProposalId#10215472L], functions=[partial_max(originalReplenishmentRunId#10216977L), partial_max(supplierGroup#10216978), partial_max(supplier#10216979), partial_max(supplyingPlant#10216980), partial_max(orderDateTime#10216981), partial_collect_list(itemGroup#10217038, 0, 0), partial_collect_list(parentItems#10216982, 0, 0), partial_collect_set(previousOrderProposals#10216984, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,354<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.5 s (18 ms, 26 ms, 122 ms (stage 1034758.0: task 2669496))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034758.0: task 2669493))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#10214802, orderProposalId#10215472L, splitIndicator#10215477L, orderProposalItemGroupId#10215474], functions=[max(originalReplenishmentRunId#10215475L), max(supplierGroup#10215482), max(supplier#10215483), max(supplyingPlant#10215513), max(orderDateTime#10215490), collect_list(parentItem#10216929, 0, 0), collect_set(previousOrderProposal#10215478L, 0, 0), collect_list(item#10216960, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,096<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,096<br>local bytes read total (min, med, max (stageId: taskId))<br>14.3 MiB (401.4 KiB, 491.1 KiB, 587.6 KiB (stage 1034758.0: task 2669494))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 450<br>data size total (min, med, max (stageId: taskId))<br>232.3 MiB (7.5 MiB, 7.8 MiB, 7.9 MiB (stage 1034757.0: task 2669484))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>114 ms (2 ms, 3 ms, 14 ms (stage 1034757.0: task 2669486))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034758.0: task 2669493))<br>remote bytes read total (min, med, max (stageId: taskId))<br>14.2 MiB (384.1 KiB, 485.4 KiB, 584.9 KiB (stage 1034758.0: task 2669510))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>160 ms (1 ms, 4 ms, 14 ms (stage 1034758.0: task 2669520))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.5 MiB (947.3 KiB, 974.2 KiB, 1001.1 KiB (stage 1034757.0: task 2669484))" tooltip="Exchange hashpartitioning(shardId#10214802, orderProposalId#10215472L, splitIndicator#10215477L, orderProposalItemGroupId#10215474, 30), ENSURE_REQUIREMENTS, [plan_id=3020798]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 58,096<br>time in aggregation build total (min, med, max (stageId: taskId))<br>16.0 s (385 ms, 493 ms, 773 ms (stage 1034757.0: task 2669470))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034757.0: task 2669463))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#10214802, orderProposalId#10215472L, splitIndicator#10215477L, orderProposalItemGroupId#10215474], functions=[partial_max(originalReplenishmentRunId#10215475L), partial_max(supplierGroup#10215482), partial_max(supplier#10215483), partial_max(supplyingPlant#10215513), partial_max(orderDateTime#10215490), partial_collect_list(parentItem#10216929, 0, 0), partial_collect_set(previousOrderProposal#10215478L, 0, 0), partial_collect_list(item#10216960, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, orderDateTime#10215490, splitIndicator#10215477L, orderProposalItemGroupId#10215474, previousOrderProposal#10215478L, parentItem#10216929, struct(itemId, orderProposalItemId#10215473, supplier, supplier#10215483, supplyingPlant, supplyingPlant#10215513, productGroup, productGroup#10215514, product, product#10215485, plant, plant#10215486, supplierSubRange, subrange#10215484, deliveryDateTime, deliveryDateTime#10215491, orderQuantity, coalesce((qty#10215316 * (cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33910#10216963.isOrderUnit, lambda x_33910#10216963, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33910#10216964.isOrderUnit, lambda x_33910#10216964, false)), 1, None, false).numerator as double))), qty#10215316), orderQuantityUom, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33910#10216965.isOrderUnit, lambda x_33910#10216965, false)), 1, None, false).uom, orderQuantityBaseUom#10215495), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33910#10216966.isOrderUnit, lambda x_33910#10216966, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#10215496), orderQuantityInBaseUnit, qty#10215316, orderQuantityBaseUom, ... 13 more fields) AS item#10216960]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, qty#10215316, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, productGroup#10215514, product#10215485, plant#10215486, subrange#10215484, orderDateTime#10215490, deliveryDateTime#10215491, logisticUnits#10215509, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, splitIndicator#10215477L, orderProposalItemId#10215473, orderProposalItemGroupId#10215474, previousOrderProposal#10215478L, struct(itemId, orderProposalItemId#10215473, itemGroupId, orderProposalItemGroupId#10215474, supplier, supplier#10215483, supplyingPlant, supplyingPlant#10215513, productGroup, productGroup#10215514, product, product#10215485, plant, plant#10215486, supplierSubRange, subrange#10215484, sourceOfSupplyUuid, sourceOfSupplyUuid#10215481, deliveryDateTime, deliveryDateTime#10215491, unitPrice, netPriceAmount#10215500, unitPriceCurrency, netPriceCurrencyCode#10215501, unitPriceQuantity, ... 37 more fields) AS parentItem#10216929]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, qty#10215316, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, productGroup#10215514, product#10215485, plant#10215486, subrange#10215484, orderDateTime#10215490, deliveryDateTime#10215491, availabilityDateTime#10215492, nextAvailabilityDateTime#10215493, logisticUnits#10215509, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, splitIndicator#10215477L, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, sourceOfSupplyUuid#10215481, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n17.6 s (420 ms, 497 ms, 912 ms (stage 1034757.0: task 2669470))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, productGroup#10215514, product#10215485, plant#10215486, subrange#10215484, orderDateTime#10215490, deliveryDateTime#10215491, availabilityDateTime#10215492, nextAvailabilityDateTime#10215493, logisticUnits#10215509, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, splitIndicator#10215477L, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,954" tooltip="Filter NOT (isFallbackOrderOnly#10215494 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 119,954" tooltip="InMemoryTableScan [availabilityDateTime#10215492, channelStreamSpecificKpis#10216293, constraintLabels#10215504, constraintOperators#10215505, constraintValues#10215507, deliveryDateTime#10215491, isFallbackOrderOnly#10215494, logisticUnits#10215509, measurements#10215502, minimumOrderQuantity#10215503, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, nextAvailabilityDateTime#10215493, optimizationGroups#10215510, orderDateTime#10215490, orderProposalId#10215472L, orderProposalItemGroupId#10215474, orderProposalItemId#10215473, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, originalReplenishmentRunId#10215475L, plant#10215486, ... 14 more fields], [NOT (isFallbackOrderOnly#10215494 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n17.1 s (428 ms, 544 ms, 788 ms (stage 1034757.0: task 2669471))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,954<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034757.0: task 2669463))" tooltip="SortMergeJoin [shardId#10214802, worklistShardItemId#10215314L], [shardId#10216300, worklistShardItemId#10216301L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n21.1 s (491 ms, 692 ms, 1.0 s (stage 1034757.0: task 2669472))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,954<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034757.0: task 2669463))" tooltip="SortMergeJoin [shardId#10214802, worklistShardItemId#10215314L], [shardId#10216287, worklistShardItemId#10216288L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n24.4 s (571 ms, 731 ms, 1.2 s (stage 1034757.0: task 2669472))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,954<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034757.0: task 2669463))" tooltip="SortMergeJoin [shardId#10214802, worklistShardItemId#10215314L], [shardId#10216271, worklistShardItemId#10216272L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n25.2 s (572 ms, 736 ms, 1.3 s (stage 1034757.0: task 2669472))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>31 ms (1 ms, 1 ms, 2 ms (stage 1034757.0: task 2669484))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 1034757.0: task 2669463))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034757.0: task 2669463))" tooltip="Sort [shardId#10214802 ASC NULLS FIRST, worklistShardItemId#10215314L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,954<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,954<br>local bytes read total (min, med, max (stageId: taskId))<br>13.9 MiB (412.3 KiB, 488.4 KiB, 534.2 KiB (stage 1034757.0: task 2669466))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 450<br>data size total (min, med, max (stageId: taskId))<br>138.3 MiB (4.4 MiB, 4.6 MiB, 4.8 MiB (stage 1034753.0: task 2669310))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>105 ms (2 ms, 3 ms, 14 ms (stage 1034753.0: task 2669310))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034757.0: task 2669463))<br>remote bytes read total (min, med, max (stageId: taskId))<br>13.8 MiB (426.8 KiB, 487.3 KiB, 519.9 KiB (stage 1034757.0: task 2669473))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>376 ms (2 ms, 9 ms, 36 ms (stage 1034757.0: task 2669480))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>27.7 MiB (910.6 KiB, 946.6 KiB, 977.8 KiB (stage 1034753.0: task 2669310))" tooltip="Exchange hashpartitioning(shardId#10214802, worklistShardItemId#10215314L, 30), ENSURE_REQUIREMENTS, [plan_id=3020513]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (40 ms, 60 ms, 94 ms (stage 1034753.0: task 2669290))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,954<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034753.0: task 2669288))" tooltip="SortMergeJoin [worklistShardItemId#10215314L], [worklistShardItemId#10215538L], LeftOuter, (shardId#10214802 = 0_3_10000000540)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.0 s (41 ms, 62 ms, 153 ms (stage 1034753.0: task 2669288))";
tooltip="WholeStageCodegen (2)";
45 [id="node45" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034753.0: task 2669288))<br>peak memory total (min, med, max (stageId: taskId))<br>63.9 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 1034753.0: task 2669310))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034753.0: task 2669288))" tooltip="Sort [worklistShardItemId#10215314L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,954<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,954<br>local bytes read total (min, med, max (stageId: taskId))<br>401.9 KiB (11.1 KiB, 12.0 KiB, 15.7 KiB (stage 1034753.0: task 2669305))<br>merged fetch fallback count: 0<br>local blocks read: 416<br>remote merged chunks fetched: 0<br>remote blocks read: 484<br>data size total (min, med, max (stageId: taskId))<br>6.4 MiB (195.2 KiB, 225.9 KiB, 234.3 KiB (stage 1034752.0: task 2669202))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>45 ms (1 ms, 1 ms, 1 ms (stage 1034752.0: task 2669180))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>63 ms (0 ms, 0 ms, 33 ms (stage 1034753.0: task 2669310))<br>remote bytes read total (min, med, max (stageId: taskId))<br>470.3 KiB (12.9 KiB, 17.2 KiB, 17.9 KiB (stage 1034753.0: task 2669337))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>191 ms (3 ms, 4 ms, 40 ms (stage 1034753.0: task 2669310))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>872.2 KiB (26.3 KiB, 29.9 KiB, 31.3 KiB (stage 1034752.0: task 2669206))" tooltip="Exchange hashpartitioning(worklistShardItemId#10215314L, 30), ENSURE_REQUIREMENTS, [plan_id=3020494]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n163 ms (3 ms, 5 ms, 12 ms (stage 1034752.0: task 2669177))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10214802, item#10215313.worklistShardItemId AS worklistShardItemId#10215314L, item#10215313.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#10215315, item#10215313.qty AS qty#10215316]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,954" tooltip="Generate explode(items#10214804), [shardId#10214802], false, [item#10215313]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,354" tooltip="Filter ((size(items#10214804, true) > 0) AND isnotnull(items#10214804))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,354" tooltip="InMemoryTableScan [shardId#10214802, items#10214804], [(size(items#10214804, true) > 0), isnotnull(items#10214804)]"];
subgraph cluster52 {
isCluster="true";
id="cluster52";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
53 [id="node53" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, optimizationInsights#10214808], [isnotnull(shardId#10214802), (shardId#10214802 = 0_3_10000000540)]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
56 [id="node56" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#10214802,orderProposalId#10214803L,items#10214804,optimizationGroups#10214805,isOptimal#10214806,lastModified#10214807,optimizationInsights#10214808]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (40 ms, 62 ms, 115 ms (stage 1034753.0: task 2669288))";
tooltip="WholeStageCodegen (4)";
59 [id="node59" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034753.0: task 2669288))<br>peak memory total (min, med, max (stageId: taskId))<br>183.9 MiB (6.1 MiB, 6.1 MiB, 6.3 MiB (stage 1034753.0: task 2669310))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034753.0: task 2669288))" tooltip="Sort [worklistShardItemId#10215538L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#10215538L, orderProposalId#10215515L, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, originalReplenishmentRunId#10215557L, splitIndicator#10215534L, previousOrderProposal#10215535L, sourceOfSupplyUuid#10215529, supplierGroup#10215517, supplier#10215518, subrange#10215521, product#10215524, plant#10215519, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, isFallbackOrderOnly#10215532, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, netPriceAmount#10215551, netPriceCurrencyCode#10215552, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,954<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,954<br>local bytes read total (min, med, max (stageId: taskId))<br>4.7 MiB (112.3 KiB, 186.3 KiB, 203.4 KiB (stage 1034753.0: task 2669307))<br>merged fetch fallback count: 0<br>local blocks read: 198<br>remote merged chunks fetched: 0<br>remote blocks read: 912<br>data size total (min, med, max (stageId: taskId))<br>133.7 MiB (3.5 MiB, 3.6 MiB, 3.8 MiB (stage 1034751.0: task 2669149))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>114 ms (2 ms, 2 ms, 4 ms (stage 1034751.0: task 2669163))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034753.0: task 2669288))<br>remote bytes read total (min, med, max (stageId: taskId))<br>21.8 MiB (690.2 KiB, 724.6 KiB, 802.4 KiB (stage 1034753.0: task 2669310))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>384 ms (7 ms, 9 ms, 45 ms (stage 1034753.0: task 2669310))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.5 MiB (705.7 KiB, 735.2 KiB, 763.5 KiB (stage 1034751.0: task 2669149))" tooltip="Exchange hashpartitioning(worklistShardItemId#10215538L, 30), REPARTITION_BY_NUM, [plan_id=3020504]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n7.4 s (123 ms, 208 ms, 280 ms (stage 1034751.0: task 2669160))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#10215515L, orderProposalItemId#10215516, supplierGroup#10215517, supplier#10215518, plant#10215519, deliveryDateTime#10215520, subrange#10215521, supplyingPlant#10215522, productGroup#10215523, product#10215524, orderDateTime#10215525, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, sourceOfSupplyUuid#10215529, isFallbackOrderOnly#10215532, splitIndicator#10215534L, previousOrderProposal#10215535L, worklistShardItemId#10215538L, orderProposalItemGroupId#10215539, externalProductId#10215540, externalPlantId#10215541, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, minimumOrderQuantity#10215545, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,954" tooltip="Filter isnotnull(worklistShardItemId#10215538L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,954<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
66 [id="node66" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>5.1 s (106 ms, 136 ms, 183 ms (stage 1034751.0: task 2669160))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.5 MiB<br>number of output rows: 119,954<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#10215515L,orderProposalItemId#10215516,supplierGroup#10215517,supplier#10215518,plant#10215519,deliveryDateTime#10215520,subrange#10215521,supplyingPlant#10215522,productGroup#10215523,product#10215524,orderDateTime#10215525,availabilityDateTime#10215526,nextAvailabilityDateTime#10215527,sourceOfSupplyUuid#10215529,isFallbackOrderOnly#10215532,splitIndicator#10215534L,previousOrderProposal#10215535L,worklistShardItemId#10215538L,orderProposalItemGroupId#10215539,externalProductId#10215540,externalPlantId#10215541,logisticUnits#10215542,orderQuantityBaseUom#10215543,orderQuantityBaseUomUuid#10215544,minimumOrderQuantity#10215545,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#10215538L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#10215559), isnotnull(sequenceId#10215537), (shardId#10215559 = 0_3_10000000540..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster67 {
isCluster="true";
id="cluster67";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (8)";
68 [id="node68" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>364 ms (8 ms, 10 ms, 43 ms (stage 1034757.0: task 2669484))<br>peak memory total (min, med, max (stageId: taskId))<br>435.0 MiB (14.5 MiB, 14.5 MiB, 14.5 MiB (stage 1034757.0: task 2669463))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034757.0: task 2669463))" tooltip="Sort [shardId#10216271 ASC NULLS FIRST, worklistShardItemId#10216272L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 375,102<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 375,102<br>local bytes read total (min, med, max (stageId: taskId))<br>3.5 MiB (101.1 KiB, 130.7 KiB, 141.8 KiB (stage 1034757.0: task 2669474))<br>merged fetch fallback count: 0<br>local blocks read: 210<br>remote merged chunks fetched: 0<br>remote blocks read: 690<br>data size total (min, med, max (stageId: taskId))<br>383.5 MiB (12.6 MiB, 12.8 MiB, 13.1 MiB (stage 1034756.0: task 2669456))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>104 ms (2 ms, 2 ms, 27 ms (stage 1034756.0: task 2669375))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034757.0: task 2669463))<br>remote bytes read total (min, med, max (stageId: taskId))<br>11.6 MiB (369.4 KiB, 405.0 KiB, 421.4 KiB (stage 1034757.0: task 2669480))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>842 ms (9 ms, 21 ms, 99 ms (stage 1034757.0: task 2669481))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.2 MiB (509.7 KiB, 517.1 KiB, 529.2 KiB (stage 1034756.0: task 2669456))" tooltip="Exchange hashpartitioning(shardId#10216271, worklistShardItemId#10216272L, 30), ENSURE_REQUIREMENTS, [plan_id=3020519]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n17.5 s (494 ms, 567 ms, 781 ms (stage 1034756.0: task 2669281))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10216271, worklistShardItemId#10216272L, coalesce(kpis#10216276, []) AS prodLocSpecificKpis#10216277]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 375,102" tooltip="Filter (((isnull(qty#10216273) AND isnull(demandChannel#10216274)) AND isnull(demandStream#10216275)) AND (isnotnull(shardId#10216271) AND isnotnull(worklistShardItemId#10216272L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,500,408" tooltip="Scan ExistingRDD[shardId#10216271,worklistShardItemId#10216272L,qty#10216273,demandChannel#10216274,demandStream#10216275,kpis#10216276]"];
}
subgraph cluster74 {
isCluster="true";
id="cluster74";
label="WholeStageCodegen (11)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (11)";
75 [id="node75" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 1 ms (stage 1034757.0: task 2669468))<br>peak memory total (min, med, max (stageId: taskId))<br>195.0 MiB (6.5 MiB, 6.5 MiB, 6.5 MiB (stage 1034757.0: task 2669463))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034757.0: task 2669463))" tooltip="Sort [shardId#10216287 ASC NULLS FIRST, worklistShardItemId#10216288L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 375,102<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.0 s (15 ms, 34 ms, 57 ms (stage 1034757.0: task 2669490))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034757.0: task 2669463))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#10216287, worklistShardItemId#10216288L], functions=[collect_list(struct(demandChannel, demandChannel#10216290, demandStream, demandStream#10216291, kpis, kpis#10216292), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 375,102<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 375,102<br>local bytes read total (min, med, max (stageId: taskId))<br>1420.0 KiB (39.0 KiB, 53.2 KiB, 56.2 KiB (stage 1034757.0: task 2669475))<br>merged fetch fallback count: 0<br>local blocks read: 285<br>remote merged chunks fetched: 0<br>remote blocks read: 615<br>data size total (min, med, max (stageId: taskId))<br>148.8 MiB (4.9 MiB, 5.0 MiB, 5.1 MiB (stage 1034754.0: task 2669389))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>66 ms (1 ms, 1 ms, 13 ms (stage 1034754.0: task 2669387))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>200 ms (0 ms, 0 ms, 35 ms (stage 1034757.0: task 2669479))<br>remote bytes read total (min, med, max (stageId: taskId))<br>3.0 MiB (92.6 KiB, 107.9 KiB, 110.5 KiB (stage 1034757.0: task 2669482))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>862 ms (8 ms, 22 ms, 101 ms (stage 1034757.0: task 2669481))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>4.4 MiB (146.9 KiB, 149.2 KiB, 151.7 KiB (stage 1034754.0: task 2669342))" tooltip="Exchange hashpartitioning(shardId#10216287, worklistShardItemId#10216288L, 30), ENSURE_REQUIREMENTS, [plan_id=3020530]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 375,102<br>time in aggregation build total (min, med, max (stageId: taskId))<br>18.5 s (512 ms, 565 ms, 1.1 s (stage 1034754.0: task 2669186))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034754.0: task 2669178))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#10216287, worklistShardItemId#10216288L], functions=[partial_collect_list(struct(demandChannel, demandChannel#10216290, demandStream, demandStream#10216291, kpis, kpis#10216292), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n18.2 s (502 ms, 555 ms, 1.1 s (stage 1034754.0: task 2669186))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10216287, worklistShardItemId#10216288L, demandChannel#10216290, demandStream#10216291, kpis#10216292]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 375,102" tooltip="Filter ((((isnull(qty#10216289) AND isnotnull(demandChannel#10216290)) AND isnotnull(demandStream#10216291)) AND (size(kpis#10216292, true) > 0)) AND (isnotnull(shardId#10216287) AND isnotnull(worklistShardItemId#10216288L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,500,408" tooltip="Scan ExistingRDD[shardId#10216287,worklistShardItemId#10216288L,qty#10216289,demandChannel#10216290,demandStream#10216291,kpis#10216292]"];
}
subgraph cluster83 {
isCluster="true";
id="cluster83";
label="WholeStageCodegen (14)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (14)";
84 [id="node84" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>49 ms (0 ms, 0 ms, 36 ms (stage 1034757.0: task 2669487))<br>peak memory total (min, med, max (stageId: taskId))<br>477.0 MiB (14.5 MiB, 16.5 MiB, 16.5 MiB (stage 1034757.0: task 2669467))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034757.0: task 2669463))" tooltip="Sort [shardId#10216300 ASC NULLS FIRST, worklistShardItemId#10216301L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 375,102<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.4 s (28 ms, 53 ms, 80 ms (stage 1034757.0: task 2669484))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034757.0: task 2669463))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#10216300, worklistShardItemId#10216301L], functions=[collect_list(struct(qty, qty#10216302, kpis, kpis#10216305), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 737,532<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 737,532<br>local bytes read total (min, med, max (stageId: taskId))<br>3.1 MiB (79.0 KiB, 126.6 KiB, 134.7 KiB (stage 1034757.0: task 2669485))<br>merged fetch fallback count: 0<br>local blocks read: 195<br>remote merged chunks fetched: 0<br>remote blocks read: 705<br>data size total (min, med, max (stageId: taskId))<br>456.9 MiB (15.1 MiB, 15.2 MiB, 15.4 MiB (stage 1034755.0: task 2669173))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>108 ms (2 ms, 2 ms, 20 ms (stage 1034755.0: task 2669344))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>9 ms (0 ms, 0 ms, 5 ms (stage 1034757.0: task 2669474))<br>remote bytes read total (min, med, max (stageId: taskId))<br>11.3 MiB (354.8 KiB, 404.6 KiB, 415.4 KiB (stage 1034757.0: task 2669470))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>464 ms (7 ms, 12 ms, 45 ms (stage 1034757.0: task 2669478))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>14.4 MiB (488.0 KiB, 492.0 KiB, 496.0 KiB (stage 1034755.0: task 2669173))" tooltip="Exchange hashpartitioning(shardId#10216300, worklistShardItemId#10216301L, 30), ENSURE_REQUIREMENTS, [plan_id=3020542]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 737,532<br>time in aggregation build total (min, med, max (stageId: taskId))<br>19.8 s (511 ms, 629 ms, 1.4 s (stage 1034755.0: task 2669181))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034755.0: task 2669173))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#10216300, worklistShardItemId#10216301L], functions=[partial_collect_list(struct(qty, qty#10216302, kpis, kpis#10216305), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n19.0 s (488 ms, 604 ms, 1.4 s (stage 1034755.0: task 2669181))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#10216300, worklistShardItemId#10216301L, qty#10216302, kpis#10216305]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 750,204" tooltip="Filter ((isnotnull(qty#10216302) AND isnotnull(kpis#10216305)) AND (isnotnull(shardId#10216300) AND isnotnull(worklistShardItemId#10216301L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,500,408" tooltip="Scan ExistingRDD[shardId#10216300,worklistShardItemId#10216301L,qty#10216302,demandChannel#10216303,demandStream#10216304,kpis#10216305]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n2.8 s (22 ms, 32 ms, 254 ms (stage 1034761.0: task 2669553))";
tooltip="WholeStageCodegen (9)";
93 [id="node93" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034761.0: task 2669556))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1034761.0: task 2669556))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034761.0: task 2669556))" tooltip="Sort [coalesce(shardId#10217086, ) ASC NULLS FIRST, isnull(shardId#10217086) ASC NULLS FIRST, coalesce(orderProposalId#10217087L, 0) ASC NULLS FIRST, isnull(orderProposalId#10217087L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,354<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,354<br>local bytes read total (min, med, max (stageId: taskId))<br>47.6 KiB (572.0 B, 844.0 B, 3.3 KiB (stage 1034761.0: task 2669553))<br>merged fetch fallback count: 0<br>local blocks read: 355<br>remote merged chunks fetched: 0<br>remote blocks read: 480<br>data size total (min, med, max (stageId: taskId))<br>128.7 KiB (3.4 KiB, 4.3 KiB, 5.3 KiB (stage 1034760.0: task 2669419))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>45 ms (1 ms, 1 ms, 2 ms (stage 1034760.0: task 2669391))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034761.0: task 2669556))<br>remote bytes read total (min, med, max (stageId: taskId))<br>64.1 KiB (540.0 B, 2.8 KiB, 3.4 KiB (stage 1034761.0: task 2669571))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>71 ms (1 ms, 1 ms, 18 ms (stage 1034761.0: task 2669578))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>111.7 KiB (3.3 KiB, 3.8 KiB, 4.2 KiB (stage 1034760.0: task 2669419))" tooltip="Exchange hashpartitioning(coalesce(shardId#10217086, ), isnull(shardId#10217086), coalesce(orderProposalId#10217087L, 0), isnull(orderProposalId#10217087L), 30), ENSURE_REQUIREMENTS, [plan_id=3020844]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#10217087L, shardId#10217086, coalesce(transform(optimizationGroups#10217089, lambdafunction(struct(optGroupId, lambda x_33914#10217084.optGroupId, minOrderProfile, lambda x_33914#10217084.minOrderProfile, assignmentDetails, lambda x_33914#10217084.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_33914#10217084.minOrderGoal.dimensionType, unit, lambda x_33914#10217084.minOrderGoal.unit, unitUuid, lambda x_33914#10217084.minOrderGoal.unitUuid, goalValue, lambda x_33914#10217084.minOrderGoal.minOrderValue, calcValue, lambda x_33914#10217084.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_33914#10217084, false)), []) AS optimizationGroups#10217083]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n679 ms (7 ms, 12 ms, 82 ms (stage 1034760.0: task 2669393))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,354<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034760.0: task 2669392))" tooltip="SortMergeJoin [orderProposalId#10217087L], [orderProposalId#10217142L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (8 ms, 13 ms, 232 ms (stage 1034760.0: task 2669393))";
tooltip="WholeStageCodegen (3)";
99 [id="node99" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034760.0: task 2669392))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1034760.0: task 2669392))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034760.0: task 2669392))" tooltip="Sort [orderProposalId#10217087L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,354<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,354<br>local bytes read total (min, med, max (stageId: taskId))<br>47.9 KiB (1178.0 B, 1588.0 B, 2.2 KiB (stage 1034760.0: task 2669427))<br>merged fetch fallback count: 0<br>local blocks read: 358<br>remote merged chunks fetched: 0<br>remote blocks read: 467<br>data size total (min, med, max (stageId: taskId))<br>128.7 KiB (3.8 KiB, 4.4 KiB, 4.6 KiB (stage 1034749.0: task 2669237))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>41 ms (1 ms, 1 ms, 2 ms (stage 1034749.0: task 2669245))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>36 ms (0 ms, 0 ms, 8 ms (stage 1034760.0: task 2669419))<br>remote bytes read total (min, med, max (stageId: taskId))<br>62.8 KiB (1611.0 B, 2.1 KiB, 2.5 KiB (stage 1034760.0: task 2669425))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>287 ms (4 ms, 8 ms, 25 ms (stage 1034760.0: task 2669393))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>110.8 KiB (3.3 KiB, 3.7 KiB, 4.0 KiB (stage 1034749.0: task 2669236))" tooltip="Exchange hashpartitioning(orderProposalId#10217087L, 30), ENSURE_REQUIREMENTS, [plan_id=3020810]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n543 ms (2 ms, 3 ms, 203 ms (stage 1034749.0: task 2669184))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,354" tooltip="Filter isnotnull(orderProposalId#10217087L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,354" tooltip="InMemoryTableScan [shardId#10217086, orderProposalId#10217087L, optimizationGroups#10217089], [isnotnull(orderProposalId#10217087L)]"];
subgraph cluster104 {
isCluster="true";
id="cluster104";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
105 [id="node105" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, optimizationInsights#10214808], [isnotnull(shardId#10214802), (shardId#10214802 = 0_3_10000000540)]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
108 [id="node108" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#10214802,orderProposalId#10214803L,items#10214804,optimizationGroups#10214805,isOptimal#10214806,lastModified#10214807,optimizationInsights#10214808]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n818 ms (8 ms, 13 ms, 109 ms (stage 1034760.0: task 2669397))";
tooltip="WholeStageCodegen (7)";
111 [id="node111" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1034760.0: task 2669392))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1034760.0: task 2669392))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1034760.0: task 2669392))" tooltip="Sort [orderProposalId#10217142L ASC NULLS FIRST], false, 0"];
112 [id="node112" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>77 ms (2 ms, 2 ms, 5 ms (stage 1034760.0: task 2669394))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1034760.0: task 2669392))<br>number of output rows: 2,354<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#10217142L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,147<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,147<br>local bytes read total (min, med, max (stageId: taskId))<br>141.6 KiB (19.6 KiB, 25.2 KiB, 26.3 KiB (stage 1034760.0: task 2669414))<br>merged fetch fallback count: 0<br>local blocks read: 180<br>remote merged chunks fetched: 0<br>remote blocks read: 720<br>data size total (min, med, max (stageId: taskId))<br>908.5 KiB (29.7 KiB, 30.3 KiB, 30.7 KiB (stage 1034750.0: task 2669368))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>45 ms (1 ms, 1 ms, 5 ms (stage 1034750.0: task 2669381))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 1 ms (stage 1034760.0: task 2669418))<br>remote bytes read total (min, med, max (stageId: taskId))<br>534.1 KiB (18.5 KiB, 21.9 KiB, 27.5 KiB (stage 1034760.0: task 2669419))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>159 ms (1 ms, 4 ms, 19 ms (stage 1034760.0: task 2669397))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>675.7 KiB (22.1 KiB, 22.5 KiB, 22.8 KiB (stage 1034750.0: task 2669368))" tooltip="Exchange hashpartitioning(orderProposalId#10217142L, 30), ENSURE_REQUIREMENTS, [plan_id=3020835]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n354 ms (7 ms, 8 ms, 51 ms (stage 1034750.0: task 2669354))";
tooltip="WholeStageCodegen (6)";
115 [id="node115" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>186 ms (3 ms, 5 ms, 22 ms (stage 1034750.0: task 2669366))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1034750.0: task 2669354))<br>number of output rows: 58,147<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#10217142L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#10217142L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 119,954" tooltip="BroadcastHashJoin [worklistShardItemId#10217094L], [worklistShardItemId#10217165L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#10217165L, orderProposalId#10217142L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 9 ms<br>time to build: 22 ms<br>time to collect: 262 ms<br>number of output rows: 119,954<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=3020821]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n230 ms (0 ms, 8 ms, 12 ms (stage 1034592.0: task 2669134))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#10217093L AS worklistShardItemId#10217094L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,954" tooltip="Generate explode(_extract_worklistShardItemId#10217734), false, [item#10217093L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#10216715.worklistShardItemId AS _extract_worklistShardItemId#10217734]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,354" tooltip="Filter (((size(items#10216715.worklistShardItemId, true) > 0) AND isnotnull(items#10216715.worklistShardItemId)) AND (shardId#10216713 = 0_3_10000000540))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,354" tooltip="InMemoryTableScan [items#10216715, shardId#10216713], [(size(items#10216715.worklistShardItemId, true) > 0), isnotnull(items#10216715.worklistShardItemId), (shardId#10216713 = 0_3_10000000540)]"];
subgraph cluster125 {
isCluster="true";
id="cluster125";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
126 [id="node126" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, optimizationInsights#10214808], [isnotnull(shardId#10214802), (shardId#10214802 = 0_3_10000000540)]"];
subgraph cluster128 {
isCluster="true";
id="cluster128";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
129 [id="node129" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#10214802,orderProposalId#10214803L,items#10214804,optimizationGroups#10214805,isOptimal#10214806,lastModified#10214807,optimizationInsights#10214808]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,954<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,954<br>local bytes read total (min, med, max (stageId: taskId))<br>519.4 KiB (16.4 KiB, 17.4 KiB, 18.3 KiB (stage 1034750.0: task 2669369))<br>merged fetch fallback count: 0<br>local blocks read: 330<br>remote merged chunks fetched: 0<br>remote blocks read: 780<br>data size total (min, med, max (stageId: taskId))<br>2.7 MiB (73.3 KiB, 76.1 KiB, 79.2 KiB (stage 1034593.0: task 2669169))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>65 ms (1 ms, 1 ms, 3 ms (stage 1034593.0: task 2669329))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>56 ms (0 ms, 0 ms, 16 ms (stage 1034750.0: task 2669366))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1225.6 KiB (39.2 KiB, 40.8 KiB, 42.7 KiB (stage 1034750.0: task 2669368))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>286 ms (6 ms, 7 ms, 27 ms (stage 1034750.0: task 2669366))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1745.1 KiB (45.6 KiB, 47.3 KiB, 48.9 KiB (stage 1034593.0: task 2669169))" tooltip="Exchange hashpartitioning(worklistShardItemId#10217165L, 30), REPARTITION_BY_NUM, [plan_id=3020828]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n5.5 s (114 ms, 143 ms, 255 ms (stage 1034593.0: task 2669183))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#10217142L, worklistShardItemId#10217165L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,954" tooltip="Filter ((isnotnull(worklistShardItemId#10217165L) AND NOT (isFallbackOrderOnly#10217159 <=> true)) AND isnotnull(orderProposalId#10217142L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,954<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
137 [id="node137" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>5.3 s (108 ms, 138 ms, 236 ms (stage 1034593.0: task 2669183))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.5 MiB<br>number of output rows: 119,954<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#10217142L,isFallbackOrderOnly#10217159,worklistShardItemId#10217165L,shardId#10217186,sequenceId#10217164] Batched: true, DataFilters: [isnotnull(worklistShardItemId#10217165L), NOT (isFallbackOrderOnly#10217159 <=> true), isnotnull..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#10217186), isnotnull(sequenceId#10217164), (shardId#10217186 = 0_3_10000000540..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
23->22;
24->23;
26->24;
27->26;
28->27;
30->28;
31->30;
33->31;
34->33;
36->34;
37->36;
39->37;
40->39;
42->40;
43->42;
45->43;
46->45;
48->46;
49->48;
50->49;
51->50;
53->51;
54->53;
56->54;
57->56;
59->43;
60->59;
61->60;
63->61;
64->63;
65->64;
66->65;
68->37;
69->68;
71->69;
72->71;
73->72;
75->34;
76->75;
77->76;
78->77;
80->78;
81->80;
82->81;
84->31;
85->84;
86->85;
87->86;
89->87;
90->89;
91->90;
93->11;
94->93;
95->94;
97->95;
99->97;
100->99;
102->100;
103->102;
105->103;
106->105;
108->106;
109->108;
111->97;
112->111;
113->112;
115->113;
116->115;
117->116;
118->117;
120->118;
121->120;
122->121;
123->122;
124->123;
126->124;
127->126;
129->127;
130->129;
131->117;
132->131;
134->132;
135->134;
136->135;
137->136;
}
== Physical Plan ==
* HashAggregate (104)
+- Exchange (103)
+- * HashAggregate (102)
+- * Project (101)
+- * Generate (100)
+- Project (99)
+- Filter (98)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (97)
+- SortMergeJoin LeftOuter (96)
:- Sort (67)
: +- Exchange (66)
: +- Project (65)
: +- Project (64)
: +- ObjectHashAggregate (63)
: +- Exchange (62)
: +- ObjectHashAggregate (61)
: +- ObjectHashAggregate (60)
: +- Exchange (59)
: +- ObjectHashAggregate (58)
: +- Project (57)
: +- Project (56)
: +- Project (55)
: +- * Project (54)
: +- * Filter (53)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (52)
: +- * SortMergeJoin LeftOuter (51)
: :- * Project (43)
: : +- * SortMergeJoin LeftOuter (42)
: : :- * Project (34)
: : : +- * SortMergeJoin LeftOuter (33)
: : : :- * Sort (27)
: : : : +- Exchange (26)
: : : : +- * Project (25)
: : : : +- * SortMergeJoin LeftOuter (24)
: : : : :- * Sort (16)
: : : : : +- Exchange (15)
: : : : : +- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- * Sort (23)
: : : : +- * Project (22)
: : : : +- Exchange (21)
: : : : +- * Project (20)
: : : : +- * Filter (19)
: : : : +- * ColumnarToRow (18)
: : : : +- Scan parquet (17)
: : : +- * Sort (32)
: : : +- Exchange (31)
: : : +- * Project (30)
: : : +- * Filter (29)
: : : +- * Scan ExistingRDD (28)
: : +- * Sort (41)
: : +- ObjectHashAggregate (40)
: : +- Exchange (39)
: : +- ObjectHashAggregate (38)
: : +- * Project (37)
: : +- * Filter (36)
: : +- * Scan ExistingRDD (35)
: +- * Sort (50)
: +- ObjectHashAggregate (49)
: +- Exchange (48)
: +- ObjectHashAggregate (47)
: +- * Project (46)
: +- * Filter (45)
: +- * Scan ExistingRDD (44)
+- * Sort (95)
+- Exchange (94)
+- Project (93)
+- * SortMergeJoin Inner (92)
:- * Sort (72)
: +- Exchange (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Sort (91)
+- * HashAggregate (90)
+- Exchange (89)
+- * HashAggregate (88)
+- * Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (79)
: +- * Project (78)
: +- * Generate (77)
: +- * Project (76)
: +- * Filter (75)
: +- InMemoryTableScan (73)
: +- InMemoryRelation (74)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (85)
+- Exchange (84)
+- * Project (83)
+- * Filter (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
(1) InMemoryTableScan
Output [1]: [orderProposal#10217190]
Arguments: [orderProposal#10217190], [(size(orderProposal#10217190.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#10214802, orderProposal#10217190], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#10215492, channelStreamSpecificKpis#10216293, constraintLabels#10215504, constraintOperators#10215505, constraintValues#10215507, deliveryDateTime#10215491, isFallbackOrderOnly#10215494, logisticUnits#10215509, measurements#10215502, minimumOrderQuantity#10215503, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, nextAvailabilityDateTime#10215493, optimizationGroups#10215510, orderDateTime#10215490, orderProposalId#10215472L, orderProposalItemGroupId#10215474, orderProposalItemId#10215473, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, originalReplenishmentRunId#10215475L, plant#10215486, previousOrderProposal#10215478L, prodLocSpecificKpis#10216278, product#10215485, productGroup#10215514, qty#10215316, quantityAfterProdPlantOptimization#10215315, quantityKpis#10216306, shardId#10214802, sourceOfSupplyUuid#10215481, splitIndicator#10215477L, subrange#10215484, supplier#10215483, supplierGroup#10215482, supplyingPlant#10215513]
Arguments: [availabilityDateTime#10215492, channelStreamSpecificKpis#10216293, constraintLabels#10215504, constraintOperators#10215505, constraintValues#10215507, deliveryDateTime#10215491, isFallbackOrderOnly#10215494, logisticUnits#10215509, measurements#10215502, minimumOrderQuantity#10215503, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, nextAvailabilityDateTime#10215493, optimizationGroups#10215510, orderDateTime#10215490, orderProposalId#10215472L, orderProposalItemGroupId#10215474, orderProposalItemId#10215473, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, originalReplenishmentRunId#10215475L, plant#10215486, ... 14 more fields], [NOT (isFallbackOrderOnly#10215494 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, productGroup#10215514, product#10215485, plant#10215486, subrange#10215484, orderDateTime#10215490, deliveryDateTime#10215491, availabilityDateTime#10215492, nextAvailabilityDateTime#10215493, constraintValues#10215507, constraintOperators#10215505, constraintLabels#10215504, logisticUnits#10215509, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, splitIndicator#10215477L, netPriceAmount#10215500, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#10214802, items#10214804]
Arguments: [shardId#10214802, items#10214804], [(size(items#10214804, true) > 0), isnotnull(items#10214804)]
(6) InMemoryRelation
Arguments: [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, optimizationInsights#10214808], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, optimizationInsights#10214808]
Arguments: [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, optimizationInsights#10214808], [isnotnull(shardId#10214802), (shardId#10214802 = 0_3_10000000540)]
(8) InMemoryRelation
Arguments: [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, lastModified#10214807, optimizationInsights#10214808], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, lastModified#10214807, optimizationInsights#10214808]
Arguments: [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, lastModified#10214807, optimizationInsights#10214808], MapPartitionsRDD[434374] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, lastModified#10214807, optimizationInsights#10214808]
Condition : (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))
(11) Filter [codegen id : 1]
Input [6]: [shardId#10214802, orderProposalId#10214803L, items#10214804, optimizationGroups#10214805, isOptimal#10214806, optimizationInsights#10214808]
Condition : (isnotnull(shardId#10214802) AND (shardId#10214802 = 0_3_10000000540))
(12) Filter [codegen id : 1]
Input [2]: [shardId#10214802, items#10214804]
Condition : ((size(items#10214804, true) > 0) AND isnotnull(items#10214804))
(13) Generate [codegen id : 1]
Input [2]: [shardId#10214802, items#10214804]
Arguments: explode(items#10214804), [shardId#10214802], false, [item#10215313]
(14) Project [codegen id : 1]
Output [4]: [shardId#10214802, item#10215313.worklistShardItemId AS worklistShardItemId#10215314L, item#10215313.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#10215315, item#10215313.qty AS qty#10215316]
Input [2]: [shardId#10214802, item#10215313]
(15) Exchange
Input [4]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316]
Arguments: hashpartitioning(worklistShardItemId#10215314L, 30), ENSURE_REQUIREMENTS, [plan_id=3020494]
(16) Sort [codegen id : 2]
Input [4]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316]
Arguments: [worklistShardItemId#10215314L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#10215515L, orderProposalItemId#10215516, supplierGroup#10215517, supplier#10215518, plant#10215519, deliveryDateTime#10215520, subrange#10215521, supplyingPlant#10215522, productGroup#10215523, product#10215524, orderDateTime#10215525, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, sourceOfSupplyUuid#10215529, isFallbackOrderOnly#10215532, splitIndicator#10215534L, previousOrderProposal#10215535L, worklistShardItemId#10215538L, orderProposalItemGroupId#10215539, externalProductId#10215540, externalPlantId#10215541, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, minimumOrderQuantity#10215545, constraintLabels#10215546, constraintOperators#10215547, constraintValues#10215548, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, measurements#10215556, originalReplenishmentRunId#10215557L, optimizationGroups#10215558, shardId#10215559, sequenceId#10215537]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000540]
PartitionFilters: [isnotnull(shardId#10215559), isnotnull(sequenceId#10215537), (shardId#10215559 = 0_3_10000000540), (sequenceId#10215537 = 12)]
PushedFilters: [IsNotNull(worklistShardItemId)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,sourceOfSupplyUuid:string,isFallbackOrderOnly:boolean,splitIndicator:bigint,previousOrderProposal:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(18) ColumnarToRow [codegen id : 3]
Input [38]: [orderProposalId#10215515L, orderProposalItemId#10215516, supplierGroup#10215517, supplier#10215518, plant#10215519, deliveryDateTime#10215520, subrange#10215521, supplyingPlant#10215522, productGroup#10215523, product#10215524, orderDateTime#10215525, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, sourceOfSupplyUuid#10215529, isFallbackOrderOnly#10215532, splitIndicator#10215534L, previousOrderProposal#10215535L, worklistShardItemId#10215538L, orderProposalItemGroupId#10215539, externalProductId#10215540, externalPlantId#10215541, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, minimumOrderQuantity#10215545, constraintLabels#10215546, constraintOperators#10215547, constraintValues#10215548, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, measurements#10215556, originalReplenishmentRunId#10215557L, optimizationGroups#10215558, shardId#10215559, sequenceId#10215537]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#10215515L, orderProposalItemId#10215516, supplierGroup#10215517, supplier#10215518, plant#10215519, deliveryDateTime#10215520, subrange#10215521, supplyingPlant#10215522, productGroup#10215523, product#10215524, orderDateTime#10215525, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, sourceOfSupplyUuid#10215529, isFallbackOrderOnly#10215532, splitIndicator#10215534L, previousOrderProposal#10215535L, worklistShardItemId#10215538L, orderProposalItemGroupId#10215539, externalProductId#10215540, externalPlantId#10215541, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, minimumOrderQuantity#10215545, constraintLabels#10215546, constraintOperators#10215547, constraintValues#10215548, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, measurements#10215556, originalReplenishmentRunId#10215557L, optimizationGroups#10215558, shardId#10215559, sequenceId#10215537]
Condition : isnotnull(worklistShardItemId#10215538L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#10215515L, orderProposalItemId#10215516, supplierGroup#10215517, supplier#10215518, plant#10215519, deliveryDateTime#10215520, subrange#10215521, supplyingPlant#10215522, productGroup#10215523, product#10215524, orderDateTime#10215525, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, sourceOfSupplyUuid#10215529, isFallbackOrderOnly#10215532, splitIndicator#10215534L, previousOrderProposal#10215535L, worklistShardItemId#10215538L, orderProposalItemGroupId#10215539, externalProductId#10215540, externalPlantId#10215541, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, minimumOrderQuantity#10215545, constraintLabels#10215546, constraintOperators#10215547, constraintValues#10215548, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, measurements#10215556, originalReplenishmentRunId#10215557L, optimizationGroups#10215558]
Input [38]: [orderProposalId#10215515L, orderProposalItemId#10215516, supplierGroup#10215517, supplier#10215518, plant#10215519, deliveryDateTime#10215520, subrange#10215521, supplyingPlant#10215522, productGroup#10215523, product#10215524, orderDateTime#10215525, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, sourceOfSupplyUuid#10215529, isFallbackOrderOnly#10215532, splitIndicator#10215534L, previousOrderProposal#10215535L, worklistShardItemId#10215538L, orderProposalItemGroupId#10215539, externalProductId#10215540, externalPlantId#10215541, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, minimumOrderQuantity#10215545, constraintLabels#10215546, constraintOperators#10215547, constraintValues#10215548, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, measurements#10215556, originalReplenishmentRunId#10215557L, optimizationGroups#10215558, shardId#10215559, sequenceId#10215537]
(21) Exchange
Input [36]: [orderProposalId#10215515L, orderProposalItemId#10215516, supplierGroup#10215517, supplier#10215518, plant#10215519, deliveryDateTime#10215520, subrange#10215521, supplyingPlant#10215522, productGroup#10215523, product#10215524, orderDateTime#10215525, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, sourceOfSupplyUuid#10215529, isFallbackOrderOnly#10215532, splitIndicator#10215534L, previousOrderProposal#10215535L, worklistShardItemId#10215538L, orderProposalItemGroupId#10215539, externalProductId#10215540, externalPlantId#10215541, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, minimumOrderQuantity#10215545, constraintLabels#10215546, constraintOperators#10215547, constraintValues#10215548, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, measurements#10215556, originalReplenishmentRunId#10215557L, optimizationGroups#10215558]
Arguments: hashpartitioning(worklistShardItemId#10215538L, 30), REPARTITION_BY_NUM, [plan_id=3020504]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#10215538L, orderProposalId#10215515L, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, originalReplenishmentRunId#10215557L, splitIndicator#10215534L, previousOrderProposal#10215535L, sourceOfSupplyUuid#10215529, supplierGroup#10215517, supplier#10215518, subrange#10215521, product#10215524, plant#10215519, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, isFallbackOrderOnly#10215532, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, netPriceAmount#10215551, netPriceCurrencyCode#10215552, measurements#10215556, minimumOrderQuantity#10215545, constraintLabels#10215546, constraintOperators#10215547, constraintValues#10215548, logisticUnits#10215542, optimizationGroups#10215558, externalProductId#10215540, externalPlantId#10215541, supplyingPlant#10215522, productGroup#10215523]
Input [36]: [orderProposalId#10215515L, orderProposalItemId#10215516, supplierGroup#10215517, supplier#10215518, plant#10215519, deliveryDateTime#10215520, subrange#10215521, supplyingPlant#10215522, productGroup#10215523, product#10215524, orderDateTime#10215525, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, sourceOfSupplyUuid#10215529, isFallbackOrderOnly#10215532, splitIndicator#10215534L, previousOrderProposal#10215535L, worklistShardItemId#10215538L, orderProposalItemGroupId#10215539, externalProductId#10215540, externalPlantId#10215541, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, minimumOrderQuantity#10215545, constraintLabels#10215546, constraintOperators#10215547, constraintValues#10215548, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, measurements#10215556, originalReplenishmentRunId#10215557L, optimizationGroups#10215558]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#10215538L, orderProposalId#10215515L, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, originalReplenishmentRunId#10215557L, splitIndicator#10215534L, previousOrderProposal#10215535L, sourceOfSupplyUuid#10215529, supplierGroup#10215517, supplier#10215518, subrange#10215521, product#10215524, plant#10215519, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, isFallbackOrderOnly#10215532, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, netPriceAmount#10215551, netPriceCurrencyCode#10215552, measurements#10215556, minimumOrderQuantity#10215545, constraintLabels#10215546, constraintOperators#10215547, constraintValues#10215548, logisticUnits#10215542, optimizationGroups#10215558, externalProductId#10215540, externalPlantId#10215541, supplyingPlant#10215522, productGroup#10215523]
Arguments: [worklistShardItemId#10215538L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#10215314L]
Right keys [1]: [worklistShardItemId#10215538L]
Join type: LeftOuter
Join condition: (shardId#10214802 = 0_3_10000000540)
(25) Project [codegen id : 5]
Output [39]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, sourceOfSupplyUuid#10215529, minimumOrderQuantity#10215545, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, optimizationGroups#10215558, measurements#10215556, externalProductId#10215540, externalPlantId#10215541, previousOrderProposal#10215535L, isFallbackOrderOnly#10215532]
Input [40]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, worklistShardItemId#10215538L, orderProposalId#10215515L, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, originalReplenishmentRunId#10215557L, splitIndicator#10215534L, previousOrderProposal#10215535L, sourceOfSupplyUuid#10215529, supplierGroup#10215517, supplier#10215518, subrange#10215521, product#10215524, plant#10215519, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, isFallbackOrderOnly#10215532, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, netPriceAmount#10215551, netPriceCurrencyCode#10215552, measurements#10215556, minimumOrderQuantity#10215545, constraintLabels#10215546, constraintOperators#10215547, constraintValues#10215548, logisticUnits#10215542, optimizationGroups#10215558, externalProductId#10215540, externalPlantId#10215541, supplyingPlant#10215522, productGroup#10215523]
(26) Exchange
Input [39]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, sourceOfSupplyUuid#10215529, minimumOrderQuantity#10215545, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, optimizationGroups#10215558, measurements#10215556, externalProductId#10215540, externalPlantId#10215541, previousOrderProposal#10215535L, isFallbackOrderOnly#10215532]
Arguments: hashpartitioning(shardId#10214802, worklistShardItemId#10215314L, 30), ENSURE_REQUIREMENTS, [plan_id=3020513]
(27) Sort [codegen id : 6]
Input [39]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, sourceOfSupplyUuid#10215529, minimumOrderQuantity#10215545, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, optimizationGroups#10215558, measurements#10215556, externalProductId#10215540, externalPlantId#10215541, previousOrderProposal#10215535L, isFallbackOrderOnly#10215532]
Arguments: [shardId#10214802 ASC NULLS FIRST, worklistShardItemId#10215314L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#10216271, worklistShardItemId#10216272L, qty#10216273, demandChannel#10216274, demandStream#10216275, kpis#10216276]
Arguments: [shardId#10216271, worklistShardItemId#10216272L, qty#10216273, demandChannel#10216274, demandStream#10216275, kpis#10216276], MapPartitionsRDD[434456] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#10216271, worklistShardItemId#10216272L, qty#10216273, demandChannel#10216274, demandStream#10216275, kpis#10216276]
Condition : (((isnull(qty#10216273) AND isnull(demandChannel#10216274)) AND isnull(demandStream#10216275)) AND (isnotnull(shardId#10216271) AND isnotnull(worklistShardItemId#10216272L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#10216271, worklistShardItemId#10216272L, coalesce(kpis#10216276, []) AS prodLocSpecificKpis#10216277]
Input [6]: [shardId#10216271, worklistShardItemId#10216272L, qty#10216273, demandChannel#10216274, demandStream#10216275, kpis#10216276]
(31) Exchange
Input [3]: [shardId#10216271, worklistShardItemId#10216272L, prodLocSpecificKpis#10216277]
Arguments: hashpartitioning(shardId#10216271, worklistShardItemId#10216272L, 30), ENSURE_REQUIREMENTS, [plan_id=3020519]
(32) Sort [codegen id : 8]
Input [3]: [shardId#10216271, worklistShardItemId#10216272L, prodLocSpecificKpis#10216277]
Arguments: [shardId#10216271 ASC NULLS FIRST, worklistShardItemId#10216272L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#10214802, worklistShardItemId#10215314L]
Right keys [2]: [shardId#10216271, worklistShardItemId#10216272L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, sourceOfSupplyUuid#10215529, minimumOrderQuantity#10215545, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, optimizationGroups#10215558, measurements#10215556, externalProductId#10215540, externalPlantId#10215541, previousOrderProposal#10215535L, isFallbackOrderOnly#10215532, coalesce(prodLocSpecificKpis#10216277, []) AS prodLocSpecificKpis#10216278]
Input [42]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, sourceOfSupplyUuid#10215529, minimumOrderQuantity#10215545, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, optimizationGroups#10215558, measurements#10215556, externalProductId#10215540, externalPlantId#10215541, previousOrderProposal#10215535L, isFallbackOrderOnly#10215532, shardId#10216271, worklistShardItemId#10216272L, prodLocSpecificKpis#10216277]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#10216287, worklistShardItemId#10216288L, qty#10216289, demandChannel#10216290, demandStream#10216291, kpis#10216292]
Arguments: [shardId#10216287, worklistShardItemId#10216288L, qty#10216289, demandChannel#10216290, demandStream#10216291, kpis#10216292], MapPartitionsRDD[434456] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#10216287, worklistShardItemId#10216288L, qty#10216289, demandChannel#10216290, demandStream#10216291, kpis#10216292]
Condition : ((((isnull(qty#10216289) AND isnotnull(demandChannel#10216290)) AND isnotnull(demandStream#10216291)) AND (size(kpis#10216292, true) > 0)) AND (isnotnull(shardId#10216287) AND isnotnull(worklistShardItemId#10216288L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#10216287, worklistShardItemId#10216288L, demandChannel#10216290, demandStream#10216291, kpis#10216292]
Input [6]: [shardId#10216287, worklistShardItemId#10216288L, qty#10216289, demandChannel#10216290, demandStream#10216291, kpis#10216292]
(38) ObjectHashAggregate
Input [5]: [shardId#10216287, worklistShardItemId#10216288L, demandChannel#10216290, demandStream#10216291, kpis#10216292]
Keys [2]: [shardId#10216287, worklistShardItemId#10216288L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#10216290, demandStream, demandStream#10216291, kpis, kpis#10216292), 0, 0)]
Aggregate Attributes [1]: [buf#10216467]
Results [3]: [shardId#10216287, worklistShardItemId#10216288L, buf#10216468]
(39) Exchange
Input [3]: [shardId#10216287, worklistShardItemId#10216288L, buf#10216468]
Arguments: hashpartitioning(shardId#10216287, worklistShardItemId#10216288L, 30), ENSURE_REQUIREMENTS, [plan_id=3020530]
(40) ObjectHashAggregate
Input [3]: [shardId#10216287, worklistShardItemId#10216288L, buf#10216468]
Keys [2]: [shardId#10216287, worklistShardItemId#10216288L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#10216290, demandStream, demandStream#10216291, kpis, kpis#10216292), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#10216290, demandStream, demandStream#10216291, kpis, kpis#10216292), 0, 0)#10216286]
Results [3]: [shardId#10216287, worklistShardItemId#10216288L, collect_list(struct(demandChannel, demandChannel#10216290, demandStream, demandStream#10216291, kpis, kpis#10216292), 0, 0)#10216286 AS channelStreamSpecificKpis#10216279]
(41) Sort [codegen id : 11]
Input [3]: [shardId#10216287, worklistShardItemId#10216288L, channelStreamSpecificKpis#10216279]
Arguments: [shardId#10216287 ASC NULLS FIRST, worklistShardItemId#10216288L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#10214802, worklistShardItemId#10215314L]
Right keys [2]: [shardId#10216287, worklistShardItemId#10216288L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, sourceOfSupplyUuid#10215529, minimumOrderQuantity#10215545, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, optimizationGroups#10215558, measurements#10215556, externalProductId#10215540, externalPlantId#10215541, previousOrderProposal#10215535L, isFallbackOrderOnly#10215532, prodLocSpecificKpis#10216278, coalesce(channelStreamSpecificKpis#10216279, []) AS channelStreamSpecificKpis#10216293]
Input [43]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, sourceOfSupplyUuid#10215529, minimumOrderQuantity#10215545, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, optimizationGroups#10215558, measurements#10215556, externalProductId#10215540, externalPlantId#10215541, previousOrderProposal#10215535L, isFallbackOrderOnly#10215532, prodLocSpecificKpis#10216278, shardId#10216287, worklistShardItemId#10216288L, channelStreamSpecificKpis#10216279]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#10216300, worklistShardItemId#10216301L, qty#10216302, demandChannel#10216303, demandStream#10216304, kpis#10216305]
Arguments: [shardId#10216300, worklistShardItemId#10216301L, qty#10216302, demandChannel#10216303, demandStream#10216304, kpis#10216305], MapPartitionsRDD[434456] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#10216300, worklistShardItemId#10216301L, qty#10216302, demandChannel#10216303, demandStream#10216304, kpis#10216305]
Condition : ((isnotnull(qty#10216302) AND isnotnull(kpis#10216305)) AND (isnotnull(shardId#10216300) AND isnotnull(worklistShardItemId#10216301L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#10216300, worklistShardItemId#10216301L, qty#10216302, kpis#10216305]
Input [6]: [shardId#10216300, worklistShardItemId#10216301L, qty#10216302, demandChannel#10216303, demandStream#10216304, kpis#10216305]
(47) ObjectHashAggregate
Input [4]: [shardId#10216300, worklistShardItemId#10216301L, qty#10216302, kpis#10216305]
Keys [2]: [shardId#10216300, worklistShardItemId#10216301L]
Functions [1]: [partial_collect_list(struct(qty, qty#10216302, kpis, kpis#10216305), 0, 0)]
Aggregate Attributes [1]: [buf#10216469]
Results [3]: [shardId#10216300, worklistShardItemId#10216301L, buf#10216470]
(48) Exchange
Input [3]: [shardId#10216300, worklistShardItemId#10216301L, buf#10216470]
Arguments: hashpartitioning(shardId#10216300, worklistShardItemId#10216301L, 30), ENSURE_REQUIREMENTS, [plan_id=3020542]
(49) ObjectHashAggregate
Input [3]: [shardId#10216300, worklistShardItemId#10216301L, buf#10216470]
Keys [2]: [shardId#10216300, worklistShardItemId#10216301L]
Functions [1]: [collect_list(struct(qty, qty#10216302, kpis, kpis#10216305), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#10216302, kpis, kpis#10216305), 0, 0)#10216299]
Results [3]: [shardId#10216300, worklistShardItemId#10216301L, map_from_entries(collect_list(struct(qty, qty#10216302, kpis, kpis#10216305), 0, 0)#10216299) AS quantityKpis#10216294]
(50) Sort [codegen id : 14]
Input [3]: [shardId#10216300, worklistShardItemId#10216301L, quantityKpis#10216294]
Arguments: [shardId#10216300 ASC NULLS FIRST, worklistShardItemId#10216301L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#10214802, worklistShardItemId#10215314L]
Right keys [2]: [shardId#10216300, worklistShardItemId#10216301L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, sourceOfSupplyUuid#10215529, minimumOrderQuantity#10215545, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, optimizationGroups#10215558, measurements#10215556, externalProductId#10215540, externalPlantId#10215541, previousOrderProposal#10215535L, isFallbackOrderOnly#10215532, prodLocSpecificKpis#10216278, channelStreamSpecificKpis#10216293, coalesce(quantityKpis#10216294, map(keys: [], values: [])) AS quantityKpis#10216306]
Input [44]: [shardId#10214802, worklistShardItemId#10215314L, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215515L, originalReplenishmentRunId#10215557L, supplierGroup#10215517, supplier#10215518, supplyingPlant#10215522, productGroup#10215523, product#10215524, plant#10215519, subrange#10215521, orderDateTime#10215525, deliveryDateTime#10215520, availabilityDateTime#10215526, nextAvailabilityDateTime#10215527, constraintValues#10215548, constraintOperators#10215547, constraintLabels#10215546, logisticUnits#10215542, orderQuantityBaseUom#10215543, orderQuantityBaseUomUuid#10215544, splitIndicator#10215534L, netPriceAmount#10215551, netPriceCurrencyCode#10215552, netPriceQuantity#10215553, netPriceQuantityUom#10215554, netPriceQuantityUomUuid#10215555, sourceOfSupplyUuid#10215529, minimumOrderQuantity#10215545, orderProposalItemId#10215516, orderProposalItemGroupId#10215539, optimizationGroups#10215558, measurements#10215556, externalProductId#10215540, externalPlantId#10215541, previousOrderProposal#10215535L, isFallbackOrderOnly#10215532, prodLocSpecificKpis#10216278, channelStreamSpecificKpis#10216293, shardId#10216300, worklistShardItemId#10216301L, quantityKpis#10216294]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#10215492, channelStreamSpecificKpis#10216293, constraintLabels#10215504, constraintOperators#10215505, constraintValues#10215507, deliveryDateTime#10215491, isFallbackOrderOnly#10215494, logisticUnits#10215509, measurements#10215502, minimumOrderQuantity#10215503, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, nextAvailabilityDateTime#10215493, optimizationGroups#10215510, orderDateTime#10215490, orderProposalId#10215472L, orderProposalItemGroupId#10215474, orderProposalItemId#10215473, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, originalReplenishmentRunId#10215475L, plant#10215486, previousOrderProposal#10215478L, prodLocSpecificKpis#10216278, product#10215485, productGroup#10215514, qty#10215316, quantityAfterProdPlantOptimization#10215315, quantityKpis#10216306, shardId#10214802, sourceOfSupplyUuid#10215481, splitIndicator#10215477L, subrange#10215484, supplier#10215483, supplierGroup#10215482, supplyingPlant#10215513]
Condition : NOT (isFallbackOrderOnly#10215494 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#10214802, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, productGroup#10215514, product#10215485, plant#10215486, subrange#10215484, orderDateTime#10215490, deliveryDateTime#10215491, availabilityDateTime#10215492, nextAvailabilityDateTime#10215493, logisticUnits#10215509, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, splitIndicator#10215477L, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, sourceOfSupplyUuid#10215481, minimumOrderQuantity#10215503, orderProposalItemId#10215473, orderProposalItemGroupId#10215474, optimizationGroups#10215510, measurements#10215502, previousOrderProposal#10215478L, prodLocSpecificKpis#10216278, channelStreamSpecificKpis#10216293, quantityKpis#10216306, arrays_zip(constraintLabels#10215504, constraintOperators#10215505, constraintValues#10215507, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#10216720]
Input [39]: [availabilityDateTime#10215492, channelStreamSpecificKpis#10216293, constraintLabels#10215504, constraintOperators#10215505, constraintValues#10215507, deliveryDateTime#10215491, isFallbackOrderOnly#10215494, logisticUnits#10215509, measurements#10215502, minimumOrderQuantity#10215503, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, nextAvailabilityDateTime#10215493, optimizationGroups#10215510, orderDateTime#10215490, orderProposalId#10215472L, orderProposalItemGroupId#10215474, orderProposalItemId#10215473, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, originalReplenishmentRunId#10215475L, plant#10215486, previousOrderProposal#10215478L, prodLocSpecificKpis#10216278, product#10215485, productGroup#10215514, qty#10215316, quantityAfterProdPlantOptimization#10215315, quantityKpis#10216306, shardId#10214802, sourceOfSupplyUuid#10215481, splitIndicator#10215477L, subrange#10215484, supplier#10215483, supplierGroup#10215482, supplyingPlant#10215513]
(55) Project
Output [37]: [shardId#10214802, qty#10215316, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, productGroup#10215514, product#10215485, plant#10215486, subrange#10215484, orderDateTime#10215490, deliveryDateTime#10215491, availabilityDateTime#10215492, nextAvailabilityDateTime#10215493, logisticUnits#10215509, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, splitIndicator#10215477L, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, sourceOfSupplyUuid#10215481, orderProposalItemId#10215473, orderProposalItemGroupId#10215474, optimizationGroups#10215510, measurements#10215502, previousOrderProposal#10215478L, prodLocSpecificKpis#10216278, channelStreamSpecificKpis#10216293, quantityKpis#10216306, struct(minServiceLevel, array_min(filter(constraintStructArray#10216720, lambdafunction((lambda x_33860#10216727.constraintLabels = ServiceLevel), lambda x_33860#10216727, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#10216720, lambdafunction((lambda x_33861#10216728.constraintLabels = ServiceLevelMinimumStock), lambda x_33861#10216728, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#10216720, lambdafunction((lambda x_33862#10216729.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_33862#10216729, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#10216720, lambdafunction((lambda x_33863#10216730.constraintLabels = RangeOfCoverage), lambda x_33863#10216730, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#10215503, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#10216278, lambdafunction((lambda x_33864#10216731.label = NonListingStartTimestamp), lambda x_33864#10216731, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#10216726, CASE WHEN (qty#10215316 <=> quantityAfterProdPlantOptimization#10215315) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#10215316 * (cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33865#10216799.isOrderUnit, lambda x_33865#10216799, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33865#10216800.isOrderUnit, lambda x_33865#10216800, false)), 1, None, false).numerator as double))), qty#10215316), orderQuantityUom, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33865#10216801.isOrderUnit, lambda x_33865#10216801, false)), 1, None, false).uom, orderQuantityBaseUom#10215495), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33865#10216802.isOrderUnit, lambda x_33865#10216802, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#10215496), candidateOrderQuantityInBaseUnit, qty#10215316, orderQuantityBaseUom, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#10215496, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#10215509, lambdafunction((lambda x_33867#10216803.isPreferred AND (((qty#10215316 * cast(lambda x_33867#10216803.denominator as double)) % cast(lambda x_33867#10216803.numerator as double)) = 0.0)), lambda x_33867#10216803, false)), lambdafunction(struct(inPreferredQuantity, ((qty#10215316 * cast(lambda x_33868#10216844.denominator as double)) / cast(lambda x_33868#10216844.numerator as double)), uom, lambda x_33868#10216844.uom, uomUuid, lambda x_33868#10216844.uomUuid), lambda x_33868#10216844, false))).inPreferredQuantity, coalesce((qty#10215316 * (cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33866#10216804.isOrderUnit, lambda x_33866#10216804, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33866#10216805.isOrderUnit, lambda x_33866#10216805, false)), 1, None, false).numerator as double))), qty#10215316)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#10215509, lambdafunction((lambda x_33867#10216806.isPreferred AND (((qty#10215316 * cast(lambda x_33867#10216806.denominator as double)) % cast(lambda x_33867#10216806.numerator as double)) = 0.0)), lambda x_33867#10216806, false)), lambdafunction(struct(inPreferredQuantity, ((qty#10215316 * cast(lambda x_33868#10216845.denominator as double)) / cast(lambda x_33868#10216845.numerator as double)), uom, lambda x_33868#10216845.uom, uomUuid, lambda x_33868#10216845.uomUuid), lambda x_33868#10216845, false))).uom, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33866#10216807.isOrderUnit, lambda x_33866#10216807, false)), 1, None, false).uom, orderQuantityBaseUom#10215495)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#10215509, lambdafunction((lambda x_33867#10216808.isPreferred AND (((qty#10215316 * cast(lambda x_33867#10216808.denominator as double)) % cast(lambda x_33867#10216808.numerator as double)) = 0.0)), lambda x_33867#10216808, false)), lambdafunction(struct(inPreferredQuantity, ((qty#10215316 * cast(lambda x_33868#10216846.denominator as double)) / cast(lambda x_33868#10216846.numerator as double)), uom, lambda x_33868#10216846.uom, uomUuid, lambda x_33868#10216846.uomUuid), lambda x_33868#10216846, false))).uomUuid, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33866#10216809.isOrderUnit, lambda x_33866#10216809, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#10215496)), serviceLevel, coalesce(filter(element_at(quantityKpis#10216306, qty#10215316, None, false), lambdafunction((lambda x_33873#10216810.label = ServiceLevel), lambda x_33873#10216810, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#10215316 * (cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33865#10216814.isOrderUnit, lambda x_33865#10216814, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33865#10216815.isOrderUnit, lambda x_33865#10216815, false)), 1, None, false).numerator as double))), qty#10215316), orderQuantityUom, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33865#10216816.isOrderUnit, lambda x_33865#10216816, false)), 1, None, false).uom, orderQuantityBaseUom#10215495), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33865#10216817.isOrderUnit, lambda x_33865#10216817, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#10215496), candidateOrderQuantityInBaseUnit, qty#10215316, orderQuantityBaseUom, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#10215496, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#10215509, lambdafunction((lambda x_33867#10216818.isPreferred AND (((qty#10215316 * cast(lambda x_33867#10216818.denominator as double)) % cast(lambda x_33867#10216818.numerator as double)) = 0.0)), lambda x_33867#10216818, false)), lambdafunction(struct(inPreferredQuantity, ((qty#10215316 * cast(lambda x_33868#10216847.denominator as double)) / cast(lambda x_33868#10216847.numerator as double)), uom, lambda x_33868#10216847.uom, uomUuid, lambda x_33868#10216847.uomUuid), lambda x_33868#10216847, false))).inPreferredQuantity, coalesce((qty#10215316 * (cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33866#10216819.isOrderUnit, lambda x_33866#10216819, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33866#10216820.isOrderUnit, lambda x_33866#10216820, false)), 1, None, false).numerator as double))), qty#10215316)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#10215509, lambdafunction((lambda x_33867#10216821.isPreferred AND (((qty#10215316 * cast(lambda x_33867#10216821.denominator as double)) % cast(lambda x_33867#10216821.numerator as double)) = 0.0)), lambda x_33867#10216821, false)), lambdafunction(struct(inPreferredQuantity, ((qty#10215316 * cast(lambda x_33868#10216848.denominator as double)) / cast(lambda x_33868#10216848.numerator as double)), uom, lambda x_33868#10216848.uom, uomUuid, lambda x_33868#10216848.uomUuid), lambda x_33868#10216848, false))).uom, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33866#10216822.isOrderUnit, lambda x_33866#10216822, false)), 1, None, false).uom, orderQuantityBaseUom#10215495)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#10215509, lambdafunction((lambda x_33867#10216823.isPreferred AND (((qty#10215316 * cast(lambda x_33867#10216823.denominator as double)) % cast(lambda x_33867#10216823.numerator as double)) = 0.0)), lambda x_33867#10216823, false)), lambdafunction(struct(inPreferredQuantity, ((qty#10215316 * cast(lambda x_33868#10216849.denominator as double)) / cast(lambda x_33868#10216849.numerator as double)), uom, lambda x_33868#10216849.uom, uomUuid, lambda x_33868#10216849.uomUuid), lambda x_33868#10216849, false))).uomUuid, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33866#10216824.isOrderUnit, lambda x_33866#10216824, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#10215496)), serviceLevel, coalesce(filter(element_at(quantityKpis#10216306, qty#10215316, None, false), lambdafunction((lambda x_33877#10216825.label = ServiceLevel), lambda x_33877#10216825, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#10215315 * (cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33869#10216829.isOrderUnit, lambda x_33869#10216829, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33869#10216830.isOrderUnit, lambda x_33869#10216830, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#10215315), orderQuantityUom, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33869#10216831.isOrderUnit, lambda x_33869#10216831, false)), 1, None, false).uom, orderQuantityBaseUom#10215495), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33869#10216832.isOrderUnit, lambda x_33869#10216832, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#10215496), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#10215315, orderQuantityBaseUom, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#10215496, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#10215509, lambdafunction((lambda x_33871#10216833.isPreferred AND (((quantityAfterProdPlantOptimization#10215315 * cast(lambda x_33871#10216833.denominator as double)) % cast(lambda x_33871#10216833.numerator as double)) = 0.0)), lambda x_33871#10216833, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#10215315 * cast(lambda x_33872#10216850.denominator as double)) / cast(lambda x_33872#10216850.numerator as double)), uom, lambda x_33872#10216850.uom, uomUuid, lambda x_33872#10216850.uomUuid), lambda x_33872#10216850, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#10215315 * (cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33870#10216834.isOrderUnit, lambda x_33870#10216834, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33870#10216835.isOrderUnit, lambda x_33870#10216835, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#10215315)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#10215509, lambdafunction((lambda x_33871#10216836.isPreferred AND (((quantityAfterProdPlantOptimization#10215315 * cast(lambda x_33871#10216836.denominator as double)) % cast(lambda x_33871#10216836.numerator as double)) = 0.0)), lambda x_33871#10216836, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#10215315 * cast(lambda x_33872#10216851.denominator as double)) / cast(lambda x_33872#10216851.numerator as double)), uom, lambda x_33872#10216851.uom, uomUuid, lambda x_33872#10216851.uomUuid), lambda x_33872#10216851, false))).uom, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33870#10216837.isOrderUnit, lambda x_33870#10216837, false)), 1, None, false).uom, orderQuantityBaseUom#10215495)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#10215509, lambdafunction((lambda x_33871#10216838.isPreferred AND (((quantityAfterProdPlantOptimization#10215315 * cast(lambda x_33871#10216838.denominator as double)) % cast(lambda x_33871#10216838.numerator as double)) = 0.0)), lambda x_33871#10216838, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#10215315 * cast(lambda x_33872#10216852.denominator as double)) / cast(lambda x_33872#10216852.numerator as double)), uom, lambda x_33872#10216852.uom, uomUuid, lambda x_33872#10216852.uomUuid), lambda x_33872#10216852, false))).uomUuid, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33870#10216839.isOrderUnit, lambda x_33870#10216839, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#10215496)), serviceLevel, coalesce(filter(element_at(quantityKpis#10216306, quantityAfterProdPlantOptimization#10215315, None, false), lambdafunction((lambda x_33881#10216840.label = ServiceLevel), lambda x_33881#10216840, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#10216798, coalesce(filter(prodLocSpecificKpis#10216278, lambdafunction((lambda x_33885#10216854.label = InitialStockQty), lambda x_33885#10216854, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#10216853, coalesce(filter(prodLocSpecificKpis#10216278, lambdafunction((lambda x_33886#10216856.label = DemandPeriodEndTimestamp), lambda x_33886#10216856, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#10216855]
Input [36]: [shardId#10214802, quantityAfterProdPlantOptimization#10215315, qty#10215316, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, productGroup#10215514, product#10215485, plant#10215486, subrange#10215484, orderDateTime#10215490, deliveryDateTime#10215491, availabilityDateTime#10215492, nextAvailabilityDateTime#10215493, logisticUnits#10215509, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, splitIndicator#10215477L, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, sourceOfSupplyUuid#10215481, minimumOrderQuantity#10215503, orderProposalItemId#10215473, orderProposalItemGroupId#10215474, optimizationGroups#10215510, measurements#10215502, previousOrderProposal#10215478L, prodLocSpecificKpis#10216278, channelStreamSpecificKpis#10216293, quantityKpis#10216306, constraintStructArray#10216720]
(56) Project
Output [21]: [shardId#10214802, qty#10215316, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, productGroup#10215514, product#10215485, plant#10215486, subrange#10215484, orderDateTime#10215490, deliveryDateTime#10215491, logisticUnits#10215509, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, splitIndicator#10215477L, orderProposalItemId#10215473, orderProposalItemGroupId#10215474, previousOrderProposal#10215478L, struct(itemId, orderProposalItemId#10215473, itemGroupId, orderProposalItemGroupId#10215474, supplier, supplier#10215483, supplyingPlant, supplyingPlant#10215513, productGroup, productGroup#10215514, product, product#10215485, plant, plant#10215486, supplierSubRange, subrange#10215484, sourceOfSupplyUuid, sourceOfSupplyUuid#10215481, deliveryDateTime, deliveryDateTime#10215491, unitPrice, netPriceAmount#10215500, unitPriceCurrency, netPriceCurrencyCode#10215501, unitPriceQuantity, ... 37 more fields) AS parentItem#10216929]
Input [37]: [shardId#10214802, qty#10215316, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, productGroup#10215514, product#10215485, plant#10215486, subrange#10215484, orderDateTime#10215490, deliveryDateTime#10215491, availabilityDateTime#10215492, nextAvailabilityDateTime#10215493, logisticUnits#10215509, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, splitIndicator#10215477L, netPriceAmount#10215500, netPriceCurrencyCode#10215501, netPriceQuantity#10215497, netPriceQuantityUom#10215498, netPriceQuantityUomUuid#10215499, sourceOfSupplyUuid#10215481, orderProposalItemId#10215473, orderProposalItemGroupId#10215474, optimizationGroups#10215510, measurements#10215502, previousOrderProposal#10215478L, prodLocSpecificKpis#10216278, channelStreamSpecificKpis#10216293, quantityKpis#10216306, constraintBenchmark#10216726, calculationAnalysis#10216798, inventoryDateTime#10216853, demandPeriodEndDateTime#10216855]
(57) Project
Output [12]: [shardId#10214802, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, orderDateTime#10215490, splitIndicator#10215477L, orderProposalItemGroupId#10215474, previousOrderProposal#10215478L, parentItem#10216929, struct(itemId, orderProposalItemId#10215473, supplier, supplier#10215483, supplyingPlant, supplyingPlant#10215513, productGroup, productGroup#10215514, product, product#10215485, plant, plant#10215486, supplierSubRange, subrange#10215484, deliveryDateTime, deliveryDateTime#10215491, orderQuantity, coalesce((qty#10215316 * (cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33910#10216963.isOrderUnit, lambda x_33910#10216963, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33910#10216964.isOrderUnit, lambda x_33910#10216964, false)), 1, None, false).numerator as double))), qty#10215316), orderQuantityUom, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33910#10216965.isOrderUnit, lambda x_33910#10216965, false)), 1, None, false).uom, orderQuantityBaseUom#10215495), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#10215509, lambdafunction(lambda x_33910#10216966.isOrderUnit, lambda x_33910#10216966, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#10215496), orderQuantityInBaseUnit, qty#10215316, orderQuantityBaseUom, ... 13 more fields) AS item#10216960]
Input [21]: [shardId#10214802, qty#10215316, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, productGroup#10215514, product#10215485, plant#10215486, subrange#10215484, orderDateTime#10215490, deliveryDateTime#10215491, logisticUnits#10215509, orderQuantityBaseUom#10215495, orderQuantityBaseUomUuid#10215496, splitIndicator#10215477L, orderProposalItemId#10215473, orderProposalItemGroupId#10215474, previousOrderProposal#10215478L, parentItem#10216929]
(58) ObjectHashAggregate
Input [12]: [shardId#10214802, orderProposalId#10215472L, originalReplenishmentRunId#10215475L, supplierGroup#10215482, supplier#10215483, supplyingPlant#10215513, orderDateTime#10215490, splitIndicator#10215477L, orderProposalItemGroupId#10215474, previousOrderProposal#10215478L, parentItem#10216929, item#10216960]
Keys [4]: [shardId#10214802, orderProposalId#10215472L, splitIndicator#10215477L, orderProposalItemGroupId#10215474]
Functions [8]: [partial_max(originalReplenishmentRunId#10215475L), partial_max(supplierGroup#10215482), partial_max(supplier#10215483), partial_max(supplyingPlant#10215513), partial_max(orderDateTime#10215490), partial_collect_list(parentItem#10216929, 0, 0), partial_collect_set(previousOrderProposal#10215478L, 0, 0), partial_collect_list(item#10216960, 0, 0)]
Aggregate Attributes [8]: [max#10218213L, max#10218214, max#10218215, max#10218216, max#10218217, buf#10218218, buf#10218219, buf#10218220]
Results [12]: [shardId#10214802, orderProposalId#10215472L, splitIndicator#10215477L, orderProposalItemGroupId#10215474, max#10218221L, max#10218222, max#10218223, max#10218224, max#10218225, buf#10218226, buf#10218227, buf#10218228]
(59) Exchange
Input [12]: [shardId#10214802, orderProposalId#10215472L, splitIndicator#10215477L, orderProposalItemGroupId#10215474, max#10218221L, max#10218222, max#10218223, max#10218224, max#10218225, buf#10218226, buf#10218227, buf#10218228]
Arguments: hashpartitioning(shardId#10214802, orderProposalId#10215472L, splitIndicator#10215477L, orderProposalItemGroupId#10215474, 30), ENSURE_REQUIREMENTS, [plan_id=3020798]
(60) ObjectHashAggregate
Input [12]: [shardId#10214802, orderProposalId#10215472L, splitIndicator#10215477L, orderProposalItemGroupId#10215474, max#10218221L, max#10218222, max#10218223, max#10218224, max#10218225, buf#10218226, buf#10218227, buf#10218228]
Keys [4]: [shardId#10214802, orderProposalId#10215472L, splitIndicator#10215477L, orderProposalItemGroupId#10215474]
Functions [8]: [max(originalReplenishmentRunId#10215475L), max(supplierGroup#10215482), max(supplier#10215483), max(supplyingPlant#10215513), max(orderDateTime#10215490), collect_list(parentItem#10216929, 0, 0), collect_set(previousOrderProposal#10215478L, 0, 0), collect_list(item#10216960, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#10215475L)#10217029L, max(supplierGroup#10215482)#10217030, max(supplier#10215483)#10217031, max(supplyingPlant#10215513)#10217032, max(orderDateTime#10215490)#10217033, collect_list(parentItem#10216929, 0, 0)#10217034, collect_set(previousOrderProposal#10215478L, 0, 0)#10217036, collect_list(item#10216960, 0, 0)#10217035]
Results [10]: [shardId#10214802, orderProposalId#10215472L, max(originalReplenishmentRunId#10215475L)#10217029L AS originalReplenishmentRunId#10216977L, max(supplierGroup#10215482)#10217030 AS supplierGroup#10216978, max(supplier#10215483)#10217031 AS supplier#10216979, max(supplyingPlant#10215513)#10217032 AS supplyingPlant#10216980, max(orderDateTime#10215490)#10217033 AS orderDateTime#10216981, collect_list(parentItem#10216929, 0, 0)#10217034 AS parentItems#10216982, collect_set(previousOrderProposal#10215478L, 0, 0)#10217036 AS previousOrderProposals#10216984, struct(itemGroupId, orderProposalItemGroupId#10215474, items, collect_list(item#10216960, 0, 0)#10217035) AS itemGroup#10217038]
(61) ObjectHashAggregate
Input [10]: [shardId#10214802, orderProposalId#10215472L, originalReplenishmentRunId#10216977L, supplierGroup#10216978, supplier#10216979, supplyingPlant#10216980, orderDateTime#10216981, parentItems#10216982, previousOrderProposals#10216984, itemGroup#10217038]
Keys [2]: [shardId#10214802, orderProposalId#10215472L]
Functions [8]: [partial_max(originalReplenishmentRunId#10216977L), partial_max(supplierGroup#10216978), partial_max(supplier#10216979), partial_max(supplyingPlant#10216980), partial_max(orderDateTime#10216981), partial_collect_list(itemGroup#10217038, 0, 0), partial_collect_list(parentItems#10216982, 0, 0), partial_collect_set(previousOrderProposals#10216984, 0, 0)]
Aggregate Attributes [8]: [max#10218197L, max#10218198, max#10218199, max#10218200, max#10218201, buf#10218202, buf#10218203, buf#10218204]
Results [10]: [shardId#10214802, orderProposalId#10215472L, max#10218205L, max#10218206, max#10218207, max#10218208, max#10218209, buf#10218210, buf#10218211, buf#10218212]
(62) Exchange
Input [10]: [shardId#10214802, orderProposalId#10215472L, max#10218205L, max#10218206, max#10218207, max#10218208, max#10218209, buf#10218210, buf#10218211, buf#10218212]
Arguments: hashpartitioning(shardId#10214802, orderProposalId#10215472L, 30), ENSURE_REQUIREMENTS, [plan_id=3020801]
(63) ObjectHashAggregate
Input [10]: [shardId#10214802, orderProposalId#10215472L, max#10218205L, max#10218206, max#10218207, max#10218208, max#10218209, buf#10218210, buf#10218211, buf#10218212]
Keys [2]: [shardId#10214802, orderProposalId#10215472L]
Functions [8]: [max(originalReplenishmentRunId#10216977L), max(supplierGroup#10216978), max(supplier#10216979), max(supplyingPlant#10216980), max(orderDateTime#10216981), collect_list(itemGroup#10217038, 0, 0), collect_list(parentItems#10216982, 0, 0), collect_set(previousOrderProposals#10216984, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#10216977L)#10217060L, max(supplierGroup#10216978)#10217061, max(supplier#10216979)#10217062, max(supplyingPlant#10216980)#10217063, max(orderDateTime#10216981)#10217064, collect_list(itemGroup#10217038, 0, 0)#10217065, collect_list(parentItems#10216982, 0, 0)#10217066, collect_set(previousOrderProposals#10216984, 0, 0)#10217067]
Results [10]: [shardId#10214802, orderProposalId#10215472L, max(originalReplenishmentRunId#10216977L)#10217060L AS originalReplenishmentRunId#10217039L, max(supplierGroup#10216978)#10217061 AS supplierGroup#10217040, max(supplier#10216979)#10217062 AS supplier#10217041, max(supplyingPlant#10216980)#10217063 AS supplyingPlant#10217042, max(orderDateTime#10216981)#10217064 AS orderDateTime#10217043, collect_list(itemGroup#10217038, 0, 0)#10217065 AS itemGroups#10217044, flatten(collect_list(parentItems#10216982, 0, 0)#10217066) AS parentItems#10217045, flatten(collect_set(previousOrderProposals#10216984, 0, 0)#10217067) AS previousOrderProposals#10217046]
(64) Project
Output [2]: [shardId#10214802, struct(orderProposalId, orderProposalId#10215472L, originalReplenishmentRunId, originalReplenishmentRunId#10217039L, supplierGroup, supplierGroup#10217040, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#10217040) THEN supplier#10217041 END, supplyingPlant, supplyingPlant#10217042, orderDateTime, orderDateTime#10217043, itemGroups, itemGroups#10217044, previousOrderProposals, array_distinct(previousOrderProposals#10217046), parentItems, parentItems#10217045) AS orderProposal#10217071]
Input [10]: [shardId#10214802, orderProposalId#10215472L, originalReplenishmentRunId#10217039L, supplierGroup#10217040, supplier#10217041, supplyingPlant#10217042, orderDateTime#10217043, itemGroups#10217044, parentItems#10217045, previousOrderProposals#10217046]
(65) Project
Output [11]: [shardId#10214802, orderProposal#10217071.orderProposalId AS _extract_orderProposalId#10217829L, orderProposal#10217071.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#10217830L, orderProposal#10217071.supplierGroup AS _extract_supplierGroup#10217831, orderProposal#10217071.supplier AS _extract_supplier#10217832, orderProposal#10217071.supplyingPlant AS _extract_supplyingPlant#10217833, orderProposal#10217071.orderDateTime AS _extract_orderDateTime#10217834, orderProposal#10217071.itemGroups AS _extract_itemGroups#10217835, orderProposal#10217071.previousOrderProposals AS _extract_previousOrderProposals#10217836, orderProposal#10217071.parentItems AS _extract_parentItems#10217837, orderProposal#10217071.orderProposalId AS _extract_orderProposalId#10217838L]
Input [2]: [shardId#10214802, orderProposal#10217071]
(66) Exchange
Input [11]: [shardId#10214802, _extract_orderProposalId#10217829L, _extract_originalReplenishmentRunId#10217830L, _extract_supplierGroup#10217831, _extract_supplier#10217832, _extract_supplyingPlant#10217833, _extract_orderDateTime#10217834, _extract_itemGroups#10217835, _extract_previousOrderProposals#10217836, _extract_parentItems#10217837, _extract_orderProposalId#10217838L]
Arguments: hashpartitioning(coalesce(shardId#10214802, ), isnull(shardId#10214802), coalesce(_extract_orderProposalId#10217838L, 0), isnull(_extract_orderProposalId#10217838L), 30), ENSURE_REQUIREMENTS, [plan_id=3020805]
(67) Sort
Input [11]: [shardId#10214802, _extract_orderProposalId#10217829L, _extract_originalReplenishmentRunId#10217830L, _extract_supplierGroup#10217831, _extract_supplier#10217832, _extract_supplyingPlant#10217833, _extract_orderDateTime#10217834, _extract_itemGroups#10217835, _extract_previousOrderProposals#10217836, _extract_parentItems#10217837, _extract_orderProposalId#10217838L]
Arguments: [coalesce(shardId#10214802, ) ASC NULLS FIRST, isnull(shardId#10214802) ASC NULLS FIRST, coalesce(_extract_orderProposalId#10217838L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#10217838L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#10217086, orderProposalId#10217087L, optimizationGroups#10217089]
Arguments: [shardId#10217086, orderProposalId#10217087L, optimizationGroups#10217089], [isnotnull(orderProposalId#10217087L)]
(69) InMemoryRelation
Arguments: [shardId#10217086, orderProposalId#10217087L, items#10217088, optimizationGroups#10217089, isOptimal#10217090, optimizationInsights#10217092], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#10217086, orderProposalId#10217087L, optimizationGroups#10217089]
Condition : isnotnull(orderProposalId#10217087L)
(71) Exchange
Input [3]: [shardId#10217086, orderProposalId#10217087L, optimizationGroups#10217089]
Arguments: hashpartitioning(orderProposalId#10217087L, 30), ENSURE_REQUIREMENTS, [plan_id=3020810]
(72) Sort [codegen id : 3]
Input [3]: [shardId#10217086, orderProposalId#10217087L, optimizationGroups#10217089]
Arguments: [orderProposalId#10217087L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#10216715, shardId#10216713]
Arguments: [items#10216715, shardId#10216713], [(size(items#10216715.worklistShardItemId, true) > 0), isnotnull(items#10216715.worklistShardItemId), (shardId#10216713 = 0_3_10000000540)]
(74) InMemoryRelation
Arguments: [shardId#10216713, orderProposalId#10216714L, items#10216715, optimizationGroups#10216716, isOptimal#10216717, optimizationInsights#10216719], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#10216715, shardId#10216713]
Condition : (((size(items#10216715.worklistShardItemId, true) > 0) AND isnotnull(items#10216715.worklistShardItemId)) AND (shardId#10216713 = 0_3_10000000540))
(76) Project [codegen id : 4]
Output [1]: [items#10216715.worklistShardItemId AS _extract_worklistShardItemId#10217734]
Input [2]: [items#10216715, shardId#10216713]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#10217734]
Arguments: explode(_extract_worklistShardItemId#10217734), false, [item#10217093L]
(78) Project [codegen id : 4]
Output [1]: [item#10217093L AS worklistShardItemId#10217094L]
Input [1]: [item#10217093L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#10217094L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=3020821]
(80) Scan parquet
Output [5]: [orderProposalId#10217142L, isFallbackOrderOnly#10217159, worklistShardItemId#10217165L, shardId#10217186, sequenceId#10217164]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000540]
PartitionFilters: [isnotnull(shardId#10217186), isnotnull(sequenceId#10217164), (shardId#10217186 = 0_3_10000000540), (sequenceId#10217164 = 12)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(81) ColumnarToRow [codegen id : 5]
Input [5]: [orderProposalId#10217142L, isFallbackOrderOnly#10217159, worklistShardItemId#10217165L, shardId#10217186, sequenceId#10217164]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#10217142L, isFallbackOrderOnly#10217159, worklistShardItemId#10217165L, shardId#10217186, sequenceId#10217164]
Condition : ((isnotnull(worklistShardItemId#10217165L) AND NOT (isFallbackOrderOnly#10217159 <=> true)) AND isnotnull(orderProposalId#10217142L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#10217142L, worklistShardItemId#10217165L]
Input [5]: [orderProposalId#10217142L, isFallbackOrderOnly#10217159, worklistShardItemId#10217165L, shardId#10217186, sequenceId#10217164]
(84) Exchange
Input [2]: [orderProposalId#10217142L, worklistShardItemId#10217165L]
Arguments: hashpartitioning(worklistShardItemId#10217165L, 30), REPARTITION_BY_NUM, [plan_id=3020828]
(85) Project
Output [2]: [worklistShardItemId#10217165L, orderProposalId#10217142L]
Input [2]: [orderProposalId#10217142L, worklistShardItemId#10217165L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#10217094L]
Right keys [1]: [worklistShardItemId#10217165L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#10217142L]
Input [3]: [worklistShardItemId#10217094L, worklistShardItemId#10217165L, orderProposalId#10217142L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#10217142L]
Keys [1]: [orderProposalId#10217142L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#10217142L]
(89) Exchange
Input [1]: [orderProposalId#10217142L]
Arguments: hashpartitioning(orderProposalId#10217142L, 30), ENSURE_REQUIREMENTS, [plan_id=3020835]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#10217142L]
Keys [1]: [orderProposalId#10217142L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#10217142L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#10217142L]
Arguments: [orderProposalId#10217142L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#10217087L]
Right keys [1]: [orderProposalId#10217142L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#10217087L, shardId#10217086, coalesce(transform(optimizationGroups#10217089, lambdafunction(struct(optGroupId, lambda x_33914#10217084.optGroupId, minOrderProfile, lambda x_33914#10217084.minOrderProfile, assignmentDetails, lambda x_33914#10217084.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_33914#10217084.minOrderGoal.dimensionType, unit, lambda x_33914#10217084.minOrderGoal.unit, unitUuid, lambda x_33914#10217084.minOrderGoal.unitUuid, goalValue, lambda x_33914#10217084.minOrderGoal.minOrderValue, calcValue, lambda x_33914#10217084.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_33914#10217084, false)), []) AS optimizationGroups#10217083]
Input [4]: [shardId#10217086, orderProposalId#10217087L, optimizationGroups#10217089, orderProposalId#10217142L]
(94) Exchange
Input [3]: [orderProposalId#10217087L, shardId#10217086, optimizationGroups#10217083]
Arguments: hashpartitioning(coalesce(shardId#10217086, ), isnull(shardId#10217086), coalesce(orderProposalId#10217087L, 0), isnull(orderProposalId#10217087L), 30), ENSURE_REQUIREMENTS, [plan_id=3020844]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#10217087L, shardId#10217086, optimizationGroups#10217083]
Arguments: [coalesce(shardId#10217086, ) ASC NULLS FIRST, isnull(shardId#10217086) ASC NULLS FIRST, coalesce(orderProposalId#10217087L, 0) ASC NULLS FIRST, isnull(orderProposalId#10217087L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#10214802, ), isnull(shardId#10214802), coalesce(_extract_orderProposalId#10217838L, 0), isnull(_extract_orderProposalId#10217838L)]
Right keys [4]: [coalesce(shardId#10217086, ), isnull(shardId#10217086), coalesce(orderProposalId#10217087L, 0), isnull(orderProposalId#10217087L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#10214802, named_struct(orderProposalId, _extract_orderProposalId#10217838L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#10217830L, supplierGroup, _extract_supplierGroup#10217831, optimizationGroups, coalesce(optimizationGroups#10217083, []), supplier, _extract_supplier#10217832, supplyingPlant, _extract_supplyingPlant#10217833, orderDateTime, _extract_orderDateTime#10217834, itemGroups, _extract_itemGroups#10217835, previousOrderProposals, _extract_previousOrderProposals#10217836, parentItems, _extract_parentItems#10217837) AS orderProposal#10217190]
Input [14]: [shardId#10214802, _extract_orderProposalId#10217829L, _extract_originalReplenishmentRunId#10217830L, _extract_supplierGroup#10217831, _extract_supplier#10217832, _extract_supplyingPlant#10217833, _extract_orderDateTime#10217834, _extract_itemGroups#10217835, _extract_previousOrderProposals#10217836, _extract_parentItems#10217837, _extract_orderProposalId#10217838L, orderProposalId#10217087L, shardId#10217086, optimizationGroups#10217083]
(98) Filter
Input [1]: [orderProposal#10217190]
Condition : (size(orderProposal#10217190.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#10217190.parentItems.deliveryDateTime AS _extract_deliveryDateTime#10218609]
Input [1]: [orderProposal#10217190]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#10218609]
Arguments: explode(_extract_deliveryDateTime#10218609), false, [numberOfOrderProposalItems#10218581]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#10218581]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#10218620L]
Results [1]: [count#10218621L]
(103) Exchange
Input [1]: [count#10218621L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=3020971]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#10218621L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#10218586L]
Results [1]: [count(1)#10218586L AS count#10218582L]