digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 3 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 3 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: 2.2 KiB<br>merged fetch fallback count: 0<br>local blocks read: 30<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 324864.0: task 911479))<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>5 ms (0 ms, 0 ms, 0 ms (stage 324864.0: task 911493))<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: 0.0 B<br>number of partitions: 1<br>remote reqs duration: 0 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 324864.0: task 911479))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1000954]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n279 ms (6 ms, 7 ms, 28 ms (stage 324864.0: task 911497))";
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>271 ms (5 ms, 7 ms, 27 ms (stage 324864.0: task 911497))<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,861" tooltip="Generate explode(_extract_deliveryDateTime#3486913), false, [numberOfOrderProposalItems#3486885]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3485494.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3486913]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (size(orderProposal#3485494.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [orderProposal#3485494], [(size(orderProposal#3485494.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, named_struct(orderProposalId, _extract_orderProposalId#3486142L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3486134L, supplierGroup, _extract_supplierGroup#3486135, optimizationGroups, coalesce(optimizationGroups#3485387, []), supplier, _extract_supplier#3486136, supplyingPlant, _extract_supplyingPlant#3486137, orderDateTime, _extract_orderDateTime#3486138, itemGroups, _extract_itemGroups#3486139, previousOrderProposals, _extract_previousOrderProposals#3486140, parentItems, _extract_parentItems#3486141) AS orderProposal#3485494]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,360<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324864.0: task 911479))" tooltip="SortMergeJoin [coalesce(shardId#3483106, ), isnull(shardId#3483106), coalesce(_extract_orderProposalId#3486142L, 0), isnull(_extract_orderProposalId#3486142L)], [coalesce(shardId#3485390, ), isnull(shardId#3485390), coalesce(orderProposalId#3485391L, 0), isnull(orderProposalId#3485391L)], 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 324864.0: task 911479))<br>peak memory total (min, med, max (stageId: taskId))<br>255.9 MiB (8.1 MiB, 8.1 MiB, 10.1 MiB (stage 324864.0: task 911488))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324864.0: task 911479))" tooltip="Sort [coalesce(shardId#3483106, ) ASC NULLS FIRST, isnull(shardId#3483106) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3486142L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3486142L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>20.1 MiB (520.8 KiB, 698.3 KiB, 849.6 KiB (stage 324864.0: task 911490))<br>merged fetch fallback count: 0<br>local blocks read: 806<br>remote merged chunks fetched: 0<br>remote blocks read: 27<br>data size total (min, med, max (stageId: taskId))<br>217.2 MiB (5.6 MiB, 7.1 MiB, 8.6 MiB (stage 324862.0: task 911456))<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>186 ms (2 ms, 3 ms, 32 ms (stage 324862.0: task 911472))<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 324864.0: task 911479))<br>remote bytes read total (min, med, max (stageId: taskId))<br>565.7 KiB (8.8 KiB, 17.9 KiB, 54.5 KiB (stage 324864.0: task 911489))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>20 ms (0 ms, 1 ms, 3 ms (stage 324864.0: task 911485))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.7 MiB (542.1 KiB, 694.8 KiB, 842.6 KiB (stage 324862.0: task 911456))" tooltip="Exchange hashpartitioning(coalesce(shardId#3483106, ), isnull(shardId#3483106), coalesce(_extract_orderProposalId#3486142L, 0), isnull(_extract_orderProposalId#3486142L), 30), ENSURE_REQUIREMENTS, [plan_id=1000788]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, orderProposal#3485375.orderProposalId AS _extract_orderProposalId#3486133L, orderProposal#3485375.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3486134L, orderProposal#3485375.supplierGroup AS _extract_supplierGroup#3486135, orderProposal#3485375.supplier AS _extract_supplier#3486136, orderProposal#3485375.supplyingPlant AS _extract_supplyingPlant#3486137, orderProposal#3485375.orderDateTime AS _extract_orderDateTime#3486138, orderProposal#3485375.itemGroups AS _extract_itemGroups#3486139, orderProposal#3485375.previousOrderProposals AS _extract_previousOrderProposals#3486140, orderProposal#3485375.parentItems AS _extract_parentItems#3486141, orderProposal#3485375.orderProposalId AS _extract_orderProposalId#3486142L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, struct(orderProposalId, orderProposalId#3483776L, originalReplenishmentRunId, originalReplenishmentRunId#3485343L, supplierGroup, supplierGroup#3485344, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3485344) THEN supplier#3485345 END, supplyingPlant, supplyingPlant#3485346, orderDateTime, orderDateTime#3485347, itemGroups, itemGroups#3485348, previousOrderProposals, array_distinct(previousOrderProposals#3485350), parentItems, parentItems#3485349) AS orderProposal#3485375]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>827 ms (15 ms, 20 ms, 72 ms (stage 324862.0: task 911445))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324862.0: task 911445))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3483106, orderProposalId#3483776L], functions=[max(originalReplenishmentRunId#3485281L), max(supplierGroup#3485282), max(supplier#3485283), max(supplyingPlant#3485284), max(orderDateTime#3485285), collect_list(itemGroup#3485342, 0, 0), collect_list(parentItems#3485286, 0, 0), collect_set(previousOrderProposals#3485288, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>6.7 MiB (126.0 KiB, 225.7 KiB, 459.2 KiB (stage 324862.0: task 911476))<br>merged fetch fallback count: 0<br>local blocks read: 264<br>remote merged chunks fetched: 0<br>remote blocks read: 567<br>data size total (min, med, max (stageId: taskId))<br>217.4 MiB (5.8 MiB, 7.2 MiB, 9.1 MiB (stage 324861.0: task 911415))<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>144 ms (2 ms, 2 ms, 30 ms (stage 324861.0: task 911428))<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, 17 ms (stage 324862.0: task 911453))<br>remote bytes read total (min, med, max (stageId: taskId))<br>14.0 MiB (107.5 KiB, 487.5 KiB, 608.9 KiB (stage 324862.0: task 911456))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>251 ms (1 ms, 2 ms, 32 ms (stage 324862.0: task 911474))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.7 MiB (567.4 KiB, 703.9 KiB, 887.5 KiB (stage 324861.0: task 911415))" tooltip="Exchange hashpartitioning(shardId#3483106, orderProposalId#3483776L, 30), ENSURE_REQUIREMENTS, [plan_id=1000784]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>297 ms (4 ms, 5 ms, 35 ms (stage 324861.0: task 911425))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324861.0: task 911408))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3483106, orderProposalId#3483776L], functions=[partial_max(originalReplenishmentRunId#3485281L), partial_max(supplierGroup#3485282), partial_max(supplier#3485283), partial_max(supplyingPlant#3485284), partial_max(orderDateTime#3485285), partial_collect_list(itemGroup#3485342, 0, 0), partial_collect_list(parentItems#3485286, 0, 0), partial_collect_set(previousOrderProposals#3485288, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.3 s (20 ms, 33 ms, 168 ms (stage 324861.0: task 911407))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324861.0: task 911408))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3483106, orderProposalId#3483776L, splitIndicator#3483781L, orderProposalItemGroupId#3483778], functions=[max(originalReplenishmentRunId#3483779L), max(supplierGroup#3483786), max(supplier#3483787), max(supplyingPlant#3483817), max(orderDateTime#3483794), collect_list(parentItem#3485233, 0, 0), collect_set(previousOrderProposal#3483782L, 0, 0), collect_list(item#3485264, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,022<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,022<br>local bytes read total (min, med, max (stageId: taskId))<br>13.5 MiB (343.6 KiB, 434.8 KiB, 696.4 KiB (stage 324861.0: task 911415))<br>merged fetch fallback count: 0<br>local blocks read: 426<br>remote merged chunks fetched: 0<br>remote blocks read: 474<br>data size total (min, med, max (stageId: taskId))<br>232.1 MiB (7.5 MiB, 7.8 MiB, 8.0 MiB (stage 324860.0: task 911392))<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>131 ms (2 ms, 3 ms, 30 ms (stage 324860.0: task 911372))<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>23 ms (0 ms, 0 ms, 11 ms (stage 324861.0: task 911420))<br>remote bytes read total (min, med, max (stageId: taskId))<br>14.9 MiB (376.9 KiB, 525.4 KiB, 654.6 KiB (stage 324861.0: task 911413))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>205 ms (2 ms, 2 ms, 31 ms (stage 324861.0: task 911420))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.4 MiB (943.7 KiB, 972.2 KiB, 995.8 KiB (stage 324860.0: task 911392))" tooltip="Exchange hashpartitioning(shardId#3483106, orderProposalId#3483776L, splitIndicator#3483781L, orderProposalItemGroupId#3483778, 30), ENSURE_REQUIREMENTS, [plan_id=1000781]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 58,022<br>time in aggregation build total (min, med, max (stageId: taskId))<br>15.1 s (320 ms, 451 ms, 702 ms (stage 324860.0: task 911362))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324860.0: task 911357))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3483106, orderProposalId#3483776L, splitIndicator#3483781L, orderProposalItemGroupId#3483778], functions=[partial_max(originalReplenishmentRunId#3483779L), partial_max(supplierGroup#3483786), partial_max(supplier#3483787), partial_max(supplyingPlant#3483817), partial_max(orderDateTime#3483794), partial_collect_list(parentItem#3485233, 0, 0), partial_collect_set(previousOrderProposal#3483782L, 0, 0), partial_collect_list(item#3485264, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, orderDateTime#3483794, splitIndicator#3483781L, orderProposalItemGroupId#3483778, previousOrderProposal#3483782L, parentItem#3485233, struct(itemId, orderProposalItemId#3483777, supplier, supplier#3483787, supplyingPlant, supplyingPlant#3483817, productGroup, productGroup#3483818, product, product#3483789, plant, plant#3483790, supplierSubRange, subrange#3483788, deliveryDateTime, deliveryDateTime#3483795, orderQuantity, coalesce((qty#3483620 * (cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11591#3485267.isOrderUnit, lambda x_11591#3485267, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11591#3485268.isOrderUnit, lambda x_11591#3485268, false)), 1, None, false).numerator as double))), qty#3483620), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11591#3485269.isOrderUnit, lambda x_11591#3485269, false)), 1, None, false).uom, orderQuantityBaseUom#3483799), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11591#3485270.isOrderUnit, lambda x_11591#3485270, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3483800), orderQuantityInBaseUnit, qty#3483620, orderQuantityBaseUom, ... 13 more fields) AS item#3485264]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, qty#3483620, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, productGroup#3483818, product#3483789, plant#3483790, subrange#3483788, orderDateTime#3483794, deliveryDateTime#3483795, logisticUnits#3483813, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, splitIndicator#3483781L, orderProposalItemId#3483777, orderProposalItemGroupId#3483778, previousOrderProposal#3483782L, struct(itemId, orderProposalItemId#3483777, itemGroupId, orderProposalItemGroupId#3483778, supplier, supplier#3483787, supplyingPlant, supplyingPlant#3483817, productGroup, productGroup#3483818, product, product#3483789, plant, plant#3483790, supplierSubRange, subrange#3483788, sourceOfSupplyUuid, sourceOfSupplyUuid#3483785, deliveryDateTime, deliveryDateTime#3483795, unitPrice, netPriceAmount#3483804, unitPriceCurrency, netPriceCurrencyCode#3483805, unitPriceQuantity, ... 37 more fields) AS parentItem#3485233]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, qty#3483620, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, productGroup#3483818, product#3483789, plant#3483790, subrange#3483788, orderDateTime#3483794, deliveryDateTime#3483795, availabilityDateTime#3483796, nextAvailabilityDateTime#3483797, logisticUnits#3483813, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, splitIndicator#3483781L, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, sourceOfSupplyUuid#3483785, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n17.1 s (370 ms, 508 ms, 849 ms (stage 324860.0: task 911361))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, productGroup#3483818, product#3483789, plant#3483790, subrange#3483788, orderDateTime#3483794, deliveryDateTime#3483795, availabilityDateTime#3483796, nextAvailabilityDateTime#3483797, logisticUnits#3483813, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, splitIndicator#3483781L, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter NOT (isFallbackOrderOnly#3483798 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 119,861" tooltip="InMemoryTableScan [availabilityDateTime#3483796, channelStreamSpecificKpis#3484597, constraintLabels#3483808, constraintOperators#3483809, constraintValues#3483811, deliveryDateTime#3483795, isFallbackOrderOnly#3483798, logisticUnits#3483813, measurements#3483806, minimumOrderQuantity#3483807, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, nextAvailabilityDateTime#3483797, optimizationGroups#3483814, orderDateTime#3483794, orderProposalId#3483776L, orderProposalItemGroupId#3483778, orderProposalItemId#3483777, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, originalReplenishmentRunId#3483779L, plant#3483790, ... 14 more fields], [NOT (isFallbackOrderOnly#3483798 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n21.0 s (476 ms, 607 ms, 970 ms (stage 324860.0: task 911360))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324860.0: task 911357))" tooltip="SortMergeJoin [shardId#3483106, worklistShardItemId#3483618L], [shardId#3484604, worklistShardItemId#3484605L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n26.3 s (613 ms, 758 ms, 1.2 s (stage 324860.0: task 911360))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324860.0: task 911357))" tooltip="SortMergeJoin [shardId#3483106, worklistShardItemId#3483618L], [shardId#3484591, worklistShardItemId#3484592L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n30.1 s (671 ms, 870 ms, 1.4 s (stage 324860.0: task 911360))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324860.0: task 911357))" tooltip="SortMergeJoin [shardId#3483106, worklistShardItemId#3483618L], [shardId#3484575, worklistShardItemId#3484576L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n30.8 s (673 ms, 873 ms, 1.5 s (stage 324860.0: task 911360))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>64 ms (1 ms, 1 ms, 29 ms (stage 324860.0: task 911375))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 324860.0: task 911357))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324860.0: task 911357))" tooltip="Sort [shardId#3483106 ASC NULLS FIRST, worklistShardItemId#3483618L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>15.3 MiB (187.3 KiB, 751.3 KiB, 795.1 KiB (stage 324860.0: task 911392))<br>merged fetch fallback count: 0<br>local blocks read: 486<br>remote merged chunks fetched: 0<br>remote blocks read: 414<br>data size total (min, med, max (stageId: taskId))<br>138.2 MiB (4.5 MiB, 4.6 MiB, 4.8 MiB (stage 324858.0: task 911275))<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>136 ms (2 ms, 3 ms, 20 ms (stage 324858.0: task 911274))<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 324860.0: task 911357))<br>remote bytes read total (min, med, max (stageId: taskId))<br>12.8 MiB (184.5 KiB, 198.3 KiB, 774.6 KiB (stage 324860.0: task 911368))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>286 ms (1 ms, 5 ms, 43 ms (stage 324860.0: task 911375))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.1 MiB (933.8 KiB, 953.9 KiB, 1005.7 KiB (stage 324858.0: task 911275))" tooltip="Exchange hashpartitioning(shardId#3483106, worklistShardItemId#3483618L, 30), ENSURE_REQUIREMENTS, [plan_id=1000496]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (34 ms, 64 ms, 98 ms (stage 324858.0: task 911302))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324858.0: task 911225))" tooltip="SortMergeJoin [worklistShardItemId#3483618L], [worklistShardItemId#3483842L], LeftOuter, (shardId#3483106 = 0_5_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.0 s (35 ms, 65 ms, 142 ms (stage 324858.0: task 911225))";
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 324858.0: task 911225))<br>peak memory total (min, med, max (stageId: taskId))<br>64.0 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 324858.0: task 911272))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324858.0: task 911225))" tooltip="Sort [worklistShardItemId#3483618L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>457.5 KiB (14.9 KiB, 15.2 KiB, 15.8 KiB (stage 324858.0: task 911308))<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>6.4 MiB (209.2 KiB, 217.7 KiB, 230.2 KiB (stage 324854.0: task 911086))<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>48 ms (1 ms, 1 ms, 2 ms (stage 324854.0: task 911075))<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>24 ms (0 ms, 0 ms, 16 ms (stage 324858.0: task 911274))<br>remote bytes read total (min, med, max (stageId: taskId))<br>454.5 KiB (14.8 KiB, 15.1 KiB, 15.6 KiB (stage 324858.0: task 911225))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>71 ms (1 ms, 1 ms, 19 ms (stage 324858.0: task 911274))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>912.0 KiB (29.2 KiB, 30.4 KiB, 31.8 KiB (stage 324854.0: task 911085))" tooltip="Exchange hashpartitioning(worklistShardItemId#3483618L, 30), ENSURE_REQUIREMENTS, [plan_id=1000477]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n138 ms (3 ms, 4 ms, 10 ms (stage 324854.0: task 911060))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3483106, item#3483617.worklistShardItemId AS worklistShardItemId#3483618L, item#3483617.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3483619, item#3483617.qty AS qty#3483620]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(items#3483108), [shardId#3483106], false, [item#3483617]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter ((size(items#3483108, true) > 0) AND isnotnull(items#3483108))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3483106, items#3483108], [(size(items#3483108, true) > 0), isnotnull(items#3483108)]"];
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#3483106) AND (shardId#3483106 = 0_5_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, optimizationInsights#3483112], [isnotnull(shardId#3483106), (shardId#3483106 = 0_5_10000000532)]"];
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#3483106) AND (shardId#3483106 = 0_5_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3483106,orderProposalId#3483107L,items#3483108,optimizationGroups#3483109,isOptimal#3483110,lastModified#3483111,optimizationInsights#3483112]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (35 ms, 64 ms, 106 ms (stage 324858.0: task 911225))";
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 324858.0: task 911225))<br>peak memory total (min, med, max (stageId: taskId))<br>184.0 MiB (6.1 MiB, 6.1 MiB, 6.3 MiB (stage 324858.0: task 911272))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324858.0: task 911225))" tooltip="Sort [worklistShardItemId#3483842L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3483842L, orderProposalId#3483819L, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, originalReplenishmentRunId#3483861L, splitIndicator#3483838L, previousOrderProposal#3483839L, sourceOfSupplyUuid#3483833, supplierGroup#3483821, supplier#3483822, subrange#3483825, product#3483828, plant#3483823, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, isFallbackOrderOnly#3483836, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, netPriceAmount#3483855, netPriceCurrencyCode#3483856, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>15.3 MiB (332.9 KiB, 563.3 KiB, 582.9 KiB (stage 324858.0: task 911307))<br>merged fetch fallback count: 0<br>local blocks read: 636<br>remote merged chunks fetched: 0<br>remote blocks read: 474<br>data size total (min, med, max (stageId: taskId))<br>133.6 MiB (3.4 MiB, 3.6 MiB, 3.7 MiB (stage 324855.0: task 911061))<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>135 ms (2 ms, 2 ms, 21 ms (stage 324855.0: task 911202))<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>23 ms (0 ms, 0 ms, 13 ms (stage 324858.0: task 911236))<br>remote bytes read total (min, med, max (stageId: taskId))<br>11.4 MiB (327.7 KiB, 344.9 KiB, 583.6 KiB (stage 324858.0: task 911293))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>203 ms (1 ms, 2 ms, 33 ms (stage 324858.0: task 911236))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.7 MiB (693.0 KiB, 739.6 KiB, 761.2 KiB (stage 324855.0: task 911061))" tooltip="Exchange hashpartitioning(worklistShardItemId#3483842L, 30), REPARTITION_BY_NUM, [plan_id=1000487]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n5.9 s (122 ms, 154 ms, 245 ms (stage 324855.0: task 911200))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3483819L, orderProposalItemId#3483820, supplierGroup#3483821, supplier#3483822, plant#3483823, deliveryDateTime#3483824, subrange#3483825, supplyingPlant#3483826, productGroup#3483827, product#3483828, orderDateTime#3483829, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, sourceOfSupplyUuid#3483833, isFallbackOrderOnly#3483836, splitIndicator#3483838L, previousOrderProposal#3483839L, worklistShardItemId#3483842L, orderProposalItemGroupId#3483843, externalProductId#3483844, externalPlantId#3483845, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, minimumOrderQuantity#3483849, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter isnotnull(worklistShardItemId#3483842L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,861<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.0 s (108 ms, 137 ms, 164 ms (stage 324855.0: task 911165))<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,861<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3483819L,orderProposalItemId#3483820,supplierGroup#3483821,supplier#3483822,plant#3483823,deliveryDateTime#3483824,subrange#3483825,supplyingPlant#3483826,productGroup#3483827,product#3483828,orderDateTime#3483829,availabilityDateTime#3483830,nextAvailabilityDateTime#3483831,sourceOfSupplyUuid#3483833,isFallbackOrderOnly#3483836,splitIndicator#3483838L,previousOrderProposal#3483839L,worklistShardItemId#3483842L,orderProposalItemGroupId#3483843,externalProductId#3483844,externalPlantId#3483845,logisticUnits#3483846,orderQuantityBaseUom#3483847,orderQuantityBaseUomUuid#3483848,minimumOrderQuantity#3483849,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3483842L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3483863), isnotnull(sequenceId#3483841), (shardId#3483863 = 0_5_10000000532), ..., 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>751 ms (15 ms, 19 ms, 56 ms (stage 324860.0: task 911389))<br>peak memory total (min, med, max (stageId: taskId))<br>675.0 MiB (22.5 MiB, 22.5 MiB, 22.5 MiB (stage 324860.0: task 911357))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324860.0: task 911357))" tooltip="Sort [shardId#3484575 ASC NULLS FIRST, worklistShardItemId#3484576L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>8.7 MiB (151.1 KiB, 398.6 KiB, 418.5 KiB (stage 324860.0: task 911367))<br>merged fetch fallback count: 0<br>local blocks read: 286<br>remote merged chunks fetched: 0<br>remote blocks read: 614<br>data size total (min, med, max (stageId: taskId))<br>610.4 MiB (20.0 MiB, 20.4 MiB, 20.7 MiB (stage 324859.0: task 911178))<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>107 ms (2 ms, 3 ms, 18 ms (stage 324859.0: task 911344))<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 324860.0: task 911357))<br>remote bytes read total (min, med, max (stageId: taskId))<br>18.7 MiB (524.8 KiB, 540.3 KiB, 788.8 KiB (stage 324860.0: task 911373))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>578 ms (5 ms, 14 ms, 67 ms (stage 324860.0: task 911389))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>27.4 MiB (922.5 KiB, 937.0 KiB, 950.2 KiB (stage 324859.0: task 911205))" tooltip="Exchange hashpartitioning(shardId#3484575, worklistShardItemId#3484576L, 30), ENSURE_REQUIREMENTS, [plan_id=1000502]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n26.3 s (776 ms, 862 ms, 1.1 s (stage 324859.0: task 911178))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3484575, worklistShardItemId#3484576L, coalesce(kpis#3484580, []) AS prodLocSpecificKpis#3484581]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter (((isnull(qty#3484577) AND isnull(demandChannel#3484578)) AND isnull(demandStream#3484579)) AND (isnotnull(shardId#3484575) AND isnotnull(worklistShardItemId#3484576L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3484575,worklistShardItemId#3484576L,qty#3484577,demandChannel#3484578,demandStream#3484579,kpis#3484580]"];
}
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>55 ms (1 ms, 1 ms, 25 ms (stage 324860.0: task 911367))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 324860.0: task 911357))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324860.0: task 911357))" tooltip="Sort [shardId#3484591 ASC NULLS FIRST, worklistShardItemId#3484592L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.4 s (22 ms, 52 ms, 69 ms (stage 324860.0: task 911370))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324860.0: task 911357))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3484591, worklistShardItemId#3484592L], functions=[collect_list(struct(demandChannel, demandChannel#3484594, demandStream, demandStream#3484595, kpis, kpis#3484596), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>2.4 MiB (70.2 KiB, 73.3 KiB, 96.9 KiB (stage 324860.0: task 911375))<br>merged fetch fallback count: 0<br>local blocks read: 309<br>remote merged chunks fetched: 0<br>remote blocks read: 591<br>data size total (min, med, max (stageId: taskId))<br>236.9 MiB (7.8 MiB, 7.9 MiB, 8.0 MiB (stage 324857.0: task 911341))<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>58 ms (1 ms, 1 ms, 2 ms (stage 324857.0: task 911218))<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>90 ms (0 ms, 0 ms, 31 ms (stage 324860.0: task 911375))<br>remote bytes read total (min, med, max (stageId: taskId))<br>4.6 MiB (141.3 KiB, 165.8 KiB, 168.4 KiB (stage 324860.0: task 911385))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>556 ms (5 ms, 9 ms, 70 ms (stage 324860.0: task 911389))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>7.0 MiB (235.7 KiB, 238.3 KiB, 241.0 KiB (stage 324857.0: task 911342))" tooltip="Exchange hashpartitioning(shardId#3484591, worklistShardItemId#3484592L, 30), ENSURE_REQUIREMENTS, [plan_id=1000513]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>27.3 s (752 ms, 874 ms, 1.2 s (stage 324857.0: task 911218))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324857.0: task 911062))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3484591, worklistShardItemId#3484592L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3484594, demandStream, demandStream#3484595, kpis, kpis#3484596), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n26.7 s (737 ms, 853 ms, 1.2 s (stage 324857.0: task 911218))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3484591, worklistShardItemId#3484592L, demandChannel#3484594, demandStream#3484595, kpis#3484596]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter ((((isnull(qty#3484593) AND isnotnull(demandChannel#3484594)) AND isnotnull(demandStream#3484595)) AND (size(kpis#3484596, true) > 0)) AND (isnotnull(shardId#3484591) AND isnotnull(worklistShardItemId#3484592L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3484591,worklistShardItemId#3484592L,qty#3484593,demandChannel#3484594,demandStream#3484595,kpis#3484596]"];
}
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>55 ms (1 ms, 1 ms, 26 ms (stage 324860.0: task 911371))<br>peak memory total (min, med, max (stageId: taskId))<br>735.0 MiB (24.5 MiB, 24.5 MiB, 24.5 MiB (stage 324860.0: task 911357))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324860.0: task 911357))" tooltip="Sort [shardId#3484604 ASC NULLS FIRST, worklistShardItemId#3484605L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.2 s (46 ms, 73 ms, 114 ms (stage 324860.0: task 911357))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324860.0: task 911357))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3484604, worklistShardItemId#3484605L], functions=[collect_list(struct(qty, qty#3484606, kpis, kpis#3484609), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,174,178<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,174,178<br>local bytes read total (min, med, max (stageId: taskId))<br>6.5 MiB (206.0 KiB, 213.4 KiB, 239.2 KiB (stage 324860.0: task 911373))<br>merged fetch fallback count: 0<br>local blocks read: 253<br>remote merged chunks fetched: 0<br>remote blocks read: 647<br>data size total (min, med, max (stageId: taskId))<br>727.4 MiB (24.1 MiB, 24.2 MiB, 24.4 MiB (stage 324856.0: task 911043))<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>86 ms (2 ms, 2 ms, 3 ms (stage 324856.0: task 911138))<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>2 ms (0 ms, 0 ms, 2 ms (stage 324860.0: task 911386))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.5 MiB (541.5 KiB, 571.0 KiB, 585.1 KiB (stage 324860.0: task 911385))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>294 ms (5 ms, 6 ms, 34 ms (stage 324860.0: task 911385))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>23.0 MiB (779.9 KiB, 783.8 KiB, 789.6 KiB (stage 324856.0: task 911043))" tooltip="Exchange hashpartitioning(shardId#3484604, worklistShardItemId#3484605L, 30), ENSURE_REQUIREMENTS, [plan_id=1000525]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,174,178<br>time in aggregation build total (min, med, max (stageId: taskId))<br>32.7 s (904 ms, 1.1 s, 1.4 s (stage 324856.0: task 911045))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324856.0: task 911053))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3484604, worklistShardItemId#3484605L], functions=[partial_collect_list(struct(qty, qty#3484606, kpis, kpis#3484609), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n31.2 s (868 ms, 999 ms, 1.4 s (stage 324856.0: task 911045))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3484604, worklistShardItemId#3484605L, qty#3484606, kpis#3484609]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter ((isnotnull(qty#3484606) AND isnotnull(kpis#3484609)) AND (isnotnull(shardId#3484604) AND isnotnull(worklistShardItemId#3484605L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3484604,worklistShardItemId#3484605L,qty#3484606,demandChannel#3484607,demandStream#3484608,kpis#3484609]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.6 s (24 ms, 30 ms, 209 ms (stage 324864.0: task 911478))";
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 324864.0: task 911479))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 324864.0: task 911479))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324864.0: task 911479))" tooltip="Sort [coalesce(shardId#3485390, ) ASC NULLS FIRST, isnull(shardId#3485390) ASC NULLS FIRST, coalesce(orderProposalId#3485391L, 0) ASC NULLS FIRST, isnull(orderProposalId#3485391L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>100.5 KiB (2.9 KiB, 3.4 KiB, 3.7 KiB (stage 324864.0: task 911504))<br>merged fetch fallback count: 0<br>local blocks read: 748<br>remote merged chunks fetched: 0<br>remote blocks read: 87<br>data size total (min, med, max (stageId: taskId))<br>129.1 KiB (3.6 KiB, 4.3 KiB, 5.3 KiB (stage 324863.0: task 911294))<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>72 ms (1 ms, 1 ms, 22 ms (stage 324863.0: task 911279))<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 324864.0: task 911479))<br>remote bytes read total (min, med, max (stageId: taskId))<br>11.9 KiB (241.0 B, 411.0 B, 519.0 B (stage 324864.0: task 911480))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>12 ms (0 ms, 0 ms, 1 ms (stage 324864.0: task 911477))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>112.4 KiB (3.2 KiB, 3.8 KiB, 4.1 KiB (stage 324863.0: task 911294))" tooltip="Exchange hashpartitioning(coalesce(shardId#3485390, ), isnull(shardId#3485390), coalesce(orderProposalId#3485391L, 0), isnull(orderProposalId#3485391L), 30), ENSURE_REQUIREMENTS, [plan_id=1000827]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3485391L, shardId#3485390, coalesce(transform(optimizationGroups#3485393, lambdafunction(struct(optGroupId, lambda x_11595#3485388.optGroupId, minOrderProfile, lambda x_11595#3485388.minOrderProfile, assignmentDetails, lambda x_11595#3485388.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11595#3485388.minOrderGoal.dimensionType, unit, lambda x_11595#3485388.minOrderGoal.unit, unitUuid, lambda x_11595#3485388.minOrderGoal.unitUuid, goalValue, lambda x_11595#3485388.minOrderGoal.minOrderValue, calcValue, lambda x_11595#3485388.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11595#3485388, false)), []) AS optimizationGroups#3485387]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n708 ms (9 ms, 18 ms, 70 ms (stage 324863.0: task 911282))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,360<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324863.0: task 911265))" tooltip="SortMergeJoin [orderProposalId#3485391L], [orderProposalId#3485446L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (9 ms, 18 ms, 228 ms (stage 324863.0: task 911282))";
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 324863.0: task 911265))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 324863.0: task 911265))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324863.0: task 911265))" tooltip="Sort [orderProposalId#3485391L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>47.2 KiB (1241.0 B, 1566.0 B, 2.4 KiB (stage 324863.0: task 911310))<br>merged fetch fallback count: 0<br>local blocks read: 350<br>remote merged chunks fetched: 0<br>remote blocks read: 482<br>data size total (min, med, max (stageId: taskId))<br>129.1 KiB (4.1 KiB, 4.3 KiB, 4.5 KiB (stage 324853.0: task 911115))<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>42 ms (1 ms, 1 ms, 2 ms (stage 324853.0: task 911078))<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>97 ms (0 ms, 0 ms, 26 ms (stage 324863.0: task 911286))<br>remote bytes read total (min, med, max (stageId: taskId))<br>65.0 KiB (1469.0 B, 2.3 KiB, 2.5 KiB (stage 324863.0: task 911312))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>184 ms (1 ms, 2 ms, 29 ms (stage 324863.0: task 911286))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>112.2 KiB (3.5 KiB, 3.8 KiB, 3.9 KiB (stage 324853.0: task 911104))" tooltip="Exchange hashpartitioning(orderProposalId#3485391L, 30), ENSURE_REQUIREMENTS, [plan_id=1000793]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n149 ms (3 ms, 3 ms, 32 ms (stage 324853.0: task 911065))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter isnotnull(orderProposalId#3485391L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3485390, orderProposalId#3485391L, optimizationGroups#3485393], [isnotnull(orderProposalId#3485391L)]"];
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#3483106) AND (shardId#3483106 = 0_5_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, optimizationInsights#3483112], [isnotnull(shardId#3483106), (shardId#3483106 = 0_5_10000000532)]"];
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#3483106) AND (shardId#3483106 = 0_5_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3483106,orderProposalId#3483107L,items#3483108,optimizationGroups#3483109,isOptimal#3483110,lastModified#3483111,optimizationInsights#3483112]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n814 ms (9 ms, 18 ms, 118 ms (stage 324863.0: task 911282))";
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 324863.0: task 911265))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 324863.0: task 911265))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 324863.0: task 911265))" tooltip="Sort [orderProposalId#3485446L 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>128 ms (2 ms, 3 ms, 22 ms (stage 324863.0: task 911320))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 324863.0: task 911265))<br>number of output rows: 2,360<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3485446L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,163<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,163<br>local bytes read total (min, med, max (stageId: taskId))<br>74.2 KiB (24.6 KiB, 24.6 KiB, 24.9 KiB (stage 324863.0: task 911317))<br>merged fetch fallback count: 0<br>local blocks read: 90<br>remote merged chunks fetched: 0<br>remote blocks read: 810<br>data size total (min, med, max (stageId: taskId))<br>908.8 KiB (29.8 KiB, 30.3 KiB, 30.8 KiB (stage 324852.0: task 911245))<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>57 ms (1 ms, 1 ms, 12 ms (stage 324852.0: task 911253))<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 324863.0: task 911265))<br>remote bytes read total (min, med, max (stageId: taskId))<br>601.4 KiB (18.8 KiB, 22.5 KiB, 27.2 KiB (stage 324863.0: task 911294))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>171 ms (1 ms, 2 ms, 29 ms (stage 324863.0: task 911286))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>675.6 KiB (22.2 KiB, 22.5 KiB, 22.9 KiB (stage 324852.0: task 911245))" tooltip="Exchange hashpartitioning(orderProposalId#3485446L, 30), ENSURE_REQUIREMENTS, [plan_id=1000818]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n391 ms (7 ms, 9 ms, 51 ms (stage 324852.0: task 911219))";
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 (4 ms, 4 ms, 29 ms (stage 324852.0: task 911220))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 324852.0: task 911219))<br>number of output rows: 58,163<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3485446L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3485446L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 119,861" tooltip="BroadcastHashJoin [worklistShardItemId#3485398L], [worklistShardItemId#3485469L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3485469L, orderProposalId#3485446L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 9 ms<br>time to build: 20 ms<br>time to collect: 275 ms<br>number of output rows: 119,861<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1000804]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n278 ms (2 ms, 8 ms, 19 ms (stage 324809.0: task 911020))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3485397L AS worklistShardItemId#3485398L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(_extract_worklistShardItemId#3486038), false, [item#3485397L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3485019.worklistShardItemId AS _extract_worklistShardItemId#3486038]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (((size(items#3485019.worklistShardItemId, true) > 0) AND isnotnull(items#3485019.worklistShardItemId)) AND (shardId#3485017 = 0_5_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [items#3485019, shardId#3485017], [(size(items#3485019.worklistShardItemId, true) > 0), isnotnull(items#3485019.worklistShardItemId), (shardId#3485017 = 0_5_10000000532)]"];
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#3483106) AND (shardId#3483106 = 0_5_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, optimizationInsights#3483112], [isnotnull(shardId#3483106), (shardId#3483106 = 0_5_10000000532)]"];
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#3483106) AND (shardId#3483106 = 0_5_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3483106,orderProposalId#3483107L,items#3483108,optimizationGroups#3483109,isOptimal#3483110,lastModified#3483111,optimizationInsights#3483112]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>1768.6 KiB (57.7 KiB, 58.6 KiB, 61.5 KiB (stage 324852.0: task 911245))<br>merged fetch fallback count: 0<br>local blocks read: 1,110<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>2.7 MiB (71.2 KiB, 76.1 KiB, 78.4 KiB (stage 324851.0: task 911058))<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>61 ms (1 ms, 1 ms, 2 ms (stage 324851.0: task 911144))<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 324852.0: task 911219))<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1768.6 KiB (45.0 KiB, 47.9 KiB, 49.2 KiB (stage 324851.0: task 911058))" tooltip="Exchange hashpartitioning(worklistShardItemId#3485469L, 30), REPARTITION_BY_NUM, [plan_id=1000811]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n6.0 s (130 ms, 160 ms, 214 ms (stage 324851.0: task 911058))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3485446L, worklistShardItemId#3485469L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter ((isnotnull(worklistShardItemId#3485469L) AND NOT (isFallbackOrderOnly#3485463 <=> true)) AND isnotnull(orderProposalId#3485446L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,861<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.8 s (126 ms, 155 ms, 206 ms (stage 324851.0: task 911058))<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,861<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3485446L,isFallbackOrderOnly#3485463,worklistShardItemId#3485469L,shardId#3485490,sequenceId#3485468] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3485469L), NOT (isFallbackOrderOnly#3485463 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3485490), isnotnull(sequenceId#3485468), (shardId#3485490 = 0_5_10000000532), ..., 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#3485494]
Arguments: [orderProposal#3485494], [(size(orderProposal#3485494.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3483106, orderProposal#3485494], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3483796, channelStreamSpecificKpis#3484597, constraintLabels#3483808, constraintOperators#3483809, constraintValues#3483811, deliveryDateTime#3483795, isFallbackOrderOnly#3483798, logisticUnits#3483813, measurements#3483806, minimumOrderQuantity#3483807, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, nextAvailabilityDateTime#3483797, optimizationGroups#3483814, orderDateTime#3483794, orderProposalId#3483776L, orderProposalItemGroupId#3483778, orderProposalItemId#3483777, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, originalReplenishmentRunId#3483779L, plant#3483790, previousOrderProposal#3483782L, prodLocSpecificKpis#3484582, product#3483789, productGroup#3483818, qty#3483620, quantityAfterProdPlantOptimization#3483619, quantityKpis#3484610, shardId#3483106, sourceOfSupplyUuid#3483785, splitIndicator#3483781L, subrange#3483788, supplier#3483787, supplierGroup#3483786, supplyingPlant#3483817]
Arguments: [availabilityDateTime#3483796, channelStreamSpecificKpis#3484597, constraintLabels#3483808, constraintOperators#3483809, constraintValues#3483811, deliveryDateTime#3483795, isFallbackOrderOnly#3483798, logisticUnits#3483813, measurements#3483806, minimumOrderQuantity#3483807, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, nextAvailabilityDateTime#3483797, optimizationGroups#3483814, orderDateTime#3483794, orderProposalId#3483776L, orderProposalItemGroupId#3483778, orderProposalItemId#3483777, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, originalReplenishmentRunId#3483779L, plant#3483790, ... 14 more fields], [NOT (isFallbackOrderOnly#3483798 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, productGroup#3483818, product#3483789, plant#3483790, subrange#3483788, orderDateTime#3483794, deliveryDateTime#3483795, availabilityDateTime#3483796, nextAvailabilityDateTime#3483797, constraintValues#3483811, constraintOperators#3483809, constraintLabels#3483808, logisticUnits#3483813, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, splitIndicator#3483781L, netPriceAmount#3483804, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3483106, items#3483108]
Arguments: [shardId#3483106, items#3483108], [(size(items#3483108, true) > 0), isnotnull(items#3483108)]
(6) InMemoryRelation
Arguments: [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, optimizationInsights#3483112], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, optimizationInsights#3483112]
Arguments: [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, optimizationInsights#3483112], [isnotnull(shardId#3483106), (shardId#3483106 = 0_5_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, lastModified#3483111, optimizationInsights#3483112], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, lastModified#3483111, optimizationInsights#3483112]
Arguments: [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, lastModified#3483111, optimizationInsights#3483112], MapPartitionsRDD[148141] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, lastModified#3483111, optimizationInsights#3483112]
Condition : (isnotnull(shardId#3483106) AND (shardId#3483106 = 0_5_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3483106, orderProposalId#3483107L, items#3483108, optimizationGroups#3483109, isOptimal#3483110, optimizationInsights#3483112]
Condition : (isnotnull(shardId#3483106) AND (shardId#3483106 = 0_5_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3483106, items#3483108]
Condition : ((size(items#3483108, true) > 0) AND isnotnull(items#3483108))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3483106, items#3483108]
Arguments: explode(items#3483108), [shardId#3483106], false, [item#3483617]
(14) Project [codegen id : 1]
Output [4]: [shardId#3483106, item#3483617.worklistShardItemId AS worklistShardItemId#3483618L, item#3483617.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3483619, item#3483617.qty AS qty#3483620]
Input [2]: [shardId#3483106, item#3483617]
(15) Exchange
Input [4]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620]
Arguments: hashpartitioning(worklistShardItemId#3483618L, 30), ENSURE_REQUIREMENTS, [plan_id=1000477]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620]
Arguments: [worklistShardItemId#3483618L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3483819L, orderProposalItemId#3483820, supplierGroup#3483821, supplier#3483822, plant#3483823, deliveryDateTime#3483824, subrange#3483825, supplyingPlant#3483826, productGroup#3483827, product#3483828, orderDateTime#3483829, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, sourceOfSupplyUuid#3483833, isFallbackOrderOnly#3483836, splitIndicator#3483838L, previousOrderProposal#3483839L, worklistShardItemId#3483842L, orderProposalItemGroupId#3483843, externalProductId#3483844, externalPlantId#3483845, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, minimumOrderQuantity#3483849, constraintLabels#3483850, constraintOperators#3483851, constraintValues#3483852, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, measurements#3483860, originalReplenishmentRunId#3483861L, optimizationGroups#3483862, shardId#3483863, sequenceId#3483841]
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/10000000532]
PartitionFilters: [isnotnull(shardId#3483863), isnotnull(sequenceId#3483841), (shardId#3483863 = 0_5_10000000532), (sequenceId#3483841 = 5)]
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#3483819L, orderProposalItemId#3483820, supplierGroup#3483821, supplier#3483822, plant#3483823, deliveryDateTime#3483824, subrange#3483825, supplyingPlant#3483826, productGroup#3483827, product#3483828, orderDateTime#3483829, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, sourceOfSupplyUuid#3483833, isFallbackOrderOnly#3483836, splitIndicator#3483838L, previousOrderProposal#3483839L, worklistShardItemId#3483842L, orderProposalItemGroupId#3483843, externalProductId#3483844, externalPlantId#3483845, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, minimumOrderQuantity#3483849, constraintLabels#3483850, constraintOperators#3483851, constraintValues#3483852, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, measurements#3483860, originalReplenishmentRunId#3483861L, optimizationGroups#3483862, shardId#3483863, sequenceId#3483841]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3483819L, orderProposalItemId#3483820, supplierGroup#3483821, supplier#3483822, plant#3483823, deliveryDateTime#3483824, subrange#3483825, supplyingPlant#3483826, productGroup#3483827, product#3483828, orderDateTime#3483829, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, sourceOfSupplyUuid#3483833, isFallbackOrderOnly#3483836, splitIndicator#3483838L, previousOrderProposal#3483839L, worklistShardItemId#3483842L, orderProposalItemGroupId#3483843, externalProductId#3483844, externalPlantId#3483845, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, minimumOrderQuantity#3483849, constraintLabels#3483850, constraintOperators#3483851, constraintValues#3483852, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, measurements#3483860, originalReplenishmentRunId#3483861L, optimizationGroups#3483862, shardId#3483863, sequenceId#3483841]
Condition : isnotnull(worklistShardItemId#3483842L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3483819L, orderProposalItemId#3483820, supplierGroup#3483821, supplier#3483822, plant#3483823, deliveryDateTime#3483824, subrange#3483825, supplyingPlant#3483826, productGroup#3483827, product#3483828, orderDateTime#3483829, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, sourceOfSupplyUuid#3483833, isFallbackOrderOnly#3483836, splitIndicator#3483838L, previousOrderProposal#3483839L, worklistShardItemId#3483842L, orderProposalItemGroupId#3483843, externalProductId#3483844, externalPlantId#3483845, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, minimumOrderQuantity#3483849, constraintLabels#3483850, constraintOperators#3483851, constraintValues#3483852, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, measurements#3483860, originalReplenishmentRunId#3483861L, optimizationGroups#3483862]
Input [38]: [orderProposalId#3483819L, orderProposalItemId#3483820, supplierGroup#3483821, supplier#3483822, plant#3483823, deliveryDateTime#3483824, subrange#3483825, supplyingPlant#3483826, productGroup#3483827, product#3483828, orderDateTime#3483829, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, sourceOfSupplyUuid#3483833, isFallbackOrderOnly#3483836, splitIndicator#3483838L, previousOrderProposal#3483839L, worklistShardItemId#3483842L, orderProposalItemGroupId#3483843, externalProductId#3483844, externalPlantId#3483845, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, minimumOrderQuantity#3483849, constraintLabels#3483850, constraintOperators#3483851, constraintValues#3483852, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, measurements#3483860, originalReplenishmentRunId#3483861L, optimizationGroups#3483862, shardId#3483863, sequenceId#3483841]
(21) Exchange
Input [36]: [orderProposalId#3483819L, orderProposalItemId#3483820, supplierGroup#3483821, supplier#3483822, plant#3483823, deliveryDateTime#3483824, subrange#3483825, supplyingPlant#3483826, productGroup#3483827, product#3483828, orderDateTime#3483829, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, sourceOfSupplyUuid#3483833, isFallbackOrderOnly#3483836, splitIndicator#3483838L, previousOrderProposal#3483839L, worklistShardItemId#3483842L, orderProposalItemGroupId#3483843, externalProductId#3483844, externalPlantId#3483845, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, minimumOrderQuantity#3483849, constraintLabels#3483850, constraintOperators#3483851, constraintValues#3483852, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, measurements#3483860, originalReplenishmentRunId#3483861L, optimizationGroups#3483862]
Arguments: hashpartitioning(worklistShardItemId#3483842L, 30), REPARTITION_BY_NUM, [plan_id=1000487]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3483842L, orderProposalId#3483819L, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, originalReplenishmentRunId#3483861L, splitIndicator#3483838L, previousOrderProposal#3483839L, sourceOfSupplyUuid#3483833, supplierGroup#3483821, supplier#3483822, subrange#3483825, product#3483828, plant#3483823, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, isFallbackOrderOnly#3483836, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, netPriceAmount#3483855, netPriceCurrencyCode#3483856, measurements#3483860, minimumOrderQuantity#3483849, constraintLabels#3483850, constraintOperators#3483851, constraintValues#3483852, logisticUnits#3483846, optimizationGroups#3483862, externalProductId#3483844, externalPlantId#3483845, supplyingPlant#3483826, productGroup#3483827]
Input [36]: [orderProposalId#3483819L, orderProposalItemId#3483820, supplierGroup#3483821, supplier#3483822, plant#3483823, deliveryDateTime#3483824, subrange#3483825, supplyingPlant#3483826, productGroup#3483827, product#3483828, orderDateTime#3483829, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, sourceOfSupplyUuid#3483833, isFallbackOrderOnly#3483836, splitIndicator#3483838L, previousOrderProposal#3483839L, worklistShardItemId#3483842L, orderProposalItemGroupId#3483843, externalProductId#3483844, externalPlantId#3483845, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, minimumOrderQuantity#3483849, constraintLabels#3483850, constraintOperators#3483851, constraintValues#3483852, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, measurements#3483860, originalReplenishmentRunId#3483861L, optimizationGroups#3483862]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3483842L, orderProposalId#3483819L, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, originalReplenishmentRunId#3483861L, splitIndicator#3483838L, previousOrderProposal#3483839L, sourceOfSupplyUuid#3483833, supplierGroup#3483821, supplier#3483822, subrange#3483825, product#3483828, plant#3483823, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, isFallbackOrderOnly#3483836, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, netPriceAmount#3483855, netPriceCurrencyCode#3483856, measurements#3483860, minimumOrderQuantity#3483849, constraintLabels#3483850, constraintOperators#3483851, constraintValues#3483852, logisticUnits#3483846, optimizationGroups#3483862, externalProductId#3483844, externalPlantId#3483845, supplyingPlant#3483826, productGroup#3483827]
Arguments: [worklistShardItemId#3483842L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3483618L]
Right keys [1]: [worklistShardItemId#3483842L]
Join type: LeftOuter
Join condition: (shardId#3483106 = 0_5_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, sourceOfSupplyUuid#3483833, minimumOrderQuantity#3483849, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, optimizationGroups#3483862, measurements#3483860, externalProductId#3483844, externalPlantId#3483845, previousOrderProposal#3483839L, isFallbackOrderOnly#3483836]
Input [40]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, worklistShardItemId#3483842L, orderProposalId#3483819L, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, originalReplenishmentRunId#3483861L, splitIndicator#3483838L, previousOrderProposal#3483839L, sourceOfSupplyUuid#3483833, supplierGroup#3483821, supplier#3483822, subrange#3483825, product#3483828, plant#3483823, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, isFallbackOrderOnly#3483836, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, netPriceAmount#3483855, netPriceCurrencyCode#3483856, measurements#3483860, minimumOrderQuantity#3483849, constraintLabels#3483850, constraintOperators#3483851, constraintValues#3483852, logisticUnits#3483846, optimizationGroups#3483862, externalProductId#3483844, externalPlantId#3483845, supplyingPlant#3483826, productGroup#3483827]
(26) Exchange
Input [39]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, sourceOfSupplyUuid#3483833, minimumOrderQuantity#3483849, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, optimizationGroups#3483862, measurements#3483860, externalProductId#3483844, externalPlantId#3483845, previousOrderProposal#3483839L, isFallbackOrderOnly#3483836]
Arguments: hashpartitioning(shardId#3483106, worklistShardItemId#3483618L, 30), ENSURE_REQUIREMENTS, [plan_id=1000496]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, sourceOfSupplyUuid#3483833, minimumOrderQuantity#3483849, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, optimizationGroups#3483862, measurements#3483860, externalProductId#3483844, externalPlantId#3483845, previousOrderProposal#3483839L, isFallbackOrderOnly#3483836]
Arguments: [shardId#3483106 ASC NULLS FIRST, worklistShardItemId#3483618L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3484575, worklistShardItemId#3484576L, qty#3484577, demandChannel#3484578, demandStream#3484579, kpis#3484580]
Arguments: [shardId#3484575, worklistShardItemId#3484576L, qty#3484577, demandChannel#3484578, demandStream#3484579, kpis#3484580], MapPartitionsRDD[148223] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3484575, worklistShardItemId#3484576L, qty#3484577, demandChannel#3484578, demandStream#3484579, kpis#3484580]
Condition : (((isnull(qty#3484577) AND isnull(demandChannel#3484578)) AND isnull(demandStream#3484579)) AND (isnotnull(shardId#3484575) AND isnotnull(worklistShardItemId#3484576L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3484575, worklistShardItemId#3484576L, coalesce(kpis#3484580, []) AS prodLocSpecificKpis#3484581]
Input [6]: [shardId#3484575, worklistShardItemId#3484576L, qty#3484577, demandChannel#3484578, demandStream#3484579, kpis#3484580]
(31) Exchange
Input [3]: [shardId#3484575, worklistShardItemId#3484576L, prodLocSpecificKpis#3484581]
Arguments: hashpartitioning(shardId#3484575, worklistShardItemId#3484576L, 30), ENSURE_REQUIREMENTS, [plan_id=1000502]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3484575, worklistShardItemId#3484576L, prodLocSpecificKpis#3484581]
Arguments: [shardId#3484575 ASC NULLS FIRST, worklistShardItemId#3484576L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3483106, worklistShardItemId#3483618L]
Right keys [2]: [shardId#3484575, worklistShardItemId#3484576L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, sourceOfSupplyUuid#3483833, minimumOrderQuantity#3483849, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, optimizationGroups#3483862, measurements#3483860, externalProductId#3483844, externalPlantId#3483845, previousOrderProposal#3483839L, isFallbackOrderOnly#3483836, coalesce(prodLocSpecificKpis#3484581, []) AS prodLocSpecificKpis#3484582]
Input [42]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, sourceOfSupplyUuid#3483833, minimumOrderQuantity#3483849, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, optimizationGroups#3483862, measurements#3483860, externalProductId#3483844, externalPlantId#3483845, previousOrderProposal#3483839L, isFallbackOrderOnly#3483836, shardId#3484575, worklistShardItemId#3484576L, prodLocSpecificKpis#3484581]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3484591, worklistShardItemId#3484592L, qty#3484593, demandChannel#3484594, demandStream#3484595, kpis#3484596]
Arguments: [shardId#3484591, worklistShardItemId#3484592L, qty#3484593, demandChannel#3484594, demandStream#3484595, kpis#3484596], MapPartitionsRDD[148223] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3484591, worklistShardItemId#3484592L, qty#3484593, demandChannel#3484594, demandStream#3484595, kpis#3484596]
Condition : ((((isnull(qty#3484593) AND isnotnull(demandChannel#3484594)) AND isnotnull(demandStream#3484595)) AND (size(kpis#3484596, true) > 0)) AND (isnotnull(shardId#3484591) AND isnotnull(worklistShardItemId#3484592L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3484591, worklistShardItemId#3484592L, demandChannel#3484594, demandStream#3484595, kpis#3484596]
Input [6]: [shardId#3484591, worklistShardItemId#3484592L, qty#3484593, demandChannel#3484594, demandStream#3484595, kpis#3484596]
(38) ObjectHashAggregate
Input [5]: [shardId#3484591, worklistShardItemId#3484592L, demandChannel#3484594, demandStream#3484595, kpis#3484596]
Keys [2]: [shardId#3484591, worklistShardItemId#3484592L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3484594, demandStream, demandStream#3484595, kpis, kpis#3484596), 0, 0)]
Aggregate Attributes [1]: [buf#3484771]
Results [3]: [shardId#3484591, worklistShardItemId#3484592L, buf#3484772]
(39) Exchange
Input [3]: [shardId#3484591, worklistShardItemId#3484592L, buf#3484772]
Arguments: hashpartitioning(shardId#3484591, worklistShardItemId#3484592L, 30), ENSURE_REQUIREMENTS, [plan_id=1000513]
(40) ObjectHashAggregate
Input [3]: [shardId#3484591, worklistShardItemId#3484592L, buf#3484772]
Keys [2]: [shardId#3484591, worklistShardItemId#3484592L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3484594, demandStream, demandStream#3484595, kpis, kpis#3484596), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3484594, demandStream, demandStream#3484595, kpis, kpis#3484596), 0, 0)#3484590]
Results [3]: [shardId#3484591, worklistShardItemId#3484592L, collect_list(struct(demandChannel, demandChannel#3484594, demandStream, demandStream#3484595, kpis, kpis#3484596), 0, 0)#3484590 AS channelStreamSpecificKpis#3484583]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3484591, worklistShardItemId#3484592L, channelStreamSpecificKpis#3484583]
Arguments: [shardId#3484591 ASC NULLS FIRST, worklistShardItemId#3484592L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3483106, worklistShardItemId#3483618L]
Right keys [2]: [shardId#3484591, worklistShardItemId#3484592L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, sourceOfSupplyUuid#3483833, minimumOrderQuantity#3483849, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, optimizationGroups#3483862, measurements#3483860, externalProductId#3483844, externalPlantId#3483845, previousOrderProposal#3483839L, isFallbackOrderOnly#3483836, prodLocSpecificKpis#3484582, coalesce(channelStreamSpecificKpis#3484583, []) AS channelStreamSpecificKpis#3484597]
Input [43]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, sourceOfSupplyUuid#3483833, minimumOrderQuantity#3483849, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, optimizationGroups#3483862, measurements#3483860, externalProductId#3483844, externalPlantId#3483845, previousOrderProposal#3483839L, isFallbackOrderOnly#3483836, prodLocSpecificKpis#3484582, shardId#3484591, worklistShardItemId#3484592L, channelStreamSpecificKpis#3484583]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3484604, worklistShardItemId#3484605L, qty#3484606, demandChannel#3484607, demandStream#3484608, kpis#3484609]
Arguments: [shardId#3484604, worklistShardItemId#3484605L, qty#3484606, demandChannel#3484607, demandStream#3484608, kpis#3484609], MapPartitionsRDD[148223] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3484604, worklistShardItemId#3484605L, qty#3484606, demandChannel#3484607, demandStream#3484608, kpis#3484609]
Condition : ((isnotnull(qty#3484606) AND isnotnull(kpis#3484609)) AND (isnotnull(shardId#3484604) AND isnotnull(worklistShardItemId#3484605L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3484604, worklistShardItemId#3484605L, qty#3484606, kpis#3484609]
Input [6]: [shardId#3484604, worklistShardItemId#3484605L, qty#3484606, demandChannel#3484607, demandStream#3484608, kpis#3484609]
(47) ObjectHashAggregate
Input [4]: [shardId#3484604, worklistShardItemId#3484605L, qty#3484606, kpis#3484609]
Keys [2]: [shardId#3484604, worklistShardItemId#3484605L]
Functions [1]: [partial_collect_list(struct(qty, qty#3484606, kpis, kpis#3484609), 0, 0)]
Aggregate Attributes [1]: [buf#3484773]
Results [3]: [shardId#3484604, worklistShardItemId#3484605L, buf#3484774]
(48) Exchange
Input [3]: [shardId#3484604, worklistShardItemId#3484605L, buf#3484774]
Arguments: hashpartitioning(shardId#3484604, worklistShardItemId#3484605L, 30), ENSURE_REQUIREMENTS, [plan_id=1000525]
(49) ObjectHashAggregate
Input [3]: [shardId#3484604, worklistShardItemId#3484605L, buf#3484774]
Keys [2]: [shardId#3484604, worklistShardItemId#3484605L]
Functions [1]: [collect_list(struct(qty, qty#3484606, kpis, kpis#3484609), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3484606, kpis, kpis#3484609), 0, 0)#3484603]
Results [3]: [shardId#3484604, worklistShardItemId#3484605L, map_from_entries(collect_list(struct(qty, qty#3484606, kpis, kpis#3484609), 0, 0)#3484603) AS quantityKpis#3484598]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3484604, worklistShardItemId#3484605L, quantityKpis#3484598]
Arguments: [shardId#3484604 ASC NULLS FIRST, worklistShardItemId#3484605L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3483106, worklistShardItemId#3483618L]
Right keys [2]: [shardId#3484604, worklistShardItemId#3484605L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, sourceOfSupplyUuid#3483833, minimumOrderQuantity#3483849, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, optimizationGroups#3483862, measurements#3483860, externalProductId#3483844, externalPlantId#3483845, previousOrderProposal#3483839L, isFallbackOrderOnly#3483836, prodLocSpecificKpis#3484582, channelStreamSpecificKpis#3484597, coalesce(quantityKpis#3484598, map(keys: [], values: [])) AS quantityKpis#3484610]
Input [44]: [shardId#3483106, worklistShardItemId#3483618L, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483819L, originalReplenishmentRunId#3483861L, supplierGroup#3483821, supplier#3483822, supplyingPlant#3483826, productGroup#3483827, product#3483828, plant#3483823, subrange#3483825, orderDateTime#3483829, deliveryDateTime#3483824, availabilityDateTime#3483830, nextAvailabilityDateTime#3483831, constraintValues#3483852, constraintOperators#3483851, constraintLabels#3483850, logisticUnits#3483846, orderQuantityBaseUom#3483847, orderQuantityBaseUomUuid#3483848, splitIndicator#3483838L, netPriceAmount#3483855, netPriceCurrencyCode#3483856, netPriceQuantity#3483857, netPriceQuantityUom#3483858, netPriceQuantityUomUuid#3483859, sourceOfSupplyUuid#3483833, minimumOrderQuantity#3483849, orderProposalItemId#3483820, orderProposalItemGroupId#3483843, optimizationGroups#3483862, measurements#3483860, externalProductId#3483844, externalPlantId#3483845, previousOrderProposal#3483839L, isFallbackOrderOnly#3483836, prodLocSpecificKpis#3484582, channelStreamSpecificKpis#3484597, shardId#3484604, worklistShardItemId#3484605L, quantityKpis#3484598]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3483796, channelStreamSpecificKpis#3484597, constraintLabels#3483808, constraintOperators#3483809, constraintValues#3483811, deliveryDateTime#3483795, isFallbackOrderOnly#3483798, logisticUnits#3483813, measurements#3483806, minimumOrderQuantity#3483807, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, nextAvailabilityDateTime#3483797, optimizationGroups#3483814, orderDateTime#3483794, orderProposalId#3483776L, orderProposalItemGroupId#3483778, orderProposalItemId#3483777, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, originalReplenishmentRunId#3483779L, plant#3483790, previousOrderProposal#3483782L, prodLocSpecificKpis#3484582, product#3483789, productGroup#3483818, qty#3483620, quantityAfterProdPlantOptimization#3483619, quantityKpis#3484610, shardId#3483106, sourceOfSupplyUuid#3483785, splitIndicator#3483781L, subrange#3483788, supplier#3483787, supplierGroup#3483786, supplyingPlant#3483817]
Condition : NOT (isFallbackOrderOnly#3483798 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3483106, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, productGroup#3483818, product#3483789, plant#3483790, subrange#3483788, orderDateTime#3483794, deliveryDateTime#3483795, availabilityDateTime#3483796, nextAvailabilityDateTime#3483797, logisticUnits#3483813, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, splitIndicator#3483781L, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, sourceOfSupplyUuid#3483785, minimumOrderQuantity#3483807, orderProposalItemId#3483777, orderProposalItemGroupId#3483778, optimizationGroups#3483814, measurements#3483806, previousOrderProposal#3483782L, prodLocSpecificKpis#3484582, channelStreamSpecificKpis#3484597, quantityKpis#3484610, arrays_zip(constraintLabels#3483808, constraintOperators#3483809, constraintValues#3483811, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3485024]
Input [39]: [availabilityDateTime#3483796, channelStreamSpecificKpis#3484597, constraintLabels#3483808, constraintOperators#3483809, constraintValues#3483811, deliveryDateTime#3483795, isFallbackOrderOnly#3483798, logisticUnits#3483813, measurements#3483806, minimumOrderQuantity#3483807, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, nextAvailabilityDateTime#3483797, optimizationGroups#3483814, orderDateTime#3483794, orderProposalId#3483776L, orderProposalItemGroupId#3483778, orderProposalItemId#3483777, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, originalReplenishmentRunId#3483779L, plant#3483790, previousOrderProposal#3483782L, prodLocSpecificKpis#3484582, product#3483789, productGroup#3483818, qty#3483620, quantityAfterProdPlantOptimization#3483619, quantityKpis#3484610, shardId#3483106, sourceOfSupplyUuid#3483785, splitIndicator#3483781L, subrange#3483788, supplier#3483787, supplierGroup#3483786, supplyingPlant#3483817]
(55) Project
Output [37]: [shardId#3483106, qty#3483620, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, productGroup#3483818, product#3483789, plant#3483790, subrange#3483788, orderDateTime#3483794, deliveryDateTime#3483795, availabilityDateTime#3483796, nextAvailabilityDateTime#3483797, logisticUnits#3483813, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, splitIndicator#3483781L, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, sourceOfSupplyUuid#3483785, orderProposalItemId#3483777, orderProposalItemGroupId#3483778, optimizationGroups#3483814, measurements#3483806, previousOrderProposal#3483782L, prodLocSpecificKpis#3484582, channelStreamSpecificKpis#3484597, quantityKpis#3484610, struct(minServiceLevel, array_min(filter(constraintStructArray#3485024, lambdafunction((lambda x_11541#3485031.constraintLabels = ServiceLevel), lambda x_11541#3485031, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3485024, lambdafunction((lambda x_11542#3485032.constraintLabels = ServiceLevelMinimumStock), lambda x_11542#3485032, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3485024, lambdafunction((lambda x_11543#3485033.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11543#3485033, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3485024, lambdafunction((lambda x_11544#3485034.constraintLabels = RangeOfCoverage), lambda x_11544#3485034, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3483807, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3484582, lambdafunction((lambda x_11545#3485035.label = NonListingStartTimestamp), lambda x_11545#3485035, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3485030, CASE WHEN (qty#3483620 <=> quantityAfterProdPlantOptimization#3483619) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3483620 * (cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11546#3485103.isOrderUnit, lambda x_11546#3485103, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11546#3485104.isOrderUnit, lambda x_11546#3485104, false)), 1, None, false).numerator as double))), qty#3483620), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11546#3485105.isOrderUnit, lambda x_11546#3485105, false)), 1, None, false).uom, orderQuantityBaseUom#3483799), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11546#3485106.isOrderUnit, lambda x_11546#3485106, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3483800), candidateOrderQuantityInBaseUnit, qty#3483620, orderQuantityBaseUom, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3483800, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3483813, lambdafunction((lambda x_11548#3485107.isPreferred AND (((qty#3483620 * cast(lambda x_11548#3485107.denominator as double)) % cast(lambda x_11548#3485107.numerator as double)) = 0.0)), lambda x_11548#3485107, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3483620 * cast(lambda x_11549#3485148.denominator as double)) / cast(lambda x_11549#3485148.numerator as double)), uom, lambda x_11549#3485148.uom, uomUuid, lambda x_11549#3485148.uomUuid), lambda x_11549#3485148, false))).inPreferredQuantity, coalesce((qty#3483620 * (cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11547#3485108.isOrderUnit, lambda x_11547#3485108, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11547#3485109.isOrderUnit, lambda x_11547#3485109, false)), 1, None, false).numerator as double))), qty#3483620)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3483813, lambdafunction((lambda x_11548#3485110.isPreferred AND (((qty#3483620 * cast(lambda x_11548#3485110.denominator as double)) % cast(lambda x_11548#3485110.numerator as double)) = 0.0)), lambda x_11548#3485110, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3483620 * cast(lambda x_11549#3485149.denominator as double)) / cast(lambda x_11549#3485149.numerator as double)), uom, lambda x_11549#3485149.uom, uomUuid, lambda x_11549#3485149.uomUuid), lambda x_11549#3485149, false))).uom, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11547#3485111.isOrderUnit, lambda x_11547#3485111, false)), 1, None, false).uom, orderQuantityBaseUom#3483799)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3483813, lambdafunction((lambda x_11548#3485112.isPreferred AND (((qty#3483620 * cast(lambda x_11548#3485112.denominator as double)) % cast(lambda x_11548#3485112.numerator as double)) = 0.0)), lambda x_11548#3485112, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3483620 * cast(lambda x_11549#3485150.denominator as double)) / cast(lambda x_11549#3485150.numerator as double)), uom, lambda x_11549#3485150.uom, uomUuid, lambda x_11549#3485150.uomUuid), lambda x_11549#3485150, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11547#3485113.isOrderUnit, lambda x_11547#3485113, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3483800)), serviceLevel, coalesce(filter(element_at(quantityKpis#3484610, qty#3483620, None, false), lambdafunction((lambda x_11554#3485114.label = ServiceLevel), lambda x_11554#3485114, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3483620 * (cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11546#3485118.isOrderUnit, lambda x_11546#3485118, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11546#3485119.isOrderUnit, lambda x_11546#3485119, false)), 1, None, false).numerator as double))), qty#3483620), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11546#3485120.isOrderUnit, lambda x_11546#3485120, false)), 1, None, false).uom, orderQuantityBaseUom#3483799), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11546#3485121.isOrderUnit, lambda x_11546#3485121, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3483800), candidateOrderQuantityInBaseUnit, qty#3483620, orderQuantityBaseUom, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3483800, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3483813, lambdafunction((lambda x_11548#3485122.isPreferred AND (((qty#3483620 * cast(lambda x_11548#3485122.denominator as double)) % cast(lambda x_11548#3485122.numerator as double)) = 0.0)), lambda x_11548#3485122, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3483620 * cast(lambda x_11549#3485151.denominator as double)) / cast(lambda x_11549#3485151.numerator as double)), uom, lambda x_11549#3485151.uom, uomUuid, lambda x_11549#3485151.uomUuid), lambda x_11549#3485151, false))).inPreferredQuantity, coalesce((qty#3483620 * (cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11547#3485123.isOrderUnit, lambda x_11547#3485123, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11547#3485124.isOrderUnit, lambda x_11547#3485124, false)), 1, None, false).numerator as double))), qty#3483620)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3483813, lambdafunction((lambda x_11548#3485125.isPreferred AND (((qty#3483620 * cast(lambda x_11548#3485125.denominator as double)) % cast(lambda x_11548#3485125.numerator as double)) = 0.0)), lambda x_11548#3485125, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3483620 * cast(lambda x_11549#3485152.denominator as double)) / cast(lambda x_11549#3485152.numerator as double)), uom, lambda x_11549#3485152.uom, uomUuid, lambda x_11549#3485152.uomUuid), lambda x_11549#3485152, false))).uom, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11547#3485126.isOrderUnit, lambda x_11547#3485126, false)), 1, None, false).uom, orderQuantityBaseUom#3483799)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3483813, lambdafunction((lambda x_11548#3485127.isPreferred AND (((qty#3483620 * cast(lambda x_11548#3485127.denominator as double)) % cast(lambda x_11548#3485127.numerator as double)) = 0.0)), lambda x_11548#3485127, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3483620 * cast(lambda x_11549#3485153.denominator as double)) / cast(lambda x_11549#3485153.numerator as double)), uom, lambda x_11549#3485153.uom, uomUuid, lambda x_11549#3485153.uomUuid), lambda x_11549#3485153, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11547#3485128.isOrderUnit, lambda x_11547#3485128, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3483800)), serviceLevel, coalesce(filter(element_at(quantityKpis#3484610, qty#3483620, None, false), lambdafunction((lambda x_11558#3485129.label = ServiceLevel), lambda x_11558#3485129, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3483619 * (cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11550#3485133.isOrderUnit, lambda x_11550#3485133, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11550#3485134.isOrderUnit, lambda x_11550#3485134, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3483619), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11550#3485135.isOrderUnit, lambda x_11550#3485135, false)), 1, None, false).uom, orderQuantityBaseUom#3483799), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11550#3485136.isOrderUnit, lambda x_11550#3485136, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3483800), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3483619, orderQuantityBaseUom, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3483800, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3483813, lambdafunction((lambda x_11552#3485137.isPreferred AND (((quantityAfterProdPlantOptimization#3483619 * cast(lambda x_11552#3485137.denominator as double)) % cast(lambda x_11552#3485137.numerator as double)) = 0.0)), lambda x_11552#3485137, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3483619 * cast(lambda x_11553#3485154.denominator as double)) / cast(lambda x_11553#3485154.numerator as double)), uom, lambda x_11553#3485154.uom, uomUuid, lambda x_11553#3485154.uomUuid), lambda x_11553#3485154, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3483619 * (cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11551#3485138.isOrderUnit, lambda x_11551#3485138, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11551#3485139.isOrderUnit, lambda x_11551#3485139, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3483619)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3483813, lambdafunction((lambda x_11552#3485140.isPreferred AND (((quantityAfterProdPlantOptimization#3483619 * cast(lambda x_11552#3485140.denominator as double)) % cast(lambda x_11552#3485140.numerator as double)) = 0.0)), lambda x_11552#3485140, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3483619 * cast(lambda x_11553#3485155.denominator as double)) / cast(lambda x_11553#3485155.numerator as double)), uom, lambda x_11553#3485155.uom, uomUuid, lambda x_11553#3485155.uomUuid), lambda x_11553#3485155, false))).uom, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11551#3485141.isOrderUnit, lambda x_11551#3485141, false)), 1, None, false).uom, orderQuantityBaseUom#3483799)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3483813, lambdafunction((lambda x_11552#3485142.isPreferred AND (((quantityAfterProdPlantOptimization#3483619 * cast(lambda x_11552#3485142.denominator as double)) % cast(lambda x_11552#3485142.numerator as double)) = 0.0)), lambda x_11552#3485142, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3483619 * cast(lambda x_11553#3485156.denominator as double)) / cast(lambda x_11553#3485156.numerator as double)), uom, lambda x_11553#3485156.uom, uomUuid, lambda x_11553#3485156.uomUuid), lambda x_11553#3485156, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11551#3485143.isOrderUnit, lambda x_11551#3485143, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3483800)), serviceLevel, coalesce(filter(element_at(quantityKpis#3484610, quantityAfterProdPlantOptimization#3483619, None, false), lambdafunction((lambda x_11562#3485144.label = ServiceLevel), lambda x_11562#3485144, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3485102, coalesce(filter(prodLocSpecificKpis#3484582, lambdafunction((lambda x_11566#3485158.label = InitialStockQty), lambda x_11566#3485158, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3485157, coalesce(filter(prodLocSpecificKpis#3484582, lambdafunction((lambda x_11567#3485160.label = DemandPeriodEndTimestamp), lambda x_11567#3485160, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3485159]
Input [36]: [shardId#3483106, quantityAfterProdPlantOptimization#3483619, qty#3483620, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, productGroup#3483818, product#3483789, plant#3483790, subrange#3483788, orderDateTime#3483794, deliveryDateTime#3483795, availabilityDateTime#3483796, nextAvailabilityDateTime#3483797, logisticUnits#3483813, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, splitIndicator#3483781L, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, sourceOfSupplyUuid#3483785, minimumOrderQuantity#3483807, orderProposalItemId#3483777, orderProposalItemGroupId#3483778, optimizationGroups#3483814, measurements#3483806, previousOrderProposal#3483782L, prodLocSpecificKpis#3484582, channelStreamSpecificKpis#3484597, quantityKpis#3484610, constraintStructArray#3485024]
(56) Project
Output [21]: [shardId#3483106, qty#3483620, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, productGroup#3483818, product#3483789, plant#3483790, subrange#3483788, orderDateTime#3483794, deliveryDateTime#3483795, logisticUnits#3483813, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, splitIndicator#3483781L, orderProposalItemId#3483777, orderProposalItemGroupId#3483778, previousOrderProposal#3483782L, struct(itemId, orderProposalItemId#3483777, itemGroupId, orderProposalItemGroupId#3483778, supplier, supplier#3483787, supplyingPlant, supplyingPlant#3483817, productGroup, productGroup#3483818, product, product#3483789, plant, plant#3483790, supplierSubRange, subrange#3483788, sourceOfSupplyUuid, sourceOfSupplyUuid#3483785, deliveryDateTime, deliveryDateTime#3483795, unitPrice, netPriceAmount#3483804, unitPriceCurrency, netPriceCurrencyCode#3483805, unitPriceQuantity, ... 37 more fields) AS parentItem#3485233]
Input [37]: [shardId#3483106, qty#3483620, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, productGroup#3483818, product#3483789, plant#3483790, subrange#3483788, orderDateTime#3483794, deliveryDateTime#3483795, availabilityDateTime#3483796, nextAvailabilityDateTime#3483797, logisticUnits#3483813, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, splitIndicator#3483781L, netPriceAmount#3483804, netPriceCurrencyCode#3483805, netPriceQuantity#3483801, netPriceQuantityUom#3483802, netPriceQuantityUomUuid#3483803, sourceOfSupplyUuid#3483785, orderProposalItemId#3483777, orderProposalItemGroupId#3483778, optimizationGroups#3483814, measurements#3483806, previousOrderProposal#3483782L, prodLocSpecificKpis#3484582, channelStreamSpecificKpis#3484597, quantityKpis#3484610, constraintBenchmark#3485030, calculationAnalysis#3485102, inventoryDateTime#3485157, demandPeriodEndDateTime#3485159]
(57) Project
Output [12]: [shardId#3483106, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, orderDateTime#3483794, splitIndicator#3483781L, orderProposalItemGroupId#3483778, previousOrderProposal#3483782L, parentItem#3485233, struct(itemId, orderProposalItemId#3483777, supplier, supplier#3483787, supplyingPlant, supplyingPlant#3483817, productGroup, productGroup#3483818, product, product#3483789, plant, plant#3483790, supplierSubRange, subrange#3483788, deliveryDateTime, deliveryDateTime#3483795, orderQuantity, coalesce((qty#3483620 * (cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11591#3485267.isOrderUnit, lambda x_11591#3485267, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11591#3485268.isOrderUnit, lambda x_11591#3485268, false)), 1, None, false).numerator as double))), qty#3483620), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11591#3485269.isOrderUnit, lambda x_11591#3485269, false)), 1, None, false).uom, orderQuantityBaseUom#3483799), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3483813, lambdafunction(lambda x_11591#3485270.isOrderUnit, lambda x_11591#3485270, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3483800), orderQuantityInBaseUnit, qty#3483620, orderQuantityBaseUom, ... 13 more fields) AS item#3485264]
Input [21]: [shardId#3483106, qty#3483620, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, productGroup#3483818, product#3483789, plant#3483790, subrange#3483788, orderDateTime#3483794, deliveryDateTime#3483795, logisticUnits#3483813, orderQuantityBaseUom#3483799, orderQuantityBaseUomUuid#3483800, splitIndicator#3483781L, orderProposalItemId#3483777, orderProposalItemGroupId#3483778, previousOrderProposal#3483782L, parentItem#3485233]
(58) ObjectHashAggregate
Input [12]: [shardId#3483106, orderProposalId#3483776L, originalReplenishmentRunId#3483779L, supplierGroup#3483786, supplier#3483787, supplyingPlant#3483817, orderDateTime#3483794, splitIndicator#3483781L, orderProposalItemGroupId#3483778, previousOrderProposal#3483782L, parentItem#3485233, item#3485264]
Keys [4]: [shardId#3483106, orderProposalId#3483776L, splitIndicator#3483781L, orderProposalItemGroupId#3483778]
Functions [8]: [partial_max(originalReplenishmentRunId#3483779L), partial_max(supplierGroup#3483786), partial_max(supplier#3483787), partial_max(supplyingPlant#3483817), partial_max(orderDateTime#3483794), partial_collect_list(parentItem#3485233, 0, 0), partial_collect_set(previousOrderProposal#3483782L, 0, 0), partial_collect_list(item#3485264, 0, 0)]
Aggregate Attributes [8]: [max#3486517L, max#3486518, max#3486519, max#3486520, max#3486521, buf#3486522, buf#3486523, buf#3486524]
Results [12]: [shardId#3483106, orderProposalId#3483776L, splitIndicator#3483781L, orderProposalItemGroupId#3483778, max#3486525L, max#3486526, max#3486527, max#3486528, max#3486529, buf#3486530, buf#3486531, buf#3486532]
(59) Exchange
Input [12]: [shardId#3483106, orderProposalId#3483776L, splitIndicator#3483781L, orderProposalItemGroupId#3483778, max#3486525L, max#3486526, max#3486527, max#3486528, max#3486529, buf#3486530, buf#3486531, buf#3486532]
Arguments: hashpartitioning(shardId#3483106, orderProposalId#3483776L, splitIndicator#3483781L, orderProposalItemGroupId#3483778, 30), ENSURE_REQUIREMENTS, [plan_id=1000781]
(60) ObjectHashAggregate
Input [12]: [shardId#3483106, orderProposalId#3483776L, splitIndicator#3483781L, orderProposalItemGroupId#3483778, max#3486525L, max#3486526, max#3486527, max#3486528, max#3486529, buf#3486530, buf#3486531, buf#3486532]
Keys [4]: [shardId#3483106, orderProposalId#3483776L, splitIndicator#3483781L, orderProposalItemGroupId#3483778]
Functions [8]: [max(originalReplenishmentRunId#3483779L), max(supplierGroup#3483786), max(supplier#3483787), max(supplyingPlant#3483817), max(orderDateTime#3483794), collect_list(parentItem#3485233, 0, 0), collect_set(previousOrderProposal#3483782L, 0, 0), collect_list(item#3485264, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3483779L)#3485333L, max(supplierGroup#3483786)#3485334, max(supplier#3483787)#3485335, max(supplyingPlant#3483817)#3485336, max(orderDateTime#3483794)#3485337, collect_list(parentItem#3485233, 0, 0)#3485338, collect_set(previousOrderProposal#3483782L, 0, 0)#3485340, collect_list(item#3485264, 0, 0)#3485339]
Results [10]: [shardId#3483106, orderProposalId#3483776L, max(originalReplenishmentRunId#3483779L)#3485333L AS originalReplenishmentRunId#3485281L, max(supplierGroup#3483786)#3485334 AS supplierGroup#3485282, max(supplier#3483787)#3485335 AS supplier#3485283, max(supplyingPlant#3483817)#3485336 AS supplyingPlant#3485284, max(orderDateTime#3483794)#3485337 AS orderDateTime#3485285, collect_list(parentItem#3485233, 0, 0)#3485338 AS parentItems#3485286, collect_set(previousOrderProposal#3483782L, 0, 0)#3485340 AS previousOrderProposals#3485288, struct(itemGroupId, orderProposalItemGroupId#3483778, items, collect_list(item#3485264, 0, 0)#3485339) AS itemGroup#3485342]
(61) ObjectHashAggregate
Input [10]: [shardId#3483106, orderProposalId#3483776L, originalReplenishmentRunId#3485281L, supplierGroup#3485282, supplier#3485283, supplyingPlant#3485284, orderDateTime#3485285, parentItems#3485286, previousOrderProposals#3485288, itemGroup#3485342]
Keys [2]: [shardId#3483106, orderProposalId#3483776L]
Functions [8]: [partial_max(originalReplenishmentRunId#3485281L), partial_max(supplierGroup#3485282), partial_max(supplier#3485283), partial_max(supplyingPlant#3485284), partial_max(orderDateTime#3485285), partial_collect_list(itemGroup#3485342, 0, 0), partial_collect_list(parentItems#3485286, 0, 0), partial_collect_set(previousOrderProposals#3485288, 0, 0)]
Aggregate Attributes [8]: [max#3486501L, max#3486502, max#3486503, max#3486504, max#3486505, buf#3486506, buf#3486507, buf#3486508]
Results [10]: [shardId#3483106, orderProposalId#3483776L, max#3486509L, max#3486510, max#3486511, max#3486512, max#3486513, buf#3486514, buf#3486515, buf#3486516]
(62) Exchange
Input [10]: [shardId#3483106, orderProposalId#3483776L, max#3486509L, max#3486510, max#3486511, max#3486512, max#3486513, buf#3486514, buf#3486515, buf#3486516]
Arguments: hashpartitioning(shardId#3483106, orderProposalId#3483776L, 30), ENSURE_REQUIREMENTS, [plan_id=1000784]
(63) ObjectHashAggregate
Input [10]: [shardId#3483106, orderProposalId#3483776L, max#3486509L, max#3486510, max#3486511, max#3486512, max#3486513, buf#3486514, buf#3486515, buf#3486516]
Keys [2]: [shardId#3483106, orderProposalId#3483776L]
Functions [8]: [max(originalReplenishmentRunId#3485281L), max(supplierGroup#3485282), max(supplier#3485283), max(supplyingPlant#3485284), max(orderDateTime#3485285), collect_list(itemGroup#3485342, 0, 0), collect_list(parentItems#3485286, 0, 0), collect_set(previousOrderProposals#3485288, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3485281L)#3485364L, max(supplierGroup#3485282)#3485365, max(supplier#3485283)#3485366, max(supplyingPlant#3485284)#3485367, max(orderDateTime#3485285)#3485368, collect_list(itemGroup#3485342, 0, 0)#3485369, collect_list(parentItems#3485286, 0, 0)#3485370, collect_set(previousOrderProposals#3485288, 0, 0)#3485371]
Results [10]: [shardId#3483106, orderProposalId#3483776L, max(originalReplenishmentRunId#3485281L)#3485364L AS originalReplenishmentRunId#3485343L, max(supplierGroup#3485282)#3485365 AS supplierGroup#3485344, max(supplier#3485283)#3485366 AS supplier#3485345, max(supplyingPlant#3485284)#3485367 AS supplyingPlant#3485346, max(orderDateTime#3485285)#3485368 AS orderDateTime#3485347, collect_list(itemGroup#3485342, 0, 0)#3485369 AS itemGroups#3485348, flatten(collect_list(parentItems#3485286, 0, 0)#3485370) AS parentItems#3485349, flatten(collect_set(previousOrderProposals#3485288, 0, 0)#3485371) AS previousOrderProposals#3485350]
(64) Project
Output [2]: [shardId#3483106, struct(orderProposalId, orderProposalId#3483776L, originalReplenishmentRunId, originalReplenishmentRunId#3485343L, supplierGroup, supplierGroup#3485344, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3485344) THEN supplier#3485345 END, supplyingPlant, supplyingPlant#3485346, orderDateTime, orderDateTime#3485347, itemGroups, itemGroups#3485348, previousOrderProposals, array_distinct(previousOrderProposals#3485350), parentItems, parentItems#3485349) AS orderProposal#3485375]
Input [10]: [shardId#3483106, orderProposalId#3483776L, originalReplenishmentRunId#3485343L, supplierGroup#3485344, supplier#3485345, supplyingPlant#3485346, orderDateTime#3485347, itemGroups#3485348, parentItems#3485349, previousOrderProposals#3485350]
(65) Project
Output [11]: [shardId#3483106, orderProposal#3485375.orderProposalId AS _extract_orderProposalId#3486133L, orderProposal#3485375.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3486134L, orderProposal#3485375.supplierGroup AS _extract_supplierGroup#3486135, orderProposal#3485375.supplier AS _extract_supplier#3486136, orderProposal#3485375.supplyingPlant AS _extract_supplyingPlant#3486137, orderProposal#3485375.orderDateTime AS _extract_orderDateTime#3486138, orderProposal#3485375.itemGroups AS _extract_itemGroups#3486139, orderProposal#3485375.previousOrderProposals AS _extract_previousOrderProposals#3486140, orderProposal#3485375.parentItems AS _extract_parentItems#3486141, orderProposal#3485375.orderProposalId AS _extract_orderProposalId#3486142L]
Input [2]: [shardId#3483106, orderProposal#3485375]
(66) Exchange
Input [11]: [shardId#3483106, _extract_orderProposalId#3486133L, _extract_originalReplenishmentRunId#3486134L, _extract_supplierGroup#3486135, _extract_supplier#3486136, _extract_supplyingPlant#3486137, _extract_orderDateTime#3486138, _extract_itemGroups#3486139, _extract_previousOrderProposals#3486140, _extract_parentItems#3486141, _extract_orderProposalId#3486142L]
Arguments: hashpartitioning(coalesce(shardId#3483106, ), isnull(shardId#3483106), coalesce(_extract_orderProposalId#3486142L, 0), isnull(_extract_orderProposalId#3486142L), 30), ENSURE_REQUIREMENTS, [plan_id=1000788]
(67) Sort
Input [11]: [shardId#3483106, _extract_orderProposalId#3486133L, _extract_originalReplenishmentRunId#3486134L, _extract_supplierGroup#3486135, _extract_supplier#3486136, _extract_supplyingPlant#3486137, _extract_orderDateTime#3486138, _extract_itemGroups#3486139, _extract_previousOrderProposals#3486140, _extract_parentItems#3486141, _extract_orderProposalId#3486142L]
Arguments: [coalesce(shardId#3483106, ) ASC NULLS FIRST, isnull(shardId#3483106) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3486142L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3486142L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3485390, orderProposalId#3485391L, optimizationGroups#3485393]
Arguments: [shardId#3485390, orderProposalId#3485391L, optimizationGroups#3485393], [isnotnull(orderProposalId#3485391L)]
(69) InMemoryRelation
Arguments: [shardId#3485390, orderProposalId#3485391L, items#3485392, optimizationGroups#3485393, isOptimal#3485394, optimizationInsights#3485396], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3485390, orderProposalId#3485391L, optimizationGroups#3485393]
Condition : isnotnull(orderProposalId#3485391L)
(71) Exchange
Input [3]: [shardId#3485390, orderProposalId#3485391L, optimizationGroups#3485393]
Arguments: hashpartitioning(orderProposalId#3485391L, 30), ENSURE_REQUIREMENTS, [plan_id=1000793]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3485390, orderProposalId#3485391L, optimizationGroups#3485393]
Arguments: [orderProposalId#3485391L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3485019, shardId#3485017]
Arguments: [items#3485019, shardId#3485017], [(size(items#3485019.worklistShardItemId, true) > 0), isnotnull(items#3485019.worklistShardItemId), (shardId#3485017 = 0_5_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3485017, orderProposalId#3485018L, items#3485019, optimizationGroups#3485020, isOptimal#3485021, optimizationInsights#3485023], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3485019, shardId#3485017]
Condition : (((size(items#3485019.worklistShardItemId, true) > 0) AND isnotnull(items#3485019.worklistShardItemId)) AND (shardId#3485017 = 0_5_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3485019.worklistShardItemId AS _extract_worklistShardItemId#3486038]
Input [2]: [items#3485019, shardId#3485017]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3486038]
Arguments: explode(_extract_worklistShardItemId#3486038), false, [item#3485397L]
(78) Project [codegen id : 4]
Output [1]: [item#3485397L AS worklistShardItemId#3485398L]
Input [1]: [item#3485397L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3485398L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1000804]
(80) Scan parquet
Output [5]: [orderProposalId#3485446L, isFallbackOrderOnly#3485463, worklistShardItemId#3485469L, shardId#3485490, sequenceId#3485468]
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/10000000532]
PartitionFilters: [isnotnull(shardId#3485490), isnotnull(sequenceId#3485468), (shardId#3485490 = 0_5_10000000532), (sequenceId#3485468 = 5)]
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#3485446L, isFallbackOrderOnly#3485463, worklistShardItemId#3485469L, shardId#3485490, sequenceId#3485468]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3485446L, isFallbackOrderOnly#3485463, worklistShardItemId#3485469L, shardId#3485490, sequenceId#3485468]
Condition : ((isnotnull(worklistShardItemId#3485469L) AND NOT (isFallbackOrderOnly#3485463 <=> true)) AND isnotnull(orderProposalId#3485446L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3485446L, worklistShardItemId#3485469L]
Input [5]: [orderProposalId#3485446L, isFallbackOrderOnly#3485463, worklistShardItemId#3485469L, shardId#3485490, sequenceId#3485468]
(84) Exchange
Input [2]: [orderProposalId#3485446L, worklistShardItemId#3485469L]
Arguments: hashpartitioning(worklistShardItemId#3485469L, 30), REPARTITION_BY_NUM, [plan_id=1000811]
(85) Project
Output [2]: [worklistShardItemId#3485469L, orderProposalId#3485446L]
Input [2]: [orderProposalId#3485446L, worklistShardItemId#3485469L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3485398L]
Right keys [1]: [worklistShardItemId#3485469L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3485446L]
Input [3]: [worklistShardItemId#3485398L, worklistShardItemId#3485469L, orderProposalId#3485446L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3485446L]
Keys [1]: [orderProposalId#3485446L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3485446L]
(89) Exchange
Input [1]: [orderProposalId#3485446L]
Arguments: hashpartitioning(orderProposalId#3485446L, 30), ENSURE_REQUIREMENTS, [plan_id=1000818]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3485446L]
Keys [1]: [orderProposalId#3485446L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3485446L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3485446L]
Arguments: [orderProposalId#3485446L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3485391L]
Right keys [1]: [orderProposalId#3485446L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3485391L, shardId#3485390, coalesce(transform(optimizationGroups#3485393, lambdafunction(struct(optGroupId, lambda x_11595#3485388.optGroupId, minOrderProfile, lambda x_11595#3485388.minOrderProfile, assignmentDetails, lambda x_11595#3485388.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11595#3485388.minOrderGoal.dimensionType, unit, lambda x_11595#3485388.minOrderGoal.unit, unitUuid, lambda x_11595#3485388.minOrderGoal.unitUuid, goalValue, lambda x_11595#3485388.minOrderGoal.minOrderValue, calcValue, lambda x_11595#3485388.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11595#3485388, false)), []) AS optimizationGroups#3485387]
Input [4]: [shardId#3485390, orderProposalId#3485391L, optimizationGroups#3485393, orderProposalId#3485446L]
(94) Exchange
Input [3]: [orderProposalId#3485391L, shardId#3485390, optimizationGroups#3485387]
Arguments: hashpartitioning(coalesce(shardId#3485390, ), isnull(shardId#3485390), coalesce(orderProposalId#3485391L, 0), isnull(orderProposalId#3485391L), 30), ENSURE_REQUIREMENTS, [plan_id=1000827]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3485391L, shardId#3485390, optimizationGroups#3485387]
Arguments: [coalesce(shardId#3485390, ) ASC NULLS FIRST, isnull(shardId#3485390) ASC NULLS FIRST, coalesce(orderProposalId#3485391L, 0) ASC NULLS FIRST, isnull(orderProposalId#3485391L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3483106, ), isnull(shardId#3483106), coalesce(_extract_orderProposalId#3486142L, 0), isnull(_extract_orderProposalId#3486142L)]
Right keys [4]: [coalesce(shardId#3485390, ), isnull(shardId#3485390), coalesce(orderProposalId#3485391L, 0), isnull(orderProposalId#3485391L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3483106, named_struct(orderProposalId, _extract_orderProposalId#3486142L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3486134L, supplierGroup, _extract_supplierGroup#3486135, optimizationGroups, coalesce(optimizationGroups#3485387, []), supplier, _extract_supplier#3486136, supplyingPlant, _extract_supplyingPlant#3486137, orderDateTime, _extract_orderDateTime#3486138, itemGroups, _extract_itemGroups#3486139, previousOrderProposals, _extract_previousOrderProposals#3486140, parentItems, _extract_parentItems#3486141) AS orderProposal#3485494]
Input [14]: [shardId#3483106, _extract_orderProposalId#3486133L, _extract_originalReplenishmentRunId#3486134L, _extract_supplierGroup#3486135, _extract_supplier#3486136, _extract_supplyingPlant#3486137, _extract_orderDateTime#3486138, _extract_itemGroups#3486139, _extract_previousOrderProposals#3486140, _extract_parentItems#3486141, _extract_orderProposalId#3486142L, orderProposalId#3485391L, shardId#3485390, optimizationGroups#3485387]
(98) Filter
Input [1]: [orderProposal#3485494]
Condition : (size(orderProposal#3485494.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3485494.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3486913]
Input [1]: [orderProposal#3485494]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3486913]
Arguments: explode(_extract_deliveryDateTime#3486913), false, [numberOfOrderProposalItems#3486885]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3486885]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3486924L]
Results [1]: [count#3486925L]
(103) Exchange
Input [1]: [count#3486925L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1000954]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3486925L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3486890L]
Results [1]: [count(1)#3486890L AS count#3486886L]