digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 2 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 20<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 20<br>local bytes read: 723.0 B<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>320.0 B (16.0 B, 16.0 B, 16.0 B (stage 74629.0: task 183820))<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>3 ms (0 ms, 0 ms, 0 ms (stage 74629.0: task 183821))<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: 726.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>1449.0 B (72.0 B, 72.0 B, 75.0 B (stage 74629.0: task 183815))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=349913]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n14 ms (0 ms, 1 ms, 3 ms (stage 74629.0: task 183816))";
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>8 ms (0 ms, 0 ms, 2 ms (stage 74629.0: task 183815))<br>number of output rows: 20" 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: 6" tooltip="Generate explode(_extract_deliveryDateTime#897298), false, [numberOfOrderProposalItems#897270]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#895895.parentItems.deliveryDateTime AS _extract_deliveryDateTime#897298]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter (size(orderProposal#895895.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [orderProposal#895895], [(size(orderProposal#895895.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, named_struct(orderProposalId, _extract_orderProposalId#896543L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#896535L, supplierGroup, _extract_supplierGroup#896536, optimizationGroups, coalesce(optimizationGroups#895788, []), supplier, _extract_supplier#896537, supplyingPlant, _extract_supplyingPlant#896538, orderDateTime, _extract_orderDateTime#896539, itemGroups, _extract_itemGroups#896540, previousOrderProposals, _extract_previousOrderProposals#896541, parentItems, _extract_parentItems#896542) AS orderProposal#895895]"];
11 [id="node11" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 4" tooltip="BroadcastHashJoin [coalesce(shardId#893734, ), isnull(shardId#893734), coalesce(_extract_orderProposalId#896543L, 0), isnull(_extract_orderProposalId#896543L)], [coalesce(shardId#895791, ), isnull(shardId#895791), coalesce(orderProposalId#895792L, 0), isnull(orderProposalId#895792L)], LeftOuter, BuildRight, false"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, orderProposal#895768.orderProposalId AS _extract_orderProposalId#896534L, orderProposal#895768.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#896535L, orderProposal#895768.supplierGroup AS _extract_supplierGroup#896536, orderProposal#895768.supplier AS _extract_supplier#896537, orderProposal#895768.supplyingPlant AS _extract_supplyingPlant#896538, orderProposal#895768.orderDateTime AS _extract_orderDateTime#896539, orderProposal#895768.itemGroups AS _extract_itemGroups#896540, orderProposal#895768.previousOrderProposals AS _extract_previousOrderProposals#896541, orderProposal#895768.parentItems AS _extract_parentItems#896542, orderProposal#895768.orderProposalId AS _extract_orderProposalId#896543L]"];
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, struct(orderProposalId, orderProposalId#894404L, originalReplenishmentRunId, originalReplenishmentRunId#895736L, supplierGroup, supplierGroup#895737, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#895737) THEN supplier#895738 END, supplyingPlant, supplyingPlant#895739, orderDateTime, orderDateTime#895740, itemGroups, itemGroups#895741, previousOrderProposals, array_distinct(previousOrderProposals#895743), parentItems, parentItems#895742) AS orderProposal#895768]"];
14 [id="node14" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 4<br>time in aggregation build total (min, med, max (stageId: taskId))<br>180 ms (0 ms, 0 ms, 61 ms (stage 74629.0: task 183815))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74629.0: task 183815))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#893734, orderProposalId#894404L], functions=[max(originalReplenishmentRunId#895674L), max(supplierGroup#895675), max(supplier#895676), max(supplyingPlant#895677), max(orderDateTime#895678), collect_list(itemGroup#895735, 0, 0), collect_list(parentItems#895679, 0, 0), collect_set(previousOrderProposals#895681, 0, 0)])"];
15 [id="node15" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 4<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 4<br>local bytes read total (min, med, max (stageId: taskId))<br>4.3 KiB (1439.0 B, 1447.0 B, 1545.0 B (stage 74629.0: task 183815))<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>14.2 KiB (2.5 KiB, 4.6 KiB, 4.6 KiB (stage 74628.0: task 183795))<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>1 ms (0 ms, 0 ms, 0 ms (stage 74628.0: task 183796))<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 74629.0: task 183815))<br>remote bytes read: 1563.0 B<br>number of partitions: 20<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>5.9 KiB (1439.0 B, 1545.0 B, 1563.0 B (stage 74628.0: task 183795))" tooltip="Exchange hashpartitioning(shardId#893734, orderProposalId#894404L, 20), ENSURE_REQUIREMENTS, [plan_id=349772]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 4<br>time in aggregation build total (min, med, max (stageId: taskId))<br>118 ms (0 ms, 0 ms, 30 ms (stage 74628.0: task 183798))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74628.0: task 183797))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#893734, orderProposalId#894404L], functions=[partial_max(originalReplenishmentRunId#895674L), partial_max(supplierGroup#895675), partial_max(supplier#895676), partial_max(supplyingPlant#895677), partial_max(orderDateTime#895678), partial_collect_list(itemGroup#895735, 0, 0), partial_collect_list(parentItems#895679, 0, 0), partial_collect_set(previousOrderProposals#895681, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 4<br>time in aggregation build total (min, med, max (stageId: taskId))<br>462 ms (0 ms, 0 ms, 118 ms (stage 74628.0: task 183798))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74628.0: task 183797))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#893734, orderProposalId#894404L, splitIndicator#894409L, orderProposalItemGroupId#894406], functions=[max(originalReplenishmentRunId#894407L), max(supplierGroup#894414), max(supplier#894415), max(supplyingPlant#894445), max(orderDateTime#894422), collect_list(parentItem#895626, 0, 0), collect_set(previousOrderProposal#894410L, 0, 0), collect_list(item#895657, 0, 0)])"];
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>8.0 KiB (1419.0 B, 2.6 KiB, 2.6 KiB (stage 74628.0: task 183795))<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>14.3 KiB (2.4 KiB, 2.4 KiB, 4.8 KiB (stage 74627.0: task 183778))<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>1 ms (0 ms, 0 ms, 0 ms (stage 74627.0: task 183779))<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 74628.0: task 183797))<br>remote bytes read: 0.0 B<br>number of partitions: 20<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>8.0 KiB (1327.0 B, 1333.0 B, 2.7 KiB (stage 74627.0: task 183778))" tooltip="Exchange hashpartitioning(shardId#893734, orderProposalId#894404L, splitIndicator#894409L, orderProposalItemGroupId#894406, 20), ENSURE_REQUIREMENTS, [plan_id=349769]"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 6<br>time in aggregation build total (min, med, max (stageId: taskId))<br>738 ms (0 ms, 0 ms, 147 ms (stage 74627.0: task 183776))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74627.0: task 183776))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#893734, orderProposalId#894404L, splitIndicator#894409L, orderProposalItemGroupId#894406], functions=[partial_max(originalReplenishmentRunId#894407L), partial_max(supplierGroup#894414), partial_max(supplier#894415), partial_max(supplyingPlant#894445), partial_max(orderDateTime#894422), partial_collect_list(parentItem#895626, 0, 0), partial_collect_set(previousOrderProposal#894410L, 0, 0), partial_collect_list(item#895657, 0, 0)])"];
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, orderDateTime#894422, splitIndicator#894409L, orderProposalItemGroupId#894406, previousOrderProposal#894410L, parentItem#895626, struct(itemId, orderProposalItemId#894405, supplier, supplier#894415, supplyingPlant, supplyingPlant#894445, productGroup, productGroup#894446, product, product#894417, plant, plant#894418, supplierSubRange, subrange#894416, deliveryDateTime, deliveryDateTime#894423, orderQuantity, coalesce((qty#894248 * (cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2355#895660.isOrderUnit, lambda x_2355#895660, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2355#895661.isOrderUnit, lambda x_2355#895661, false)), 1, None, false).numerator as double))), qty#894248), orderQuantityUom, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2355#895662.isOrderUnit, lambda x_2355#895662, false)), 1, None, false).uom, orderQuantityBaseUom#894427), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2355#895663.isOrderUnit, lambda x_2355#895663, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#894428), orderQuantityInBaseUnit, qty#894248, orderQuantityBaseUom, ... 13 more fields) AS item#895657]"];
21 [id="node21" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, qty#894248, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, productGroup#894446, product#894417, plant#894418, subrange#894416, orderDateTime#894422, deliveryDateTime#894423, logisticUnits#894441, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, splitIndicator#894409L, orderProposalItemId#894405, orderProposalItemGroupId#894406, previousOrderProposal#894410L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#894415, supplyingPlant, supplyingPlant#894445, productGroup, productGroup#894446, product, product#894417, plant, plant#894418, supplierSubRange, subrange#894416, sourceOfSupplyUuid, sourceOfSupplyUuid#894413, deliveryDateTime, deliveryDateTime#894423, unitPrice, netPriceAmount#894432, unitPriceCurrency, netPriceCurrencyCode#894433, unitPriceQuantity, ... 37 more fields) AS parentItem#895626]"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, qty#894248, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, productGroup#894446, product#894417, plant#894418, subrange#894416, orderDateTime#894422, deliveryDateTime#894423, availabilityDateTime#894424, nextAvailabilityDateTime#894425, logisticUnits#894441, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, splitIndicator#894409L, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, sourceOfSupplyUuid#894413, ... 12 more fields]"];
subgraph cluster23 {
isCluster="true";
id="cluster23";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.9 s (27 ms, 184 ms, 332 ms (stage 74627.0: task 183776))";
tooltip="WholeStageCodegen (1)";
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, productGroup#894446, product#894417, plant#894418, subrange#894416, orderDateTime#894422, deliveryDateTime#894423, availabilityDateTime#894424, nextAvailabilityDateTime#894425, logisticUnits#894441, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, splitIndicator#894409L, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, ... 11 more fields]"];
25 [id="node25" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter NOT (isFallbackOrderOnly#894426 <=> true)"];
}
26 [id="node26" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 6" tooltip="InMemoryTableScan [availabilityDateTime#894424, channelStreamSpecificKpis#894988, constraintLabels#894436, constraintOperators#894437, constraintValues#894439, deliveryDateTime#894423, isFallbackOrderOnly#894426, logisticUnits#894441, measurements#894434, minimumOrderQuantity#894435, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, nextAvailabilityDateTime#894425, optimizationGroups#894442, orderDateTime#894422, orderProposalId#894404L, orderProposalItemGroupId#894406, orderProposalItemId#894405, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, originalReplenishmentRunId#894407L, plant#894418, ... 14 more fields], [NOT (isFallbackOrderOnly#894426 <=> true)]"];
subgraph cluster27 {
isCluster="true";
id="cluster27";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n339 ms (0 ms, 7 ms, 68 ms (stage 74627.0: task 183776))";
tooltip="WholeStageCodegen (13)";
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, ... 17 more fields]"];
29 [id="node29" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 6<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74627.0: task 183784))" tooltip="SortMergeJoin [shardId#893734, worklistShardItemId#894246L], [shardId#894995, worklistShardItemId#894996L], LeftOuter"];
}
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n1.7 s (0 ms, 97 ms, 248 ms (stage 74627.0: task 183776))";
tooltip="WholeStageCodegen (10)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, ... 16 more fields]"];
32 [id="node32" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 6<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74627.0: task 183784))" tooltip="SortMergeJoin [shardId#893734, worklistShardItemId#894246L], [shardId#894982, worklistShardItemId#894983L], LeftOuter"];
}
subgraph cluster33 {
isCluster="true";
id="cluster33";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n2.9 s (0 ms, 180 ms, 415 ms (stage 74627.0: task 183776))";
tooltip="WholeStageCodegen (7)";
34 [id="node34" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, ... 15 more fields]"];
35 [id="node35" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 6<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74627.0: task 183784))" tooltip="SortMergeJoin [shardId#893734, worklistShardItemId#894246L], [shardId#894966, worklistShardItemId#894967L], LeftOuter"];
}
subgraph cluster36 {
isCluster="true";
id="cluster36";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n4.0 s (1 ms, 246 ms, 546 ms (stage 74627.0: task 183776))";
tooltip="WholeStageCodegen (4)";
37 [id="node37" 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 74627.0: task 183784))<br>peak memory total (min, med, max (stageId: taskId))<br>11.3 MiB (64.0 KiB, 64.0 KiB, 2.1 MiB (stage 74627.0: task 183776))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74627.0: task 183784))" tooltip="Sort [shardId#893734 ASC NULLS FIRST, worklistShardItemId#894246L ASC NULLS FIRST], false, 0"];
}
38 [id="node38" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>5.5 KiB (1048.0 B, 1094.0 B, 1264.0 B (stage 74627.0: task 183775))<br>merged fetch fallback count: 0<br>local blocks read: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>9.3 KiB (1776.0 B, 2.9 KiB, 4.6 KiB (stage 74623.0: task 183712))<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>1 ms (0 ms, 0 ms, 0 ms (stage 74623.0: task 183696))<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 74627.0: task 183776))<br>remote bytes read: 1269.0 B<br>number of partitions: 20<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>6.7 KiB (1264.0 B, 2.1 KiB, 3.3 KiB (stage 74623.0: task 183712))" tooltip="Exchange hashpartitioning(shardId#893734, worklistShardItemId#894246L, 20), ENSURE_REQUIREMENTS, [plan_id=349502]"];
subgraph cluster39 {
isCluster="true";
id="cluster39";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n42 ms (0 ms, 4 ms, 5 ms (stage 74623.0: task 183703))";
tooltip="WholeStageCodegen (3)";
40 [id="node40" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, ... 14 more fields]"];
41 [id="node41" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 6" tooltip="BroadcastHashJoin [worklistShardItemId#894246L], [worklistShardItemId#894470L], LeftOuter, BuildRight, (shardId#893734 = 0_1_10000002109), false"];
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#893734, item#894245.worklistShardItemId AS worklistShardItemId#894246L, item#894245.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#894247, item#894245.qty AS qty#894248]"];
43 [id="node43" labelType="html" label="<b>Generate</b><br><br>number of output rows: 6" tooltip="Generate explode(items#893736), [shardId#893734], false, [item#894245]"];
44 [id="node44" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter ((size(items#893736, true) > 0) AND isnotnull(items#893736))"];
}
45 [id="node45" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [shardId#893734, items#893736], [(size(items#893736, true) > 0), isnotnull(items#893736)]"];
subgraph cluster46 {
isCluster="true";
id="cluster46";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
47 [id="node47" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#893734) AND (shardId#893734 = 0_1_10000002109))"];
}
48 [id="node48" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, optimizationInsights#893740], [isnotnull(shardId#893734), (shardId#893734 = 0_1_10000002109)]"];
subgraph cluster49 {
isCluster="true";
id="cluster49";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#893734) AND (shardId#893734 = 0_1_10000002109))"];
51 [id="node51" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#893734,orderProposalId#893735L,items#893736,optimizationGroups#893737,isOptimal#893738,lastModified#893739,optimizationInsights#893740]"];
}
52 [id="node52" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 267 ms<br>number of output rows: 6<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=349497]"];
subgraph cluster53 {
isCluster="true";
id="cluster53";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n9 ms (0 ms, 0 ms, 2 ms (stage 74537.0: task 183676))";
tooltip="WholeStageCodegen (2)";
54 [id="node54" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#894470L, orderProposalId#894447L, orderProposalItemId#894448, orderProposalItemGroupId#894471, originalReplenishmentRunId#894489L, splitIndicator#894466L, previousOrderProposal#894467L, sourceOfSupplyUuid#894461, supplierGroup#894449, supplier#894450, subrange#894453, product#894456, plant#894451, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, isFallbackOrderOnly#894464, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, netPriceAmount#894483, netPriceCurrencyCode#894484, ... 11 more fields]"];
}
55 [id="node55" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>6.6 KiB (1060.0 B, 1239.0 B, 2.1 KiB (stage 74537.0: task 183676))<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>9.1 KiB (1488.0 B, 2.9 KiB, 3.0 KiB (stage 74536.0: task 183672))<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>1 ms (0 ms, 0 ms, 0 ms (stage 74536.0: task 183674))<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 74537.0: task 183678))<br>remote bytes read: 0.0 B<br>number of partitions: 20<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>6.6 KiB (1084.0 B, 2.1 KiB, 2.2 KiB (stage 74536.0: task 183672))" tooltip="Exchange hashpartitioning(worklistShardItemId#894470L, 20), REPARTITION_BY_NUM, [plan_id=349493]"];
subgraph cluster56 {
isCluster="true";
id="cluster56";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n479 ms (119 ms, 119 ms, 122 ms (stage 74536.0: task 183671))";
tooltip="WholeStageCodegen (1)";
57 [id="node57" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#894447L, orderProposalItemId#894448, supplierGroup#894449, supplier#894450, plant#894451, deliveryDateTime#894452, subrange#894453, supplyingPlant#894454, productGroup#894455, product#894456, orderDateTime#894457, availabilityDateTime#894458, nextAvailabilityDateTime#894459, sourceOfSupplyUuid#894461, isFallbackOrderOnly#894464, splitIndicator#894466L, previousOrderProposal#894467L, worklistShardItemId#894470L, orderProposalItemGroupId#894471, externalProductId#894472, externalPlantId#894473, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, minimumOrderQuantity#894477, ... 11 more fields]"];
58 [id="node58" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter isnotnull(worklistShardItemId#894470L)"];
59 [id="node59" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 6<br>number of input batches: 4" tooltip="ColumnarToRow"];
}
60 [id="node60" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 4<br>scan time total (min, med, max (stageId: taskId))<br>367 ms (90 ms, 91 ms, 95 ms (stage 74536.0: task 183671))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 77.1 KiB<br>number of output rows: 6<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#894447L,orderProposalItemId#894448,supplierGroup#894449,supplier#894450,plant#894451,deliveryDateTime#894452,subrange#894453,supplyingPlant#894454,productGroup#894455,product#894456,orderDateTime#894457,availabilityDateTime#894458,nextAvailabilityDateTime#894459,sourceOfSupplyUuid#894461,isFallbackOrderOnly#894464,splitIndicator#894466L,previousOrderProposal#894467L,worklistShardItemId#894470L,orderProposalItemGroupId#894471,externalProductId#894472,externalPlantId#894473,logisticUnits#894474,orderQuantityBaseUom#894475,orderQuantityBaseUomUuid#894476,minimumOrderQuantity#894477,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#894470L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#894491), isnotnull(sequenceId#894469), (shardId#894491 = 0_1_10000002109), (se..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster61 {
isCluster="true";
id="cluster61";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (218 ms, 221 ms, 244 ms (stage 74627.0: task 183778))";
tooltip="WholeStageCodegen (6)";
62 [id="node62" 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 74627.0: task 183776))<br>peak memory total (min, med, max (stageId: taskId))<br>10.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 74627.0: task 183776))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74627.0: task 183776))" tooltip="Sort [shardId#894966 ASC NULLS FIRST, worklistShardItemId#894967L ASC NULLS FIRST], false, 0"];
}
63 [id="node63" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>1706.0 B (566.0 B, 1140.0 B, 1140.0 B (stage 74627.0: task 183778))<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 3<br>data size total (min, med, max (stageId: taskId))<br>6.3 KiB (1072.0 B, 1072.0 B, 1072.0 B (stage 74625.0: task 183733))<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>2 ms (0 ms, 0 ms, 0 ms (stage 74625.0: task 183749))<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 74627.0: task 183776))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1717.0 B (562.0 B, 575.0 B, 580.0 B (stage 74627.0: task 183777))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 74627.0: task 183776))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>3.3 KiB (562.0 B, 575.0 B, 580.0 B (stage 74625.0: task 183746))" tooltip="Exchange hashpartitioning(shardId#894966, worklistShardItemId#894967L, 20), ENSURE_REQUIREMENTS, [plan_id=349508]"];
subgraph cluster64 {
isCluster="true";
id="cluster64";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n158 ms (0 ms, 3 ms, 61 ms (stage 74625.0: task 183709))";
tooltip="WholeStageCodegen (5)";
65 [id="node65" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#894966, worklistShardItemId#894967L, coalesce(kpis#894971, []) AS prodLocSpecificKpis#894972]"];
66 [id="node66" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter (((isnull(qty#894968) AND isnull(demandChannel#894969)) AND isnull(demandStream#894970)) AND (isnotnull(shardId#894966) AND isnotnull(worklistShardItemId#894967L)))"];
67 [id="node67" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 26" tooltip="Scan ExistingRDD[shardId#894966,worklistShardItemId#894967L,qty#894968,demandChannel#894969,demandStream#894970,kpis#894971]"];
}
subgraph cluster68 {
isCluster="true";
id="cluster68";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n719 ms (139 ms, 139 ms, 162 ms (stage 74627.0: task 183778))";
tooltip="WholeStageCodegen (9)";
69 [id="node69" 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 74627.0: task 183776))<br>peak memory total (min, med, max (stageId: taskId))<br>10.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 74627.0: task 183776))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74627.0: task 183776))" tooltip="Sort [shardId#894982 ASC NULLS FIRST, worklistShardItemId#894983L ASC NULLS FIRST], false, 0"];
}
70 [id="node70" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 6<br>time in aggregation build total (min, med, max (stageId: taskId))<br>220 ms (0 ms, 0 ms, 45 ms (stage 74627.0: task 183777))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74627.0: task 183776))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#894982, worklistShardItemId#894983L], functions=[collect_list(struct(demandChannel, demandChannel#894985, demandStream, demandStream#894986, kpis, kpis#894987), 0, 0)])"];
71 [id="node71" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>941.0 B (316.0 B, 625.0 B, 625.0 B (stage 74627.0: task 183778))<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 3<br>data size total (min, med, max (stageId: taskId))<br>2.4 KiB (408.0 B, 408.0 B, 816.0 B (stage 74626.0: task 183756))<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>2 ms (0 ms, 0 ms, 0 ms (stage 74626.0: task 183710))<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 74627.0: task 183776))<br>remote bytes read total (min, med, max (stageId: taskId))<br>944.0 B (312.0 B, 316.0 B, 316.0 B (stage 74627.0: task 183776))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 74627.0: task 183776))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1885.0 B (312.0 B, 316.0 B, 625.0 B (stage 74626.0: task 183756))" tooltip="Exchange hashpartitioning(shardId#894982, worklistShardItemId#894983L, 20), ENSURE_REQUIREMENTS, [plan_id=349519]"];
72 [id="node72" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 6<br>time in aggregation build total (min, med, max (stageId: taskId))<br>175 ms (0 ms, 2 ms, 53 ms (stage 74626.0: task 183710))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74626.0: task 183727))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#894982, worklistShardItemId#894983L], functions=[partial_collect_list(struct(demandChannel, demandChannel#894985, demandStream, demandStream#894986, kpis, kpis#894987), 0, 0)])"];
subgraph cluster73 {
isCluster="true";
id="cluster73";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n175 ms (0 ms, 2 ms, 53 ms (stage 74626.0: task 183710))";
tooltip="WholeStageCodegen (8)";
74 [id="node74" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#894982, worklistShardItemId#894983L, demandChannel#894985, demandStream#894986, kpis#894987]"];
75 [id="node75" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter ((((isnull(qty#894984) AND isnotnull(demandChannel#894985)) AND isnotnull(demandStream#894986)) AND (size(kpis#894987, true) > 0)) AND (isnotnull(shardId#894982) AND isnotnull(worklistShardItemId#894983L)))"];
76 [id="node76" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 26" tooltip="Scan ExistingRDD[shardId#894982,worklistShardItemId#894983L,qty#894984,demandChannel#894985,demandStream#894986,kpis#894987]"];
}
subgraph cluster77 {
isCluster="true";
id="cluster77";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n326 ms (62 ms, 62 ms, 73 ms (stage 74627.0: task 183778))";
tooltip="WholeStageCodegen (12)";
78 [id="node78" 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 74627.0: task 183776))<br>peak memory total (min, med, max (stageId: taskId))<br>10.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 74627.0: task 183776))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74627.0: task 183776))" tooltip="Sort [shardId#894995 ASC NULLS FIRST, worklistShardItemId#894996L ASC NULLS FIRST], false, 0"];
}
79 [id="node79" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 6<br>time in aggregation build total (min, med, max (stageId: taskId))<br>247 ms (0 ms, 0 ms, 50 ms (stage 74627.0: task 183777))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74627.0: task 183776))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#894995, worklistShardItemId#894996L], functions=[collect_list(struct(qty, qty#894997, kpis, kpis#895000), 0, 0)])"];
80 [id="node80" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 13<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 13<br>local bytes read total (min, med, max (stageId: taskId))<br>2.7 KiB (458.0 B, 461.0 B, 916.0 B (stage 74627.0: task 183775))<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 7<br>data size total (min, med, max (stageId: taskId))<br>8.7 KiB (640.0 B, 640.0 B, 1920.0 B (stage 74624.0: task 183739))<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>3 ms (0 ms, 0 ms, 0 ms (stage 74624.0: task 183729))<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 74627.0: task 183776))<br>remote bytes read total (min, med, max (stageId: taskId))<br>3.1 KiB (459.0 B, 462.0 B, 1379.0 B (stage 74627.0: task 183778))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 74627.0: task 183776))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>5.9 KiB (457.0 B, 463.0 B, 1387.0 B (stage 74624.0: task 183739))" tooltip="Exchange hashpartitioning(shardId#894995, worklistShardItemId#894996L, 20), ENSURE_REQUIREMENTS, [plan_id=349531]"];
81 [id="node81" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 13<br>time in aggregation build total (min, med, max (stageId: taskId))<br>202 ms (0 ms, 3 ms, 48 ms (stage 74624.0: task 183708))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 74624.0: task 183732))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#894995, worklistShardItemId#894996L], functions=[partial_collect_list(struct(qty, qty#894997, kpis, kpis#895000), 0, 0)])"];
subgraph cluster82 {
isCluster="true";
id="cluster82";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n202 ms (0 ms, 3 ms, 48 ms (stage 74624.0: task 183708))";
tooltip="WholeStageCodegen (11)";
83 [id="node83" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#894995, worklistShardItemId#894996L, qty#894997, kpis#895000]"];
84 [id="node84" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter ((isnotnull(qty#894997) AND isnotnull(kpis#895000)) AND (isnotnull(shardId#894995) AND isnotnull(worklistShardItemId#894996L)))"];
85 [id="node85" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 26" tooltip="Scan ExistingRDD[shardId#894995,worklistShardItemId#894996L,qty#894997,demandChannel#894998,demandStream#894999,kpis#895000]"];
}
86 [id="node86" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 8 ms<br>time to collect: 770 ms<br>number of output rows: 4<br>data size: 2.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[0, bigint, true], 0), isnull(input[0, bigint, true])),false), [plan_id=349807]"];
87 [id="node87" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#895792L, shardId#895791, coalesce(transform(optimizationGroups#895794, lambdafunction(struct(optGroupId, lambda x_2359#895789.optGroupId, minOrderProfile, lambda x_2359#895789.minOrderProfile, assignmentDetails, lambda x_2359#895789.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2359#895789.minOrderGoal.dimensionType, unit, lambda x_2359#895789.minOrderGoal.unit, unitUuid, lambda x_2359#895789.minOrderGoal.unitUuid, goalValue, lambda x_2359#895789.minOrderGoal.minOrderValue, calcValue, lambda x_2359#895789.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2359#895789, false)), []) AS optimizationGroups#895788]"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n409 ms (1 ms, 39 ms, 41 ms (stage 74535.0: task 183652))";
tooltip="WholeStageCodegen (6)";
89 [id="node89" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 4" tooltip="BroadcastHashJoin [orderProposalId#895792L], [orderProposalId#895847L], Inner, BuildLeft, false"];
100 [id="node100" 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>9 ms (0 ms, 0 ms, 3 ms (stage 74535.0: task 183654))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 74535.0: task 183655))<br>number of output rows: 4<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#895847L], functions=[])"];
}
90 [id="node90" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 4 ms<br>time to collect: 106 ms<br>number of output rows: 4<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=349779]"];
subgraph cluster91 {
isCluster="true";
id="cluster91";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n9 ms (0 ms, 0 ms, 2 ms (stage 74531.0: task 183595))";
tooltip="WholeStageCodegen (2)";
92 [id="node92" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter isnotnull(orderProposalId#895792L)"];
}
93 [id="node93" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [shardId#895791, orderProposalId#895792L, optimizationGroups#895794], [isnotnull(orderProposalId#895792L)]"];
subgraph cluster94 {
isCluster="true";
id="cluster94";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
95 [id="node95" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#893734) AND (shardId#893734 = 0_1_10000002109))"];
}
96 [id="node96" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, optimizationInsights#893740], [isnotnull(shardId#893734), (shardId#893734 = 0_1_10000002109)]"];
subgraph cluster97 {
isCluster="true";
id="cluster97";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
98 [id="node98" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#893734) AND (shardId#893734 = 0_1_10000002109))"];
99 [id="node99" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#893734,orderProposalId#893735L,items#893736,optimizationGroups#893737,isOptimal#893738,lastModified#893739,optimizationInsights#893740]"];
}
101 [id="node101" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 5<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 5<br>local bytes read total (min, med, max (stageId: taskId))<br>375.0 B (75.0 B, 75.0 B, 150.0 B (stage 74535.0: task 183651))<br>merged fetch fallback count: 0<br>local blocks read: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>80.0 B (16.0 B, 16.0 B, 16.0 B (stage 74534.0: task 183633))<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>1 ms (0 ms, 0 ms, 0 ms (stage 74534.0: task 183633))<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 74535.0: task 183651))<br>remote bytes read: 0.0 B<br>number of partitions: 20<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>375.0 B (75.0 B, 75.0 B, 75.0 B (stage 74534.0: task 183633))" tooltip="Exchange hashpartitioning(orderProposalId#895847L, 20), ENSURE_REQUIREMENTS, [plan_id=349801]"];
subgraph cluster102 {
isCluster="true";
id="cluster102";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n249 ms (0 ms, 10 ms, 40 ms (stage 74534.0: task 183632))";
tooltip="WholeStageCodegen (5)";
103 [id="node103" 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>2 ms (0 ms, 0 ms, 1 ms (stage 74534.0: task 183639))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 74534.0: task 183638))<br>number of output rows: 5<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#895847L], functions=[])"];
104 [id="node104" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#895847L]"];
105 [id="node105" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 6" tooltip="BroadcastHashJoin [worklistShardItemId#895799L], [worklistShardItemId#895870L], Inner, BuildLeft, false"];
119 [id="node119" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#895870L, orderProposalId#895847L]"];
}
106 [id="node106" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 188 ms<br>number of output rows: 6<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=349787]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6 ms (0 ms, 0 ms, 2 ms (stage 74532.0: task 183615))";
tooltip="WholeStageCodegen (3)";
108 [id="node108" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#895798L AS worklistShardItemId#895799L]"];
109 [id="node109" labelType="html" label="<b>Generate</b><br><br>number of output rows: 6" tooltip="Generate explode(_extract_worklistShardItemId#896439), false, [item#895798L]"];
110 [id="node110" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#895410.worklistShardItemId AS _extract_worklistShardItemId#896439]"];
111 [id="node111" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter (((size(items#895410.worklistShardItemId, true) > 0) AND isnotnull(items#895410.worklistShardItemId)) AND (shardId#895408 = 0_1_10000002109))"];
}
112 [id="node112" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [items#895410, shardId#895408], [(size(items#895410.worklistShardItemId, true) > 0), isnotnull(items#895410.worklistShardItemId), (shardId#895408 = 0_1_10000002109)]"];
subgraph cluster113 {
isCluster="true";
id="cluster113";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
114 [id="node114" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#893734) AND (shardId#893734 = 0_1_10000002109))"];
}
115 [id="node115" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, optimizationInsights#893740], [isnotnull(shardId#893734), (shardId#893734 = 0_1_10000002109)]"];
subgraph cluster116 {
isCluster="true";
id="cluster116";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
117 [id="node117" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#893734) AND (shardId#893734 = 0_1_10000002109))"];
118 [id="node118" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#893734,orderProposalId#893735L,items#893736,optimizationGroups#893737,isOptimal#893738,lastModified#893739,optimizationInsights#893740]"];
}
120 [id="node120" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>504.0 B (84.0 B, 84.0 B, 168.0 B (stage 74534.0: task 183632))<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>144.0 B (24.0 B, 48.0 B, 48.0 B (stage 74533.0: task 183628))<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>1 ms (0 ms, 0 ms, 0 ms (stage 74533.0: task 183628))<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 74534.0: task 183633))<br>remote bytes read: 0.0 B<br>number of partitions: 20<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>504.0 B (84.0 B, 168.0 B, 168.0 B (stage 74533.0: task 183628))" tooltip="Exchange hashpartitioning(worklistShardItemId#895870L, 20), REPARTITION_BY_NUM, [plan_id=349794]"];
subgraph cluster121 {
isCluster="true";
id="cluster121";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n505 ms (113 ms, 118 ms, 156 ms (stage 74533.0: task 183627))";
tooltip="WholeStageCodegen (4)";
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#895847L, worklistShardItemId#895870L]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter ((isnotnull(worklistShardItemId#895870L) AND NOT (isFallbackOrderOnly#895864 <=> true)) AND isnotnull(orderProposalId#895847L))"];
124 [id="node124" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 6<br>number of input batches: 4" tooltip="ColumnarToRow"];
}
125 [id="node125" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 4<br>scan time total (min, med, max (stageId: taskId))<br>497 ms (111 ms, 116 ms, 154 ms (stage 74533.0: task 183627))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 77.1 KiB<br>number of output rows: 6<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#895847L,isFallbackOrderOnly#895864,worklistShardItemId#895870L,shardId#895891,sequenceId#895869] Batched: true, DataFilters: [isnotnull(worklistShardItemId#895870L), NOT (isFallbackOrderOnly#895864 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#895891), isnotnull(sequenceId#895869), (shardId#895891 = 0_1_10000002109), (se..., 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;
24->22;
25->24;
26->25;
28->26;
29->28;
31->29;
32->31;
34->32;
35->34;
37->35;
38->37;
40->38;
41->40;
42->41;
43->42;
44->43;
45->44;
47->45;
48->47;
50->48;
51->50;
52->41;
54->52;
55->54;
57->55;
58->57;
59->58;
60->59;
62->35;
63->62;
65->63;
66->65;
67->66;
69->32;
70->69;
71->70;
72->71;
74->72;
75->74;
76->75;
78->29;
79->78;
80->79;
81->80;
83->81;
84->83;
85->84;
86->11;
87->86;
89->87;
90->89;
92->90;
93->92;
95->93;
96->95;
98->96;
99->98;
100->89;
101->100;
103->101;
104->103;
105->104;
106->105;
108->106;
109->108;
110->109;
111->110;
112->111;
114->112;
115->114;
117->115;
118->117;
119->105;
120->119;
122->120;
123->122;
124->123;
125->124;
}
== Physical Plan ==
* HashAggregate (97)
+- Exchange (96)
+- * HashAggregate (95)
+- * Project (94)
+- * Generate (93)
+- Project (92)
+- Filter (91)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (90)
+- BroadcastHashJoin LeftOuter BuildRight (89)
:- Project (63)
: +- Project (62)
: +- ObjectHashAggregate (61)
: +- Exchange (60)
: +- ObjectHashAggregate (59)
: +- ObjectHashAggregate (58)
: +- Exchange (57)
: +- ObjectHashAggregate (56)
: +- Project (55)
: +- Project (54)
: +- Project (53)
: +- * Project (52)
: +- * Filter (51)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (50)
: +- * SortMergeJoin LeftOuter (49)
: :- * Project (41)
: : +- * SortMergeJoin LeftOuter (40)
: : :- * Project (32)
: : : +- * SortMergeJoin LeftOuter (31)
: : : :- * Sort (25)
: : : : +- Exchange (24)
: : : : +- * Project (23)
: : : : +- * BroadcastHashJoin LeftOuter BuildRight (22)
: : : : :- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- BroadcastExchange (21)
: : : : +- * Project (20)
: : : : +- Exchange (19)
: : : : +- * Project (18)
: : : : +- * Filter (17)
: : : : +- * ColumnarToRow (16)
: : : : +- Scan parquet (15)
: : : +- * Sort (30)
: : : +- Exchange (29)
: : : +- * Project (28)
: : : +- * Filter (27)
: : : +- * Scan ExistingRDD (26)
: : +- * Sort (39)
: : +- ObjectHashAggregate (38)
: : +- Exchange (37)
: : +- ObjectHashAggregate (36)
: : +- * Project (35)
: : +- * Filter (34)
: : +- * Scan ExistingRDD (33)
: +- * Sort (48)
: +- ObjectHashAggregate (47)
: +- Exchange (46)
: +- ObjectHashAggregate (45)
: +- * Project (44)
: +- * Filter (43)
: +- * Scan ExistingRDD (42)
+- BroadcastExchange (88)
+- Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (67)
: +- * Filter (66)
: +- InMemoryTableScan (64)
: +- InMemoryRelation (65)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * HashAggregate (85)
+- Exchange (84)
+- * HashAggregate (83)
+- * Project (82)
+- * BroadcastHashJoin Inner BuildLeft (81)
:- BroadcastExchange (74)
: +- * Project (73)
: +- * Generate (72)
: +- * Project (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (80)
+- Exchange (79)
+- * Project (78)
+- * Filter (77)
+- * ColumnarToRow (76)
+- Scan parquet (75)
(1) InMemoryTableScan
Output [1]: [orderProposal#895895]
Arguments: [orderProposal#895895], [(size(orderProposal#895895.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#893734, orderProposal#895895], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#894424, channelStreamSpecificKpis#894988, constraintLabels#894436, constraintOperators#894437, constraintValues#894439, deliveryDateTime#894423, isFallbackOrderOnly#894426, logisticUnits#894441, measurements#894434, minimumOrderQuantity#894435, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, nextAvailabilityDateTime#894425, optimizationGroups#894442, orderDateTime#894422, orderProposalId#894404L, orderProposalItemGroupId#894406, orderProposalItemId#894405, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, originalReplenishmentRunId#894407L, plant#894418, previousOrderProposal#894410L, prodLocSpecificKpis#894973, product#894417, productGroup#894446, qty#894248, quantityAfterProdPlantOptimization#894247, quantityKpis#895001, shardId#893734, sourceOfSupplyUuid#894413, splitIndicator#894409L, subrange#894416, supplier#894415, supplierGroup#894414, supplyingPlant#894445]
Arguments: [availabilityDateTime#894424, channelStreamSpecificKpis#894988, constraintLabels#894436, constraintOperators#894437, constraintValues#894439, deliveryDateTime#894423, isFallbackOrderOnly#894426, logisticUnits#894441, measurements#894434, minimumOrderQuantity#894435, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, nextAvailabilityDateTime#894425, optimizationGroups#894442, orderDateTime#894422, orderProposalId#894404L, orderProposalItemGroupId#894406, orderProposalItemId#894405, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, originalReplenishmentRunId#894407L, plant#894418, ... 14 more fields], [NOT (isFallbackOrderOnly#894426 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, productGroup#894446, product#894417, plant#894418, subrange#894416, orderDateTime#894422, deliveryDateTime#894423, availabilityDateTime#894424, nextAvailabilityDateTime#894425, constraintValues#894439, constraintOperators#894437, constraintLabels#894436, logisticUnits#894441, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, splitIndicator#894409L, netPriceAmount#894432, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#893734, items#893736]
Arguments: [shardId#893734, items#893736], [(size(items#893736, true) > 0), isnotnull(items#893736)]
(6) InMemoryRelation
Arguments: [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, optimizationInsights#893740], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, optimizationInsights#893740]
Arguments: [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, optimizationInsights#893740], [isnotnull(shardId#893734), (shardId#893734 = 0_1_10000002109)]
(8) InMemoryRelation
Arguments: [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, lastModified#893739, optimizationInsights#893740], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, lastModified#893739, optimizationInsights#893740]
Arguments: [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, lastModified#893739, optimizationInsights#893740], MapPartitionsRDD[41954] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, lastModified#893739, optimizationInsights#893740]
Condition : (isnotnull(shardId#893734) AND (shardId#893734 = 0_1_10000002109))
(11) Filter [codegen id : 1]
Input [6]: [shardId#893734, orderProposalId#893735L, items#893736, optimizationGroups#893737, isOptimal#893738, optimizationInsights#893740]
Condition : (isnotnull(shardId#893734) AND (shardId#893734 = 0_1_10000002109))
(12) Filter [codegen id : 3]
Input [2]: [shardId#893734, items#893736]
Condition : ((size(items#893736, true) > 0) AND isnotnull(items#893736))
(13) Generate [codegen id : 3]
Input [2]: [shardId#893734, items#893736]
Arguments: explode(items#893736), [shardId#893734], false, [item#894245]
(14) Project [codegen id : 3]
Output [4]: [shardId#893734, item#894245.worklistShardItemId AS worklistShardItemId#894246L, item#894245.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#894247, item#894245.qty AS qty#894248]
Input [2]: [shardId#893734, item#894245]
(15) Scan parquet
Output [38]: [orderProposalId#894447L, orderProposalItemId#894448, supplierGroup#894449, supplier#894450, plant#894451, deliveryDateTime#894452, subrange#894453, supplyingPlant#894454, productGroup#894455, product#894456, orderDateTime#894457, availabilityDateTime#894458, nextAvailabilityDateTime#894459, sourceOfSupplyUuid#894461, isFallbackOrderOnly#894464, splitIndicator#894466L, previousOrderProposal#894467L, worklistShardItemId#894470L, orderProposalItemGroupId#894471, externalProductId#894472, externalPlantId#894473, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, minimumOrderQuantity#894477, constraintLabels#894478, constraintOperators#894479, constraintValues#894480, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, measurements#894488, originalReplenishmentRunId#894489L, optimizationGroups#894490, shardId#894491, sequenceId#894469]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002109]
PartitionFilters: [isnotnull(shardId#894491), isnotnull(sequenceId#894469), (shardId#894491 = 0_1_10000002109), (sequenceId#894469 = 2)]
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>>
(16) ColumnarToRow [codegen id : 1]
Input [38]: [orderProposalId#894447L, orderProposalItemId#894448, supplierGroup#894449, supplier#894450, plant#894451, deliveryDateTime#894452, subrange#894453, supplyingPlant#894454, productGroup#894455, product#894456, orderDateTime#894457, availabilityDateTime#894458, nextAvailabilityDateTime#894459, sourceOfSupplyUuid#894461, isFallbackOrderOnly#894464, splitIndicator#894466L, previousOrderProposal#894467L, worklistShardItemId#894470L, orderProposalItemGroupId#894471, externalProductId#894472, externalPlantId#894473, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, minimumOrderQuantity#894477, constraintLabels#894478, constraintOperators#894479, constraintValues#894480, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, measurements#894488, originalReplenishmentRunId#894489L, optimizationGroups#894490, shardId#894491, sequenceId#894469]
(17) Filter [codegen id : 1]
Input [38]: [orderProposalId#894447L, orderProposalItemId#894448, supplierGroup#894449, supplier#894450, plant#894451, deliveryDateTime#894452, subrange#894453, supplyingPlant#894454, productGroup#894455, product#894456, orderDateTime#894457, availabilityDateTime#894458, nextAvailabilityDateTime#894459, sourceOfSupplyUuid#894461, isFallbackOrderOnly#894464, splitIndicator#894466L, previousOrderProposal#894467L, worklistShardItemId#894470L, orderProposalItemGroupId#894471, externalProductId#894472, externalPlantId#894473, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, minimumOrderQuantity#894477, constraintLabels#894478, constraintOperators#894479, constraintValues#894480, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, measurements#894488, originalReplenishmentRunId#894489L, optimizationGroups#894490, shardId#894491, sequenceId#894469]
Condition : isnotnull(worklistShardItemId#894470L)
(18) Project [codegen id : 1]
Output [36]: [orderProposalId#894447L, orderProposalItemId#894448, supplierGroup#894449, supplier#894450, plant#894451, deliveryDateTime#894452, subrange#894453, supplyingPlant#894454, productGroup#894455, product#894456, orderDateTime#894457, availabilityDateTime#894458, nextAvailabilityDateTime#894459, sourceOfSupplyUuid#894461, isFallbackOrderOnly#894464, splitIndicator#894466L, previousOrderProposal#894467L, worklistShardItemId#894470L, orderProposalItemGroupId#894471, externalProductId#894472, externalPlantId#894473, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, minimumOrderQuantity#894477, constraintLabels#894478, constraintOperators#894479, constraintValues#894480, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, measurements#894488, originalReplenishmentRunId#894489L, optimizationGroups#894490]
Input [38]: [orderProposalId#894447L, orderProposalItemId#894448, supplierGroup#894449, supplier#894450, plant#894451, deliveryDateTime#894452, subrange#894453, supplyingPlant#894454, productGroup#894455, product#894456, orderDateTime#894457, availabilityDateTime#894458, nextAvailabilityDateTime#894459, sourceOfSupplyUuid#894461, isFallbackOrderOnly#894464, splitIndicator#894466L, previousOrderProposal#894467L, worklistShardItemId#894470L, orderProposalItemGroupId#894471, externalProductId#894472, externalPlantId#894473, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, minimumOrderQuantity#894477, constraintLabels#894478, constraintOperators#894479, constraintValues#894480, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, measurements#894488, originalReplenishmentRunId#894489L, optimizationGroups#894490, shardId#894491, sequenceId#894469]
(19) Exchange
Input [36]: [orderProposalId#894447L, orderProposalItemId#894448, supplierGroup#894449, supplier#894450, plant#894451, deliveryDateTime#894452, subrange#894453, supplyingPlant#894454, productGroup#894455, product#894456, orderDateTime#894457, availabilityDateTime#894458, nextAvailabilityDateTime#894459, sourceOfSupplyUuid#894461, isFallbackOrderOnly#894464, splitIndicator#894466L, previousOrderProposal#894467L, worklistShardItemId#894470L, orderProposalItemGroupId#894471, externalProductId#894472, externalPlantId#894473, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, minimumOrderQuantity#894477, constraintLabels#894478, constraintOperators#894479, constraintValues#894480, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, measurements#894488, originalReplenishmentRunId#894489L, optimizationGroups#894490]
Arguments: hashpartitioning(worklistShardItemId#894470L, 20), REPARTITION_BY_NUM, [plan_id=349493]
(20) Project [codegen id : 2]
Output [36]: [worklistShardItemId#894470L, orderProposalId#894447L, orderProposalItemId#894448, orderProposalItemGroupId#894471, originalReplenishmentRunId#894489L, splitIndicator#894466L, previousOrderProposal#894467L, sourceOfSupplyUuid#894461, supplierGroup#894449, supplier#894450, subrange#894453, product#894456, plant#894451, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, isFallbackOrderOnly#894464, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, netPriceAmount#894483, netPriceCurrencyCode#894484, measurements#894488, minimumOrderQuantity#894477, constraintLabels#894478, constraintOperators#894479, constraintValues#894480, logisticUnits#894474, optimizationGroups#894490, externalProductId#894472, externalPlantId#894473, supplyingPlant#894454, productGroup#894455]
Input [36]: [orderProposalId#894447L, orderProposalItemId#894448, supplierGroup#894449, supplier#894450, plant#894451, deliveryDateTime#894452, subrange#894453, supplyingPlant#894454, productGroup#894455, product#894456, orderDateTime#894457, availabilityDateTime#894458, nextAvailabilityDateTime#894459, sourceOfSupplyUuid#894461, isFallbackOrderOnly#894464, splitIndicator#894466L, previousOrderProposal#894467L, worklistShardItemId#894470L, orderProposalItemGroupId#894471, externalProductId#894472, externalPlantId#894473, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, minimumOrderQuantity#894477, constraintLabels#894478, constraintOperators#894479, constraintValues#894480, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, measurements#894488, originalReplenishmentRunId#894489L, optimizationGroups#894490]
(21) BroadcastExchange
Input [36]: [worklistShardItemId#894470L, orderProposalId#894447L, orderProposalItemId#894448, orderProposalItemGroupId#894471, originalReplenishmentRunId#894489L, splitIndicator#894466L, previousOrderProposal#894467L, sourceOfSupplyUuid#894461, supplierGroup#894449, supplier#894450, subrange#894453, product#894456, plant#894451, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, isFallbackOrderOnly#894464, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, netPriceAmount#894483, netPriceCurrencyCode#894484, measurements#894488, minimumOrderQuantity#894477, constraintLabels#894478, constraintOperators#894479, constraintValues#894480, logisticUnits#894474, optimizationGroups#894490, externalProductId#894472, externalPlantId#894473, supplyingPlant#894454, productGroup#894455]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=349497]
(22) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#894246L]
Right keys [1]: [worklistShardItemId#894470L]
Join type: LeftOuter
Join condition: (shardId#893734 = 0_1_10000002109)
(23) Project [codegen id : 3]
Output [39]: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, sourceOfSupplyUuid#894461, minimumOrderQuantity#894477, orderProposalItemId#894448, orderProposalItemGroupId#894471, optimizationGroups#894490, measurements#894488, externalProductId#894472, externalPlantId#894473, previousOrderProposal#894467L, isFallbackOrderOnly#894464]
Input [40]: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, worklistShardItemId#894470L, orderProposalId#894447L, orderProposalItemId#894448, orderProposalItemGroupId#894471, originalReplenishmentRunId#894489L, splitIndicator#894466L, previousOrderProposal#894467L, sourceOfSupplyUuid#894461, supplierGroup#894449, supplier#894450, subrange#894453, product#894456, plant#894451, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, isFallbackOrderOnly#894464, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, netPriceAmount#894483, netPriceCurrencyCode#894484, measurements#894488, minimumOrderQuantity#894477, constraintLabels#894478, constraintOperators#894479, constraintValues#894480, logisticUnits#894474, optimizationGroups#894490, externalProductId#894472, externalPlantId#894473, supplyingPlant#894454, productGroup#894455]
(24) Exchange
Input [39]: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, sourceOfSupplyUuid#894461, minimumOrderQuantity#894477, orderProposalItemId#894448, orderProposalItemGroupId#894471, optimizationGroups#894490, measurements#894488, externalProductId#894472, externalPlantId#894473, previousOrderProposal#894467L, isFallbackOrderOnly#894464]
Arguments: hashpartitioning(shardId#893734, worklistShardItemId#894246L, 20), ENSURE_REQUIREMENTS, [plan_id=349502]
(25) Sort [codegen id : 4]
Input [39]: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, sourceOfSupplyUuid#894461, minimumOrderQuantity#894477, orderProposalItemId#894448, orderProposalItemGroupId#894471, optimizationGroups#894490, measurements#894488, externalProductId#894472, externalPlantId#894473, previousOrderProposal#894467L, isFallbackOrderOnly#894464]
Arguments: [shardId#893734 ASC NULLS FIRST, worklistShardItemId#894246L ASC NULLS FIRST], false, 0
(26) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#894966, worklistShardItemId#894967L, qty#894968, demandChannel#894969, demandStream#894970, kpis#894971]
Arguments: [shardId#894966, worklistShardItemId#894967L, qty#894968, demandChannel#894969, demandStream#894970, kpis#894971], MapPartitionsRDD[42014] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(27) Filter [codegen id : 5]
Input [6]: [shardId#894966, worklistShardItemId#894967L, qty#894968, demandChannel#894969, demandStream#894970, kpis#894971]
Condition : (((isnull(qty#894968) AND isnull(demandChannel#894969)) AND isnull(demandStream#894970)) AND (isnotnull(shardId#894966) AND isnotnull(worklistShardItemId#894967L)))
(28) Project [codegen id : 5]
Output [3]: [shardId#894966, worklistShardItemId#894967L, coalesce(kpis#894971, []) AS prodLocSpecificKpis#894972]
Input [6]: [shardId#894966, worklistShardItemId#894967L, qty#894968, demandChannel#894969, demandStream#894970, kpis#894971]
(29) Exchange
Input [3]: [shardId#894966, worklistShardItemId#894967L, prodLocSpecificKpis#894972]
Arguments: hashpartitioning(shardId#894966, worklistShardItemId#894967L, 20), ENSURE_REQUIREMENTS, [plan_id=349508]
(30) Sort [codegen id : 6]
Input [3]: [shardId#894966, worklistShardItemId#894967L, prodLocSpecificKpis#894972]
Arguments: [shardId#894966 ASC NULLS FIRST, worklistShardItemId#894967L ASC NULLS FIRST], false, 0
(31) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#893734, worklistShardItemId#894246L]
Right keys [2]: [shardId#894966, worklistShardItemId#894967L]
Join type: LeftOuter
Join condition: None
(32) Project [codegen id : 7]
Output [40]: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, sourceOfSupplyUuid#894461, minimumOrderQuantity#894477, orderProposalItemId#894448, orderProposalItemGroupId#894471, optimizationGroups#894490, measurements#894488, externalProductId#894472, externalPlantId#894473, previousOrderProposal#894467L, isFallbackOrderOnly#894464, coalesce(prodLocSpecificKpis#894972, []) AS prodLocSpecificKpis#894973]
Input [42]: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, sourceOfSupplyUuid#894461, minimumOrderQuantity#894477, orderProposalItemId#894448, orderProposalItemGroupId#894471, optimizationGroups#894490, measurements#894488, externalProductId#894472, externalPlantId#894473, previousOrderProposal#894467L, isFallbackOrderOnly#894464, shardId#894966, worklistShardItemId#894967L, prodLocSpecificKpis#894972]
(33) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#894982, worklistShardItemId#894983L, qty#894984, demandChannel#894985, demandStream#894986, kpis#894987]
Arguments: [shardId#894982, worklistShardItemId#894983L, qty#894984, demandChannel#894985, demandStream#894986, kpis#894987], MapPartitionsRDD[42014] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(34) Filter [codegen id : 8]
Input [6]: [shardId#894982, worklistShardItemId#894983L, qty#894984, demandChannel#894985, demandStream#894986, kpis#894987]
Condition : ((((isnull(qty#894984) AND isnotnull(demandChannel#894985)) AND isnotnull(demandStream#894986)) AND (size(kpis#894987, true) > 0)) AND (isnotnull(shardId#894982) AND isnotnull(worklistShardItemId#894983L)))
(35) Project [codegen id : 8]
Output [5]: [shardId#894982, worklistShardItemId#894983L, demandChannel#894985, demandStream#894986, kpis#894987]
Input [6]: [shardId#894982, worklistShardItemId#894983L, qty#894984, demandChannel#894985, demandStream#894986, kpis#894987]
(36) ObjectHashAggregate
Input [5]: [shardId#894982, worklistShardItemId#894983L, demandChannel#894985, demandStream#894986, kpis#894987]
Keys [2]: [shardId#894982, worklistShardItemId#894983L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#894985, demandStream, demandStream#894986, kpis, kpis#894987), 0, 0)]
Aggregate Attributes [1]: [buf#895162]
Results [3]: [shardId#894982, worklistShardItemId#894983L, buf#895163]
(37) Exchange
Input [3]: [shardId#894982, worklistShardItemId#894983L, buf#895163]
Arguments: hashpartitioning(shardId#894982, worklistShardItemId#894983L, 20), ENSURE_REQUIREMENTS, [plan_id=349519]
(38) ObjectHashAggregate
Input [3]: [shardId#894982, worklistShardItemId#894983L, buf#895163]
Keys [2]: [shardId#894982, worklistShardItemId#894983L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#894985, demandStream, demandStream#894986, kpis, kpis#894987), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#894985, demandStream, demandStream#894986, kpis, kpis#894987), 0, 0)#894981]
Results [3]: [shardId#894982, worklistShardItemId#894983L, collect_list(struct(demandChannel, demandChannel#894985, demandStream, demandStream#894986, kpis, kpis#894987), 0, 0)#894981 AS channelStreamSpecificKpis#894974]
(39) Sort [codegen id : 9]
Input [3]: [shardId#894982, worklistShardItemId#894983L, channelStreamSpecificKpis#894974]
Arguments: [shardId#894982 ASC NULLS FIRST, worklistShardItemId#894983L ASC NULLS FIRST], false, 0
(40) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#893734, worklistShardItemId#894246L]
Right keys [2]: [shardId#894982, worklistShardItemId#894983L]
Join type: LeftOuter
Join condition: None
(41) Project [codegen id : 10]
Output [41]: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, sourceOfSupplyUuid#894461, minimumOrderQuantity#894477, orderProposalItemId#894448, orderProposalItemGroupId#894471, optimizationGroups#894490, measurements#894488, externalProductId#894472, externalPlantId#894473, previousOrderProposal#894467L, isFallbackOrderOnly#894464, prodLocSpecificKpis#894973, coalesce(channelStreamSpecificKpis#894974, []) AS channelStreamSpecificKpis#894988]
Input [43]: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, sourceOfSupplyUuid#894461, minimumOrderQuantity#894477, orderProposalItemId#894448, orderProposalItemGroupId#894471, optimizationGroups#894490, measurements#894488, externalProductId#894472, externalPlantId#894473, previousOrderProposal#894467L, isFallbackOrderOnly#894464, prodLocSpecificKpis#894973, shardId#894982, worklistShardItemId#894983L, channelStreamSpecificKpis#894974]
(42) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#894995, worklistShardItemId#894996L, qty#894997, demandChannel#894998, demandStream#894999, kpis#895000]
Arguments: [shardId#894995, worklistShardItemId#894996L, qty#894997, demandChannel#894998, demandStream#894999, kpis#895000], MapPartitionsRDD[42014] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(43) Filter [codegen id : 11]
Input [6]: [shardId#894995, worklistShardItemId#894996L, qty#894997, demandChannel#894998, demandStream#894999, kpis#895000]
Condition : ((isnotnull(qty#894997) AND isnotnull(kpis#895000)) AND (isnotnull(shardId#894995) AND isnotnull(worklistShardItemId#894996L)))
(44) Project [codegen id : 11]
Output [4]: [shardId#894995, worklistShardItemId#894996L, qty#894997, kpis#895000]
Input [6]: [shardId#894995, worklistShardItemId#894996L, qty#894997, demandChannel#894998, demandStream#894999, kpis#895000]
(45) ObjectHashAggregate
Input [4]: [shardId#894995, worklistShardItemId#894996L, qty#894997, kpis#895000]
Keys [2]: [shardId#894995, worklistShardItemId#894996L]
Functions [1]: [partial_collect_list(struct(qty, qty#894997, kpis, kpis#895000), 0, 0)]
Aggregate Attributes [1]: [buf#895164]
Results [3]: [shardId#894995, worklistShardItemId#894996L, buf#895165]
(46) Exchange
Input [3]: [shardId#894995, worklistShardItemId#894996L, buf#895165]
Arguments: hashpartitioning(shardId#894995, worklistShardItemId#894996L, 20), ENSURE_REQUIREMENTS, [plan_id=349531]
(47) ObjectHashAggregate
Input [3]: [shardId#894995, worklistShardItemId#894996L, buf#895165]
Keys [2]: [shardId#894995, worklistShardItemId#894996L]
Functions [1]: [collect_list(struct(qty, qty#894997, kpis, kpis#895000), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#894997, kpis, kpis#895000), 0, 0)#894994]
Results [3]: [shardId#894995, worklistShardItemId#894996L, map_from_entries(collect_list(struct(qty, qty#894997, kpis, kpis#895000), 0, 0)#894994) AS quantityKpis#894989]
(48) Sort [codegen id : 12]
Input [3]: [shardId#894995, worklistShardItemId#894996L, quantityKpis#894989]
Arguments: [shardId#894995 ASC NULLS FIRST, worklistShardItemId#894996L ASC NULLS FIRST], false, 0
(49) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#893734, worklistShardItemId#894246L]
Right keys [2]: [shardId#894995, worklistShardItemId#894996L]
Join type: LeftOuter
Join condition: None
(50) Project [codegen id : 13]
Output [42]: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, sourceOfSupplyUuid#894461, minimumOrderQuantity#894477, orderProposalItemId#894448, orderProposalItemGroupId#894471, optimizationGroups#894490, measurements#894488, externalProductId#894472, externalPlantId#894473, previousOrderProposal#894467L, isFallbackOrderOnly#894464, prodLocSpecificKpis#894973, channelStreamSpecificKpis#894988, coalesce(quantityKpis#894989, map(keys: [], values: [])) AS quantityKpis#895001]
Input [44]: [shardId#893734, worklistShardItemId#894246L, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894447L, originalReplenishmentRunId#894489L, supplierGroup#894449, supplier#894450, supplyingPlant#894454, productGroup#894455, product#894456, plant#894451, subrange#894453, orderDateTime#894457, deliveryDateTime#894452, availabilityDateTime#894458, nextAvailabilityDateTime#894459, constraintValues#894480, constraintOperators#894479, constraintLabels#894478, logisticUnits#894474, orderQuantityBaseUom#894475, orderQuantityBaseUomUuid#894476, splitIndicator#894466L, netPriceAmount#894483, netPriceCurrencyCode#894484, netPriceQuantity#894485, netPriceQuantityUom#894486, netPriceQuantityUomUuid#894487, sourceOfSupplyUuid#894461, minimumOrderQuantity#894477, orderProposalItemId#894448, orderProposalItemGroupId#894471, optimizationGroups#894490, measurements#894488, externalProductId#894472, externalPlantId#894473, previousOrderProposal#894467L, isFallbackOrderOnly#894464, prodLocSpecificKpis#894973, channelStreamSpecificKpis#894988, shardId#894995, worklistShardItemId#894996L, quantityKpis#894989]
(51) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#894424, channelStreamSpecificKpis#894988, constraintLabels#894436, constraintOperators#894437, constraintValues#894439, deliveryDateTime#894423, isFallbackOrderOnly#894426, logisticUnits#894441, measurements#894434, minimumOrderQuantity#894435, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, nextAvailabilityDateTime#894425, optimizationGroups#894442, orderDateTime#894422, orderProposalId#894404L, orderProposalItemGroupId#894406, orderProposalItemId#894405, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, originalReplenishmentRunId#894407L, plant#894418, previousOrderProposal#894410L, prodLocSpecificKpis#894973, product#894417, productGroup#894446, qty#894248, quantityAfterProdPlantOptimization#894247, quantityKpis#895001, shardId#893734, sourceOfSupplyUuid#894413, splitIndicator#894409L, subrange#894416, supplier#894415, supplierGroup#894414, supplyingPlant#894445]
Condition : NOT (isFallbackOrderOnly#894426 <=> true)
(52) Project [codegen id : 1]
Output [36]: [shardId#893734, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, productGroup#894446, product#894417, plant#894418, subrange#894416, orderDateTime#894422, deliveryDateTime#894423, availabilityDateTime#894424, nextAvailabilityDateTime#894425, logisticUnits#894441, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, splitIndicator#894409L, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, sourceOfSupplyUuid#894413, minimumOrderQuantity#894435, orderProposalItemId#894405, orderProposalItemGroupId#894406, optimizationGroups#894442, measurements#894434, previousOrderProposal#894410L, prodLocSpecificKpis#894973, channelStreamSpecificKpis#894988, quantityKpis#895001, arrays_zip(constraintLabels#894436, constraintOperators#894437, constraintValues#894439, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#895415]
Input [39]: [availabilityDateTime#894424, channelStreamSpecificKpis#894988, constraintLabels#894436, constraintOperators#894437, constraintValues#894439, deliveryDateTime#894423, isFallbackOrderOnly#894426, logisticUnits#894441, measurements#894434, minimumOrderQuantity#894435, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, nextAvailabilityDateTime#894425, optimizationGroups#894442, orderDateTime#894422, orderProposalId#894404L, orderProposalItemGroupId#894406, orderProposalItemId#894405, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, originalReplenishmentRunId#894407L, plant#894418, previousOrderProposal#894410L, prodLocSpecificKpis#894973, product#894417, productGroup#894446, qty#894248, quantityAfterProdPlantOptimization#894247, quantityKpis#895001, shardId#893734, sourceOfSupplyUuid#894413, splitIndicator#894409L, subrange#894416, supplier#894415, supplierGroup#894414, supplyingPlant#894445]
(53) Project
Output [37]: [shardId#893734, qty#894248, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, productGroup#894446, product#894417, plant#894418, subrange#894416, orderDateTime#894422, deliveryDateTime#894423, availabilityDateTime#894424, nextAvailabilityDateTime#894425, logisticUnits#894441, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, splitIndicator#894409L, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, sourceOfSupplyUuid#894413, orderProposalItemId#894405, orderProposalItemGroupId#894406, optimizationGroups#894442, measurements#894434, previousOrderProposal#894410L, prodLocSpecificKpis#894973, channelStreamSpecificKpis#894988, quantityKpis#895001, struct(minServiceLevel, array_min(filter(constraintStructArray#895415, lambdafunction((lambda x_2309#895422.constraintLabels = ServiceLevel), lambda x_2309#895422, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#895415, lambdafunction((lambda x_2310#895423.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_2310#895423, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#895415, lambdafunction((lambda x_2311#895424.constraintLabels = RangeOfCoverage), lambda x_2311#895424, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#894435, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#894973, lambdafunction((lambda x_2312#895425.label = NonListingStartTimestamp), lambda x_2312#895425, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#895421, CASE WHEN (qty#894248 <=> quantityAfterProdPlantOptimization#894247) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#894248 * (cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2313#895493.isOrderUnit, lambda x_2313#895493, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2313#895494.isOrderUnit, lambda x_2313#895494, false)), 1, None, false).numerator as double))), qty#894248), orderQuantityUom, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2313#895495.isOrderUnit, lambda x_2313#895495, false)), 1, None, false).uom, orderQuantityBaseUom#894427), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2313#895496.isOrderUnit, lambda x_2313#895496, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#894428), candidateOrderQuantityInBaseUnit, qty#894248, orderQuantityBaseUom, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#894428, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#894441, lambdafunction((lambda x_2315#895497.isPreferred AND (((qty#894248 * cast(lambda x_2315#895497.denominator as double)) % cast(lambda x_2315#895497.numerator as double)) = 0.0)), lambda x_2315#895497, false)), lambdafunction(struct(inPreferredQuantity, ((qty#894248 * cast(lambda x_2316#895535.denominator as double)) / cast(lambda x_2316#895535.numerator as double)), uom, lambda x_2316#895535.uom, uomUuid, lambda x_2316#895535.uomUuid), lambda x_2316#895535, false))).inPreferredQuantity, coalesce((qty#894248 * (cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2314#895498.isOrderUnit, lambda x_2314#895498, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2314#895499.isOrderUnit, lambda x_2314#895499, false)), 1, None, false).numerator as double))), qty#894248)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#894441, lambdafunction((lambda x_2315#895500.isPreferred AND (((qty#894248 * cast(lambda x_2315#895500.denominator as double)) % cast(lambda x_2315#895500.numerator as double)) = 0.0)), lambda x_2315#895500, false)), lambdafunction(struct(inPreferredQuantity, ((qty#894248 * cast(lambda x_2316#895536.denominator as double)) / cast(lambda x_2316#895536.numerator as double)), uom, lambda x_2316#895536.uom, uomUuid, lambda x_2316#895536.uomUuid), lambda x_2316#895536, false))).uom, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2314#895501.isOrderUnit, lambda x_2314#895501, false)), 1, None, false).uom, orderQuantityBaseUom#894427)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#894441, lambdafunction((lambda x_2315#895502.isPreferred AND (((qty#894248 * cast(lambda x_2315#895502.denominator as double)) % cast(lambda x_2315#895502.numerator as double)) = 0.0)), lambda x_2315#895502, false)), lambdafunction(struct(inPreferredQuantity, ((qty#894248 * cast(lambda x_2316#895537.denominator as double)) / cast(lambda x_2316#895537.numerator as double)), uom, lambda x_2316#895537.uom, uomUuid, lambda x_2316#895537.uomUuid), lambda x_2316#895537, false))).uomUuid, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2314#895503.isOrderUnit, lambda x_2314#895503, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#894428)), serviceLevel, coalesce(filter(element_at(quantityKpis#895001, qty#894248, None, false), lambdafunction((lambda x_2321#895504.label = ServiceLevel), lambda x_2321#895504, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#894248 * (cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2313#895507.isOrderUnit, lambda x_2313#895507, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2313#895508.isOrderUnit, lambda x_2313#895508, false)), 1, None, false).numerator as double))), qty#894248), orderQuantityUom, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2313#895509.isOrderUnit, lambda x_2313#895509, false)), 1, None, false).uom, orderQuantityBaseUom#894427), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2313#895510.isOrderUnit, lambda x_2313#895510, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#894428), candidateOrderQuantityInBaseUnit, qty#894248, orderQuantityBaseUom, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#894428, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#894441, lambdafunction((lambda x_2315#895511.isPreferred AND (((qty#894248 * cast(lambda x_2315#895511.denominator as double)) % cast(lambda x_2315#895511.numerator as double)) = 0.0)), lambda x_2315#895511, false)), lambdafunction(struct(inPreferredQuantity, ((qty#894248 * cast(lambda x_2316#895538.denominator as double)) / cast(lambda x_2316#895538.numerator as double)), uom, lambda x_2316#895538.uom, uomUuid, lambda x_2316#895538.uomUuid), lambda x_2316#895538, false))).inPreferredQuantity, coalesce((qty#894248 * (cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2314#895512.isOrderUnit, lambda x_2314#895512, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2314#895513.isOrderUnit, lambda x_2314#895513, false)), 1, None, false).numerator as double))), qty#894248)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#894441, lambdafunction((lambda x_2315#895514.isPreferred AND (((qty#894248 * cast(lambda x_2315#895514.denominator as double)) % cast(lambda x_2315#895514.numerator as double)) = 0.0)), lambda x_2315#895514, false)), lambdafunction(struct(inPreferredQuantity, ((qty#894248 * cast(lambda x_2316#895539.denominator as double)) / cast(lambda x_2316#895539.numerator as double)), uom, lambda x_2316#895539.uom, uomUuid, lambda x_2316#895539.uomUuid), lambda x_2316#895539, false))).uom, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2314#895515.isOrderUnit, lambda x_2314#895515, false)), 1, None, false).uom, orderQuantityBaseUom#894427)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#894441, lambdafunction((lambda x_2315#895516.isPreferred AND (((qty#894248 * cast(lambda x_2315#895516.denominator as double)) % cast(lambda x_2315#895516.numerator as double)) = 0.0)), lambda x_2315#895516, false)), lambdafunction(struct(inPreferredQuantity, ((qty#894248 * cast(lambda x_2316#895540.denominator as double)) / cast(lambda x_2316#895540.numerator as double)), uom, lambda x_2316#895540.uom, uomUuid, lambda x_2316#895540.uomUuid), lambda x_2316#895540, false))).uomUuid, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2314#895517.isOrderUnit, lambda x_2314#895517, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#894428)), serviceLevel, coalesce(filter(element_at(quantityKpis#895001, qty#894248, None, false), lambdafunction((lambda x_2324#895518.label = ServiceLevel), lambda x_2324#895518, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#894247 * (cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2317#895521.isOrderUnit, lambda x_2317#895521, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2317#895522.isOrderUnit, lambda x_2317#895522, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#894247), orderQuantityUom, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2317#895523.isOrderUnit, lambda x_2317#895523, false)), 1, None, false).uom, orderQuantityBaseUom#894427), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2317#895524.isOrderUnit, lambda x_2317#895524, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#894428), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#894247, orderQuantityBaseUom, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#894428, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#894441, lambdafunction((lambda x_2319#895525.isPreferred AND (((quantityAfterProdPlantOptimization#894247 * cast(lambda x_2319#895525.denominator as double)) % cast(lambda x_2319#895525.numerator as double)) = 0.0)), lambda x_2319#895525, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#894247 * cast(lambda x_2320#895541.denominator as double)) / cast(lambda x_2320#895541.numerator as double)), uom, lambda x_2320#895541.uom, uomUuid, lambda x_2320#895541.uomUuid), lambda x_2320#895541, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#894247 * (cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2318#895526.isOrderUnit, lambda x_2318#895526, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2318#895527.isOrderUnit, lambda x_2318#895527, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#894247)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#894441, lambdafunction((lambda x_2319#895528.isPreferred AND (((quantityAfterProdPlantOptimization#894247 * cast(lambda x_2319#895528.denominator as double)) % cast(lambda x_2319#895528.numerator as double)) = 0.0)), lambda x_2319#895528, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#894247 * cast(lambda x_2320#895542.denominator as double)) / cast(lambda x_2320#895542.numerator as double)), uom, lambda x_2320#895542.uom, uomUuid, lambda x_2320#895542.uomUuid), lambda x_2320#895542, false))).uom, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2318#895529.isOrderUnit, lambda x_2318#895529, false)), 1, None, false).uom, orderQuantityBaseUom#894427)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#894441, lambdafunction((lambda x_2319#895530.isPreferred AND (((quantityAfterProdPlantOptimization#894247 * cast(lambda x_2319#895530.denominator as double)) % cast(lambda x_2319#895530.numerator as double)) = 0.0)), lambda x_2319#895530, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#894247 * cast(lambda x_2320#895543.denominator as double)) / cast(lambda x_2320#895543.numerator as double)), uom, lambda x_2320#895543.uom, uomUuid, lambda x_2320#895543.uomUuid), lambda x_2320#895543, false))).uomUuid, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2318#895531.isOrderUnit, lambda x_2318#895531, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#894428)), serviceLevel, coalesce(filter(element_at(quantityKpis#895001, quantityAfterProdPlantOptimization#894247, None, false), lambdafunction((lambda x_2327#895532.label = ServiceLevel), lambda x_2327#895532, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#895492, coalesce(filter(prodLocSpecificKpis#894973, lambdafunction((lambda x_2330#895545.label = InitialStockQty), lambda x_2330#895545, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#895544, coalesce(filter(prodLocSpecificKpis#894973, lambdafunction((lambda x_2331#895547.label = DemandPeriodEndTimestamp), lambda x_2331#895547, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#895546]
Input [36]: [shardId#893734, quantityAfterProdPlantOptimization#894247, qty#894248, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, productGroup#894446, product#894417, plant#894418, subrange#894416, orderDateTime#894422, deliveryDateTime#894423, availabilityDateTime#894424, nextAvailabilityDateTime#894425, logisticUnits#894441, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, splitIndicator#894409L, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, sourceOfSupplyUuid#894413, minimumOrderQuantity#894435, orderProposalItemId#894405, orderProposalItemGroupId#894406, optimizationGroups#894442, measurements#894434, previousOrderProposal#894410L, prodLocSpecificKpis#894973, channelStreamSpecificKpis#894988, quantityKpis#895001, constraintStructArray#895415]
(54) Project
Output [21]: [shardId#893734, qty#894248, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, productGroup#894446, product#894417, plant#894418, subrange#894416, orderDateTime#894422, deliveryDateTime#894423, logisticUnits#894441, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, splitIndicator#894409L, orderProposalItemId#894405, orderProposalItemGroupId#894406, previousOrderProposal#894410L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#894415, supplyingPlant, supplyingPlant#894445, productGroup, productGroup#894446, product, product#894417, plant, plant#894418, supplierSubRange, subrange#894416, sourceOfSupplyUuid, sourceOfSupplyUuid#894413, deliveryDateTime, deliveryDateTime#894423, unitPrice, netPriceAmount#894432, unitPriceCurrency, netPriceCurrencyCode#894433, unitPriceQuantity, ... 37 more fields) AS parentItem#895626]
Input [37]: [shardId#893734, qty#894248, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, productGroup#894446, product#894417, plant#894418, subrange#894416, orderDateTime#894422, deliveryDateTime#894423, availabilityDateTime#894424, nextAvailabilityDateTime#894425, logisticUnits#894441, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, splitIndicator#894409L, netPriceAmount#894432, netPriceCurrencyCode#894433, netPriceQuantity#894429, netPriceQuantityUom#894430, netPriceQuantityUomUuid#894431, sourceOfSupplyUuid#894413, orderProposalItemId#894405, orderProposalItemGroupId#894406, optimizationGroups#894442, measurements#894434, previousOrderProposal#894410L, prodLocSpecificKpis#894973, channelStreamSpecificKpis#894988, quantityKpis#895001, constraintBenchmark#895421, calculationAnalysis#895492, inventoryDateTime#895544, demandPeriodEndDateTime#895546]
(55) Project
Output [12]: [shardId#893734, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, orderDateTime#894422, splitIndicator#894409L, orderProposalItemGroupId#894406, previousOrderProposal#894410L, parentItem#895626, struct(itemId, orderProposalItemId#894405, supplier, supplier#894415, supplyingPlant, supplyingPlant#894445, productGroup, productGroup#894446, product, product#894417, plant, plant#894418, supplierSubRange, subrange#894416, deliveryDateTime, deliveryDateTime#894423, orderQuantity, coalesce((qty#894248 * (cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2355#895660.isOrderUnit, lambda x_2355#895660, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2355#895661.isOrderUnit, lambda x_2355#895661, false)), 1, None, false).numerator as double))), qty#894248), orderQuantityUom, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2355#895662.isOrderUnit, lambda x_2355#895662, false)), 1, None, false).uom, orderQuantityBaseUom#894427), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#894441, lambdafunction(lambda x_2355#895663.isOrderUnit, lambda x_2355#895663, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#894428), orderQuantityInBaseUnit, qty#894248, orderQuantityBaseUom, ... 13 more fields) AS item#895657]
Input [21]: [shardId#893734, qty#894248, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, productGroup#894446, product#894417, plant#894418, subrange#894416, orderDateTime#894422, deliveryDateTime#894423, logisticUnits#894441, orderQuantityBaseUom#894427, orderQuantityBaseUomUuid#894428, splitIndicator#894409L, orderProposalItemId#894405, orderProposalItemGroupId#894406, previousOrderProposal#894410L, parentItem#895626]
(56) ObjectHashAggregate
Input [12]: [shardId#893734, orderProposalId#894404L, originalReplenishmentRunId#894407L, supplierGroup#894414, supplier#894415, supplyingPlant#894445, orderDateTime#894422, splitIndicator#894409L, orderProposalItemGroupId#894406, previousOrderProposal#894410L, parentItem#895626, item#895657]
Keys [4]: [shardId#893734, orderProposalId#894404L, splitIndicator#894409L, orderProposalItemGroupId#894406]
Functions [8]: [partial_max(originalReplenishmentRunId#894407L), partial_max(supplierGroup#894414), partial_max(supplier#894415), partial_max(supplyingPlant#894445), partial_max(orderDateTime#894422), partial_collect_list(parentItem#895626, 0, 0), partial_collect_set(previousOrderProposal#894410L, 0, 0), partial_collect_list(item#895657, 0, 0)]
Aggregate Attributes [8]: [max#896918L, max#896919, max#896920, max#896921, max#896922, buf#896923, buf#896924, buf#896925]
Results [12]: [shardId#893734, orderProposalId#894404L, splitIndicator#894409L, orderProposalItemGroupId#894406, max#896926L, max#896927, max#896928, max#896929, max#896930, buf#896931, buf#896932, buf#896933]
(57) Exchange
Input [12]: [shardId#893734, orderProposalId#894404L, splitIndicator#894409L, orderProposalItemGroupId#894406, max#896926L, max#896927, max#896928, max#896929, max#896930, buf#896931, buf#896932, buf#896933]
Arguments: hashpartitioning(shardId#893734, orderProposalId#894404L, splitIndicator#894409L, orderProposalItemGroupId#894406, 20), ENSURE_REQUIREMENTS, [plan_id=349769]
(58) ObjectHashAggregate
Input [12]: [shardId#893734, orderProposalId#894404L, splitIndicator#894409L, orderProposalItemGroupId#894406, max#896926L, max#896927, max#896928, max#896929, max#896930, buf#896931, buf#896932, buf#896933]
Keys [4]: [shardId#893734, orderProposalId#894404L, splitIndicator#894409L, orderProposalItemGroupId#894406]
Functions [8]: [max(originalReplenishmentRunId#894407L), max(supplierGroup#894414), max(supplier#894415), max(supplyingPlant#894445), max(orderDateTime#894422), collect_list(parentItem#895626, 0, 0), collect_set(previousOrderProposal#894410L, 0, 0), collect_list(item#895657, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#894407L)#895726L, max(supplierGroup#894414)#895727, max(supplier#894415)#895728, max(supplyingPlant#894445)#895729, max(orderDateTime#894422)#895730, collect_list(parentItem#895626, 0, 0)#895731, collect_set(previousOrderProposal#894410L, 0, 0)#895733, collect_list(item#895657, 0, 0)#895732]
Results [10]: [shardId#893734, orderProposalId#894404L, max(originalReplenishmentRunId#894407L)#895726L AS originalReplenishmentRunId#895674L, max(supplierGroup#894414)#895727 AS supplierGroup#895675, max(supplier#894415)#895728 AS supplier#895676, max(supplyingPlant#894445)#895729 AS supplyingPlant#895677, max(orderDateTime#894422)#895730 AS orderDateTime#895678, collect_list(parentItem#895626, 0, 0)#895731 AS parentItems#895679, collect_set(previousOrderProposal#894410L, 0, 0)#895733 AS previousOrderProposals#895681, struct(itemGroupId, coalesce(orderProposalItemGroupId#894406, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#895657, 0, 0)#895732) AS itemGroup#895735]
(59) ObjectHashAggregate
Input [10]: [shardId#893734, orderProposalId#894404L, originalReplenishmentRunId#895674L, supplierGroup#895675, supplier#895676, supplyingPlant#895677, orderDateTime#895678, parentItems#895679, previousOrderProposals#895681, itemGroup#895735]
Keys [2]: [shardId#893734, orderProposalId#894404L]
Functions [8]: [partial_max(originalReplenishmentRunId#895674L), partial_max(supplierGroup#895675), partial_max(supplier#895676), partial_max(supplyingPlant#895677), partial_max(orderDateTime#895678), partial_collect_list(itemGroup#895735, 0, 0), partial_collect_list(parentItems#895679, 0, 0), partial_collect_set(previousOrderProposals#895681, 0, 0)]
Aggregate Attributes [8]: [max#896902L, max#896903, max#896904, max#896905, max#896906, buf#896907, buf#896908, buf#896909]
Results [10]: [shardId#893734, orderProposalId#894404L, max#896910L, max#896911, max#896912, max#896913, max#896914, buf#896915, buf#896916, buf#896917]
(60) Exchange
Input [10]: [shardId#893734, orderProposalId#894404L, max#896910L, max#896911, max#896912, max#896913, max#896914, buf#896915, buf#896916, buf#896917]
Arguments: hashpartitioning(shardId#893734, orderProposalId#894404L, 20), ENSURE_REQUIREMENTS, [plan_id=349772]
(61) ObjectHashAggregate
Input [10]: [shardId#893734, orderProposalId#894404L, max#896910L, max#896911, max#896912, max#896913, max#896914, buf#896915, buf#896916, buf#896917]
Keys [2]: [shardId#893734, orderProposalId#894404L]
Functions [8]: [max(originalReplenishmentRunId#895674L), max(supplierGroup#895675), max(supplier#895676), max(supplyingPlant#895677), max(orderDateTime#895678), collect_list(itemGroup#895735, 0, 0), collect_list(parentItems#895679, 0, 0), collect_set(previousOrderProposals#895681, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#895674L)#895757L, max(supplierGroup#895675)#895758, max(supplier#895676)#895759, max(supplyingPlant#895677)#895760, max(orderDateTime#895678)#895761, collect_list(itemGroup#895735, 0, 0)#895762, collect_list(parentItems#895679, 0, 0)#895763, collect_set(previousOrderProposals#895681, 0, 0)#895764]
Results [10]: [shardId#893734, orderProposalId#894404L, max(originalReplenishmentRunId#895674L)#895757L AS originalReplenishmentRunId#895736L, max(supplierGroup#895675)#895758 AS supplierGroup#895737, max(supplier#895676)#895759 AS supplier#895738, max(supplyingPlant#895677)#895760 AS supplyingPlant#895739, max(orderDateTime#895678)#895761 AS orderDateTime#895740, collect_list(itemGroup#895735, 0, 0)#895762 AS itemGroups#895741, flatten(collect_list(parentItems#895679, 0, 0)#895763) AS parentItems#895742, flatten(collect_set(previousOrderProposals#895681, 0, 0)#895764) AS previousOrderProposals#895743]
(62) Project
Output [2]: [shardId#893734, struct(orderProposalId, orderProposalId#894404L, originalReplenishmentRunId, originalReplenishmentRunId#895736L, supplierGroup, supplierGroup#895737, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#895737) THEN supplier#895738 END, supplyingPlant, supplyingPlant#895739, orderDateTime, orderDateTime#895740, itemGroups, itemGroups#895741, previousOrderProposals, array_distinct(previousOrderProposals#895743), parentItems, parentItems#895742) AS orderProposal#895768]
Input [10]: [shardId#893734, orderProposalId#894404L, originalReplenishmentRunId#895736L, supplierGroup#895737, supplier#895738, supplyingPlant#895739, orderDateTime#895740, itemGroups#895741, parentItems#895742, previousOrderProposals#895743]
(63) Project
Output [11]: [shardId#893734, orderProposal#895768.orderProposalId AS _extract_orderProposalId#896534L, orderProposal#895768.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#896535L, orderProposal#895768.supplierGroup AS _extract_supplierGroup#896536, orderProposal#895768.supplier AS _extract_supplier#896537, orderProposal#895768.supplyingPlant AS _extract_supplyingPlant#896538, orderProposal#895768.orderDateTime AS _extract_orderDateTime#896539, orderProposal#895768.itemGroups AS _extract_itemGroups#896540, orderProposal#895768.previousOrderProposals AS _extract_previousOrderProposals#896541, orderProposal#895768.parentItems AS _extract_parentItems#896542, orderProposal#895768.orderProposalId AS _extract_orderProposalId#896543L]
Input [2]: [shardId#893734, orderProposal#895768]
(64) InMemoryTableScan
Output [3]: [shardId#895791, orderProposalId#895792L, optimizationGroups#895794]
Arguments: [shardId#895791, orderProposalId#895792L, optimizationGroups#895794], [isnotnull(orderProposalId#895792L)]
(65) InMemoryRelation
Arguments: [shardId#895791, orderProposalId#895792L, items#895793, optimizationGroups#895794, isOptimal#895795, optimizationInsights#895797], StorageLevel(disk, memory, 2 replicas)
(66) Filter [codegen id : 2]
Input [3]: [shardId#895791, orderProposalId#895792L, optimizationGroups#895794]
Condition : isnotnull(orderProposalId#895792L)
(67) BroadcastExchange
Input [3]: [shardId#895791, orderProposalId#895792L, optimizationGroups#895794]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=349779]
(68) InMemoryTableScan
Output [2]: [items#895410, shardId#895408]
Arguments: [items#895410, shardId#895408], [(size(items#895410.worklistShardItemId, true) > 0), isnotnull(items#895410.worklistShardItemId), (shardId#895408 = 0_1_10000002109)]
(69) InMemoryRelation
Arguments: [shardId#895408, orderProposalId#895409L, items#895410, optimizationGroups#895411, isOptimal#895412, optimizationInsights#895414], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 3]
Input [2]: [items#895410, shardId#895408]
Condition : (((size(items#895410.worklistShardItemId, true) > 0) AND isnotnull(items#895410.worklistShardItemId)) AND (shardId#895408 = 0_1_10000002109))
(71) Project [codegen id : 3]
Output [1]: [items#895410.worklistShardItemId AS _extract_worklistShardItemId#896439]
Input [2]: [items#895410, shardId#895408]
(72) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#896439]
Arguments: explode(_extract_worklistShardItemId#896439), false, [item#895798L]
(73) Project [codegen id : 3]
Output [1]: [item#895798L AS worklistShardItemId#895799L]
Input [1]: [item#895798L]
(74) BroadcastExchange
Input [1]: [worklistShardItemId#895799L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=349787]
(75) Scan parquet
Output [5]: [orderProposalId#895847L, isFallbackOrderOnly#895864, worklistShardItemId#895870L, shardId#895891, sequenceId#895869]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002109]
PartitionFilters: [isnotnull(shardId#895891), isnotnull(sequenceId#895869), (shardId#895891 = 0_1_10000002109), (sequenceId#895869 = 2)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(76) ColumnarToRow [codegen id : 4]
Input [5]: [orderProposalId#895847L, isFallbackOrderOnly#895864, worklistShardItemId#895870L, shardId#895891, sequenceId#895869]
(77) Filter [codegen id : 4]
Input [5]: [orderProposalId#895847L, isFallbackOrderOnly#895864, worklistShardItemId#895870L, shardId#895891, sequenceId#895869]
Condition : ((isnotnull(worklistShardItemId#895870L) AND NOT (isFallbackOrderOnly#895864 <=> true)) AND isnotnull(orderProposalId#895847L))
(78) Project [codegen id : 4]
Output [2]: [orderProposalId#895847L, worklistShardItemId#895870L]
Input [5]: [orderProposalId#895847L, isFallbackOrderOnly#895864, worklistShardItemId#895870L, shardId#895891, sequenceId#895869]
(79) Exchange
Input [2]: [orderProposalId#895847L, worklistShardItemId#895870L]
Arguments: hashpartitioning(worklistShardItemId#895870L, 20), REPARTITION_BY_NUM, [plan_id=349794]
(80) Project
Output [2]: [worklistShardItemId#895870L, orderProposalId#895847L]
Input [2]: [orderProposalId#895847L, worklistShardItemId#895870L]
(81) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#895799L]
Right keys [1]: [worklistShardItemId#895870L]
Join type: Inner
Join condition: None
(82) Project [codegen id : 5]
Output [1]: [orderProposalId#895847L]
Input [3]: [worklistShardItemId#895799L, worklistShardItemId#895870L, orderProposalId#895847L]
(83) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#895847L]
Keys [1]: [orderProposalId#895847L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#895847L]
(84) Exchange
Input [1]: [orderProposalId#895847L]
Arguments: hashpartitioning(orderProposalId#895847L, 20), ENSURE_REQUIREMENTS, [plan_id=349801]
(85) HashAggregate
Input [1]: [orderProposalId#895847L]
Keys [1]: [orderProposalId#895847L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#895847L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#895792L]
Right keys [1]: [orderProposalId#895847L]
Join type: Inner
Join condition: None
(87) Project
Output [3]: [orderProposalId#895792L, shardId#895791, coalesce(transform(optimizationGroups#895794, lambdafunction(struct(optGroupId, lambda x_2359#895789.optGroupId, minOrderProfile, lambda x_2359#895789.minOrderProfile, assignmentDetails, lambda x_2359#895789.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2359#895789.minOrderGoal.dimensionType, unit, lambda x_2359#895789.minOrderGoal.unit, unitUuid, lambda x_2359#895789.minOrderGoal.unitUuid, goalValue, lambda x_2359#895789.minOrderGoal.minOrderValue, calcValue, lambda x_2359#895789.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2359#895789, false)), []) AS optimizationGroups#895788]
Input [4]: [shardId#895791, orderProposalId#895792L, optimizationGroups#895794, orderProposalId#895847L]
(88) BroadcastExchange
Input [3]: [orderProposalId#895792L, shardId#895791, optimizationGroups#895788]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[0, bigint, true], 0), isnull(input[0, bigint, true])),false), [plan_id=349807]
(89) BroadcastHashJoin
Left keys [4]: [coalesce(shardId#893734, ), isnull(shardId#893734), coalesce(_extract_orderProposalId#896543L, 0), isnull(_extract_orderProposalId#896543L)]
Right keys [4]: [coalesce(shardId#895791, ), isnull(shardId#895791), coalesce(orderProposalId#895792L, 0), isnull(orderProposalId#895792L)]
Join type: LeftOuter
Join condition: None
(90) Project
Output [2]: [shardId#893734, named_struct(orderProposalId, _extract_orderProposalId#896543L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#896535L, supplierGroup, _extract_supplierGroup#896536, optimizationGroups, coalesce(optimizationGroups#895788, []), supplier, _extract_supplier#896537, supplyingPlant, _extract_supplyingPlant#896538, orderDateTime, _extract_orderDateTime#896539, itemGroups, _extract_itemGroups#896540, previousOrderProposals, _extract_previousOrderProposals#896541, parentItems, _extract_parentItems#896542) AS orderProposal#895895]
Input [14]: [shardId#893734, _extract_orderProposalId#896534L, _extract_originalReplenishmentRunId#896535L, _extract_supplierGroup#896536, _extract_supplier#896537, _extract_supplyingPlant#896538, _extract_orderDateTime#896539, _extract_itemGroups#896540, _extract_previousOrderProposals#896541, _extract_parentItems#896542, _extract_orderProposalId#896543L, orderProposalId#895792L, shardId#895791, optimizationGroups#895788]
(91) Filter
Input [1]: [orderProposal#895895]
Condition : (size(orderProposal#895895.parentItems.deliveryDateTime, true) > 0)
(92) Project
Output [1]: [orderProposal#895895.parentItems.deliveryDateTime AS _extract_deliveryDateTime#897298]
Input [1]: [orderProposal#895895]
(93) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#897298]
Arguments: explode(_extract_deliveryDateTime#897298), false, [numberOfOrderProposalItems#897270]
(94) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#897270]
(95) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#897309L]
Results [1]: [count#897310L]
(96) Exchange
Input [1]: [count#897310L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=349913]
(97) HashAggregate [codegen id : 2]
Input [1]: [count#897310L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#897275L]
Results [1]: [count(1)#897275L AS count#897271L]