digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 1 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 1 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: 732.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 69095.0: task 174970))<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 69095.0: task 174972))<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: 720.0 B<br>number of partitions: 1<br>remote reqs duration: 1 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1452.0 B (72.0 B, 72.0 B, 75.0 B (stage 69095.0: task 174967))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=336536]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n18 ms (0 ms, 1 ms, 3 ms (stage 69095.0: task 174967))";
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>11 ms (0 ms, 0 ms, 2 ms (stage 69095.0: task 174967))<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#851294), false, [numberOfOrderProposalItems#851266]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#849891.parentItems.deliveryDateTime AS _extract_deliveryDateTime#851294]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter (size(orderProposal#849891.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [orderProposal#849891], [(size(orderProposal#849891.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, named_struct(orderProposalId, _extract_orderProposalId#850539L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#850531L, supplierGroup, _extract_supplierGroup#850532, optimizationGroups, coalesce(optimizationGroups#849784, []), supplier, _extract_supplier#850533, supplyingPlant, _extract_supplyingPlant#850534, orderDateTime, _extract_orderDateTime#850535, itemGroups, _extract_itemGroups#850536, previousOrderProposals, _extract_previousOrderProposals#850537, parentItems, _extract_parentItems#850538) AS orderProposal#849891]"];
11 [id="node11" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 4" tooltip="BroadcastHashJoin [coalesce(shardId#847553, ), isnull(shardId#847553), coalesce(_extract_orderProposalId#850539L, 0), isnull(_extract_orderProposalId#850539L)], [coalesce(shardId#849787, ), isnull(shardId#849787), coalesce(orderProposalId#849788L, 0), isnull(orderProposalId#849788L)], LeftOuter, BuildRight, false"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, orderProposal#849764.orderProposalId AS _extract_orderProposalId#850530L, orderProposal#849764.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#850531L, orderProposal#849764.supplierGroup AS _extract_supplierGroup#850532, orderProposal#849764.supplier AS _extract_supplier#850533, orderProposal#849764.supplyingPlant AS _extract_supplyingPlant#850534, orderProposal#849764.orderDateTime AS _extract_orderDateTime#850535, orderProposal#849764.itemGroups AS _extract_itemGroups#850536, orderProposal#849764.previousOrderProposals AS _extract_previousOrderProposals#850537, orderProposal#849764.parentItems AS _extract_parentItems#850538, orderProposal#849764.orderProposalId AS _extract_orderProposalId#850539L]"];
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, struct(orderProposalId, orderProposalId#848223L, originalReplenishmentRunId, originalReplenishmentRunId#849732L, supplierGroup, supplierGroup#849733, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#849733) THEN supplier#849734 END, supplyingPlant, supplyingPlant#849735, orderDateTime, orderDateTime#849736, itemGroups, itemGroups#849737, previousOrderProposals, array_distinct(previousOrderProposals#849739), parentItems, parentItems#849738) AS orderProposal#849764]"];
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>240 ms (0 ms, 0 ms, 60 ms (stage 69095.0: task 174967))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69095.0: task 174967))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#847553, orderProposalId#848223L], functions=[max(originalReplenishmentRunId#849670L), max(supplierGroup#849671), max(supplier#849672), max(supplyingPlant#849673), max(orderDateTime#849674), collect_list(itemGroup#849731, 0, 0), collect_list(parentItems#849675, 0, 0), collect_set(previousOrderProposals#849677, 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>5.8 KiB (1439.0 B, 1542.0 B, 1547.0 B (stage 69095.0: task 174966))<br>merged fetch fallback count: 0<br>local blocks read: 4<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>14.1 KiB (2.5 KiB, 4.6 KiB, 4.6 KiB (stage 69094.0: task 174945))<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 69094.0: task 174944))<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 69095.0: task 174967))<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>5.8 KiB (1439.0 B, 1542.0 B, 1547.0 B (stage 69094.0: task 174945))" tooltip="Exchange hashpartitioning(shardId#847553, orderProposalId#848223L, 20), ENSURE_REQUIREMENTS, [plan_id=336395]"];
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>88 ms (0 ms, 0 ms, 22 ms (stage 69094.0: task 174946))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69094.0: task 174946))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#847553, orderProposalId#848223L], functions=[partial_max(originalReplenishmentRunId#849670L), partial_max(supplierGroup#849671), partial_max(supplier#849672), partial_max(supplyingPlant#849673), partial_max(orderDateTime#849674), partial_collect_list(itemGroup#849731, 0, 0), partial_collect_list(parentItems#849675, 0, 0), partial_collect_set(previousOrderProposals#849677, 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>387 ms (0 ms, 0 ms, 97 ms (stage 69094.0: task 174947))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69094.0: task 174946))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#847553, orderProposalId#848223L, splitIndicator#848228L, orderProposalItemGroupId#848225], functions=[max(originalReplenishmentRunId#848226L), max(supplierGroup#848233), max(supplier#848234), max(supplyingPlant#848264), max(orderDateTime#848241), collect_list(parentItem#849622, 0, 0), collect_set(previousOrderProposal#848229L, 0, 0), collect_list(item#849653, 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>7.9 KiB (1398.0 B, 2.6 KiB, 2.6 KiB (stage 69094.0: task 174944))<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 69093.0: task 174925))<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 69093.0: task 174924))<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 69094.0: task 174946))<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>7.9 KiB (1310.0 B, 1328.0 B, 2.7 KiB (stage 69093.0: task 174925))" tooltip="Exchange hashpartitioning(shardId#847553, orderProposalId#848223L, splitIndicator#848228L, orderProposalItemGroupId#848225, 20), ENSURE_REQUIREMENTS, [plan_id=336392]"];
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>565 ms (0 ms, 1 ms, 112 ms (stage 69093.0: task 174927))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69093.0: task 174927))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#847553, orderProposalId#848223L, splitIndicator#848228L, orderProposalItemGroupId#848225], functions=[partial_max(originalReplenishmentRunId#848226L), partial_max(supplierGroup#848233), partial_max(supplier#848234), partial_max(supplyingPlant#848264), partial_max(orderDateTime#848241), partial_collect_list(parentItem#849622, 0, 0), partial_collect_set(previousOrderProposal#848229L, 0, 0), partial_collect_list(item#849653, 0, 0)])"];
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, orderDateTime#848241, splitIndicator#848228L, orderProposalItemGroupId#848225, previousOrderProposal#848229L, parentItem#849622, struct(itemId, orderProposalItemId#848224, supplier, supplier#848234, supplyingPlant, supplyingPlant#848264, productGroup, productGroup#848265, product, product#848236, plant, plant#848237, supplierSubRange, subrange#848235, deliveryDateTime, deliveryDateTime#848242, orderQuantity, coalesce((qty#848067 * (cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2221#849656.isOrderUnit, lambda x_2221#849656, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2221#849657.isOrderUnit, lambda x_2221#849657, false)), 1, None, false).numerator as double))), qty#848067), orderQuantityUom, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2221#849658.isOrderUnit, lambda x_2221#849658, false)), 1, None, false).uom, orderQuantityBaseUom#848246), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2221#849659.isOrderUnit, lambda x_2221#849659, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#848247), orderQuantityInBaseUnit, qty#848067, orderQuantityBaseUom, ... 13 more fields) AS item#849653]"];
21 [id="node21" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, qty#848067, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, productGroup#848265, product#848236, plant#848237, subrange#848235, orderDateTime#848241, deliveryDateTime#848242, logisticUnits#848260, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, splitIndicator#848228L, orderProposalItemId#848224, orderProposalItemGroupId#848225, previousOrderProposal#848229L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#848234, supplyingPlant, supplyingPlant#848264, productGroup, productGroup#848265, product, product#848236, plant, plant#848237, supplierSubRange, subrange#848235, sourceOfSupplyUuid, sourceOfSupplyUuid#848232, deliveryDateTime, deliveryDateTime#848242, unitPrice, netPriceAmount#848251, unitPriceCurrency, netPriceCurrencyCode#848252, unitPriceQuantity, ... 37 more fields) AS parentItem#849622]"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, qty#848067, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, productGroup#848265, product#848236, plant#848237, subrange#848235, orderDateTime#848241, deliveryDateTime#848242, availabilityDateTime#848243, nextAvailabilityDateTime#848244, logisticUnits#848260, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, splitIndicator#848228L, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, sourceOfSupplyUuid#848232, ... 12 more fields]"];
subgraph cluster23 {
isCluster="true";
id="cluster23";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (26 ms, 182 ms, 286 ms (stage 69093.0: task 174927))";
tooltip="WholeStageCodegen (1)";
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, productGroup#848265, product#848236, plant#848237, subrange#848235, orderDateTime#848241, deliveryDateTime#848242, availabilityDateTime#848243, nextAvailabilityDateTime#848244, logisticUnits#848260, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, splitIndicator#848228L, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, ... 11 more fields]"];
25 [id="node25" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter NOT (isFallbackOrderOnly#848245 <=> true)"];
}
26 [id="node26" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 6" tooltip="InMemoryTableScan [availabilityDateTime#848243, channelStreamSpecificKpis#848984, constraintLabels#848255, constraintOperators#848256, constraintValues#848258, deliveryDateTime#848242, isFallbackOrderOnly#848245, logisticUnits#848260, measurements#848253, minimumOrderQuantity#848254, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, nextAvailabilityDateTime#848244, optimizationGroups#848261, orderDateTime#848241, orderProposalId#848223L, orderProposalItemGroupId#848225, orderProposalItemId#848224, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, originalReplenishmentRunId#848226L, plant#848237, ... 14 more fields], [NOT (isFallbackOrderOnly#848245 <=> true)]"];
subgraph cluster27 {
isCluster="true";
id="cluster27";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n200 ms (0 ms, 8 ms, 32 ms (stage 69093.0: task 174927))";
tooltip="WholeStageCodegen (13)";
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, ... 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 69093.0: task 174930))" tooltip="SortMergeJoin [shardId#847553, worklistShardItemId#848065L], [shardId#848991, worklistShardItemId#848992L], LeftOuter"];
}
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n1.5 s (0 ms, 76 ms, 228 ms (stage 69093.0: task 174928))";
tooltip="WholeStageCodegen (10)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, ... 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 69093.0: task 174930))" tooltip="SortMergeJoin [shardId#847553, worklistShardItemId#848065L], [shardId#848978, worklistShardItemId#848979L], LeftOuter"];
}
subgraph cluster33 {
isCluster="true";
id="cluster33";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n2.7 s (0 ms, 138 ms, 398 ms (stage 69093.0: task 174927))";
tooltip="WholeStageCodegen (7)";
34 [id="node34" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, ... 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 69093.0: task 174930))" tooltip="SortMergeJoin [shardId#847553, worklistShardItemId#848065L], [shardId#848962, worklistShardItemId#848963L], LeftOuter"];
}
subgraph cluster36 {
isCluster="true";
id="cluster36";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n4.1 s (0 ms, 201 ms, 614 ms (stage 69093.0: task 174927))";
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 69093.0: task 174930))<br>peak memory total (min, med, max (stageId: taskId))<br>11.3 MiB (64.0 KiB, 64.0 KiB, 2.1 MiB (stage 69093.0: task 174927))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69093.0: task 174930))" tooltip="Sort [shardId#847553 ASC NULLS FIRST, worklistShardItemId#848065L 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>6.6 KiB (1030.0 B, 1081.0 B, 2.3 KiB (stage 69093.0: task 174925))<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.3 KiB (1776.0 B, 2.9 KiB, 2.9 KiB (stage 69090.0: task 174877))<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 69090.0: task 174877))<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 69093.0: task 174927))<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 (1245.0 B, 2.1 KiB, 2.1 KiB (stage 69090.0: task 174877))" tooltip="Exchange hashpartitioning(shardId#847553, worklistShardItemId#848065L, 20), ENSURE_REQUIREMENTS, [plan_id=336125]"];
subgraph cluster39 {
isCluster="true";
id="cluster39";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n11 ms (0 ms, 0 ms, 5 ms (stage 69090.0: task 174854))";
tooltip="WholeStageCodegen (3)";
40 [id="node40" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, ... 14 more fields]"];
41 [id="node41" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 6" tooltip="BroadcastHashJoin [worklistShardItemId#848065L], [worklistShardItemId#848289L], LeftOuter, BuildRight, (shardId#847553 = 0_1_10000002109), false"];
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#847553, item#848064.worklistShardItemId AS worklistShardItemId#848065L, item#848064.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#848066, item#848064.qty AS qty#848067]"];
43 [id="node43" labelType="html" label="<b>Generate</b><br><br>number of output rows: 6" tooltip="Generate explode(items#847555), [shardId#847553], false, [item#848064]"];
44 [id="node44" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter ((size(items#847555, true) > 0) AND isnotnull(items#847555))"];
}
45 [id="node45" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [shardId#847553, items#847555], [(size(items#847555, true) > 0), isnotnull(items#847555)]"];
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#847553) AND (shardId#847553 = 0_1_10000002109))"];
}
48 [id="node48" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, optimizationInsights#847559], [isnotnull(shardId#847553), (shardId#847553 = 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#847553) AND (shardId#847553 = 0_1_10000002109))"];
51 [id="node51" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#847553,orderProposalId#847554L,items#847555,optimizationGroups#847556,isOptimal#847557,lastModified#847558,optimizationInsights#847559]"];
}
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: 259 ms<br>number of output rows: 6<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=336120]"];
subgraph cluster53 {
isCluster="true";
id="cluster53";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n5 ms (0 ms, 0 ms, 1 ms (stage 69061.0: task 174828))";
tooltip="WholeStageCodegen (2)";
54 [id="node54" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#848289L, orderProposalId#848266L, orderProposalItemId#848267, orderProposalItemGroupId#848290, originalReplenishmentRunId#848308L, splitIndicator#848285L, previousOrderProposal#848286L, sourceOfSupplyUuid#848280, supplierGroup#848268, supplier#848269, subrange#848272, product#848275, plant#848270, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, isFallbackOrderOnly#848283, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, netPriceAmount#848302, netPriceCurrencyCode#848303, ... 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>5.5 KiB (1056.0 B, 1079.0 B, 1244.0 B (stage 69061.0: task 174825))<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.1 KiB (1488.0 B, 2.9 KiB, 3.0 KiB (stage 69060.0: task 174821))<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 69060.0: task 174822))<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 69061.0: task 174828))<br>remote bytes read: 1023.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.5 KiB (1079.0 B, 2.1 KiB, 2.2 KiB (stage 69060.0: task 174821))" tooltip="Exchange hashpartitioning(worklistShardItemId#848289L, 20), REPARTITION_BY_NUM, [plan_id=336116]"];
subgraph cluster56 {
isCluster="true";
id="cluster56";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n507 ms (116 ms, 133 ms, 136 ms (stage 69060.0: task 174820))";
tooltip="WholeStageCodegen (1)";
57 [id="node57" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#848266L, orderProposalItemId#848267, supplierGroup#848268, supplier#848269, plant#848270, deliveryDateTime#848271, subrange#848272, supplyingPlant#848273, productGroup#848274, product#848275, orderDateTime#848276, availabilityDateTime#848277, nextAvailabilityDateTime#848278, sourceOfSupplyUuid#848280, isFallbackOrderOnly#848283, splitIndicator#848285L, previousOrderProposal#848286L, worklistShardItemId#848289L, orderProposalItemGroupId#848290, externalProductId#848291, externalPlantId#848292, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, minimumOrderQuantity#848296, ... 11 more fields]"];
58 [id="node58" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter isnotnull(worklistShardItemId#848289L)"];
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>395 ms (87 ms, 106 ms, 109 ms (stage 69060.0: task 174820))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 76.8 KiB<br>number of output rows: 6<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#848266L,orderProposalItemId#848267,supplierGroup#848268,supplier#848269,plant#848270,deliveryDateTime#848271,subrange#848272,supplyingPlant#848273,productGroup#848274,product#848275,orderDateTime#848276,availabilityDateTime#848277,nextAvailabilityDateTime#848278,sourceOfSupplyUuid#848280,isFallbackOrderOnly#848283,splitIndicator#848285L,previousOrderProposal#848286L,worklistShardItemId#848289L,orderProposalItemGroupId#848290,externalProductId#848291,externalPlantId#848292,logisticUnits#848293,orderQuantityBaseUom#848294,orderQuantityBaseUomUuid#848295,minimumOrderQuantity#848296,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#848289L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#848310), isnotnull(sequenceId#848288), (shardId#848310 = 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 (227 ms, 227 ms, 234 ms (stage 69093.0: task 174925))";
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 69093.0: task 174927))<br>peak memory total (min, med, max (stageId: taskId))<br>10.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 69093.0: task 174927))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69093.0: task 174927))" tooltip="Sort [shardId#848962 ASC NULLS FIRST, worklistShardItemId#848963L 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: 574.0 B<br>merged fetch fallback count: 0<br>local blocks read: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 5<br>data size total (min, med, max (stageId: taskId))<br>6.3 KiB (1072.0 B, 1072.0 B, 2.1 KiB (stage 69091.0: task 174876))<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 69091.0: task 174876))<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 69093.0: task 174927))<br>remote bytes read total (min, med, max (stageId: taskId))<br>2.8 KiB (553.0 B, 565.0 B, 579.0 B (stage 69093.0: task 174924))<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 69093.0: task 174927))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>3.3 KiB (553.0 B, 574.0 B, 1137.0 B (stage 69091.0: task 174876))" tooltip="Exchange hashpartitioning(shardId#848962, worklistShardItemId#848963L, 20), ENSURE_REQUIREMENTS, [plan_id=336131]"];
subgraph cluster64 {
isCluster="true";
id="cluster64";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n50 ms (0 ms, 2 ms, 11 ms (stage 69091.0: task 174876))";
tooltip="WholeStageCodegen (5)";
65 [id="node65" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#848962, worklistShardItemId#848963L, coalesce(kpis#848967, []) AS prodLocSpecificKpis#848968]"];
66 [id="node66" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter (((isnull(qty#848964) AND isnull(demandChannel#848965)) AND isnull(demandStream#848966)) AND (isnotnull(shardId#848962) AND isnotnull(worklistShardItemId#848963L)))"];
67 [id="node67" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 26" tooltip="Scan ExistingRDD[shardId#848962,worklistShardItemId#848963L,qty#848964,demandChannel#848965,demandStream#848966,kpis#848967]"];
}
subgraph cluster68 {
isCluster="true";
id="cluster68";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n731 ms (145 ms, 145 ms, 151 ms (stage 69093.0: task 174925))";
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 69093.0: task 174927))<br>peak memory total (min, med, max (stageId: taskId))<br>10.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 69093.0: task 174927))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69093.0: task 174927))" tooltip="Sort [shardId#848978 ASC NULLS FIRST, worklistShardItemId#848979L 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>115 ms (0 ms, 0 ms, 23 ms (stage 69093.0: task 174927))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69093.0: task 174927))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#848978, worklistShardItemId#848979L], functions=[collect_list(struct(demandChannel, demandChannel#848981, demandStream, demandStream#848982, kpis, kpis#848983), 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>1855.0 B (309.0 B, 309.0 B, 618.0 B (stage 69093.0: task 174925))<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>2.4 KiB (408.0 B, 816.0 B, 1224.0 B (stage 69089.0: task 174853))<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 69089.0: task 174873))<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 69093.0: task 174927))<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>1855.0 B (309.0 B, 619.0 B, 927.0 B (stage 69089.0: task 174853))" tooltip="Exchange hashpartitioning(shardId#848978, worklistShardItemId#848979L, 20), ENSURE_REQUIREMENTS, [plan_id=336142]"];
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>326 ms (0 ms, 3 ms, 74 ms (stage 69089.0: task 174853))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69089.0: task 174873))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#848978, worklistShardItemId#848979L], functions=[partial_collect_list(struct(demandChannel, demandChannel#848981, demandStream, demandStream#848982, kpis, kpis#848983), 0, 0)])"];
subgraph cluster73 {
isCluster="true";
id="cluster73";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n327 ms (0 ms, 3 ms, 74 ms (stage 69089.0: task 174853))";
tooltip="WholeStageCodegen (8)";
74 [id="node74" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#848978, worklistShardItemId#848979L, demandChannel#848981, demandStream#848982, kpis#848983]"];
75 [id="node75" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter ((((isnull(qty#848980) AND isnotnull(demandChannel#848981)) AND isnotnull(demandStream#848982)) AND (size(kpis#848983, true) > 0)) AND (isnotnull(shardId#848978) AND isnotnull(worklistShardItemId#848979L)))"];
76 [id="node76" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 26" tooltip="Scan ExistingRDD[shardId#848978,worklistShardItemId#848979L,qty#848980,demandChannel#848981,demandStream#848982,kpis#848983]"];
}
subgraph cluster77 {
isCluster="true";
id="cluster77";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n267 ms (53 ms, 53 ms, 55 ms (stage 69093.0: task 174925))";
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 69093.0: task 174927))<br>peak memory total (min, med, max (stageId: taskId))<br>10.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 69093.0: task 174927))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69093.0: task 174927))" tooltip="Sort [shardId#848991 ASC NULLS FIRST, worklistShardItemId#848992L 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>160 ms (0 ms, 0 ms, 32 ms (stage 69093.0: task 174927))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69093.0: task 174927))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#848991, worklistShardItemId#848992L], functions=[collect_list(struct(qty, qty#848993, kpis, kpis#848996), 0, 0)])"];
80 [id="node80" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 14<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 14<br>local bytes read total (min, med, max (stageId: taskId))<br>2.7 KiB (457.0 B, 463.0 B, 1836.0 B (stage 69093.0: task 174925))<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 8<br>data size total (min, med, max (stageId: taskId))<br>8.8 KiB (640.0 B, 640.0 B, 1280.0 B (stage 69092.0: task 174904))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 0 ms (stage 69092.0: task 174856))<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 69093.0: task 174927))<br>remote bytes read total (min, med, max (stageId: taskId))<br>3.6 KiB (457.0 B, 916.0 B, 921.0 B (stage 69093.0: task 174924))<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 69093.0: task 174927))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.3 KiB (455.0 B, 459.0 B, 924.0 B (stage 69092.0: task 174915))" tooltip="Exchange hashpartitioning(shardId#848991, worklistShardItemId#848992L, 20), ENSURE_REQUIREMENTS, [plan_id=336154]"];
81 [id="node81" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 14<br>time in aggregation build total (min, med, max (stageId: taskId))<br>165 ms (0 ms, 2 ms, 56 ms (stage 69092.0: task 174856))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 69092.0: task 174912))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#848991, worklistShardItemId#848992L], functions=[partial_collect_list(struct(qty, qty#848993, kpis, kpis#848996), 0, 0)])"];
subgraph cluster82 {
isCluster="true";
id="cluster82";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n165 ms (0 ms, 2 ms, 56 ms (stage 69092.0: task 174856))";
tooltip="WholeStageCodegen (11)";
83 [id="node83" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#848991, worklistShardItemId#848992L, qty#848993, kpis#848996]"];
84 [id="node84" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter ((isnotnull(qty#848993) AND isnotnull(kpis#848996)) AND (isnotnull(shardId#848991) AND isnotnull(worklistShardItemId#848992L)))"];
85 [id="node85" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 26" tooltip="Scan ExistingRDD[shardId#848991,worklistShardItemId#848992L,qty#848993,demandChannel#848994,demandStream#848995,kpis#848996]"];
}
86 [id="node86" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 6 ms<br>time to collect: 664 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=336430]"];
87 [id="node87" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#849788L, shardId#849787, coalesce(transform(optimizationGroups#849790, lambdafunction(struct(optGroupId, lambda x_2225#849785.optGroupId, minOrderProfile, lambda x_2225#849785.minOrderProfile, assignmentDetails, lambda x_2225#849785.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2225#849785.minOrderGoal.dimensionType, unit, lambda x_2225#849785.minOrderGoal.unit, unitUuid, lambda x_2225#849785.minOrderGoal.unitUuid, goalValue, lambda x_2225#849785.minOrderGoal.minOrderValue, calcValue, lambda x_2225#849785.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2225#849785, false)), []) AS optimizationGroups#849784]"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n382 ms (1 ms, 35 ms, 40 ms (stage 69059.0: task 174801))";
tooltip="WholeStageCodegen (6)";
89 [id="node89" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 4" tooltip="BroadcastHashJoin [orderProposalId#849788L], [orderProposalId#849843L], 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>5 ms (0 ms, 0 ms, 1 ms (stage 69059.0: task 174803))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 69059.0: task 174807))<br>number of output rows: 4<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#849843L], functions=[])"];
}
90 [id="node90" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 5 ms<br>time to collect: 173 ms<br>number of output rows: 4<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=336402]"];
subgraph cluster91 {
isCluster="true";
id="cluster91";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n60 ms (0 ms, 0 ms, 53 ms (stage 69055.0: task 174751))";
tooltip="WholeStageCodegen (2)";
92 [id="node92" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter isnotnull(orderProposalId#849788L)"];
}
93 [id="node93" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [shardId#849787, orderProposalId#849788L, optimizationGroups#849790], [isnotnull(orderProposalId#849788L)]"];
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#847553) AND (shardId#847553 = 0_1_10000002109))"];
}
96 [id="node96" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, optimizationInsights#847559], [isnotnull(shardId#847553), (shardId#847553 = 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#847553) AND (shardId#847553 = 0_1_10000002109))"];
99 [id="node99" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#847553,orderProposalId#847554L,items#847555,optimizationGroups#847556,isOptimal#847557,lastModified#847558,optimizationInsights#847559]"];
}
101 [id="node101" 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>375.0 B (75.0 B, 150.0 B, 150.0 B (stage 69059.0: task 174800))<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>96.0 B (16.0 B, 16.0 B, 32.0 B (stage 69058.0: task 174780))<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 69058.0: task 174780))<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 69059.0: task 174800))<br>remote bytes read: 75.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>450.0 B (75.0 B, 75.0 B, 150.0 B (stage 69058.0: task 174780))" tooltip="Exchange hashpartitioning(orderProposalId#849843L, 20), ENSURE_REQUIREMENTS, [plan_id=336424]"];
subgraph cluster102 {
isCluster="true";
id="cluster102";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n379 ms (0 ms, 36 ms, 39 ms (stage 69058.0: task 174783))";
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>4 ms (0 ms, 0 ms, 2 ms (stage 69058.0: task 174784))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 69058.0: task 174785))<br>number of output rows: 6<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#849843L], functions=[])"];
104 [id="node104" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#849843L]"];
105 [id="node105" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 6" tooltip="BroadcastHashJoin [worklistShardItemId#849795L], [worklistShardItemId#849866L], Inner, BuildLeft, false"];
119 [id="node119" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#849866L, orderProposalId#849843L]"];
}
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: 258 ms<br>number of output rows: 6<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=336410]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n11 ms (0 ms, 1 ms, 1 ms (stage 69056.0: task 174748))";
tooltip="WholeStageCodegen (3)";
108 [id="node108" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#849794L AS worklistShardItemId#849795L]"];
109 [id="node109" labelType="html" label="<b>Generate</b><br><br>number of output rows: 6" tooltip="Generate explode(_extract_worklistShardItemId#850435), false, [item#849794L]"];
110 [id="node110" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#849406.worklistShardItemId AS _extract_worklistShardItemId#850435]"];
111 [id="node111" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter (((size(items#849406.worklistShardItemId, true) > 0) AND isnotnull(items#849406.worklistShardItemId)) AND (shardId#849404 = 0_1_10000002109))"];
}
112 [id="node112" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [items#849406, shardId#849404], [(size(items#849406.worklistShardItemId, true) > 0), isnotnull(items#849406.worklistShardItemId), (shardId#849404 = 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#847553) AND (shardId#847553 = 0_1_10000002109))"];
}
115 [id="node115" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, optimizationInsights#847559], [isnotnull(shardId#847553), (shardId#847553 = 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#847553) AND (shardId#847553 = 0_1_10000002109))"];
118 [id="node118" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#847553,orderProposalId#847554L,items#847555,optimizationGroups#847556,isOptimal#847557,lastModified#847558,optimizationInsights#847559]"];
}
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>420.0 B (84.0 B, 84.0 B, 84.0 B (stage 69058.0: task 174784))<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>144.0 B (24.0 B, 48.0 B, 48.0 B (stage 69057.0: task 174777))<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 69057.0: task 174777))<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 69058.0: task 174784))<br>remote bytes read: 84.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 69057.0: task 174777))" tooltip="Exchange hashpartitioning(worklistShardItemId#849866L, 20), REPARTITION_BY_NUM, [plan_id=336417]"];
subgraph cluster121 {
isCluster="true";
id="cluster121";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n439 ms (107 ms, 109 ms, 116 ms (stage 69057.0: task 174778))";
tooltip="WholeStageCodegen (4)";
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#849843L, worklistShardItemId#849866L]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter ((isnotnull(worklistShardItemId#849866L) AND NOT (isFallbackOrderOnly#849860 <=> true)) AND isnotnull(orderProposalId#849843L))"];
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>428 ms (104 ms, 107 ms, 113 ms (stage 69057.0: task 174778))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 76.8 KiB<br>number of output rows: 6<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#849843L,isFallbackOrderOnly#849860,worklistShardItemId#849866L,shardId#849887,sequenceId#849865] Batched: true, DataFilters: [isnotnull(worklistShardItemId#849866L), NOT (isFallbackOrderOnly#849860 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#849887), isnotnull(sequenceId#849865), (shardId#849887 = 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#849891]
Arguments: [orderProposal#849891], [(size(orderProposal#849891.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#847553, orderProposal#849891], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#848243, channelStreamSpecificKpis#848984, constraintLabels#848255, constraintOperators#848256, constraintValues#848258, deliveryDateTime#848242, isFallbackOrderOnly#848245, logisticUnits#848260, measurements#848253, minimumOrderQuantity#848254, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, nextAvailabilityDateTime#848244, optimizationGroups#848261, orderDateTime#848241, orderProposalId#848223L, orderProposalItemGroupId#848225, orderProposalItemId#848224, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, originalReplenishmentRunId#848226L, plant#848237, previousOrderProposal#848229L, prodLocSpecificKpis#848969, product#848236, productGroup#848265, qty#848067, quantityAfterProdPlantOptimization#848066, quantityKpis#848997, shardId#847553, sourceOfSupplyUuid#848232, splitIndicator#848228L, subrange#848235, supplier#848234, supplierGroup#848233, supplyingPlant#848264]
Arguments: [availabilityDateTime#848243, channelStreamSpecificKpis#848984, constraintLabels#848255, constraintOperators#848256, constraintValues#848258, deliveryDateTime#848242, isFallbackOrderOnly#848245, logisticUnits#848260, measurements#848253, minimumOrderQuantity#848254, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, nextAvailabilityDateTime#848244, optimizationGroups#848261, orderDateTime#848241, orderProposalId#848223L, orderProposalItemGroupId#848225, orderProposalItemId#848224, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, originalReplenishmentRunId#848226L, plant#848237, ... 14 more fields], [NOT (isFallbackOrderOnly#848245 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, productGroup#848265, product#848236, plant#848237, subrange#848235, orderDateTime#848241, deliveryDateTime#848242, availabilityDateTime#848243, nextAvailabilityDateTime#848244, constraintValues#848258, constraintOperators#848256, constraintLabels#848255, logisticUnits#848260, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, splitIndicator#848228L, netPriceAmount#848251, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#847553, items#847555]
Arguments: [shardId#847553, items#847555], [(size(items#847555, true) > 0), isnotnull(items#847555)]
(6) InMemoryRelation
Arguments: [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, optimizationInsights#847559], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, optimizationInsights#847559]
Arguments: [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, optimizationInsights#847559], [isnotnull(shardId#847553), (shardId#847553 = 0_1_10000002109)]
(8) InMemoryRelation
Arguments: [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, lastModified#847558, optimizationInsights#847559], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, lastModified#847558, optimizationInsights#847559]
Arguments: [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, lastModified#847558, optimizationInsights#847559], MapPartitionsRDD[39846] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, lastModified#847558, optimizationInsights#847559]
Condition : (isnotnull(shardId#847553) AND (shardId#847553 = 0_1_10000002109))
(11) Filter [codegen id : 1]
Input [6]: [shardId#847553, orderProposalId#847554L, items#847555, optimizationGroups#847556, isOptimal#847557, optimizationInsights#847559]
Condition : (isnotnull(shardId#847553) AND (shardId#847553 = 0_1_10000002109))
(12) Filter [codegen id : 3]
Input [2]: [shardId#847553, items#847555]
Condition : ((size(items#847555, true) > 0) AND isnotnull(items#847555))
(13) Generate [codegen id : 3]
Input [2]: [shardId#847553, items#847555]
Arguments: explode(items#847555), [shardId#847553], false, [item#848064]
(14) Project [codegen id : 3]
Output [4]: [shardId#847553, item#848064.worklistShardItemId AS worklistShardItemId#848065L, item#848064.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#848066, item#848064.qty AS qty#848067]
Input [2]: [shardId#847553, item#848064]
(15) Scan parquet
Output [38]: [orderProposalId#848266L, orderProposalItemId#848267, supplierGroup#848268, supplier#848269, plant#848270, deliveryDateTime#848271, subrange#848272, supplyingPlant#848273, productGroup#848274, product#848275, orderDateTime#848276, availabilityDateTime#848277, nextAvailabilityDateTime#848278, sourceOfSupplyUuid#848280, isFallbackOrderOnly#848283, splitIndicator#848285L, previousOrderProposal#848286L, worklistShardItemId#848289L, orderProposalItemGroupId#848290, externalProductId#848291, externalPlantId#848292, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, minimumOrderQuantity#848296, constraintLabels#848297, constraintOperators#848298, constraintValues#848299, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, measurements#848307, originalReplenishmentRunId#848308L, optimizationGroups#848309, shardId#848310, sequenceId#848288]
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#848310), isnotnull(sequenceId#848288), (shardId#848310 = 0_1_10000002109), (sequenceId#848288 = 0)]
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#848266L, orderProposalItemId#848267, supplierGroup#848268, supplier#848269, plant#848270, deliveryDateTime#848271, subrange#848272, supplyingPlant#848273, productGroup#848274, product#848275, orderDateTime#848276, availabilityDateTime#848277, nextAvailabilityDateTime#848278, sourceOfSupplyUuid#848280, isFallbackOrderOnly#848283, splitIndicator#848285L, previousOrderProposal#848286L, worklistShardItemId#848289L, orderProposalItemGroupId#848290, externalProductId#848291, externalPlantId#848292, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, minimumOrderQuantity#848296, constraintLabels#848297, constraintOperators#848298, constraintValues#848299, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, measurements#848307, originalReplenishmentRunId#848308L, optimizationGroups#848309, shardId#848310, sequenceId#848288]
(17) Filter [codegen id : 1]
Input [38]: [orderProposalId#848266L, orderProposalItemId#848267, supplierGroup#848268, supplier#848269, plant#848270, deliveryDateTime#848271, subrange#848272, supplyingPlant#848273, productGroup#848274, product#848275, orderDateTime#848276, availabilityDateTime#848277, nextAvailabilityDateTime#848278, sourceOfSupplyUuid#848280, isFallbackOrderOnly#848283, splitIndicator#848285L, previousOrderProposal#848286L, worklistShardItemId#848289L, orderProposalItemGroupId#848290, externalProductId#848291, externalPlantId#848292, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, minimumOrderQuantity#848296, constraintLabels#848297, constraintOperators#848298, constraintValues#848299, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, measurements#848307, originalReplenishmentRunId#848308L, optimizationGroups#848309, shardId#848310, sequenceId#848288]
Condition : isnotnull(worklistShardItemId#848289L)
(18) Project [codegen id : 1]
Output [36]: [orderProposalId#848266L, orderProposalItemId#848267, supplierGroup#848268, supplier#848269, plant#848270, deliveryDateTime#848271, subrange#848272, supplyingPlant#848273, productGroup#848274, product#848275, orderDateTime#848276, availabilityDateTime#848277, nextAvailabilityDateTime#848278, sourceOfSupplyUuid#848280, isFallbackOrderOnly#848283, splitIndicator#848285L, previousOrderProposal#848286L, worklistShardItemId#848289L, orderProposalItemGroupId#848290, externalProductId#848291, externalPlantId#848292, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, minimumOrderQuantity#848296, constraintLabels#848297, constraintOperators#848298, constraintValues#848299, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, measurements#848307, originalReplenishmentRunId#848308L, optimizationGroups#848309]
Input [38]: [orderProposalId#848266L, orderProposalItemId#848267, supplierGroup#848268, supplier#848269, plant#848270, deliveryDateTime#848271, subrange#848272, supplyingPlant#848273, productGroup#848274, product#848275, orderDateTime#848276, availabilityDateTime#848277, nextAvailabilityDateTime#848278, sourceOfSupplyUuid#848280, isFallbackOrderOnly#848283, splitIndicator#848285L, previousOrderProposal#848286L, worklistShardItemId#848289L, orderProposalItemGroupId#848290, externalProductId#848291, externalPlantId#848292, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, minimumOrderQuantity#848296, constraintLabels#848297, constraintOperators#848298, constraintValues#848299, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, measurements#848307, originalReplenishmentRunId#848308L, optimizationGroups#848309, shardId#848310, sequenceId#848288]
(19) Exchange
Input [36]: [orderProposalId#848266L, orderProposalItemId#848267, supplierGroup#848268, supplier#848269, plant#848270, deliveryDateTime#848271, subrange#848272, supplyingPlant#848273, productGroup#848274, product#848275, orderDateTime#848276, availabilityDateTime#848277, nextAvailabilityDateTime#848278, sourceOfSupplyUuid#848280, isFallbackOrderOnly#848283, splitIndicator#848285L, previousOrderProposal#848286L, worklistShardItemId#848289L, orderProposalItemGroupId#848290, externalProductId#848291, externalPlantId#848292, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, minimumOrderQuantity#848296, constraintLabels#848297, constraintOperators#848298, constraintValues#848299, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, measurements#848307, originalReplenishmentRunId#848308L, optimizationGroups#848309]
Arguments: hashpartitioning(worklistShardItemId#848289L, 20), REPARTITION_BY_NUM, [plan_id=336116]
(20) Project [codegen id : 2]
Output [36]: [worklistShardItemId#848289L, orderProposalId#848266L, orderProposalItemId#848267, orderProposalItemGroupId#848290, originalReplenishmentRunId#848308L, splitIndicator#848285L, previousOrderProposal#848286L, sourceOfSupplyUuid#848280, supplierGroup#848268, supplier#848269, subrange#848272, product#848275, plant#848270, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, isFallbackOrderOnly#848283, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, netPriceAmount#848302, netPriceCurrencyCode#848303, measurements#848307, minimumOrderQuantity#848296, constraintLabels#848297, constraintOperators#848298, constraintValues#848299, logisticUnits#848293, optimizationGroups#848309, externalProductId#848291, externalPlantId#848292, supplyingPlant#848273, productGroup#848274]
Input [36]: [orderProposalId#848266L, orderProposalItemId#848267, supplierGroup#848268, supplier#848269, plant#848270, deliveryDateTime#848271, subrange#848272, supplyingPlant#848273, productGroup#848274, product#848275, orderDateTime#848276, availabilityDateTime#848277, nextAvailabilityDateTime#848278, sourceOfSupplyUuid#848280, isFallbackOrderOnly#848283, splitIndicator#848285L, previousOrderProposal#848286L, worklistShardItemId#848289L, orderProposalItemGroupId#848290, externalProductId#848291, externalPlantId#848292, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, minimumOrderQuantity#848296, constraintLabels#848297, constraintOperators#848298, constraintValues#848299, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, measurements#848307, originalReplenishmentRunId#848308L, optimizationGroups#848309]
(21) BroadcastExchange
Input [36]: [worklistShardItemId#848289L, orderProposalId#848266L, orderProposalItemId#848267, orderProposalItemGroupId#848290, originalReplenishmentRunId#848308L, splitIndicator#848285L, previousOrderProposal#848286L, sourceOfSupplyUuid#848280, supplierGroup#848268, supplier#848269, subrange#848272, product#848275, plant#848270, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, isFallbackOrderOnly#848283, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, netPriceAmount#848302, netPriceCurrencyCode#848303, measurements#848307, minimumOrderQuantity#848296, constraintLabels#848297, constraintOperators#848298, constraintValues#848299, logisticUnits#848293, optimizationGroups#848309, externalProductId#848291, externalPlantId#848292, supplyingPlant#848273, productGroup#848274]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=336120]
(22) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#848065L]
Right keys [1]: [worklistShardItemId#848289L]
Join type: LeftOuter
Join condition: (shardId#847553 = 0_1_10000002109)
(23) Project [codegen id : 3]
Output [39]: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, sourceOfSupplyUuid#848280, minimumOrderQuantity#848296, orderProposalItemId#848267, orderProposalItemGroupId#848290, optimizationGroups#848309, measurements#848307, externalProductId#848291, externalPlantId#848292, previousOrderProposal#848286L, isFallbackOrderOnly#848283]
Input [40]: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, worklistShardItemId#848289L, orderProposalId#848266L, orderProposalItemId#848267, orderProposalItemGroupId#848290, originalReplenishmentRunId#848308L, splitIndicator#848285L, previousOrderProposal#848286L, sourceOfSupplyUuid#848280, supplierGroup#848268, supplier#848269, subrange#848272, product#848275, plant#848270, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, isFallbackOrderOnly#848283, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, netPriceAmount#848302, netPriceCurrencyCode#848303, measurements#848307, minimumOrderQuantity#848296, constraintLabels#848297, constraintOperators#848298, constraintValues#848299, logisticUnits#848293, optimizationGroups#848309, externalProductId#848291, externalPlantId#848292, supplyingPlant#848273, productGroup#848274]
(24) Exchange
Input [39]: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, sourceOfSupplyUuid#848280, minimumOrderQuantity#848296, orderProposalItemId#848267, orderProposalItemGroupId#848290, optimizationGroups#848309, measurements#848307, externalProductId#848291, externalPlantId#848292, previousOrderProposal#848286L, isFallbackOrderOnly#848283]
Arguments: hashpartitioning(shardId#847553, worklistShardItemId#848065L, 20), ENSURE_REQUIREMENTS, [plan_id=336125]
(25) Sort [codegen id : 4]
Input [39]: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, sourceOfSupplyUuid#848280, minimumOrderQuantity#848296, orderProposalItemId#848267, orderProposalItemGroupId#848290, optimizationGroups#848309, measurements#848307, externalProductId#848291, externalPlantId#848292, previousOrderProposal#848286L, isFallbackOrderOnly#848283]
Arguments: [shardId#847553 ASC NULLS FIRST, worklistShardItemId#848065L ASC NULLS FIRST], false, 0
(26) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#848962, worklistShardItemId#848963L, qty#848964, demandChannel#848965, demandStream#848966, kpis#848967]
Arguments: [shardId#848962, worklistShardItemId#848963L, qty#848964, demandChannel#848965, demandStream#848966, kpis#848967], MapPartitionsRDD[39920] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(27) Filter [codegen id : 5]
Input [6]: [shardId#848962, worklistShardItemId#848963L, qty#848964, demandChannel#848965, demandStream#848966, kpis#848967]
Condition : (((isnull(qty#848964) AND isnull(demandChannel#848965)) AND isnull(demandStream#848966)) AND (isnotnull(shardId#848962) AND isnotnull(worklistShardItemId#848963L)))
(28) Project [codegen id : 5]
Output [3]: [shardId#848962, worklistShardItemId#848963L, coalesce(kpis#848967, []) AS prodLocSpecificKpis#848968]
Input [6]: [shardId#848962, worklistShardItemId#848963L, qty#848964, demandChannel#848965, demandStream#848966, kpis#848967]
(29) Exchange
Input [3]: [shardId#848962, worklistShardItemId#848963L, prodLocSpecificKpis#848968]
Arguments: hashpartitioning(shardId#848962, worklistShardItemId#848963L, 20), ENSURE_REQUIREMENTS, [plan_id=336131]
(30) Sort [codegen id : 6]
Input [3]: [shardId#848962, worklistShardItemId#848963L, prodLocSpecificKpis#848968]
Arguments: [shardId#848962 ASC NULLS FIRST, worklistShardItemId#848963L ASC NULLS FIRST], false, 0
(31) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#847553, worklistShardItemId#848065L]
Right keys [2]: [shardId#848962, worklistShardItemId#848963L]
Join type: LeftOuter
Join condition: None
(32) Project [codegen id : 7]
Output [40]: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, sourceOfSupplyUuid#848280, minimumOrderQuantity#848296, orderProposalItemId#848267, orderProposalItemGroupId#848290, optimizationGroups#848309, measurements#848307, externalProductId#848291, externalPlantId#848292, previousOrderProposal#848286L, isFallbackOrderOnly#848283, coalesce(prodLocSpecificKpis#848968, []) AS prodLocSpecificKpis#848969]
Input [42]: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, sourceOfSupplyUuid#848280, minimumOrderQuantity#848296, orderProposalItemId#848267, orderProposalItemGroupId#848290, optimizationGroups#848309, measurements#848307, externalProductId#848291, externalPlantId#848292, previousOrderProposal#848286L, isFallbackOrderOnly#848283, shardId#848962, worklistShardItemId#848963L, prodLocSpecificKpis#848968]
(33) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#848978, worklistShardItemId#848979L, qty#848980, demandChannel#848981, demandStream#848982, kpis#848983]
Arguments: [shardId#848978, worklistShardItemId#848979L, qty#848980, demandChannel#848981, demandStream#848982, kpis#848983], MapPartitionsRDD[39920] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(34) Filter [codegen id : 8]
Input [6]: [shardId#848978, worklistShardItemId#848979L, qty#848980, demandChannel#848981, demandStream#848982, kpis#848983]
Condition : ((((isnull(qty#848980) AND isnotnull(demandChannel#848981)) AND isnotnull(demandStream#848982)) AND (size(kpis#848983, true) > 0)) AND (isnotnull(shardId#848978) AND isnotnull(worklistShardItemId#848979L)))
(35) Project [codegen id : 8]
Output [5]: [shardId#848978, worklistShardItemId#848979L, demandChannel#848981, demandStream#848982, kpis#848983]
Input [6]: [shardId#848978, worklistShardItemId#848979L, qty#848980, demandChannel#848981, demandStream#848982, kpis#848983]
(36) ObjectHashAggregate
Input [5]: [shardId#848978, worklistShardItemId#848979L, demandChannel#848981, demandStream#848982, kpis#848983]
Keys [2]: [shardId#848978, worklistShardItemId#848979L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#848981, demandStream, demandStream#848982, kpis, kpis#848983), 0, 0)]
Aggregate Attributes [1]: [buf#849158]
Results [3]: [shardId#848978, worklistShardItemId#848979L, buf#849159]
(37) Exchange
Input [3]: [shardId#848978, worklistShardItemId#848979L, buf#849159]
Arguments: hashpartitioning(shardId#848978, worklistShardItemId#848979L, 20), ENSURE_REQUIREMENTS, [plan_id=336142]
(38) ObjectHashAggregate
Input [3]: [shardId#848978, worklistShardItemId#848979L, buf#849159]
Keys [2]: [shardId#848978, worklistShardItemId#848979L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#848981, demandStream, demandStream#848982, kpis, kpis#848983), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#848981, demandStream, demandStream#848982, kpis, kpis#848983), 0, 0)#848977]
Results [3]: [shardId#848978, worklistShardItemId#848979L, collect_list(struct(demandChannel, demandChannel#848981, demandStream, demandStream#848982, kpis, kpis#848983), 0, 0)#848977 AS channelStreamSpecificKpis#848970]
(39) Sort [codegen id : 9]
Input [3]: [shardId#848978, worklistShardItemId#848979L, channelStreamSpecificKpis#848970]
Arguments: [shardId#848978 ASC NULLS FIRST, worklistShardItemId#848979L ASC NULLS FIRST], false, 0
(40) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#847553, worklistShardItemId#848065L]
Right keys [2]: [shardId#848978, worklistShardItemId#848979L]
Join type: LeftOuter
Join condition: None
(41) Project [codegen id : 10]
Output [41]: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, sourceOfSupplyUuid#848280, minimumOrderQuantity#848296, orderProposalItemId#848267, orderProposalItemGroupId#848290, optimizationGroups#848309, measurements#848307, externalProductId#848291, externalPlantId#848292, previousOrderProposal#848286L, isFallbackOrderOnly#848283, prodLocSpecificKpis#848969, coalesce(channelStreamSpecificKpis#848970, []) AS channelStreamSpecificKpis#848984]
Input [43]: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, sourceOfSupplyUuid#848280, minimumOrderQuantity#848296, orderProposalItemId#848267, orderProposalItemGroupId#848290, optimizationGroups#848309, measurements#848307, externalProductId#848291, externalPlantId#848292, previousOrderProposal#848286L, isFallbackOrderOnly#848283, prodLocSpecificKpis#848969, shardId#848978, worklistShardItemId#848979L, channelStreamSpecificKpis#848970]
(42) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#848991, worklistShardItemId#848992L, qty#848993, demandChannel#848994, demandStream#848995, kpis#848996]
Arguments: [shardId#848991, worklistShardItemId#848992L, qty#848993, demandChannel#848994, demandStream#848995, kpis#848996], MapPartitionsRDD[39920] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(43) Filter [codegen id : 11]
Input [6]: [shardId#848991, worklistShardItemId#848992L, qty#848993, demandChannel#848994, demandStream#848995, kpis#848996]
Condition : ((isnotnull(qty#848993) AND isnotnull(kpis#848996)) AND (isnotnull(shardId#848991) AND isnotnull(worklistShardItemId#848992L)))
(44) Project [codegen id : 11]
Output [4]: [shardId#848991, worklistShardItemId#848992L, qty#848993, kpis#848996]
Input [6]: [shardId#848991, worklistShardItemId#848992L, qty#848993, demandChannel#848994, demandStream#848995, kpis#848996]
(45) ObjectHashAggregate
Input [4]: [shardId#848991, worklistShardItemId#848992L, qty#848993, kpis#848996]
Keys [2]: [shardId#848991, worklistShardItemId#848992L]
Functions [1]: [partial_collect_list(struct(qty, qty#848993, kpis, kpis#848996), 0, 0)]
Aggregate Attributes [1]: [buf#849160]
Results [3]: [shardId#848991, worklistShardItemId#848992L, buf#849161]
(46) Exchange
Input [3]: [shardId#848991, worklistShardItemId#848992L, buf#849161]
Arguments: hashpartitioning(shardId#848991, worklistShardItemId#848992L, 20), ENSURE_REQUIREMENTS, [plan_id=336154]
(47) ObjectHashAggregate
Input [3]: [shardId#848991, worklistShardItemId#848992L, buf#849161]
Keys [2]: [shardId#848991, worklistShardItemId#848992L]
Functions [1]: [collect_list(struct(qty, qty#848993, kpis, kpis#848996), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#848993, kpis, kpis#848996), 0, 0)#848990]
Results [3]: [shardId#848991, worklistShardItemId#848992L, map_from_entries(collect_list(struct(qty, qty#848993, kpis, kpis#848996), 0, 0)#848990) AS quantityKpis#848985]
(48) Sort [codegen id : 12]
Input [3]: [shardId#848991, worklistShardItemId#848992L, quantityKpis#848985]
Arguments: [shardId#848991 ASC NULLS FIRST, worklistShardItemId#848992L ASC NULLS FIRST], false, 0
(49) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#847553, worklistShardItemId#848065L]
Right keys [2]: [shardId#848991, worklistShardItemId#848992L]
Join type: LeftOuter
Join condition: None
(50) Project [codegen id : 13]
Output [42]: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, sourceOfSupplyUuid#848280, minimumOrderQuantity#848296, orderProposalItemId#848267, orderProposalItemGroupId#848290, optimizationGroups#848309, measurements#848307, externalProductId#848291, externalPlantId#848292, previousOrderProposal#848286L, isFallbackOrderOnly#848283, prodLocSpecificKpis#848969, channelStreamSpecificKpis#848984, coalesce(quantityKpis#848985, map(keys: [], values: [])) AS quantityKpis#848997]
Input [44]: [shardId#847553, worklistShardItemId#848065L, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848266L, originalReplenishmentRunId#848308L, supplierGroup#848268, supplier#848269, supplyingPlant#848273, productGroup#848274, product#848275, plant#848270, subrange#848272, orderDateTime#848276, deliveryDateTime#848271, availabilityDateTime#848277, nextAvailabilityDateTime#848278, constraintValues#848299, constraintOperators#848298, constraintLabels#848297, logisticUnits#848293, orderQuantityBaseUom#848294, orderQuantityBaseUomUuid#848295, splitIndicator#848285L, netPriceAmount#848302, netPriceCurrencyCode#848303, netPriceQuantity#848304, netPriceQuantityUom#848305, netPriceQuantityUomUuid#848306, sourceOfSupplyUuid#848280, minimumOrderQuantity#848296, orderProposalItemId#848267, orderProposalItemGroupId#848290, optimizationGroups#848309, measurements#848307, externalProductId#848291, externalPlantId#848292, previousOrderProposal#848286L, isFallbackOrderOnly#848283, prodLocSpecificKpis#848969, channelStreamSpecificKpis#848984, shardId#848991, worklistShardItemId#848992L, quantityKpis#848985]
(51) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#848243, channelStreamSpecificKpis#848984, constraintLabels#848255, constraintOperators#848256, constraintValues#848258, deliveryDateTime#848242, isFallbackOrderOnly#848245, logisticUnits#848260, measurements#848253, minimumOrderQuantity#848254, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, nextAvailabilityDateTime#848244, optimizationGroups#848261, orderDateTime#848241, orderProposalId#848223L, orderProposalItemGroupId#848225, orderProposalItemId#848224, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, originalReplenishmentRunId#848226L, plant#848237, previousOrderProposal#848229L, prodLocSpecificKpis#848969, product#848236, productGroup#848265, qty#848067, quantityAfterProdPlantOptimization#848066, quantityKpis#848997, shardId#847553, sourceOfSupplyUuid#848232, splitIndicator#848228L, subrange#848235, supplier#848234, supplierGroup#848233, supplyingPlant#848264]
Condition : NOT (isFallbackOrderOnly#848245 <=> true)
(52) Project [codegen id : 1]
Output [36]: [shardId#847553, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, productGroup#848265, product#848236, plant#848237, subrange#848235, orderDateTime#848241, deliveryDateTime#848242, availabilityDateTime#848243, nextAvailabilityDateTime#848244, logisticUnits#848260, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, splitIndicator#848228L, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, sourceOfSupplyUuid#848232, minimumOrderQuantity#848254, orderProposalItemId#848224, orderProposalItemGroupId#848225, optimizationGroups#848261, measurements#848253, previousOrderProposal#848229L, prodLocSpecificKpis#848969, channelStreamSpecificKpis#848984, quantityKpis#848997, arrays_zip(constraintLabels#848255, constraintOperators#848256, constraintValues#848258, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#849411]
Input [39]: [availabilityDateTime#848243, channelStreamSpecificKpis#848984, constraintLabels#848255, constraintOperators#848256, constraintValues#848258, deliveryDateTime#848242, isFallbackOrderOnly#848245, logisticUnits#848260, measurements#848253, minimumOrderQuantity#848254, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, nextAvailabilityDateTime#848244, optimizationGroups#848261, orderDateTime#848241, orderProposalId#848223L, orderProposalItemGroupId#848225, orderProposalItemId#848224, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, originalReplenishmentRunId#848226L, plant#848237, previousOrderProposal#848229L, prodLocSpecificKpis#848969, product#848236, productGroup#848265, qty#848067, quantityAfterProdPlantOptimization#848066, quantityKpis#848997, shardId#847553, sourceOfSupplyUuid#848232, splitIndicator#848228L, subrange#848235, supplier#848234, supplierGroup#848233, supplyingPlant#848264]
(53) Project
Output [37]: [shardId#847553, qty#848067, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, productGroup#848265, product#848236, plant#848237, subrange#848235, orderDateTime#848241, deliveryDateTime#848242, availabilityDateTime#848243, nextAvailabilityDateTime#848244, logisticUnits#848260, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, splitIndicator#848228L, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, sourceOfSupplyUuid#848232, orderProposalItemId#848224, orderProposalItemGroupId#848225, optimizationGroups#848261, measurements#848253, previousOrderProposal#848229L, prodLocSpecificKpis#848969, channelStreamSpecificKpis#848984, quantityKpis#848997, struct(minServiceLevel, array_min(filter(constraintStructArray#849411, lambdafunction((lambda x_2175#849418.constraintLabels = ServiceLevel), lambda x_2175#849418, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#849411, lambdafunction((lambda x_2176#849419.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_2176#849419, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#849411, lambdafunction((lambda x_2177#849420.constraintLabels = RangeOfCoverage), lambda x_2177#849420, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#848254, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#848969, lambdafunction((lambda x_2178#849421.label = NonListingStartTimestamp), lambda x_2178#849421, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#849417, CASE WHEN (qty#848067 <=> quantityAfterProdPlantOptimization#848066) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#848067 * (cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2179#849489.isOrderUnit, lambda x_2179#849489, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2179#849490.isOrderUnit, lambda x_2179#849490, false)), 1, None, false).numerator as double))), qty#848067), orderQuantityUom, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2179#849491.isOrderUnit, lambda x_2179#849491, false)), 1, None, false).uom, orderQuantityBaseUom#848246), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2179#849492.isOrderUnit, lambda x_2179#849492, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#848247), candidateOrderQuantityInBaseUnit, qty#848067, orderQuantityBaseUom, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#848247, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#848260, lambdafunction((lambda x_2181#849493.isPreferred AND (((qty#848067 * cast(lambda x_2181#849493.denominator as double)) % cast(lambda x_2181#849493.numerator as double)) = 0.0)), lambda x_2181#849493, false)), lambdafunction(struct(inPreferredQuantity, ((qty#848067 * cast(lambda x_2182#849531.denominator as double)) / cast(lambda x_2182#849531.numerator as double)), uom, lambda x_2182#849531.uom, uomUuid, lambda x_2182#849531.uomUuid), lambda x_2182#849531, false))).inPreferredQuantity, coalesce((qty#848067 * (cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2180#849494.isOrderUnit, lambda x_2180#849494, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2180#849495.isOrderUnit, lambda x_2180#849495, false)), 1, None, false).numerator as double))), qty#848067)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#848260, lambdafunction((lambda x_2181#849496.isPreferred AND (((qty#848067 * cast(lambda x_2181#849496.denominator as double)) % cast(lambda x_2181#849496.numerator as double)) = 0.0)), lambda x_2181#849496, false)), lambdafunction(struct(inPreferredQuantity, ((qty#848067 * cast(lambda x_2182#849532.denominator as double)) / cast(lambda x_2182#849532.numerator as double)), uom, lambda x_2182#849532.uom, uomUuid, lambda x_2182#849532.uomUuid), lambda x_2182#849532, false))).uom, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2180#849497.isOrderUnit, lambda x_2180#849497, false)), 1, None, false).uom, orderQuantityBaseUom#848246)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#848260, lambdafunction((lambda x_2181#849498.isPreferred AND (((qty#848067 * cast(lambda x_2181#849498.denominator as double)) % cast(lambda x_2181#849498.numerator as double)) = 0.0)), lambda x_2181#849498, false)), lambdafunction(struct(inPreferredQuantity, ((qty#848067 * cast(lambda x_2182#849533.denominator as double)) / cast(lambda x_2182#849533.numerator as double)), uom, lambda x_2182#849533.uom, uomUuid, lambda x_2182#849533.uomUuid), lambda x_2182#849533, false))).uomUuid, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2180#849499.isOrderUnit, lambda x_2180#849499, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#848247)), serviceLevel, coalesce(filter(element_at(quantityKpis#848997, qty#848067, None, false), lambdafunction((lambda x_2187#849500.label = ServiceLevel), lambda x_2187#849500, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#848067 * (cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2179#849503.isOrderUnit, lambda x_2179#849503, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2179#849504.isOrderUnit, lambda x_2179#849504, false)), 1, None, false).numerator as double))), qty#848067), orderQuantityUom, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2179#849505.isOrderUnit, lambda x_2179#849505, false)), 1, None, false).uom, orderQuantityBaseUom#848246), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2179#849506.isOrderUnit, lambda x_2179#849506, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#848247), candidateOrderQuantityInBaseUnit, qty#848067, orderQuantityBaseUom, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#848247, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#848260, lambdafunction((lambda x_2181#849507.isPreferred AND (((qty#848067 * cast(lambda x_2181#849507.denominator as double)) % cast(lambda x_2181#849507.numerator as double)) = 0.0)), lambda x_2181#849507, false)), lambdafunction(struct(inPreferredQuantity, ((qty#848067 * cast(lambda x_2182#849534.denominator as double)) / cast(lambda x_2182#849534.numerator as double)), uom, lambda x_2182#849534.uom, uomUuid, lambda x_2182#849534.uomUuid), lambda x_2182#849534, false))).inPreferredQuantity, coalesce((qty#848067 * (cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2180#849508.isOrderUnit, lambda x_2180#849508, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2180#849509.isOrderUnit, lambda x_2180#849509, false)), 1, None, false).numerator as double))), qty#848067)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#848260, lambdafunction((lambda x_2181#849510.isPreferred AND (((qty#848067 * cast(lambda x_2181#849510.denominator as double)) % cast(lambda x_2181#849510.numerator as double)) = 0.0)), lambda x_2181#849510, false)), lambdafunction(struct(inPreferredQuantity, ((qty#848067 * cast(lambda x_2182#849535.denominator as double)) / cast(lambda x_2182#849535.numerator as double)), uom, lambda x_2182#849535.uom, uomUuid, lambda x_2182#849535.uomUuid), lambda x_2182#849535, false))).uom, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2180#849511.isOrderUnit, lambda x_2180#849511, false)), 1, None, false).uom, orderQuantityBaseUom#848246)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#848260, lambdafunction((lambda x_2181#849512.isPreferred AND (((qty#848067 * cast(lambda x_2181#849512.denominator as double)) % cast(lambda x_2181#849512.numerator as double)) = 0.0)), lambda x_2181#849512, false)), lambdafunction(struct(inPreferredQuantity, ((qty#848067 * cast(lambda x_2182#849536.denominator as double)) / cast(lambda x_2182#849536.numerator as double)), uom, lambda x_2182#849536.uom, uomUuid, lambda x_2182#849536.uomUuid), lambda x_2182#849536, false))).uomUuid, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2180#849513.isOrderUnit, lambda x_2180#849513, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#848247)), serviceLevel, coalesce(filter(element_at(quantityKpis#848997, qty#848067, None, false), lambdafunction((lambda x_2190#849514.label = ServiceLevel), lambda x_2190#849514, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#848066 * (cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2183#849517.isOrderUnit, lambda x_2183#849517, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2183#849518.isOrderUnit, lambda x_2183#849518, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#848066), orderQuantityUom, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2183#849519.isOrderUnit, lambda x_2183#849519, false)), 1, None, false).uom, orderQuantityBaseUom#848246), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2183#849520.isOrderUnit, lambda x_2183#849520, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#848247), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#848066, orderQuantityBaseUom, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#848247, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#848260, lambdafunction((lambda x_2185#849521.isPreferred AND (((quantityAfterProdPlantOptimization#848066 * cast(lambda x_2185#849521.denominator as double)) % cast(lambda x_2185#849521.numerator as double)) = 0.0)), lambda x_2185#849521, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#848066 * cast(lambda x_2186#849537.denominator as double)) / cast(lambda x_2186#849537.numerator as double)), uom, lambda x_2186#849537.uom, uomUuid, lambda x_2186#849537.uomUuid), lambda x_2186#849537, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#848066 * (cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2184#849522.isOrderUnit, lambda x_2184#849522, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2184#849523.isOrderUnit, lambda x_2184#849523, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#848066)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#848260, lambdafunction((lambda x_2185#849524.isPreferred AND (((quantityAfterProdPlantOptimization#848066 * cast(lambda x_2185#849524.denominator as double)) % cast(lambda x_2185#849524.numerator as double)) = 0.0)), lambda x_2185#849524, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#848066 * cast(lambda x_2186#849538.denominator as double)) / cast(lambda x_2186#849538.numerator as double)), uom, lambda x_2186#849538.uom, uomUuid, lambda x_2186#849538.uomUuid), lambda x_2186#849538, false))).uom, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2184#849525.isOrderUnit, lambda x_2184#849525, false)), 1, None, false).uom, orderQuantityBaseUom#848246)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#848260, lambdafunction((lambda x_2185#849526.isPreferred AND (((quantityAfterProdPlantOptimization#848066 * cast(lambda x_2185#849526.denominator as double)) % cast(lambda x_2185#849526.numerator as double)) = 0.0)), lambda x_2185#849526, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#848066 * cast(lambda x_2186#849539.denominator as double)) / cast(lambda x_2186#849539.numerator as double)), uom, lambda x_2186#849539.uom, uomUuid, lambda x_2186#849539.uomUuid), lambda x_2186#849539, false))).uomUuid, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2184#849527.isOrderUnit, lambda x_2184#849527, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#848247)), serviceLevel, coalesce(filter(element_at(quantityKpis#848997, quantityAfterProdPlantOptimization#848066, None, false), lambdafunction((lambda x_2193#849528.label = ServiceLevel), lambda x_2193#849528, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#849488, coalesce(filter(prodLocSpecificKpis#848969, lambdafunction((lambda x_2196#849541.label = InitialStockQty), lambda x_2196#849541, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#849540, coalesce(filter(prodLocSpecificKpis#848969, lambdafunction((lambda x_2197#849543.label = DemandPeriodEndTimestamp), lambda x_2197#849543, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#849542]
Input [36]: [shardId#847553, quantityAfterProdPlantOptimization#848066, qty#848067, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, productGroup#848265, product#848236, plant#848237, subrange#848235, orderDateTime#848241, deliveryDateTime#848242, availabilityDateTime#848243, nextAvailabilityDateTime#848244, logisticUnits#848260, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, splitIndicator#848228L, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, sourceOfSupplyUuid#848232, minimumOrderQuantity#848254, orderProposalItemId#848224, orderProposalItemGroupId#848225, optimizationGroups#848261, measurements#848253, previousOrderProposal#848229L, prodLocSpecificKpis#848969, channelStreamSpecificKpis#848984, quantityKpis#848997, constraintStructArray#849411]
(54) Project
Output [21]: [shardId#847553, qty#848067, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, productGroup#848265, product#848236, plant#848237, subrange#848235, orderDateTime#848241, deliveryDateTime#848242, logisticUnits#848260, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, splitIndicator#848228L, orderProposalItemId#848224, orderProposalItemGroupId#848225, previousOrderProposal#848229L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#848234, supplyingPlant, supplyingPlant#848264, productGroup, productGroup#848265, product, product#848236, plant, plant#848237, supplierSubRange, subrange#848235, sourceOfSupplyUuid, sourceOfSupplyUuid#848232, deliveryDateTime, deliveryDateTime#848242, unitPrice, netPriceAmount#848251, unitPriceCurrency, netPriceCurrencyCode#848252, unitPriceQuantity, ... 37 more fields) AS parentItem#849622]
Input [37]: [shardId#847553, qty#848067, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, productGroup#848265, product#848236, plant#848237, subrange#848235, orderDateTime#848241, deliveryDateTime#848242, availabilityDateTime#848243, nextAvailabilityDateTime#848244, logisticUnits#848260, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, splitIndicator#848228L, netPriceAmount#848251, netPriceCurrencyCode#848252, netPriceQuantity#848248, netPriceQuantityUom#848249, netPriceQuantityUomUuid#848250, sourceOfSupplyUuid#848232, orderProposalItemId#848224, orderProposalItemGroupId#848225, optimizationGroups#848261, measurements#848253, previousOrderProposal#848229L, prodLocSpecificKpis#848969, channelStreamSpecificKpis#848984, quantityKpis#848997, constraintBenchmark#849417, calculationAnalysis#849488, inventoryDateTime#849540, demandPeriodEndDateTime#849542]
(55) Project
Output [12]: [shardId#847553, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, orderDateTime#848241, splitIndicator#848228L, orderProposalItemGroupId#848225, previousOrderProposal#848229L, parentItem#849622, struct(itemId, orderProposalItemId#848224, supplier, supplier#848234, supplyingPlant, supplyingPlant#848264, productGroup, productGroup#848265, product, product#848236, plant, plant#848237, supplierSubRange, subrange#848235, deliveryDateTime, deliveryDateTime#848242, orderQuantity, coalesce((qty#848067 * (cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2221#849656.isOrderUnit, lambda x_2221#849656, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2221#849657.isOrderUnit, lambda x_2221#849657, false)), 1, None, false).numerator as double))), qty#848067), orderQuantityUom, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2221#849658.isOrderUnit, lambda x_2221#849658, false)), 1, None, false).uom, orderQuantityBaseUom#848246), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#848260, lambdafunction(lambda x_2221#849659.isOrderUnit, lambda x_2221#849659, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#848247), orderQuantityInBaseUnit, qty#848067, orderQuantityBaseUom, ... 13 more fields) AS item#849653]
Input [21]: [shardId#847553, qty#848067, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, productGroup#848265, product#848236, plant#848237, subrange#848235, orderDateTime#848241, deliveryDateTime#848242, logisticUnits#848260, orderQuantityBaseUom#848246, orderQuantityBaseUomUuid#848247, splitIndicator#848228L, orderProposalItemId#848224, orderProposalItemGroupId#848225, previousOrderProposal#848229L, parentItem#849622]
(56) ObjectHashAggregate
Input [12]: [shardId#847553, orderProposalId#848223L, originalReplenishmentRunId#848226L, supplierGroup#848233, supplier#848234, supplyingPlant#848264, orderDateTime#848241, splitIndicator#848228L, orderProposalItemGroupId#848225, previousOrderProposal#848229L, parentItem#849622, item#849653]
Keys [4]: [shardId#847553, orderProposalId#848223L, splitIndicator#848228L, orderProposalItemGroupId#848225]
Functions [8]: [partial_max(originalReplenishmentRunId#848226L), partial_max(supplierGroup#848233), partial_max(supplier#848234), partial_max(supplyingPlant#848264), partial_max(orderDateTime#848241), partial_collect_list(parentItem#849622, 0, 0), partial_collect_set(previousOrderProposal#848229L, 0, 0), partial_collect_list(item#849653, 0, 0)]
Aggregate Attributes [8]: [max#850914L, max#850915, max#850916, max#850917, max#850918, buf#850919, buf#850920, buf#850921]
Results [12]: [shardId#847553, orderProposalId#848223L, splitIndicator#848228L, orderProposalItemGroupId#848225, max#850922L, max#850923, max#850924, max#850925, max#850926, buf#850927, buf#850928, buf#850929]
(57) Exchange
Input [12]: [shardId#847553, orderProposalId#848223L, splitIndicator#848228L, orderProposalItemGroupId#848225, max#850922L, max#850923, max#850924, max#850925, max#850926, buf#850927, buf#850928, buf#850929]
Arguments: hashpartitioning(shardId#847553, orderProposalId#848223L, splitIndicator#848228L, orderProposalItemGroupId#848225, 20), ENSURE_REQUIREMENTS, [plan_id=336392]
(58) ObjectHashAggregate
Input [12]: [shardId#847553, orderProposalId#848223L, splitIndicator#848228L, orderProposalItemGroupId#848225, max#850922L, max#850923, max#850924, max#850925, max#850926, buf#850927, buf#850928, buf#850929]
Keys [4]: [shardId#847553, orderProposalId#848223L, splitIndicator#848228L, orderProposalItemGroupId#848225]
Functions [8]: [max(originalReplenishmentRunId#848226L), max(supplierGroup#848233), max(supplier#848234), max(supplyingPlant#848264), max(orderDateTime#848241), collect_list(parentItem#849622, 0, 0), collect_set(previousOrderProposal#848229L, 0, 0), collect_list(item#849653, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#848226L)#849722L, max(supplierGroup#848233)#849723, max(supplier#848234)#849724, max(supplyingPlant#848264)#849725, max(orderDateTime#848241)#849726, collect_list(parentItem#849622, 0, 0)#849727, collect_set(previousOrderProposal#848229L, 0, 0)#849729, collect_list(item#849653, 0, 0)#849728]
Results [10]: [shardId#847553, orderProposalId#848223L, max(originalReplenishmentRunId#848226L)#849722L AS originalReplenishmentRunId#849670L, max(supplierGroup#848233)#849723 AS supplierGroup#849671, max(supplier#848234)#849724 AS supplier#849672, max(supplyingPlant#848264)#849725 AS supplyingPlant#849673, max(orderDateTime#848241)#849726 AS orderDateTime#849674, collect_list(parentItem#849622, 0, 0)#849727 AS parentItems#849675, collect_set(previousOrderProposal#848229L, 0, 0)#849729 AS previousOrderProposals#849677, struct(itemGroupId, coalesce(orderProposalItemGroupId#848225, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#849653, 0, 0)#849728) AS itemGroup#849731]
(59) ObjectHashAggregate
Input [10]: [shardId#847553, orderProposalId#848223L, originalReplenishmentRunId#849670L, supplierGroup#849671, supplier#849672, supplyingPlant#849673, orderDateTime#849674, parentItems#849675, previousOrderProposals#849677, itemGroup#849731]
Keys [2]: [shardId#847553, orderProposalId#848223L]
Functions [8]: [partial_max(originalReplenishmentRunId#849670L), partial_max(supplierGroup#849671), partial_max(supplier#849672), partial_max(supplyingPlant#849673), partial_max(orderDateTime#849674), partial_collect_list(itemGroup#849731, 0, 0), partial_collect_list(parentItems#849675, 0, 0), partial_collect_set(previousOrderProposals#849677, 0, 0)]
Aggregate Attributes [8]: [max#850898L, max#850899, max#850900, max#850901, max#850902, buf#850903, buf#850904, buf#850905]
Results [10]: [shardId#847553, orderProposalId#848223L, max#850906L, max#850907, max#850908, max#850909, max#850910, buf#850911, buf#850912, buf#850913]
(60) Exchange
Input [10]: [shardId#847553, orderProposalId#848223L, max#850906L, max#850907, max#850908, max#850909, max#850910, buf#850911, buf#850912, buf#850913]
Arguments: hashpartitioning(shardId#847553, orderProposalId#848223L, 20), ENSURE_REQUIREMENTS, [plan_id=336395]
(61) ObjectHashAggregate
Input [10]: [shardId#847553, orderProposalId#848223L, max#850906L, max#850907, max#850908, max#850909, max#850910, buf#850911, buf#850912, buf#850913]
Keys [2]: [shardId#847553, orderProposalId#848223L]
Functions [8]: [max(originalReplenishmentRunId#849670L), max(supplierGroup#849671), max(supplier#849672), max(supplyingPlant#849673), max(orderDateTime#849674), collect_list(itemGroup#849731, 0, 0), collect_list(parentItems#849675, 0, 0), collect_set(previousOrderProposals#849677, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#849670L)#849753L, max(supplierGroup#849671)#849754, max(supplier#849672)#849755, max(supplyingPlant#849673)#849756, max(orderDateTime#849674)#849757, collect_list(itemGroup#849731, 0, 0)#849758, collect_list(parentItems#849675, 0, 0)#849759, collect_set(previousOrderProposals#849677, 0, 0)#849760]
Results [10]: [shardId#847553, orderProposalId#848223L, max(originalReplenishmentRunId#849670L)#849753L AS originalReplenishmentRunId#849732L, max(supplierGroup#849671)#849754 AS supplierGroup#849733, max(supplier#849672)#849755 AS supplier#849734, max(supplyingPlant#849673)#849756 AS supplyingPlant#849735, max(orderDateTime#849674)#849757 AS orderDateTime#849736, collect_list(itemGroup#849731, 0, 0)#849758 AS itemGroups#849737, flatten(collect_list(parentItems#849675, 0, 0)#849759) AS parentItems#849738, flatten(collect_set(previousOrderProposals#849677, 0, 0)#849760) AS previousOrderProposals#849739]
(62) Project
Output [2]: [shardId#847553, struct(orderProposalId, orderProposalId#848223L, originalReplenishmentRunId, originalReplenishmentRunId#849732L, supplierGroup, supplierGroup#849733, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#849733) THEN supplier#849734 END, supplyingPlant, supplyingPlant#849735, orderDateTime, orderDateTime#849736, itemGroups, itemGroups#849737, previousOrderProposals, array_distinct(previousOrderProposals#849739), parentItems, parentItems#849738) AS orderProposal#849764]
Input [10]: [shardId#847553, orderProposalId#848223L, originalReplenishmentRunId#849732L, supplierGroup#849733, supplier#849734, supplyingPlant#849735, orderDateTime#849736, itemGroups#849737, parentItems#849738, previousOrderProposals#849739]
(63) Project
Output [11]: [shardId#847553, orderProposal#849764.orderProposalId AS _extract_orderProposalId#850530L, orderProposal#849764.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#850531L, orderProposal#849764.supplierGroup AS _extract_supplierGroup#850532, orderProposal#849764.supplier AS _extract_supplier#850533, orderProposal#849764.supplyingPlant AS _extract_supplyingPlant#850534, orderProposal#849764.orderDateTime AS _extract_orderDateTime#850535, orderProposal#849764.itemGroups AS _extract_itemGroups#850536, orderProposal#849764.previousOrderProposals AS _extract_previousOrderProposals#850537, orderProposal#849764.parentItems AS _extract_parentItems#850538, orderProposal#849764.orderProposalId AS _extract_orderProposalId#850539L]
Input [2]: [shardId#847553, orderProposal#849764]
(64) InMemoryTableScan
Output [3]: [shardId#849787, orderProposalId#849788L, optimizationGroups#849790]
Arguments: [shardId#849787, orderProposalId#849788L, optimizationGroups#849790], [isnotnull(orderProposalId#849788L)]
(65) InMemoryRelation
Arguments: [shardId#849787, orderProposalId#849788L, items#849789, optimizationGroups#849790, isOptimal#849791, optimizationInsights#849793], StorageLevel(disk, memory, 2 replicas)
(66) Filter [codegen id : 2]
Input [3]: [shardId#849787, orderProposalId#849788L, optimizationGroups#849790]
Condition : isnotnull(orderProposalId#849788L)
(67) BroadcastExchange
Input [3]: [shardId#849787, orderProposalId#849788L, optimizationGroups#849790]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=336402]
(68) InMemoryTableScan
Output [2]: [items#849406, shardId#849404]
Arguments: [items#849406, shardId#849404], [(size(items#849406.worklistShardItemId, true) > 0), isnotnull(items#849406.worklistShardItemId), (shardId#849404 = 0_1_10000002109)]
(69) InMemoryRelation
Arguments: [shardId#849404, orderProposalId#849405L, items#849406, optimizationGroups#849407, isOptimal#849408, optimizationInsights#849410], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 3]
Input [2]: [items#849406, shardId#849404]
Condition : (((size(items#849406.worklistShardItemId, true) > 0) AND isnotnull(items#849406.worklistShardItemId)) AND (shardId#849404 = 0_1_10000002109))
(71) Project [codegen id : 3]
Output [1]: [items#849406.worklistShardItemId AS _extract_worklistShardItemId#850435]
Input [2]: [items#849406, shardId#849404]
(72) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#850435]
Arguments: explode(_extract_worklistShardItemId#850435), false, [item#849794L]
(73) Project [codegen id : 3]
Output [1]: [item#849794L AS worklistShardItemId#849795L]
Input [1]: [item#849794L]
(74) BroadcastExchange
Input [1]: [worklistShardItemId#849795L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=336410]
(75) Scan parquet
Output [5]: [orderProposalId#849843L, isFallbackOrderOnly#849860, worklistShardItemId#849866L, shardId#849887, sequenceId#849865]
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#849887), isnotnull(sequenceId#849865), (shardId#849887 = 0_1_10000002109), (sequenceId#849865 = 0)]
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#849843L, isFallbackOrderOnly#849860, worklistShardItemId#849866L, shardId#849887, sequenceId#849865]
(77) Filter [codegen id : 4]
Input [5]: [orderProposalId#849843L, isFallbackOrderOnly#849860, worklistShardItemId#849866L, shardId#849887, sequenceId#849865]
Condition : ((isnotnull(worklistShardItemId#849866L) AND NOT (isFallbackOrderOnly#849860 <=> true)) AND isnotnull(orderProposalId#849843L))
(78) Project [codegen id : 4]
Output [2]: [orderProposalId#849843L, worklistShardItemId#849866L]
Input [5]: [orderProposalId#849843L, isFallbackOrderOnly#849860, worklistShardItemId#849866L, shardId#849887, sequenceId#849865]
(79) Exchange
Input [2]: [orderProposalId#849843L, worklistShardItemId#849866L]
Arguments: hashpartitioning(worklistShardItemId#849866L, 20), REPARTITION_BY_NUM, [plan_id=336417]
(80) Project
Output [2]: [worklistShardItemId#849866L, orderProposalId#849843L]
Input [2]: [orderProposalId#849843L, worklistShardItemId#849866L]
(81) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#849795L]
Right keys [1]: [worklistShardItemId#849866L]
Join type: Inner
Join condition: None
(82) Project [codegen id : 5]
Output [1]: [orderProposalId#849843L]
Input [3]: [worklistShardItemId#849795L, worklistShardItemId#849866L, orderProposalId#849843L]
(83) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#849843L]
Keys [1]: [orderProposalId#849843L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#849843L]
(84) Exchange
Input [1]: [orderProposalId#849843L]
Arguments: hashpartitioning(orderProposalId#849843L, 20), ENSURE_REQUIREMENTS, [plan_id=336424]
(85) HashAggregate
Input [1]: [orderProposalId#849843L]
Keys [1]: [orderProposalId#849843L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#849843L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#849788L]
Right keys [1]: [orderProposalId#849843L]
Join type: Inner
Join condition: None
(87) Project
Output [3]: [orderProposalId#849788L, shardId#849787, coalesce(transform(optimizationGroups#849790, lambdafunction(struct(optGroupId, lambda x_2225#849785.optGroupId, minOrderProfile, lambda x_2225#849785.minOrderProfile, assignmentDetails, lambda x_2225#849785.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2225#849785.minOrderGoal.dimensionType, unit, lambda x_2225#849785.minOrderGoal.unit, unitUuid, lambda x_2225#849785.minOrderGoal.unitUuid, goalValue, lambda x_2225#849785.minOrderGoal.minOrderValue, calcValue, lambda x_2225#849785.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2225#849785, false)), []) AS optimizationGroups#849784]
Input [4]: [shardId#849787, orderProposalId#849788L, optimizationGroups#849790, orderProposalId#849843L]
(88) BroadcastExchange
Input [3]: [orderProposalId#849788L, shardId#849787, optimizationGroups#849784]
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=336430]
(89) BroadcastHashJoin
Left keys [4]: [coalesce(shardId#847553, ), isnull(shardId#847553), coalesce(_extract_orderProposalId#850539L, 0), isnull(_extract_orderProposalId#850539L)]
Right keys [4]: [coalesce(shardId#849787, ), isnull(shardId#849787), coalesce(orderProposalId#849788L, 0), isnull(orderProposalId#849788L)]
Join type: LeftOuter
Join condition: None
(90) Project
Output [2]: [shardId#847553, named_struct(orderProposalId, _extract_orderProposalId#850539L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#850531L, supplierGroup, _extract_supplierGroup#850532, optimizationGroups, coalesce(optimizationGroups#849784, []), supplier, _extract_supplier#850533, supplyingPlant, _extract_supplyingPlant#850534, orderDateTime, _extract_orderDateTime#850535, itemGroups, _extract_itemGroups#850536, previousOrderProposals, _extract_previousOrderProposals#850537, parentItems, _extract_parentItems#850538) AS orderProposal#849891]
Input [14]: [shardId#847553, _extract_orderProposalId#850530L, _extract_originalReplenishmentRunId#850531L, _extract_supplierGroup#850532, _extract_supplier#850533, _extract_supplyingPlant#850534, _extract_orderDateTime#850535, _extract_itemGroups#850536, _extract_previousOrderProposals#850537, _extract_parentItems#850538, _extract_orderProposalId#850539L, orderProposalId#849788L, shardId#849787, optimizationGroups#849784]
(91) Filter
Input [1]: [orderProposal#849891]
Condition : (size(orderProposal#849891.parentItems.deliveryDateTime, true) > 0)
(92) Project
Output [1]: [orderProposal#849891.parentItems.deliveryDateTime AS _extract_deliveryDateTime#851294]
Input [1]: [orderProposal#849891]
(93) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#851294]
Arguments: explode(_extract_deliveryDateTime#851294), false, [numberOfOrderProposalItems#851266]
(94) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#851266]
(95) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#851305L]
Results [1]: [count#851306L]
(96) Exchange
Input [1]: [count#851306L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=336536]
(97) HashAggregate [codegen id : 2]
Input [1]: [count#851306L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#851271L]
Results [1]: [count(1)#851271L AS count#851267L]