digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 4 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 4 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 327433.0: task 919695))<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 327433.0: task 919728))<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 327433.0: task 919695))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1009070]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n310 ms (6 ms, 8 ms, 32 ms (stage 327433.0: task 919752))";
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>298 ms (6 ms, 8 ms, 32 ms (stage 327433.0: task 919752))<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#3520536), false, [numberOfOrderProposalItems#3520508]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3519117.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3520536]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (size(orderProposal#3519117.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [orderProposal#3519117], [(size(orderProposal#3519117.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, named_struct(orderProposalId, _extract_orderProposalId#3519765L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3519757L, supplierGroup, _extract_supplierGroup#3519758, optimizationGroups, coalesce(optimizationGroups#3519010, []), supplier, _extract_supplier#3519759, supplyingPlant, _extract_supplyingPlant#3519760, orderDateTime, _extract_orderDateTime#3519761, itemGroups, _extract_itemGroups#3519762, previousOrderProposals, _extract_previousOrderProposals#3519763, parentItems, _extract_parentItems#3519764) AS orderProposal#3519117]"];
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 327433.0: task 919695))" tooltip="SortMergeJoin [coalesce(shardId#3515802, ), isnull(shardId#3515802), coalesce(_extract_orderProposalId#3519765L, 0), isnull(_extract_orderProposalId#3519765L)], [coalesce(shardId#3519013, ), isnull(shardId#3519013), coalesce(orderProposalId#3519014L, 0), isnull(orderProposalId#3519014L)], 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 327433.0: task 919695))<br>peak memory total (min, med, max (stageId: taskId))<br>251.9 MiB (6.1 MiB, 8.1 MiB, 10.1 MiB (stage 327433.0: task 919697))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327433.0: task 919695))" tooltip="Sort [coalesce(shardId#3515802, ) ASC NULLS FIRST, isnull(shardId#3515802) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3519765L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3519765L) 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.7 MiB (420.4 KiB, 716.6 KiB, 922.9 KiB (stage 327433.0: task 919772))<br>merged fetch fallback count: 0<br>local blocks read: 823<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>217.2 MiB (5.7 MiB, 7.2 MiB, 9.0 MiB (stage 327432.0: task 919647))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>114 ms (2 ms, 3 ms, 27 ms (stage 327432.0: task 919670))<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 327433.0: task 919695))<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>20.7 MiB (556.2 KiB, 704.2 KiB, 876.1 KiB (stage 327432.0: task 919647))" tooltip="Exchange hashpartitioning(coalesce(shardId#3515802, ), isnull(shardId#3515802), coalesce(_extract_orderProposalId#3519765L, 0), isnull(_extract_orderProposalId#3519765L), 30), ENSURE_REQUIREMENTS, [plan_id=1008904]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, orderProposal#3518998.orderProposalId AS _extract_orderProposalId#3519756L, orderProposal#3518998.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3519757L, orderProposal#3518998.supplierGroup AS _extract_supplierGroup#3519758, orderProposal#3518998.supplier AS _extract_supplier#3519759, orderProposal#3518998.supplyingPlant AS _extract_supplyingPlant#3519760, orderProposal#3518998.orderDateTime AS _extract_orderDateTime#3519761, orderProposal#3518998.itemGroups AS _extract_itemGroups#3519762, orderProposal#3518998.previousOrderProposals AS _extract_previousOrderProposals#3519763, orderProposal#3518998.parentItems AS _extract_parentItems#3519764, orderProposal#3518998.orderProposalId AS _extract_orderProposalId#3519765L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, struct(orderProposalId, orderProposalId#3516472L, originalReplenishmentRunId, originalReplenishmentRunId#3518966L, supplierGroup, supplierGroup#3518967, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3518967) THEN supplier#3518968 END, supplyingPlant, supplyingPlant#3518969, orderDateTime, orderDateTime#3518970, itemGroups, itemGroups#3518971, previousOrderProposals, array_distinct(previousOrderProposals#3518973), parentItems, parentItems#3518972) AS orderProposal#3518998]"];
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>854 ms (16 ms, 19 ms, 97 ms (stage 327432.0: task 919647))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327432.0: task 919606))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3515802, orderProposalId#3516472L], functions=[max(originalReplenishmentRunId#3518904L), max(supplierGroup#3518905), max(supplier#3518906), max(supplyingPlant#3518907), max(orderDateTime#3518908), collect_list(itemGroup#3518965, 0, 0), collect_list(parentItems#3518909, 0, 0), collect_set(previousOrderProposals#3518911, 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>20.7 MiB (559.0 KiB, 707.1 KiB, 879.7 KiB (stage 327432.0: task 919647))<br>merged fetch fallback count: 0<br>local blocks read: 840<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>217.4 MiB (5.7 MiB, 7.4 MiB, 8.7 MiB (stage 327427.0: task 919542))<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>117 ms (2 ms, 3 ms, 23 ms (stage 327427.0: task 919581))<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 327432.0: task 919606))<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>20.7 MiB (555.8 KiB, 723.2 KiB, 851.5 KiB (stage 327427.0: task 919542))" tooltip="Exchange hashpartitioning(shardId#3515802, orderProposalId#3516472L, 30), ENSURE_REQUIREMENTS, [plan_id=1008900]"];
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>204 ms (4 ms, 4 ms, 31 ms (stage 327427.0: task 919542))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327427.0: task 919542))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3515802, orderProposalId#3516472L], functions=[partial_max(originalReplenishmentRunId#3518904L), partial_max(supplierGroup#3518905), partial_max(supplier#3518906), partial_max(supplyingPlant#3518907), partial_max(orderDateTime#3518908), partial_collect_list(itemGroup#3518965, 0, 0), partial_collect_list(parentItems#3518909, 0, 0), partial_collect_set(previousOrderProposals#3518911, 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.7 s (19 ms, 23 ms, 300 ms (stage 327427.0: task 919549))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327427.0: task 919542))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3515802, orderProposalId#3516472L, splitIndicator#3516477L, orderProposalItemGroupId#3516474], functions=[max(originalReplenishmentRunId#3516475L), max(supplierGroup#3516482), max(supplier#3516483), max(supplyingPlant#3516513), max(orderDateTime#3516490), collect_list(parentItem#3518856, 0, 0), collect_set(previousOrderProposal#3516478L, 0, 0), collect_list(item#3518887, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,131<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,131<br>local bytes read total (min, med, max (stageId: taskId))<br>23.7 MiB (637.5 KiB, 827.5 KiB, 973.6 KiB (stage 327427.0: task 919542))<br>merged fetch fallback count: 0<br>local blocks read: 750<br>remote merged chunks fetched: 0<br>remote blocks read: 150<br>data size total (min, med, max (stageId: taskId))<br>232.2 MiB (7.4 MiB, 7.7 MiB, 8.0 MiB (stage 327426.0: task 919384))<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>122 ms (2 ms, 3 ms, 23 ms (stage 327426.0: task 919524))<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>112 ms (0 ms, 0 ms, 89 ms (stage 327427.0: task 919542))<br>remote bytes read total (min, med, max (stageId: taskId))<br>4.8 MiB (119.6 KiB, 165.8 KiB, 203.5 KiB (stage 327427.0: task 919542))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>293 ms (1 ms, 1 ms, 220 ms (stage 327427.0: task 919542))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.4 MiB (939.5 KiB, 973.1 KiB, 997.9 KiB (stage 327426.0: task 919384))" tooltip="Exchange hashpartitioning(shardId#3515802, orderProposalId#3516472L, splitIndicator#3516477L, orderProposalItemGroupId#3516474, 30), ENSURE_REQUIREMENTS, [plan_id=1008897]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 58,131<br>time in aggregation build total (min, med, max (stageId: taskId))<br>14.0 s (222 ms, 398 ms, 783 ms (stage 327426.0: task 919382))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327426.0: task 919325))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3515802, orderProposalId#3516472L, splitIndicator#3516477L, orderProposalItemGroupId#3516474], functions=[partial_max(originalReplenishmentRunId#3516475L), partial_max(supplierGroup#3516482), partial_max(supplier#3516483), partial_max(supplyingPlant#3516513), partial_max(orderDateTime#3516490), partial_collect_list(parentItem#3518856, 0, 0), partial_collect_set(previousOrderProposal#3516478L, 0, 0), partial_collect_list(item#3518887, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, orderDateTime#3516490, splitIndicator#3516477L, orderProposalItemGroupId#3516474, previousOrderProposal#3516478L, parentItem#3518856, struct(itemId, orderProposalItemId#3516473, supplier, supplier#3516483, supplyingPlant, supplyingPlant#3516513, productGroup, productGroup#3516514, product, product#3516485, plant, plant#3516486, supplierSubRange, subrange#3516484, deliveryDateTime, deliveryDateTime#3516491, orderQuantity, coalesce((qty#3516316 * (cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11664#3518890.isOrderUnit, lambda x_11664#3518890, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11664#3518891.isOrderUnit, lambda x_11664#3518891, false)), 1, None, false).numerator as double))), qty#3516316), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11664#3518892.isOrderUnit, lambda x_11664#3518892, false)), 1, None, false).uom, orderQuantityBaseUom#3516495), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11664#3518893.isOrderUnit, lambda x_11664#3518893, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3516496), orderQuantityInBaseUnit, qty#3516316, orderQuantityBaseUom, ... 13 more fields) AS item#3518887]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, qty#3516316, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, productGroup#3516514, product#3516485, plant#3516486, subrange#3516484, orderDateTime#3516490, deliveryDateTime#3516491, logisticUnits#3516509, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, splitIndicator#3516477L, orderProposalItemId#3516473, orderProposalItemGroupId#3516474, previousOrderProposal#3516478L, struct(itemId, orderProposalItemId#3516473, itemGroupId, orderProposalItemGroupId#3516474, supplier, supplier#3516483, supplyingPlant, supplyingPlant#3516513, productGroup, productGroup#3516514, product, product#3516485, plant, plant#3516486, supplierSubRange, subrange#3516484, sourceOfSupplyUuid, sourceOfSupplyUuid#3516481, deliveryDateTime, deliveryDateTime#3516491, unitPrice, netPriceAmount#3516500, unitPriceCurrency, netPriceCurrencyCode#3516501, unitPriceQuantity, ... 37 more fields) AS parentItem#3518856]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, qty#3516316, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, productGroup#3516514, product#3516485, plant#3516486, subrange#3516484, orderDateTime#3516490, deliveryDateTime#3516491, availabilityDateTime#3516492, nextAvailabilityDateTime#3516493, logisticUnits#3516509, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, splitIndicator#3516477L, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, sourceOfSupplyUuid#3516481, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n16.1 s (286 ms, 425 ms, 936 ms (stage 327426.0: task 919382))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, productGroup#3516514, product#3516485, plant#3516486, subrange#3516484, orderDateTime#3516490, deliveryDateTime#3516491, availabilityDateTime#3516492, nextAvailabilityDateTime#3516493, logisticUnits#3516509, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, splitIndicator#3516477L, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter NOT (isFallbackOrderOnly#3516494 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 119,861" tooltip="InMemoryTableScan [availabilityDateTime#3516492, channelStreamSpecificKpis#3518148, constraintLabels#3516504, constraintOperators#3516505, constraintValues#3516507, deliveryDateTime#3516491, isFallbackOrderOnly#3516494, logisticUnits#3516509, measurements#3516502, minimumOrderQuantity#3516503, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, nextAvailabilityDateTime#3516493, optimizationGroups#3516510, orderDateTime#3516490, orderProposalId#3516472L, orderProposalItemGroupId#3516474, orderProposalItemId#3516473, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, originalReplenishmentRunId#3516475L, plant#3516486, ... 14 more fields], [NOT (isFallbackOrderOnly#3516494 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n18.6 s (370 ms, 572 ms, 854 ms (stage 327426.0: task 919441))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, ... 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 327426.0: task 919325))" tooltip="SortMergeJoin [shardId#3515802, worklistShardItemId#3516314L], [shardId#3518155, worklistShardItemId#3518156L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n23.5 s (515 ms, 711 ms, 1.1 s (stage 327426.0: task 919384))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, ... 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 327426.0: task 919325))" tooltip="SortMergeJoin [shardId#3515802, worklistShardItemId#3516314L], [shardId#3518142, worklistShardItemId#3518143L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n26.9 s (565 ms, 777 ms, 1.3 s (stage 327426.0: task 919384))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, ... 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 327426.0: task 919325))" tooltip="SortMergeJoin [shardId#3515802, worklistShardItemId#3516314L], [shardId#3518126, worklistShardItemId#3518127L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n27.7 s (566 ms, 779 ms, 1.4 s (stage 327426.0: task 919384))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>39 ms (1 ms, 1 ms, 3 ms (stage 327426.0: task 919322))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 327426.0: task 919325))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327426.0: task 919325))" tooltip="Sort [shardId#3515802 ASC NULLS FIRST, worklistShardItemId#3516314L 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.9 MiB (382.2 KiB, 568.7 KiB, 604.2 KiB (stage 327426.0: task 919496))<br>merged fetch fallback count: 0<br>local blocks read: 510<br>remote merged chunks fetched: 0<br>remote blocks read: 390<br>data size total (min, med, max (stageId: taskId))<br>138.2 MiB (4.5 MiB, 4.6 MiB, 4.7 MiB (stage 327424.0: task 919104))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>104 ms (2 ms, 3 ms, 12 ms (stage 327424.0: task 919129))<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 327426.0: task 919325))<br>remote bytes read total (min, med, max (stageId: taskId))<br>12.2 MiB (369.1 KiB, 388.3 KiB, 582.1 KiB (stage 327426.0: task 919324))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>192 ms (1 ms, 3 ms, 21 ms (stage 327426.0: task 919488))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.1 MiB (926.5 KiB, 961.6 KiB, 985.5 KiB (stage 327424.0: task 919104))" tooltip="Exchange hashpartitioning(shardId#3515802, worklistShardItemId#3516314L, 30), ENSURE_REQUIREMENTS, [plan_id=1008612]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n2.2 s (45 ms, 73 ms, 103 ms (stage 327424.0: task 919093))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, ... 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 327424.0: task 919072))" tooltip="SortMergeJoin [worklistShardItemId#3516314L], [worklistShardItemId#3516538L], LeftOuter, (shardId#3515802 = 0_5_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (46 ms, 76 ms, 180 ms (stage 327424.0: task 919070))";
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 327424.0: task 919072))<br>peak memory total (min, med, max (stageId: taskId))<br>64.0 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 327424.0: task 919104))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327424.0: task 919072))" tooltip="Sort [worklistShardItemId#3516314L 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>467.4 KiB (12.8 KiB, 16.8 KiB, 17.7 KiB (stage 327424.0: task 919081))<br>merged fetch fallback count: 0<br>local blocks read: 462<br>remote merged chunks fetched: 0<br>remote blocks read: 438<br>data size total (min, med, max (stageId: taskId))<br>6.4 MiB (207.5 KiB, 220.0 KiB, 231.5 KiB (stage 327421.0: task 918862))<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 327421.0: task 918884))<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>95 ms (0 ms, 0 ms, 28 ms (stage 327424.0: task 919109))<br>remote bytes read total (min, med, max (stageId: taskId))<br>444.7 KiB (12.8 KiB, 13.3 KiB, 17.7 KiB (stage 327424.0: task 919104))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>160 ms (1 ms, 2 ms, 31 ms (stage 327424.0: task 919109))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>912.1 KiB (28.2 KiB, 30.6 KiB, 31.9 KiB (stage 327421.0: task 918862))" tooltip="Exchange hashpartitioning(worklistShardItemId#3516314L, 30), ENSURE_REQUIREMENTS, [plan_id=1008593]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n147 ms (4 ms, 5 ms, 9 ms (stage 327421.0: task 918838))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3515802, item#3516313.worklistShardItemId AS worklistShardItemId#3516314L, item#3516313.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3516315, item#3516313.qty AS qty#3516316]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(items#3515804), [shardId#3515802], false, [item#3516313]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter ((size(items#3515804, true) > 0) AND isnotnull(items#3515804))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3515802, items#3515804], [(size(items#3515804, true) > 0), isnotnull(items#3515804)]"];
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#3515802) AND (shardId#3515802 = 0_5_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, optimizationInsights#3515808], [isnotnull(shardId#3515802), (shardId#3515802 = 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#3515802) AND (shardId#3515802 = 0_5_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3515802,orderProposalId#3515803L,items#3515804,optimizationGroups#3515805,isOptimal#3515806,lastModified#3515807,optimizationInsights#3515808]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (45 ms, 75 ms, 111 ms (stage 327424.0: task 919072))";
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 327424.0: task 919072))<br>peak memory total (min, med, max (stageId: taskId))<br>184.0 MiB (6.1 MiB, 6.1 MiB, 6.3 MiB (stage 327424.0: task 919104))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327424.0: task 919072))" tooltip="Sort [worklistShardItemId#3516538L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3516538L, orderProposalId#3516515L, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, originalReplenishmentRunId#3516557L, splitIndicator#3516534L, previousOrderProposal#3516535L, sourceOfSupplyUuid#3516529, supplierGroup#3516517, supplier#3516518, subrange#3516521, product#3516524, plant#3516519, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, isFallbackOrderOnly#3516532, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, netPriceAmount#3516551, netPriceCurrencyCode#3516552, ... 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>13.3 MiB (214.3 KiB, 598.0 KiB, 632.1 KiB (stage 327424.0: task 919081))<br>merged fetch fallback count: 0<br>local blocks read: 558<br>remote merged chunks fetched: 0<br>remote blocks read: 552<br>data size total (min, med, max (stageId: taskId))<br>133.6 MiB (3.5 MiB, 3.6 MiB, 3.7 MiB (stage 327420.0: task 918895))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>105 ms (2 ms, 2 ms, 4 ms (stage 327420.0: task 918984))<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>38 ms (0 ms, 0 ms, 22 ms (stage 327424.0: task 919133))<br>remote bytes read total (min, med, max (stageId: taskId))<br>13.4 MiB (281.0 KiB, 307.1 KiB, 715.4 KiB (stage 327424.0: task 919104))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>443 ms (4 ms, 9 ms, 38 ms (stage 327424.0: task 919133))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.7 MiB (717.6 KiB, 737.1 KiB, 763.0 KiB (stage 327420.0: task 918895))" tooltip="Exchange hashpartitioning(worklistShardItemId#3516538L, 30), REPARTITION_BY_NUM, [plan_id=1008603]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.4 s (132 ms, 164 ms, 354 ms (stage 327420.0: task 919030))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3516515L, orderProposalItemId#3516516, supplierGroup#3516517, supplier#3516518, plant#3516519, deliveryDateTime#3516520, subrange#3516521, supplyingPlant#3516522, productGroup#3516523, product#3516524, orderDateTime#3516525, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, sourceOfSupplyUuid#3516529, isFallbackOrderOnly#3516532, splitIndicator#3516534L, previousOrderProposal#3516535L, worklistShardItemId#3516538L, orderProposalItemGroupId#3516539, externalProductId#3516540, externalPlantId#3516541, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, minimumOrderQuantity#3516545, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter isnotnull(worklistShardItemId#3516538L)"];
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.5 s (118 ms, 148 ms, 219 ms (stage 327420.0: task 918910))<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#3516515L,orderProposalItemId#3516516,supplierGroup#3516517,supplier#3516518,plant#3516519,deliveryDateTime#3516520,subrange#3516521,supplyingPlant#3516522,productGroup#3516523,product#3516524,orderDateTime#3516525,availabilityDateTime#3516526,nextAvailabilityDateTime#3516527,sourceOfSupplyUuid#3516529,isFallbackOrderOnly#3516532,splitIndicator#3516534L,previousOrderProposal#3516535L,worklistShardItemId#3516538L,orderProposalItemGroupId#3516539,externalProductId#3516540,externalPlantId#3516541,logisticUnits#3516542,orderQuantityBaseUom#3516543,orderQuantityBaseUomUuid#3516544,minimumOrderQuantity#3516545,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3516538L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3516559), isnotnull(sequenceId#3516537), (shardId#3516559 = 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>591 ms (12 ms, 15 ms, 53 ms (stage 327426.0: task 919524))<br>peak memory total (min, med, max (stageId: taskId))<br>555.0 MiB (18.5 MiB, 18.5 MiB, 18.5 MiB (stage 327426.0: task 919325))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327426.0: task 919325))" tooltip="Sort [shardId#3518126 ASC NULLS FIRST, worklistShardItemId#3518127L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 485,822<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 485,822<br>local bytes read total (min, med, max (stageId: taskId))<br>2.9 MiB (42.1 KiB, 45.8 KiB, 366.9 KiB (stage 327426.0: task 919324))<br>merged fetch fallback count: 0<br>local blocks read: 130<br>remote merged chunks fetched: 0<br>remote blocks read: 770<br>data size total (min, med, max (stageId: taskId))<br>496.7 MiB (16.3 MiB, 16.6 MiB, 16.8 MiB (stage 327422.0: task 919058))<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>96 ms (2 ms, 2 ms, 14 ms (stage 327422.0: task 919208))<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 327426.0: task 919325))<br>remote bytes read total (min, med, max (stageId: taskId))<br>17.1 MiB (314.4 KiB, 634.2 KiB, 651.8 KiB (stage 327426.0: task 919384))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>638 ms (5 ms, 11 ms, 117 ms (stage 327426.0: task 919497))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.0 MiB (671.9 KiB, 683.0 KiB, 692.1 KiB (stage 327422.0: task 919230))" tooltip="Exchange hashpartitioning(shardId#3518126, worklistShardItemId#3518127L, 30), ENSURE_REQUIREMENTS, [plan_id=1008618]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n23.5 s (617 ms, 771 ms, 1.1 s (stage 327422.0: task 919126))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3518126, worklistShardItemId#3518127L, coalesce(kpis#3518131, []) AS prodLocSpecificKpis#3518132]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 485,822" tooltip="Filter (((isnull(qty#3518128) AND isnull(demandChannel#3518129)) AND isnull(demandStream#3518130)) AND (isnotnull(shardId#3518126) AND isnotnull(worklistShardItemId#3518127L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,943,288" tooltip="Scan ExistingRDD[shardId#3518126,worklistShardItemId#3518127L,qty#3518128,demandChannel#3518129,demandStream#3518130,kpis#3518131]"];
}
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>41 ms (0 ms, 1 ms, 13 ms (stage 327426.0: task 919386))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 327426.0: task 919325))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327426.0: task 919325))" tooltip="Sort [shardId#3518142 ASC NULLS FIRST, worklistShardItemId#3518143L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 485,822<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.3 s (20 ms, 38 ms, 131 ms (stage 327426.0: task 919497))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327426.0: task 919325))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3518142, worklistShardItemId#3518143L], functions=[collect_list(struct(demandChannel, demandChannel#3518145, demandStream, demandStream#3518146, kpis, kpis#3518147), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 485,822<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 485,822<br>local bytes read total (min, med, max (stageId: taskId))<br>1641.0 KiB (43.9 KiB, 45.4 KiB, 104.4 KiB (stage 327426.0: task 919324))<br>merged fetch fallback count: 0<br>local blocks read: 255<br>remote merged chunks fetched: 0<br>remote blocks read: 645<br>data size total (min, med, max (stageId: taskId))<br>192.7 MiB (6.3 MiB, 6.4 MiB, 6.5 MiB (stage 327423.0: task 919039))<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>67 ms (1 ms, 1 ms, 13 ms (stage 327423.0: task 919195))<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>300 ms (0 ms, 0 ms, 99 ms (stage 327426.0: task 919497))<br>remote bytes read total (min, med, max (stageId: taskId))<br>4.1 MiB (89.0 KiB, 147.9 KiB, 153.6 KiB (stage 327426.0: task 919496))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>648 ms (4 ms, 11 ms, 151 ms (stage 327426.0: task 919497))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>5.7 MiB (190.5 KiB, 193.7 KiB, 196.0 KiB (stage 327423.0: task 919075))" tooltip="Exchange hashpartitioning(shardId#3518142, worklistShardItemId#3518143L, 30), ENSURE_REQUIREMENTS, [plan_id=1008629]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 485,822<br>time in aggregation build total (min, med, max (stageId: taskId))<br>23.8 s (623 ms, 706 ms, 1.7 s (stage 327423.0: task 918933))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327423.0: task 918840))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3518142, worklistShardItemId#3518143L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3518145, demandStream, demandStream#3518146, kpis, kpis#3518147), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n23.3 s (612 ms, 692 ms, 1.7 s (stage 327423.0: task 918933))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3518142, worklistShardItemId#3518143L, demandChannel#3518145, demandStream#3518146, kpis#3518147]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 485,822" tooltip="Filter ((((isnull(qty#3518144) AND isnotnull(demandChannel#3518145)) AND isnotnull(demandStream#3518146)) AND (size(kpis#3518147, true) > 0)) AND (isnotnull(shardId#3518142) AND isnotnull(worklistShardItemId#3518143L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,943,288" tooltip="Scan ExistingRDD[shardId#3518142,worklistShardItemId#3518143L,qty#3518144,demandChannel#3518145,demandStream#3518146,kpis#3518147]"];
}
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>43 ms (1 ms, 1 ms, 14 ms (stage 327426.0: task 919523))<br>peak memory total (min, med, max (stageId: taskId))<br>611.0 MiB (18.5 MiB, 20.5 MiB, 20.5 MiB (stage 327426.0: task 919325))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327426.0: task 919325))" tooltip="Sort [shardId#3518155 ASC NULLS FIRST, worklistShardItemId#3518156L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 485,822<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.0 s (41 ms, 68 ms, 90 ms (stage 327426.0: task 919322))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327426.0: task 919325))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3518155, worklistShardItemId#3518156L], functions=[collect_list(struct(qty, qty#3518157, kpis, kpis#3518160), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 955,268<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 955,268<br>local bytes read total (min, med, max (stageId: taskId))<br>5.5 MiB (62.2 KiB, 211.6 KiB, 219.8 KiB (stage 327426.0: task 919496))<br>merged fetch fallback count: 0<br>local blocks read: 265<br>remote merged chunks fetched: 0<br>remote blocks read: 635<br>data size total (min, med, max (stageId: taskId))<br>591.8 MiB (19.6 MiB, 19.7 MiB, 19.9 MiB (stage 327425.0: task 918841))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>91 ms (2 ms, 2 ms, 11 ms (stage 327425.0: task 919190))<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 327426.0: task 919325))<br>remote bytes read total (min, med, max (stageId: taskId))<br>13.2 MiB (415.4 KiB, 425.4 KiB, 580.7 KiB (stage 327426.0: task 919324))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>268 ms (5 ms, 6 ms, 32 ms (stage 327426.0: task 919507))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>18.7 MiB (630.8 KiB, 636.7 KiB, 641.8 KiB (stage 327425.0: task 919217))" tooltip="Exchange hashpartitioning(shardId#3518155, worklistShardItemId#3518156L, 30), ENSURE_REQUIREMENTS, [plan_id=1008641]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 955,268<br>time in aggregation build total (min, med, max (stageId: taskId))<br>24.9 s (651 ms, 750 ms, 1.9 s (stage 327425.0: task 918979))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327425.0: task 918841))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3518155, worklistShardItemId#3518156L], functions=[partial_collect_list(struct(qty, qty#3518157, kpis, kpis#3518160), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n23.6 s (620 ms, 708 ms, 1.7 s (stage 327425.0: task 918979))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3518155, worklistShardItemId#3518156L, qty#3518157, kpis#3518160]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 971,644" tooltip="Filter ((isnotnull(qty#3518157) AND isnotnull(kpis#3518160)) AND (isnotnull(shardId#3518155) AND isnotnull(worklistShardItemId#3518156L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,943,288" tooltip="Scan ExistingRDD[shardId#3518155,worklistShardItemId#3518156L,qty#3518157,demandChannel#3518158,demandStream#3518159,kpis#3518160]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (24 ms, 45 ms, 246 ms (stage 327433.0: task 919697))";
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 327433.0: task 919695))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 327433.0: task 919695))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327433.0: task 919695))" tooltip="Sort [coalesce(shardId#3519013, ) ASC NULLS FIRST, isnull(shardId#3519013) ASC NULLS FIRST, coalesce(orderProposalId#3519014L, 0) ASC NULLS FIRST, isnull(orderProposalId#3519014L) 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>83.7 KiB (2.3 KiB, 2.8 KiB, 3.1 KiB (stage 327433.0: task 919731))<br>merged fetch fallback count: 0<br>local blocks read: 622<br>remote merged chunks fetched: 0<br>remote blocks read: 213<br>data size total (min, med, max (stageId: taskId))<br>129.1 KiB (3.7 KiB, 4.2 KiB, 5.4 KiB (stage 327431.0: task 919158))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>45 ms (1 ms, 1 ms, 3 ms (stage 327431.0: task 919150))<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 327433.0: task 919695))<br>remote bytes read total (min, med, max (stageId: taskId))<br>28.7 KiB (676.0 B, 1024.0 B, 1217.0 B (stage 327433.0: task 919743))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>27 ms (0 ms, 1 ms, 3 ms (stage 327433.0: task 919768))<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.7 KiB, 4.1 KiB (stage 327431.0: task 919163))" tooltip="Exchange hashpartitioning(coalesce(shardId#3519013, ), isnull(shardId#3519013), coalesce(orderProposalId#3519014L, 0), isnull(orderProposalId#3519014L), 30), ENSURE_REQUIREMENTS, [plan_id=1008943]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3519014L, shardId#3519013, coalesce(transform(optimizationGroups#3519016, lambdafunction(struct(optGroupId, lambda x_11668#3519011.optGroupId, minOrderProfile, lambda x_11668#3519011.minOrderProfile, assignmentDetails, lambda x_11668#3519011.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11668#3519011.minOrderGoal.dimensionType, unit, lambda x_11668#3519011.minOrderGoal.unit, unitUuid, lambda x_11668#3519011.minOrderGoal.unitUuid, goalValue, lambda x_11668#3519011.minOrderGoal.minOrderValue, calcValue, lambda x_11668#3519011.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11668#3519011, false)), []) AS optimizationGroups#3519010]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n714 ms (9 ms, 11 ms, 99 ms (stage 327431.0: task 919149))";
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 327431.0: task 919147))" tooltip="SortMergeJoin [orderProposalId#3519014L], [orderProposalId#3519069L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (10 ms, 11 ms, 312 ms (stage 327431.0: task 919149))";
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 327431.0: task 919147))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 327431.0: task 919147))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327431.0: task 919147))" tooltip="Sort [orderProposalId#3519014L 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>43.0 KiB (805.0 B, 975.0 B, 3.0 KiB (stage 327431.0: task 919170))<br>merged fetch fallback count: 0<br>local blocks read: 323<br>remote merged chunks fetched: 0<br>remote blocks read: 527<br>data size total (min, med, max (stageId: taskId))<br>129.1 KiB (4.1 KiB, 4.3 KiB, 4.5 KiB (stage 327429.0: task 918851))<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 327429.0: task 918879))<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>40 ms (0 ms, 0 ms, 15 ms (stage 327431.0: task 919172))<br>remote bytes read total (min, med, max (stageId: taskId))<br>70.9 KiB (817.0 B, 2.7 KiB, 3.3 KiB (stage 327431.0: task 919168))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>253 ms (4 ms, 5 ms, 39 ms (stage 327431.0: task 919149))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>113.9 KiB (3.4 KiB, 3.8 KiB, 4.0 KiB (stage 327429.0: task 918859))" tooltip="Exchange hashpartitioning(orderProposalId#3519014L, 30), ENSURE_REQUIREMENTS, [plan_id=1008909]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n327 ms (3 ms, 4 ms, 93 ms (stage 327429.0: task 918900))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter isnotnull(orderProposalId#3519014L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3519013, orderProposalId#3519014L, optimizationGroups#3519016], [isnotnull(orderProposalId#3519014L)]"];
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#3515802) AND (shardId#3515802 = 0_5_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, optimizationInsights#3515808], [isnotnull(shardId#3515802), (shardId#3515802 = 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#3515802) AND (shardId#3515802 = 0_5_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3515802,orderProposalId#3515803L,items#3515804,optimizationGroups#3515805,isOptimal#3515806,lastModified#3515807,optimizationInsights#3515808]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n801 ms (9 ms, 11 ms, 126 ms (stage 327431.0: task 919150))";
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 327431.0: task 919147))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 327431.0: task 919147))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 327431.0: task 919147))" tooltip="Sort [orderProposalId#3519069L 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>161 ms (2 ms, 2 ms, 29 ms (stage 327431.0: task 919155))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 327431.0: task 919147))<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#3519069L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,106<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,106<br>local bytes read total (min, med, max (stageId: taskId))<br>284.6 KiB (11.2 KiB, 12.8 KiB, 15.5 KiB (stage 327431.0: task 919158))<br>merged fetch fallback count: 0<br>local blocks read: 374<br>remote merged chunks fetched: 0<br>remote blocks read: 526<br>data size total (min, med, max (stageId: taskId))<br>907.9 KiB (29.7 KiB, 30.3 KiB, 30.8 KiB (stage 327430.0: task 919100))<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>46 ms (1 ms, 1 ms, 1 ms (stage 327430.0: task 919087))<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 327431.0: task 919147))<br>remote bytes read total (min, med, max (stageId: taskId))<br>389.8 KiB (8.5 KiB, 10.2 KiB, 22.7 KiB (stage 327431.0: task 919171))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>176 ms (3 ms, 4 ms, 29 ms (stage 327431.0: task 919171))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>674.4 KiB (22.1 KiB, 22.5 KiB, 22.8 KiB (stage 327430.0: task 919100))" tooltip="Exchange hashpartitioning(orderProposalId#3519069L, 30), ENSURE_REQUIREMENTS, [plan_id=1008934]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n841 ms (8 ms, 11 ms, 226 ms (stage 327430.0: task 919086))";
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>370 ms (5 ms, 6 ms, 43 ms (stage 327430.0: task 919132))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 327430.0: task 919087))<br>number of output rows: 58,106<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3519069L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3519069L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 119,861" tooltip="BroadcastHashJoin [worklistShardItemId#3519021L], [worklistShardItemId#3519092L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3519092L, orderProposalId#3519069L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 9 ms<br>time to build: 22 ms<br>time to collect: 417 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=1008920]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n189 ms (1 ms, 7 ms, 9 ms (stage 327419.0: task 918801))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3519020L AS worklistShardItemId#3519021L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(_extract_worklistShardItemId#3519661), false, [item#3519020L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3518642.worklistShardItemId AS _extract_worklistShardItemId#3519661]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (((size(items#3518642.worklistShardItemId, true) > 0) AND isnotnull(items#3518642.worklistShardItemId)) AND (shardId#3518640 = 0_5_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [items#3518642, shardId#3518640], [(size(items#3518642.worklistShardItemId, true) > 0), isnotnull(items#3518642.worklistShardItemId), (shardId#3518640 = 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#3515802) AND (shardId#3515802 = 0_5_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, optimizationInsights#3515808], [isnotnull(shardId#3515802), (shardId#3515802 = 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#3515802) AND (shardId#3515802 = 0_5_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3515802,orderProposalId#3515803L,items#3515804,optimizationGroups#3515805,isOptimal#3515806,lastModified#3515807,optimizationInsights#3515808]"];
}
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>618.8 KiB (13.7 KiB, 25.0 KiB, 26.0 KiB (stage 327430.0: task 919112))<br>merged fetch fallback count: 0<br>local blocks read: 389<br>remote merged chunks fetched: 0<br>remote blocks read: 721<br>data size total (min, med, max (stageId: taskId))<br>2.7 MiB (73.5 KiB, 75.8 KiB, 78.4 KiB (stage 327428.0: task 918898))<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>59 ms (1 ms, 1 ms, 2 ms (stage 327428.0: task 918927))<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>126 ms (0 ms, 0 ms, 23 ms (stage 327430.0: task 919138))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1150.5 KiB (32.8 KiB, 34.8 KiB, 45.2 KiB (stage 327430.0: task 919127))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>309 ms (4 ms, 7 ms, 31 ms (stage 327430.0: task 919138))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1769.3 KiB (46.6 KiB, 47.7 KiB, 49.2 KiB (stage 327428.0: task 918898))" tooltip="Exchange hashpartitioning(worklistShardItemId#3519092L, 30), REPARTITION_BY_NUM, [plan_id=1008927]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n5.5 s (122 ms, 139 ms, 218 ms (stage 327428.0: task 918842))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3519069L, worklistShardItemId#3519092L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter ((isnotnull(worklistShardItemId#3519092L) AND NOT (isFallbackOrderOnly#3519086 <=> true)) AND isnotnull(orderProposalId#3519069L))"];
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.3 s (118 ms, 133 ms, 204 ms (stage 327428.0: task 918842))<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#3519069L,isFallbackOrderOnly#3519086,worklistShardItemId#3519092L,shardId#3519113,sequenceId#3519091] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3519092L), NOT (isFallbackOrderOnly#3519086 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3519113), isnotnull(sequenceId#3519091), (shardId#3519113 = 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#3519117]
Arguments: [orderProposal#3519117], [(size(orderProposal#3519117.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3515802, orderProposal#3519117], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3516492, channelStreamSpecificKpis#3518148, constraintLabels#3516504, constraintOperators#3516505, constraintValues#3516507, deliveryDateTime#3516491, isFallbackOrderOnly#3516494, logisticUnits#3516509, measurements#3516502, minimumOrderQuantity#3516503, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, nextAvailabilityDateTime#3516493, optimizationGroups#3516510, orderDateTime#3516490, orderProposalId#3516472L, orderProposalItemGroupId#3516474, orderProposalItemId#3516473, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, originalReplenishmentRunId#3516475L, plant#3516486, previousOrderProposal#3516478L, prodLocSpecificKpis#3518133, product#3516485, productGroup#3516514, qty#3516316, quantityAfterProdPlantOptimization#3516315, quantityKpis#3518161, shardId#3515802, sourceOfSupplyUuid#3516481, splitIndicator#3516477L, subrange#3516484, supplier#3516483, supplierGroup#3516482, supplyingPlant#3516513]
Arguments: [availabilityDateTime#3516492, channelStreamSpecificKpis#3518148, constraintLabels#3516504, constraintOperators#3516505, constraintValues#3516507, deliveryDateTime#3516491, isFallbackOrderOnly#3516494, logisticUnits#3516509, measurements#3516502, minimumOrderQuantity#3516503, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, nextAvailabilityDateTime#3516493, optimizationGroups#3516510, orderDateTime#3516490, orderProposalId#3516472L, orderProposalItemGroupId#3516474, orderProposalItemId#3516473, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, originalReplenishmentRunId#3516475L, plant#3516486, ... 14 more fields], [NOT (isFallbackOrderOnly#3516494 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, productGroup#3516514, product#3516485, plant#3516486, subrange#3516484, orderDateTime#3516490, deliveryDateTime#3516491, availabilityDateTime#3516492, nextAvailabilityDateTime#3516493, constraintValues#3516507, constraintOperators#3516505, constraintLabels#3516504, logisticUnits#3516509, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, splitIndicator#3516477L, netPriceAmount#3516500, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3515802, items#3515804]
Arguments: [shardId#3515802, items#3515804], [(size(items#3515804, true) > 0), isnotnull(items#3515804)]
(6) InMemoryRelation
Arguments: [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, optimizationInsights#3515808], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, optimizationInsights#3515808]
Arguments: [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, optimizationInsights#3515808], [isnotnull(shardId#3515802), (shardId#3515802 = 0_5_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, lastModified#3515807, optimizationInsights#3515808], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, lastModified#3515807, optimizationInsights#3515808]
Arguments: [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, lastModified#3515807, optimizationInsights#3515808], MapPartitionsRDD[149278] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, lastModified#3515807, optimizationInsights#3515808]
Condition : (isnotnull(shardId#3515802) AND (shardId#3515802 = 0_5_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3515802, orderProposalId#3515803L, items#3515804, optimizationGroups#3515805, isOptimal#3515806, optimizationInsights#3515808]
Condition : (isnotnull(shardId#3515802) AND (shardId#3515802 = 0_5_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3515802, items#3515804]
Condition : ((size(items#3515804, true) > 0) AND isnotnull(items#3515804))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3515802, items#3515804]
Arguments: explode(items#3515804), [shardId#3515802], false, [item#3516313]
(14) Project [codegen id : 1]
Output [4]: [shardId#3515802, item#3516313.worklistShardItemId AS worklistShardItemId#3516314L, item#3516313.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3516315, item#3516313.qty AS qty#3516316]
Input [2]: [shardId#3515802, item#3516313]
(15) Exchange
Input [4]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316]
Arguments: hashpartitioning(worklistShardItemId#3516314L, 30), ENSURE_REQUIREMENTS, [plan_id=1008593]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316]
Arguments: [worklistShardItemId#3516314L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3516515L, orderProposalItemId#3516516, supplierGroup#3516517, supplier#3516518, plant#3516519, deliveryDateTime#3516520, subrange#3516521, supplyingPlant#3516522, productGroup#3516523, product#3516524, orderDateTime#3516525, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, sourceOfSupplyUuid#3516529, isFallbackOrderOnly#3516532, splitIndicator#3516534L, previousOrderProposal#3516535L, worklistShardItemId#3516538L, orderProposalItemGroupId#3516539, externalProductId#3516540, externalPlantId#3516541, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, minimumOrderQuantity#3516545, constraintLabels#3516546, constraintOperators#3516547, constraintValues#3516548, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, measurements#3516556, originalReplenishmentRunId#3516557L, optimizationGroups#3516558, shardId#3516559, sequenceId#3516537]
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#3516559), isnotnull(sequenceId#3516537), (shardId#3516559 = 0_5_10000000532), (sequenceId#3516537 = 6)]
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#3516515L, orderProposalItemId#3516516, supplierGroup#3516517, supplier#3516518, plant#3516519, deliveryDateTime#3516520, subrange#3516521, supplyingPlant#3516522, productGroup#3516523, product#3516524, orderDateTime#3516525, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, sourceOfSupplyUuid#3516529, isFallbackOrderOnly#3516532, splitIndicator#3516534L, previousOrderProposal#3516535L, worklistShardItemId#3516538L, orderProposalItemGroupId#3516539, externalProductId#3516540, externalPlantId#3516541, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, minimumOrderQuantity#3516545, constraintLabels#3516546, constraintOperators#3516547, constraintValues#3516548, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, measurements#3516556, originalReplenishmentRunId#3516557L, optimizationGroups#3516558, shardId#3516559, sequenceId#3516537]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3516515L, orderProposalItemId#3516516, supplierGroup#3516517, supplier#3516518, plant#3516519, deliveryDateTime#3516520, subrange#3516521, supplyingPlant#3516522, productGroup#3516523, product#3516524, orderDateTime#3516525, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, sourceOfSupplyUuid#3516529, isFallbackOrderOnly#3516532, splitIndicator#3516534L, previousOrderProposal#3516535L, worklistShardItemId#3516538L, orderProposalItemGroupId#3516539, externalProductId#3516540, externalPlantId#3516541, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, minimumOrderQuantity#3516545, constraintLabels#3516546, constraintOperators#3516547, constraintValues#3516548, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, measurements#3516556, originalReplenishmentRunId#3516557L, optimizationGroups#3516558, shardId#3516559, sequenceId#3516537]
Condition : isnotnull(worklistShardItemId#3516538L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3516515L, orderProposalItemId#3516516, supplierGroup#3516517, supplier#3516518, plant#3516519, deliveryDateTime#3516520, subrange#3516521, supplyingPlant#3516522, productGroup#3516523, product#3516524, orderDateTime#3516525, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, sourceOfSupplyUuid#3516529, isFallbackOrderOnly#3516532, splitIndicator#3516534L, previousOrderProposal#3516535L, worklistShardItemId#3516538L, orderProposalItemGroupId#3516539, externalProductId#3516540, externalPlantId#3516541, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, minimumOrderQuantity#3516545, constraintLabels#3516546, constraintOperators#3516547, constraintValues#3516548, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, measurements#3516556, originalReplenishmentRunId#3516557L, optimizationGroups#3516558]
Input [38]: [orderProposalId#3516515L, orderProposalItemId#3516516, supplierGroup#3516517, supplier#3516518, plant#3516519, deliveryDateTime#3516520, subrange#3516521, supplyingPlant#3516522, productGroup#3516523, product#3516524, orderDateTime#3516525, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, sourceOfSupplyUuid#3516529, isFallbackOrderOnly#3516532, splitIndicator#3516534L, previousOrderProposal#3516535L, worklistShardItemId#3516538L, orderProposalItemGroupId#3516539, externalProductId#3516540, externalPlantId#3516541, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, minimumOrderQuantity#3516545, constraintLabels#3516546, constraintOperators#3516547, constraintValues#3516548, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, measurements#3516556, originalReplenishmentRunId#3516557L, optimizationGroups#3516558, shardId#3516559, sequenceId#3516537]
(21) Exchange
Input [36]: [orderProposalId#3516515L, orderProposalItemId#3516516, supplierGroup#3516517, supplier#3516518, plant#3516519, deliveryDateTime#3516520, subrange#3516521, supplyingPlant#3516522, productGroup#3516523, product#3516524, orderDateTime#3516525, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, sourceOfSupplyUuid#3516529, isFallbackOrderOnly#3516532, splitIndicator#3516534L, previousOrderProposal#3516535L, worklistShardItemId#3516538L, orderProposalItemGroupId#3516539, externalProductId#3516540, externalPlantId#3516541, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, minimumOrderQuantity#3516545, constraintLabels#3516546, constraintOperators#3516547, constraintValues#3516548, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, measurements#3516556, originalReplenishmentRunId#3516557L, optimizationGroups#3516558]
Arguments: hashpartitioning(worklistShardItemId#3516538L, 30), REPARTITION_BY_NUM, [plan_id=1008603]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3516538L, orderProposalId#3516515L, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, originalReplenishmentRunId#3516557L, splitIndicator#3516534L, previousOrderProposal#3516535L, sourceOfSupplyUuid#3516529, supplierGroup#3516517, supplier#3516518, subrange#3516521, product#3516524, plant#3516519, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, isFallbackOrderOnly#3516532, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, netPriceAmount#3516551, netPriceCurrencyCode#3516552, measurements#3516556, minimumOrderQuantity#3516545, constraintLabels#3516546, constraintOperators#3516547, constraintValues#3516548, logisticUnits#3516542, optimizationGroups#3516558, externalProductId#3516540, externalPlantId#3516541, supplyingPlant#3516522, productGroup#3516523]
Input [36]: [orderProposalId#3516515L, orderProposalItemId#3516516, supplierGroup#3516517, supplier#3516518, plant#3516519, deliveryDateTime#3516520, subrange#3516521, supplyingPlant#3516522, productGroup#3516523, product#3516524, orderDateTime#3516525, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, sourceOfSupplyUuid#3516529, isFallbackOrderOnly#3516532, splitIndicator#3516534L, previousOrderProposal#3516535L, worklistShardItemId#3516538L, orderProposalItemGroupId#3516539, externalProductId#3516540, externalPlantId#3516541, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, minimumOrderQuantity#3516545, constraintLabels#3516546, constraintOperators#3516547, constraintValues#3516548, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, measurements#3516556, originalReplenishmentRunId#3516557L, optimizationGroups#3516558]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3516538L, orderProposalId#3516515L, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, originalReplenishmentRunId#3516557L, splitIndicator#3516534L, previousOrderProposal#3516535L, sourceOfSupplyUuid#3516529, supplierGroup#3516517, supplier#3516518, subrange#3516521, product#3516524, plant#3516519, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, isFallbackOrderOnly#3516532, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, netPriceAmount#3516551, netPriceCurrencyCode#3516552, measurements#3516556, minimumOrderQuantity#3516545, constraintLabels#3516546, constraintOperators#3516547, constraintValues#3516548, logisticUnits#3516542, optimizationGroups#3516558, externalProductId#3516540, externalPlantId#3516541, supplyingPlant#3516522, productGroup#3516523]
Arguments: [worklistShardItemId#3516538L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3516314L]
Right keys [1]: [worklistShardItemId#3516538L]
Join type: LeftOuter
Join condition: (shardId#3515802 = 0_5_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, sourceOfSupplyUuid#3516529, minimumOrderQuantity#3516545, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, optimizationGroups#3516558, measurements#3516556, externalProductId#3516540, externalPlantId#3516541, previousOrderProposal#3516535L, isFallbackOrderOnly#3516532]
Input [40]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, worklistShardItemId#3516538L, orderProposalId#3516515L, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, originalReplenishmentRunId#3516557L, splitIndicator#3516534L, previousOrderProposal#3516535L, sourceOfSupplyUuid#3516529, supplierGroup#3516517, supplier#3516518, subrange#3516521, product#3516524, plant#3516519, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, isFallbackOrderOnly#3516532, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, netPriceAmount#3516551, netPriceCurrencyCode#3516552, measurements#3516556, minimumOrderQuantity#3516545, constraintLabels#3516546, constraintOperators#3516547, constraintValues#3516548, logisticUnits#3516542, optimizationGroups#3516558, externalProductId#3516540, externalPlantId#3516541, supplyingPlant#3516522, productGroup#3516523]
(26) Exchange
Input [39]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, sourceOfSupplyUuid#3516529, minimumOrderQuantity#3516545, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, optimizationGroups#3516558, measurements#3516556, externalProductId#3516540, externalPlantId#3516541, previousOrderProposal#3516535L, isFallbackOrderOnly#3516532]
Arguments: hashpartitioning(shardId#3515802, worklistShardItemId#3516314L, 30), ENSURE_REQUIREMENTS, [plan_id=1008612]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, sourceOfSupplyUuid#3516529, minimumOrderQuantity#3516545, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, optimizationGroups#3516558, measurements#3516556, externalProductId#3516540, externalPlantId#3516541, previousOrderProposal#3516535L, isFallbackOrderOnly#3516532]
Arguments: [shardId#3515802 ASC NULLS FIRST, worklistShardItemId#3516314L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3518126, worklistShardItemId#3518127L, qty#3518128, demandChannel#3518129, demandStream#3518130, kpis#3518131]
Arguments: [shardId#3518126, worklistShardItemId#3518127L, qty#3518128, demandChannel#3518129, demandStream#3518130, kpis#3518131], MapPartitionsRDD[149437] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3518126, worklistShardItemId#3518127L, qty#3518128, demandChannel#3518129, demandStream#3518130, kpis#3518131]
Condition : (((isnull(qty#3518128) AND isnull(demandChannel#3518129)) AND isnull(demandStream#3518130)) AND (isnotnull(shardId#3518126) AND isnotnull(worklistShardItemId#3518127L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3518126, worklistShardItemId#3518127L, coalesce(kpis#3518131, []) AS prodLocSpecificKpis#3518132]
Input [6]: [shardId#3518126, worklistShardItemId#3518127L, qty#3518128, demandChannel#3518129, demandStream#3518130, kpis#3518131]
(31) Exchange
Input [3]: [shardId#3518126, worklistShardItemId#3518127L, prodLocSpecificKpis#3518132]
Arguments: hashpartitioning(shardId#3518126, worklistShardItemId#3518127L, 30), ENSURE_REQUIREMENTS, [plan_id=1008618]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3518126, worklistShardItemId#3518127L, prodLocSpecificKpis#3518132]
Arguments: [shardId#3518126 ASC NULLS FIRST, worklistShardItemId#3518127L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3515802, worklistShardItemId#3516314L]
Right keys [2]: [shardId#3518126, worklistShardItemId#3518127L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, sourceOfSupplyUuid#3516529, minimumOrderQuantity#3516545, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, optimizationGroups#3516558, measurements#3516556, externalProductId#3516540, externalPlantId#3516541, previousOrderProposal#3516535L, isFallbackOrderOnly#3516532, coalesce(prodLocSpecificKpis#3518132, []) AS prodLocSpecificKpis#3518133]
Input [42]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, sourceOfSupplyUuid#3516529, minimumOrderQuantity#3516545, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, optimizationGroups#3516558, measurements#3516556, externalProductId#3516540, externalPlantId#3516541, previousOrderProposal#3516535L, isFallbackOrderOnly#3516532, shardId#3518126, worklistShardItemId#3518127L, prodLocSpecificKpis#3518132]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3518142, worklistShardItemId#3518143L, qty#3518144, demandChannel#3518145, demandStream#3518146, kpis#3518147]
Arguments: [shardId#3518142, worklistShardItemId#3518143L, qty#3518144, demandChannel#3518145, demandStream#3518146, kpis#3518147], MapPartitionsRDD[149437] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3518142, worklistShardItemId#3518143L, qty#3518144, demandChannel#3518145, demandStream#3518146, kpis#3518147]
Condition : ((((isnull(qty#3518144) AND isnotnull(demandChannel#3518145)) AND isnotnull(demandStream#3518146)) AND (size(kpis#3518147, true) > 0)) AND (isnotnull(shardId#3518142) AND isnotnull(worklistShardItemId#3518143L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3518142, worklistShardItemId#3518143L, demandChannel#3518145, demandStream#3518146, kpis#3518147]
Input [6]: [shardId#3518142, worklistShardItemId#3518143L, qty#3518144, demandChannel#3518145, demandStream#3518146, kpis#3518147]
(38) ObjectHashAggregate
Input [5]: [shardId#3518142, worklistShardItemId#3518143L, demandChannel#3518145, demandStream#3518146, kpis#3518147]
Keys [2]: [shardId#3518142, worklistShardItemId#3518143L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3518145, demandStream, demandStream#3518146, kpis, kpis#3518147), 0, 0)]
Aggregate Attributes [1]: [buf#3518394]
Results [3]: [shardId#3518142, worklistShardItemId#3518143L, buf#3518395]
(39) Exchange
Input [3]: [shardId#3518142, worklistShardItemId#3518143L, buf#3518395]
Arguments: hashpartitioning(shardId#3518142, worklistShardItemId#3518143L, 30), ENSURE_REQUIREMENTS, [plan_id=1008629]
(40) ObjectHashAggregate
Input [3]: [shardId#3518142, worklistShardItemId#3518143L, buf#3518395]
Keys [2]: [shardId#3518142, worklistShardItemId#3518143L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3518145, demandStream, demandStream#3518146, kpis, kpis#3518147), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3518145, demandStream, demandStream#3518146, kpis, kpis#3518147), 0, 0)#3518141]
Results [3]: [shardId#3518142, worklistShardItemId#3518143L, collect_list(struct(demandChannel, demandChannel#3518145, demandStream, demandStream#3518146, kpis, kpis#3518147), 0, 0)#3518141 AS channelStreamSpecificKpis#3518134]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3518142, worklistShardItemId#3518143L, channelStreamSpecificKpis#3518134]
Arguments: [shardId#3518142 ASC NULLS FIRST, worklistShardItemId#3518143L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3515802, worklistShardItemId#3516314L]
Right keys [2]: [shardId#3518142, worklistShardItemId#3518143L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, sourceOfSupplyUuid#3516529, minimumOrderQuantity#3516545, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, optimizationGroups#3516558, measurements#3516556, externalProductId#3516540, externalPlantId#3516541, previousOrderProposal#3516535L, isFallbackOrderOnly#3516532, prodLocSpecificKpis#3518133, coalesce(channelStreamSpecificKpis#3518134, []) AS channelStreamSpecificKpis#3518148]
Input [43]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, sourceOfSupplyUuid#3516529, minimumOrderQuantity#3516545, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, optimizationGroups#3516558, measurements#3516556, externalProductId#3516540, externalPlantId#3516541, previousOrderProposal#3516535L, isFallbackOrderOnly#3516532, prodLocSpecificKpis#3518133, shardId#3518142, worklistShardItemId#3518143L, channelStreamSpecificKpis#3518134]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3518155, worklistShardItemId#3518156L, qty#3518157, demandChannel#3518158, demandStream#3518159, kpis#3518160]
Arguments: [shardId#3518155, worklistShardItemId#3518156L, qty#3518157, demandChannel#3518158, demandStream#3518159, kpis#3518160], MapPartitionsRDD[149437] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3518155, worklistShardItemId#3518156L, qty#3518157, demandChannel#3518158, demandStream#3518159, kpis#3518160]
Condition : ((isnotnull(qty#3518157) AND isnotnull(kpis#3518160)) AND (isnotnull(shardId#3518155) AND isnotnull(worklistShardItemId#3518156L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3518155, worklistShardItemId#3518156L, qty#3518157, kpis#3518160]
Input [6]: [shardId#3518155, worklistShardItemId#3518156L, qty#3518157, demandChannel#3518158, demandStream#3518159, kpis#3518160]
(47) ObjectHashAggregate
Input [4]: [shardId#3518155, worklistShardItemId#3518156L, qty#3518157, kpis#3518160]
Keys [2]: [shardId#3518155, worklistShardItemId#3518156L]
Functions [1]: [partial_collect_list(struct(qty, qty#3518157, kpis, kpis#3518160), 0, 0)]
Aggregate Attributes [1]: [buf#3518396]
Results [3]: [shardId#3518155, worklistShardItemId#3518156L, buf#3518397]
(48) Exchange
Input [3]: [shardId#3518155, worklistShardItemId#3518156L, buf#3518397]
Arguments: hashpartitioning(shardId#3518155, worklistShardItemId#3518156L, 30), ENSURE_REQUIREMENTS, [plan_id=1008641]
(49) ObjectHashAggregate
Input [3]: [shardId#3518155, worklistShardItemId#3518156L, buf#3518397]
Keys [2]: [shardId#3518155, worklistShardItemId#3518156L]
Functions [1]: [collect_list(struct(qty, qty#3518157, kpis, kpis#3518160), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3518157, kpis, kpis#3518160), 0, 0)#3518154]
Results [3]: [shardId#3518155, worklistShardItemId#3518156L, map_from_entries(collect_list(struct(qty, qty#3518157, kpis, kpis#3518160), 0, 0)#3518154) AS quantityKpis#3518149]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3518155, worklistShardItemId#3518156L, quantityKpis#3518149]
Arguments: [shardId#3518155 ASC NULLS FIRST, worklistShardItemId#3518156L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3515802, worklistShardItemId#3516314L]
Right keys [2]: [shardId#3518155, worklistShardItemId#3518156L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, sourceOfSupplyUuid#3516529, minimumOrderQuantity#3516545, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, optimizationGroups#3516558, measurements#3516556, externalProductId#3516540, externalPlantId#3516541, previousOrderProposal#3516535L, isFallbackOrderOnly#3516532, prodLocSpecificKpis#3518133, channelStreamSpecificKpis#3518148, coalesce(quantityKpis#3518149, map(keys: [], values: [])) AS quantityKpis#3518161]
Input [44]: [shardId#3515802, worklistShardItemId#3516314L, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516515L, originalReplenishmentRunId#3516557L, supplierGroup#3516517, supplier#3516518, supplyingPlant#3516522, productGroup#3516523, product#3516524, plant#3516519, subrange#3516521, orderDateTime#3516525, deliveryDateTime#3516520, availabilityDateTime#3516526, nextAvailabilityDateTime#3516527, constraintValues#3516548, constraintOperators#3516547, constraintLabels#3516546, logisticUnits#3516542, orderQuantityBaseUom#3516543, orderQuantityBaseUomUuid#3516544, splitIndicator#3516534L, netPriceAmount#3516551, netPriceCurrencyCode#3516552, netPriceQuantity#3516553, netPriceQuantityUom#3516554, netPriceQuantityUomUuid#3516555, sourceOfSupplyUuid#3516529, minimumOrderQuantity#3516545, orderProposalItemId#3516516, orderProposalItemGroupId#3516539, optimizationGroups#3516558, measurements#3516556, externalProductId#3516540, externalPlantId#3516541, previousOrderProposal#3516535L, isFallbackOrderOnly#3516532, prodLocSpecificKpis#3518133, channelStreamSpecificKpis#3518148, shardId#3518155, worklistShardItemId#3518156L, quantityKpis#3518149]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3516492, channelStreamSpecificKpis#3518148, constraintLabels#3516504, constraintOperators#3516505, constraintValues#3516507, deliveryDateTime#3516491, isFallbackOrderOnly#3516494, logisticUnits#3516509, measurements#3516502, minimumOrderQuantity#3516503, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, nextAvailabilityDateTime#3516493, optimizationGroups#3516510, orderDateTime#3516490, orderProposalId#3516472L, orderProposalItemGroupId#3516474, orderProposalItemId#3516473, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, originalReplenishmentRunId#3516475L, plant#3516486, previousOrderProposal#3516478L, prodLocSpecificKpis#3518133, product#3516485, productGroup#3516514, qty#3516316, quantityAfterProdPlantOptimization#3516315, quantityKpis#3518161, shardId#3515802, sourceOfSupplyUuid#3516481, splitIndicator#3516477L, subrange#3516484, supplier#3516483, supplierGroup#3516482, supplyingPlant#3516513]
Condition : NOT (isFallbackOrderOnly#3516494 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3515802, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, productGroup#3516514, product#3516485, plant#3516486, subrange#3516484, orderDateTime#3516490, deliveryDateTime#3516491, availabilityDateTime#3516492, nextAvailabilityDateTime#3516493, logisticUnits#3516509, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, splitIndicator#3516477L, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, sourceOfSupplyUuid#3516481, minimumOrderQuantity#3516503, orderProposalItemId#3516473, orderProposalItemGroupId#3516474, optimizationGroups#3516510, measurements#3516502, previousOrderProposal#3516478L, prodLocSpecificKpis#3518133, channelStreamSpecificKpis#3518148, quantityKpis#3518161, arrays_zip(constraintLabels#3516504, constraintOperators#3516505, constraintValues#3516507, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3518647]
Input [39]: [availabilityDateTime#3516492, channelStreamSpecificKpis#3518148, constraintLabels#3516504, constraintOperators#3516505, constraintValues#3516507, deliveryDateTime#3516491, isFallbackOrderOnly#3516494, logisticUnits#3516509, measurements#3516502, minimumOrderQuantity#3516503, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, nextAvailabilityDateTime#3516493, optimizationGroups#3516510, orderDateTime#3516490, orderProposalId#3516472L, orderProposalItemGroupId#3516474, orderProposalItemId#3516473, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, originalReplenishmentRunId#3516475L, plant#3516486, previousOrderProposal#3516478L, prodLocSpecificKpis#3518133, product#3516485, productGroup#3516514, qty#3516316, quantityAfterProdPlantOptimization#3516315, quantityKpis#3518161, shardId#3515802, sourceOfSupplyUuid#3516481, splitIndicator#3516477L, subrange#3516484, supplier#3516483, supplierGroup#3516482, supplyingPlant#3516513]
(55) Project
Output [37]: [shardId#3515802, qty#3516316, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, productGroup#3516514, product#3516485, plant#3516486, subrange#3516484, orderDateTime#3516490, deliveryDateTime#3516491, availabilityDateTime#3516492, nextAvailabilityDateTime#3516493, logisticUnits#3516509, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, splitIndicator#3516477L, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, sourceOfSupplyUuid#3516481, orderProposalItemId#3516473, orderProposalItemGroupId#3516474, optimizationGroups#3516510, measurements#3516502, previousOrderProposal#3516478L, prodLocSpecificKpis#3518133, channelStreamSpecificKpis#3518148, quantityKpis#3518161, struct(minServiceLevel, array_min(filter(constraintStructArray#3518647, lambdafunction((lambda x_11614#3518654.constraintLabels = ServiceLevel), lambda x_11614#3518654, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3518647, lambdafunction((lambda x_11615#3518655.constraintLabels = ServiceLevelMinimumStock), lambda x_11615#3518655, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3518647, lambdafunction((lambda x_11616#3518656.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11616#3518656, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3518647, lambdafunction((lambda x_11617#3518657.constraintLabels = RangeOfCoverage), lambda x_11617#3518657, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3516503, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3518133, lambdafunction((lambda x_11618#3518658.label = NonListingStartTimestamp), lambda x_11618#3518658, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3518653, CASE WHEN (qty#3516316 <=> quantityAfterProdPlantOptimization#3516315) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3516316 * (cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11619#3518726.isOrderUnit, lambda x_11619#3518726, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11619#3518727.isOrderUnit, lambda x_11619#3518727, false)), 1, None, false).numerator as double))), qty#3516316), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11619#3518728.isOrderUnit, lambda x_11619#3518728, false)), 1, None, false).uom, orderQuantityBaseUom#3516495), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11619#3518729.isOrderUnit, lambda x_11619#3518729, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3516496), candidateOrderQuantityInBaseUnit, qty#3516316, orderQuantityBaseUom, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3516496, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3516509, lambdafunction((lambda x_11621#3518730.isPreferred AND (((qty#3516316 * cast(lambda x_11621#3518730.denominator as double)) % cast(lambda x_11621#3518730.numerator as double)) = 0.0)), lambda x_11621#3518730, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3516316 * cast(lambda x_11622#3518771.denominator as double)) / cast(lambda x_11622#3518771.numerator as double)), uom, lambda x_11622#3518771.uom, uomUuid, lambda x_11622#3518771.uomUuid), lambda x_11622#3518771, false))).inPreferredQuantity, coalesce((qty#3516316 * (cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11620#3518731.isOrderUnit, lambda x_11620#3518731, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11620#3518732.isOrderUnit, lambda x_11620#3518732, false)), 1, None, false).numerator as double))), qty#3516316)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3516509, lambdafunction((lambda x_11621#3518733.isPreferred AND (((qty#3516316 * cast(lambda x_11621#3518733.denominator as double)) % cast(lambda x_11621#3518733.numerator as double)) = 0.0)), lambda x_11621#3518733, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3516316 * cast(lambda x_11622#3518772.denominator as double)) / cast(lambda x_11622#3518772.numerator as double)), uom, lambda x_11622#3518772.uom, uomUuid, lambda x_11622#3518772.uomUuid), lambda x_11622#3518772, false))).uom, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11620#3518734.isOrderUnit, lambda x_11620#3518734, false)), 1, None, false).uom, orderQuantityBaseUom#3516495)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3516509, lambdafunction((lambda x_11621#3518735.isPreferred AND (((qty#3516316 * cast(lambda x_11621#3518735.denominator as double)) % cast(lambda x_11621#3518735.numerator as double)) = 0.0)), lambda x_11621#3518735, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3516316 * cast(lambda x_11622#3518773.denominator as double)) / cast(lambda x_11622#3518773.numerator as double)), uom, lambda x_11622#3518773.uom, uomUuid, lambda x_11622#3518773.uomUuid), lambda x_11622#3518773, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11620#3518736.isOrderUnit, lambda x_11620#3518736, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3516496)), serviceLevel, coalesce(filter(element_at(quantityKpis#3518161, qty#3516316, None, false), lambdafunction((lambda x_11627#3518737.label = ServiceLevel), lambda x_11627#3518737, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3516316 * (cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11619#3518741.isOrderUnit, lambda x_11619#3518741, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11619#3518742.isOrderUnit, lambda x_11619#3518742, false)), 1, None, false).numerator as double))), qty#3516316), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11619#3518743.isOrderUnit, lambda x_11619#3518743, false)), 1, None, false).uom, orderQuantityBaseUom#3516495), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11619#3518744.isOrderUnit, lambda x_11619#3518744, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3516496), candidateOrderQuantityInBaseUnit, qty#3516316, orderQuantityBaseUom, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3516496, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3516509, lambdafunction((lambda x_11621#3518745.isPreferred AND (((qty#3516316 * cast(lambda x_11621#3518745.denominator as double)) % cast(lambda x_11621#3518745.numerator as double)) = 0.0)), lambda x_11621#3518745, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3516316 * cast(lambda x_11622#3518774.denominator as double)) / cast(lambda x_11622#3518774.numerator as double)), uom, lambda x_11622#3518774.uom, uomUuid, lambda x_11622#3518774.uomUuid), lambda x_11622#3518774, false))).inPreferredQuantity, coalesce((qty#3516316 * (cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11620#3518746.isOrderUnit, lambda x_11620#3518746, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11620#3518747.isOrderUnit, lambda x_11620#3518747, false)), 1, None, false).numerator as double))), qty#3516316)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3516509, lambdafunction((lambda x_11621#3518748.isPreferred AND (((qty#3516316 * cast(lambda x_11621#3518748.denominator as double)) % cast(lambda x_11621#3518748.numerator as double)) = 0.0)), lambda x_11621#3518748, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3516316 * cast(lambda x_11622#3518775.denominator as double)) / cast(lambda x_11622#3518775.numerator as double)), uom, lambda x_11622#3518775.uom, uomUuid, lambda x_11622#3518775.uomUuid), lambda x_11622#3518775, false))).uom, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11620#3518749.isOrderUnit, lambda x_11620#3518749, false)), 1, None, false).uom, orderQuantityBaseUom#3516495)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3516509, lambdafunction((lambda x_11621#3518750.isPreferred AND (((qty#3516316 * cast(lambda x_11621#3518750.denominator as double)) % cast(lambda x_11621#3518750.numerator as double)) = 0.0)), lambda x_11621#3518750, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3516316 * cast(lambda x_11622#3518776.denominator as double)) / cast(lambda x_11622#3518776.numerator as double)), uom, lambda x_11622#3518776.uom, uomUuid, lambda x_11622#3518776.uomUuid), lambda x_11622#3518776, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11620#3518751.isOrderUnit, lambda x_11620#3518751, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3516496)), serviceLevel, coalesce(filter(element_at(quantityKpis#3518161, qty#3516316, None, false), lambdafunction((lambda x_11631#3518752.label = ServiceLevel), lambda x_11631#3518752, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3516315 * (cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11623#3518756.isOrderUnit, lambda x_11623#3518756, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11623#3518757.isOrderUnit, lambda x_11623#3518757, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3516315), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11623#3518758.isOrderUnit, lambda x_11623#3518758, false)), 1, None, false).uom, orderQuantityBaseUom#3516495), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11623#3518759.isOrderUnit, lambda x_11623#3518759, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3516496), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3516315, orderQuantityBaseUom, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3516496, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3516509, lambdafunction((lambda x_11625#3518760.isPreferred AND (((quantityAfterProdPlantOptimization#3516315 * cast(lambda x_11625#3518760.denominator as double)) % cast(lambda x_11625#3518760.numerator as double)) = 0.0)), lambda x_11625#3518760, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3516315 * cast(lambda x_11626#3518777.denominator as double)) / cast(lambda x_11626#3518777.numerator as double)), uom, lambda x_11626#3518777.uom, uomUuid, lambda x_11626#3518777.uomUuid), lambda x_11626#3518777, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3516315 * (cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11624#3518761.isOrderUnit, lambda x_11624#3518761, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11624#3518762.isOrderUnit, lambda x_11624#3518762, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3516315)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3516509, lambdafunction((lambda x_11625#3518763.isPreferred AND (((quantityAfterProdPlantOptimization#3516315 * cast(lambda x_11625#3518763.denominator as double)) % cast(lambda x_11625#3518763.numerator as double)) = 0.0)), lambda x_11625#3518763, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3516315 * cast(lambda x_11626#3518778.denominator as double)) / cast(lambda x_11626#3518778.numerator as double)), uom, lambda x_11626#3518778.uom, uomUuid, lambda x_11626#3518778.uomUuid), lambda x_11626#3518778, false))).uom, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11624#3518764.isOrderUnit, lambda x_11624#3518764, false)), 1, None, false).uom, orderQuantityBaseUom#3516495)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3516509, lambdafunction((lambda x_11625#3518765.isPreferred AND (((quantityAfterProdPlantOptimization#3516315 * cast(lambda x_11625#3518765.denominator as double)) % cast(lambda x_11625#3518765.numerator as double)) = 0.0)), lambda x_11625#3518765, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3516315 * cast(lambda x_11626#3518779.denominator as double)) / cast(lambda x_11626#3518779.numerator as double)), uom, lambda x_11626#3518779.uom, uomUuid, lambda x_11626#3518779.uomUuid), lambda x_11626#3518779, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11624#3518766.isOrderUnit, lambda x_11624#3518766, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3516496)), serviceLevel, coalesce(filter(element_at(quantityKpis#3518161, quantityAfterProdPlantOptimization#3516315, None, false), lambdafunction((lambda x_11635#3518767.label = ServiceLevel), lambda x_11635#3518767, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3518725, coalesce(filter(prodLocSpecificKpis#3518133, lambdafunction((lambda x_11639#3518781.label = InitialStockQty), lambda x_11639#3518781, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3518780, coalesce(filter(prodLocSpecificKpis#3518133, lambdafunction((lambda x_11640#3518783.label = DemandPeriodEndTimestamp), lambda x_11640#3518783, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3518782]
Input [36]: [shardId#3515802, quantityAfterProdPlantOptimization#3516315, qty#3516316, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, productGroup#3516514, product#3516485, plant#3516486, subrange#3516484, orderDateTime#3516490, deliveryDateTime#3516491, availabilityDateTime#3516492, nextAvailabilityDateTime#3516493, logisticUnits#3516509, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, splitIndicator#3516477L, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, sourceOfSupplyUuid#3516481, minimumOrderQuantity#3516503, orderProposalItemId#3516473, orderProposalItemGroupId#3516474, optimizationGroups#3516510, measurements#3516502, previousOrderProposal#3516478L, prodLocSpecificKpis#3518133, channelStreamSpecificKpis#3518148, quantityKpis#3518161, constraintStructArray#3518647]
(56) Project
Output [21]: [shardId#3515802, qty#3516316, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, productGroup#3516514, product#3516485, plant#3516486, subrange#3516484, orderDateTime#3516490, deliveryDateTime#3516491, logisticUnits#3516509, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, splitIndicator#3516477L, orderProposalItemId#3516473, orderProposalItemGroupId#3516474, previousOrderProposal#3516478L, struct(itemId, orderProposalItemId#3516473, itemGroupId, orderProposalItemGroupId#3516474, supplier, supplier#3516483, supplyingPlant, supplyingPlant#3516513, productGroup, productGroup#3516514, product, product#3516485, plant, plant#3516486, supplierSubRange, subrange#3516484, sourceOfSupplyUuid, sourceOfSupplyUuid#3516481, deliveryDateTime, deliveryDateTime#3516491, unitPrice, netPriceAmount#3516500, unitPriceCurrency, netPriceCurrencyCode#3516501, unitPriceQuantity, ... 37 more fields) AS parentItem#3518856]
Input [37]: [shardId#3515802, qty#3516316, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, productGroup#3516514, product#3516485, plant#3516486, subrange#3516484, orderDateTime#3516490, deliveryDateTime#3516491, availabilityDateTime#3516492, nextAvailabilityDateTime#3516493, logisticUnits#3516509, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, splitIndicator#3516477L, netPriceAmount#3516500, netPriceCurrencyCode#3516501, netPriceQuantity#3516497, netPriceQuantityUom#3516498, netPriceQuantityUomUuid#3516499, sourceOfSupplyUuid#3516481, orderProposalItemId#3516473, orderProposalItemGroupId#3516474, optimizationGroups#3516510, measurements#3516502, previousOrderProposal#3516478L, prodLocSpecificKpis#3518133, channelStreamSpecificKpis#3518148, quantityKpis#3518161, constraintBenchmark#3518653, calculationAnalysis#3518725, inventoryDateTime#3518780, demandPeriodEndDateTime#3518782]
(57) Project
Output [12]: [shardId#3515802, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, orderDateTime#3516490, splitIndicator#3516477L, orderProposalItemGroupId#3516474, previousOrderProposal#3516478L, parentItem#3518856, struct(itemId, orderProposalItemId#3516473, supplier, supplier#3516483, supplyingPlant, supplyingPlant#3516513, productGroup, productGroup#3516514, product, product#3516485, plant, plant#3516486, supplierSubRange, subrange#3516484, deliveryDateTime, deliveryDateTime#3516491, orderQuantity, coalesce((qty#3516316 * (cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11664#3518890.isOrderUnit, lambda x_11664#3518890, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11664#3518891.isOrderUnit, lambda x_11664#3518891, false)), 1, None, false).numerator as double))), qty#3516316), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11664#3518892.isOrderUnit, lambda x_11664#3518892, false)), 1, None, false).uom, orderQuantityBaseUom#3516495), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3516509, lambdafunction(lambda x_11664#3518893.isOrderUnit, lambda x_11664#3518893, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3516496), orderQuantityInBaseUnit, qty#3516316, orderQuantityBaseUom, ... 13 more fields) AS item#3518887]
Input [21]: [shardId#3515802, qty#3516316, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, productGroup#3516514, product#3516485, plant#3516486, subrange#3516484, orderDateTime#3516490, deliveryDateTime#3516491, logisticUnits#3516509, orderQuantityBaseUom#3516495, orderQuantityBaseUomUuid#3516496, splitIndicator#3516477L, orderProposalItemId#3516473, orderProposalItemGroupId#3516474, previousOrderProposal#3516478L, parentItem#3518856]
(58) ObjectHashAggregate
Input [12]: [shardId#3515802, orderProposalId#3516472L, originalReplenishmentRunId#3516475L, supplierGroup#3516482, supplier#3516483, supplyingPlant#3516513, orderDateTime#3516490, splitIndicator#3516477L, orderProposalItemGroupId#3516474, previousOrderProposal#3516478L, parentItem#3518856, item#3518887]
Keys [4]: [shardId#3515802, orderProposalId#3516472L, splitIndicator#3516477L, orderProposalItemGroupId#3516474]
Functions [8]: [partial_max(originalReplenishmentRunId#3516475L), partial_max(supplierGroup#3516482), partial_max(supplier#3516483), partial_max(supplyingPlant#3516513), partial_max(orderDateTime#3516490), partial_collect_list(parentItem#3518856, 0, 0), partial_collect_set(previousOrderProposal#3516478L, 0, 0), partial_collect_list(item#3518887, 0, 0)]
Aggregate Attributes [8]: [max#3520140L, max#3520141, max#3520142, max#3520143, max#3520144, buf#3520145, buf#3520146, buf#3520147]
Results [12]: [shardId#3515802, orderProposalId#3516472L, splitIndicator#3516477L, orderProposalItemGroupId#3516474, max#3520148L, max#3520149, max#3520150, max#3520151, max#3520152, buf#3520153, buf#3520154, buf#3520155]
(59) Exchange
Input [12]: [shardId#3515802, orderProposalId#3516472L, splitIndicator#3516477L, orderProposalItemGroupId#3516474, max#3520148L, max#3520149, max#3520150, max#3520151, max#3520152, buf#3520153, buf#3520154, buf#3520155]
Arguments: hashpartitioning(shardId#3515802, orderProposalId#3516472L, splitIndicator#3516477L, orderProposalItemGroupId#3516474, 30), ENSURE_REQUIREMENTS, [plan_id=1008897]
(60) ObjectHashAggregate
Input [12]: [shardId#3515802, orderProposalId#3516472L, splitIndicator#3516477L, orderProposalItemGroupId#3516474, max#3520148L, max#3520149, max#3520150, max#3520151, max#3520152, buf#3520153, buf#3520154, buf#3520155]
Keys [4]: [shardId#3515802, orderProposalId#3516472L, splitIndicator#3516477L, orderProposalItemGroupId#3516474]
Functions [8]: [max(originalReplenishmentRunId#3516475L), max(supplierGroup#3516482), max(supplier#3516483), max(supplyingPlant#3516513), max(orderDateTime#3516490), collect_list(parentItem#3518856, 0, 0), collect_set(previousOrderProposal#3516478L, 0, 0), collect_list(item#3518887, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3516475L)#3518956L, max(supplierGroup#3516482)#3518957, max(supplier#3516483)#3518958, max(supplyingPlant#3516513)#3518959, max(orderDateTime#3516490)#3518960, collect_list(parentItem#3518856, 0, 0)#3518961, collect_set(previousOrderProposal#3516478L, 0, 0)#3518963, collect_list(item#3518887, 0, 0)#3518962]
Results [10]: [shardId#3515802, orderProposalId#3516472L, max(originalReplenishmentRunId#3516475L)#3518956L AS originalReplenishmentRunId#3518904L, max(supplierGroup#3516482)#3518957 AS supplierGroup#3518905, max(supplier#3516483)#3518958 AS supplier#3518906, max(supplyingPlant#3516513)#3518959 AS supplyingPlant#3518907, max(orderDateTime#3516490)#3518960 AS orderDateTime#3518908, collect_list(parentItem#3518856, 0, 0)#3518961 AS parentItems#3518909, collect_set(previousOrderProposal#3516478L, 0, 0)#3518963 AS previousOrderProposals#3518911, struct(itemGroupId, orderProposalItemGroupId#3516474, items, collect_list(item#3518887, 0, 0)#3518962) AS itemGroup#3518965]
(61) ObjectHashAggregate
Input [10]: [shardId#3515802, orderProposalId#3516472L, originalReplenishmentRunId#3518904L, supplierGroup#3518905, supplier#3518906, supplyingPlant#3518907, orderDateTime#3518908, parentItems#3518909, previousOrderProposals#3518911, itemGroup#3518965]
Keys [2]: [shardId#3515802, orderProposalId#3516472L]
Functions [8]: [partial_max(originalReplenishmentRunId#3518904L), partial_max(supplierGroup#3518905), partial_max(supplier#3518906), partial_max(supplyingPlant#3518907), partial_max(orderDateTime#3518908), partial_collect_list(itemGroup#3518965, 0, 0), partial_collect_list(parentItems#3518909, 0, 0), partial_collect_set(previousOrderProposals#3518911, 0, 0)]
Aggregate Attributes [8]: [max#3520124L, max#3520125, max#3520126, max#3520127, max#3520128, buf#3520129, buf#3520130, buf#3520131]
Results [10]: [shardId#3515802, orderProposalId#3516472L, max#3520132L, max#3520133, max#3520134, max#3520135, max#3520136, buf#3520137, buf#3520138, buf#3520139]
(62) Exchange
Input [10]: [shardId#3515802, orderProposalId#3516472L, max#3520132L, max#3520133, max#3520134, max#3520135, max#3520136, buf#3520137, buf#3520138, buf#3520139]
Arguments: hashpartitioning(shardId#3515802, orderProposalId#3516472L, 30), ENSURE_REQUIREMENTS, [plan_id=1008900]
(63) ObjectHashAggregate
Input [10]: [shardId#3515802, orderProposalId#3516472L, max#3520132L, max#3520133, max#3520134, max#3520135, max#3520136, buf#3520137, buf#3520138, buf#3520139]
Keys [2]: [shardId#3515802, orderProposalId#3516472L]
Functions [8]: [max(originalReplenishmentRunId#3518904L), max(supplierGroup#3518905), max(supplier#3518906), max(supplyingPlant#3518907), max(orderDateTime#3518908), collect_list(itemGroup#3518965, 0, 0), collect_list(parentItems#3518909, 0, 0), collect_set(previousOrderProposals#3518911, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3518904L)#3518987L, max(supplierGroup#3518905)#3518988, max(supplier#3518906)#3518989, max(supplyingPlant#3518907)#3518990, max(orderDateTime#3518908)#3518991, collect_list(itemGroup#3518965, 0, 0)#3518992, collect_list(parentItems#3518909, 0, 0)#3518993, collect_set(previousOrderProposals#3518911, 0, 0)#3518994]
Results [10]: [shardId#3515802, orderProposalId#3516472L, max(originalReplenishmentRunId#3518904L)#3518987L AS originalReplenishmentRunId#3518966L, max(supplierGroup#3518905)#3518988 AS supplierGroup#3518967, max(supplier#3518906)#3518989 AS supplier#3518968, max(supplyingPlant#3518907)#3518990 AS supplyingPlant#3518969, max(orderDateTime#3518908)#3518991 AS orderDateTime#3518970, collect_list(itemGroup#3518965, 0, 0)#3518992 AS itemGroups#3518971, flatten(collect_list(parentItems#3518909, 0, 0)#3518993) AS parentItems#3518972, flatten(collect_set(previousOrderProposals#3518911, 0, 0)#3518994) AS previousOrderProposals#3518973]
(64) Project
Output [2]: [shardId#3515802, struct(orderProposalId, orderProposalId#3516472L, originalReplenishmentRunId, originalReplenishmentRunId#3518966L, supplierGroup, supplierGroup#3518967, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3518967) THEN supplier#3518968 END, supplyingPlant, supplyingPlant#3518969, orderDateTime, orderDateTime#3518970, itemGroups, itemGroups#3518971, previousOrderProposals, array_distinct(previousOrderProposals#3518973), parentItems, parentItems#3518972) AS orderProposal#3518998]
Input [10]: [shardId#3515802, orderProposalId#3516472L, originalReplenishmentRunId#3518966L, supplierGroup#3518967, supplier#3518968, supplyingPlant#3518969, orderDateTime#3518970, itemGroups#3518971, parentItems#3518972, previousOrderProposals#3518973]
(65) Project
Output [11]: [shardId#3515802, orderProposal#3518998.orderProposalId AS _extract_orderProposalId#3519756L, orderProposal#3518998.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3519757L, orderProposal#3518998.supplierGroup AS _extract_supplierGroup#3519758, orderProposal#3518998.supplier AS _extract_supplier#3519759, orderProposal#3518998.supplyingPlant AS _extract_supplyingPlant#3519760, orderProposal#3518998.orderDateTime AS _extract_orderDateTime#3519761, orderProposal#3518998.itemGroups AS _extract_itemGroups#3519762, orderProposal#3518998.previousOrderProposals AS _extract_previousOrderProposals#3519763, orderProposal#3518998.parentItems AS _extract_parentItems#3519764, orderProposal#3518998.orderProposalId AS _extract_orderProposalId#3519765L]
Input [2]: [shardId#3515802, orderProposal#3518998]
(66) Exchange
Input [11]: [shardId#3515802, _extract_orderProposalId#3519756L, _extract_originalReplenishmentRunId#3519757L, _extract_supplierGroup#3519758, _extract_supplier#3519759, _extract_supplyingPlant#3519760, _extract_orderDateTime#3519761, _extract_itemGroups#3519762, _extract_previousOrderProposals#3519763, _extract_parentItems#3519764, _extract_orderProposalId#3519765L]
Arguments: hashpartitioning(coalesce(shardId#3515802, ), isnull(shardId#3515802), coalesce(_extract_orderProposalId#3519765L, 0), isnull(_extract_orderProposalId#3519765L), 30), ENSURE_REQUIREMENTS, [plan_id=1008904]
(67) Sort
Input [11]: [shardId#3515802, _extract_orderProposalId#3519756L, _extract_originalReplenishmentRunId#3519757L, _extract_supplierGroup#3519758, _extract_supplier#3519759, _extract_supplyingPlant#3519760, _extract_orderDateTime#3519761, _extract_itemGroups#3519762, _extract_previousOrderProposals#3519763, _extract_parentItems#3519764, _extract_orderProposalId#3519765L]
Arguments: [coalesce(shardId#3515802, ) ASC NULLS FIRST, isnull(shardId#3515802) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3519765L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3519765L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3519013, orderProposalId#3519014L, optimizationGroups#3519016]
Arguments: [shardId#3519013, orderProposalId#3519014L, optimizationGroups#3519016], [isnotnull(orderProposalId#3519014L)]
(69) InMemoryRelation
Arguments: [shardId#3519013, orderProposalId#3519014L, items#3519015, optimizationGroups#3519016, isOptimal#3519017, optimizationInsights#3519019], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3519013, orderProposalId#3519014L, optimizationGroups#3519016]
Condition : isnotnull(orderProposalId#3519014L)
(71) Exchange
Input [3]: [shardId#3519013, orderProposalId#3519014L, optimizationGroups#3519016]
Arguments: hashpartitioning(orderProposalId#3519014L, 30), ENSURE_REQUIREMENTS, [plan_id=1008909]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3519013, orderProposalId#3519014L, optimizationGroups#3519016]
Arguments: [orderProposalId#3519014L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3518642, shardId#3518640]
Arguments: [items#3518642, shardId#3518640], [(size(items#3518642.worklistShardItemId, true) > 0), isnotnull(items#3518642.worklistShardItemId), (shardId#3518640 = 0_5_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3518640, orderProposalId#3518641L, items#3518642, optimizationGroups#3518643, isOptimal#3518644, optimizationInsights#3518646], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3518642, shardId#3518640]
Condition : (((size(items#3518642.worklistShardItemId, true) > 0) AND isnotnull(items#3518642.worklistShardItemId)) AND (shardId#3518640 = 0_5_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3518642.worklistShardItemId AS _extract_worklistShardItemId#3519661]
Input [2]: [items#3518642, shardId#3518640]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3519661]
Arguments: explode(_extract_worklistShardItemId#3519661), false, [item#3519020L]
(78) Project [codegen id : 4]
Output [1]: [item#3519020L AS worklistShardItemId#3519021L]
Input [1]: [item#3519020L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3519021L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1008920]
(80) Scan parquet
Output [5]: [orderProposalId#3519069L, isFallbackOrderOnly#3519086, worklistShardItemId#3519092L, shardId#3519113, sequenceId#3519091]
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#3519113), isnotnull(sequenceId#3519091), (shardId#3519113 = 0_5_10000000532), (sequenceId#3519091 = 6)]
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#3519069L, isFallbackOrderOnly#3519086, worklistShardItemId#3519092L, shardId#3519113, sequenceId#3519091]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3519069L, isFallbackOrderOnly#3519086, worklistShardItemId#3519092L, shardId#3519113, sequenceId#3519091]
Condition : ((isnotnull(worklistShardItemId#3519092L) AND NOT (isFallbackOrderOnly#3519086 <=> true)) AND isnotnull(orderProposalId#3519069L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3519069L, worklistShardItemId#3519092L]
Input [5]: [orderProposalId#3519069L, isFallbackOrderOnly#3519086, worklistShardItemId#3519092L, shardId#3519113, sequenceId#3519091]
(84) Exchange
Input [2]: [orderProposalId#3519069L, worklistShardItemId#3519092L]
Arguments: hashpartitioning(worklistShardItemId#3519092L, 30), REPARTITION_BY_NUM, [plan_id=1008927]
(85) Project
Output [2]: [worklistShardItemId#3519092L, orderProposalId#3519069L]
Input [2]: [orderProposalId#3519069L, worklistShardItemId#3519092L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3519021L]
Right keys [1]: [worklistShardItemId#3519092L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3519069L]
Input [3]: [worklistShardItemId#3519021L, worklistShardItemId#3519092L, orderProposalId#3519069L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3519069L]
Keys [1]: [orderProposalId#3519069L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3519069L]
(89) Exchange
Input [1]: [orderProposalId#3519069L]
Arguments: hashpartitioning(orderProposalId#3519069L, 30), ENSURE_REQUIREMENTS, [plan_id=1008934]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3519069L]
Keys [1]: [orderProposalId#3519069L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3519069L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3519069L]
Arguments: [orderProposalId#3519069L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3519014L]
Right keys [1]: [orderProposalId#3519069L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3519014L, shardId#3519013, coalesce(transform(optimizationGroups#3519016, lambdafunction(struct(optGroupId, lambda x_11668#3519011.optGroupId, minOrderProfile, lambda x_11668#3519011.minOrderProfile, assignmentDetails, lambda x_11668#3519011.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11668#3519011.minOrderGoal.dimensionType, unit, lambda x_11668#3519011.minOrderGoal.unit, unitUuid, lambda x_11668#3519011.minOrderGoal.unitUuid, goalValue, lambda x_11668#3519011.minOrderGoal.minOrderValue, calcValue, lambda x_11668#3519011.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11668#3519011, false)), []) AS optimizationGroups#3519010]
Input [4]: [shardId#3519013, orderProposalId#3519014L, optimizationGroups#3519016, orderProposalId#3519069L]
(94) Exchange
Input [3]: [orderProposalId#3519014L, shardId#3519013, optimizationGroups#3519010]
Arguments: hashpartitioning(coalesce(shardId#3519013, ), isnull(shardId#3519013), coalesce(orderProposalId#3519014L, 0), isnull(orderProposalId#3519014L), 30), ENSURE_REQUIREMENTS, [plan_id=1008943]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3519014L, shardId#3519013, optimizationGroups#3519010]
Arguments: [coalesce(shardId#3519013, ) ASC NULLS FIRST, isnull(shardId#3519013) ASC NULLS FIRST, coalesce(orderProposalId#3519014L, 0) ASC NULLS FIRST, isnull(orderProposalId#3519014L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3515802, ), isnull(shardId#3515802), coalesce(_extract_orderProposalId#3519765L, 0), isnull(_extract_orderProposalId#3519765L)]
Right keys [4]: [coalesce(shardId#3519013, ), isnull(shardId#3519013), coalesce(orderProposalId#3519014L, 0), isnull(orderProposalId#3519014L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3515802, named_struct(orderProposalId, _extract_orderProposalId#3519765L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3519757L, supplierGroup, _extract_supplierGroup#3519758, optimizationGroups, coalesce(optimizationGroups#3519010, []), supplier, _extract_supplier#3519759, supplyingPlant, _extract_supplyingPlant#3519760, orderDateTime, _extract_orderDateTime#3519761, itemGroups, _extract_itemGroups#3519762, previousOrderProposals, _extract_previousOrderProposals#3519763, parentItems, _extract_parentItems#3519764) AS orderProposal#3519117]
Input [14]: [shardId#3515802, _extract_orderProposalId#3519756L, _extract_originalReplenishmentRunId#3519757L, _extract_supplierGroup#3519758, _extract_supplier#3519759, _extract_supplyingPlant#3519760, _extract_orderDateTime#3519761, _extract_itemGroups#3519762, _extract_previousOrderProposals#3519763, _extract_parentItems#3519764, _extract_orderProposalId#3519765L, orderProposalId#3519014L, shardId#3519013, optimizationGroups#3519010]
(98) Filter
Input [1]: [orderProposal#3519117]
Condition : (size(orderProposal#3519117.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3519117.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3520536]
Input [1]: [orderProposal#3519117]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3520536]
Arguments: explode(_extract_deliveryDateTime#3520536), false, [numberOfOrderProposalItems#3520508]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3520508]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3520547L]
Results [1]: [count#3520548L]
(103) Exchange
Input [1]: [count#3520548L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1009070]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3520548L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3520513L]
Results [1]: [count(1)#3520513L AS count#3520509L]