digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 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: 720.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 59843.0: task 148876))<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 59843.0: task 148879))<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: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1440.0 B (72.0 B, 72.0 B, 72.0 B (stage 59843.0: task 148876))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=284095]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n10 ms (0 ms, 1 ms, 1 ms (stage 59843.0: task 148876))";
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>3 ms (0 ms, 0 ms, 1 ms (stage 59843.0: task 148876))<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: 0" tooltip="Generate explode(_extract_deliveryDateTime#716243), false, [numberOfOrderProposalItems#716215]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#714824.parentItems.deliveryDateTime AS _extract_deliveryDateTime#716243]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (size(orderProposal#714824.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [orderProposal#714824], [(size(orderProposal#714824.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, named_struct(orderProposalId, _extract_orderProposalId#715472L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#715464L, supplierGroup, _extract_supplierGroup#715465, optimizationGroups, coalesce(optimizationGroups#714717, []), supplier, _extract_supplier#715466, supplyingPlant, _extract_supplyingPlant#715467, orderDateTime, _extract_orderDateTime#715468, itemGroups, _extract_itemGroups#715469, previousOrderProposals, _extract_previousOrderProposals#715470, parentItems, _extract_parentItems#715471) AS orderProposal#714824]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59843.0: task 148876))" tooltip="SortMergeJoin [coalesce(shardId#712663, ), isnull(shardId#712663), coalesce(_extract_orderProposalId#715472L, 0), isnull(_extract_orderProposalId#715472L)], [coalesce(shardId#714720, ), isnull(shardId#714720), coalesce(orderProposalId#714721L, 0), isnull(orderProposalId#714721L)], LeftOuter"];
12 [id="node12" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 59843.0: task 148876))<br>peak memory total (min, med, max (stageId: taskId))<br>1280.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 59843.0: task 148876))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59843.0: task 148876))" tooltip="Sort [coalesce(shardId#712663, ) ASC NULLS FIRST, isnull(shardId#712663) ASC NULLS FIRST, coalesce(_extract_orderProposalId#715472L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#715472L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(coalesce(shardId#712663, ), isnull(shardId#712663), coalesce(_extract_orderProposalId#715472L, 0), isnull(_extract_orderProposalId#715472L), 20), ENSURE_REQUIREMENTS, [plan_id=283944]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, orderProposal#714697.orderProposalId AS _extract_orderProposalId#715463L, orderProposal#714697.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#715464L, orderProposal#714697.supplierGroup AS _extract_supplierGroup#715465, orderProposal#714697.supplier AS _extract_supplier#715466, orderProposal#714697.supplyingPlant AS _extract_supplyingPlant#715467, orderProposal#714697.orderDateTime AS _extract_orderDateTime#715468, orderProposal#714697.itemGroups AS _extract_itemGroups#715469, orderProposal#714697.previousOrderProposals AS _extract_previousOrderProposals#715470, orderProposal#714697.parentItems AS _extract_parentItems#715471, orderProposal#714697.orderProposalId AS _extract_orderProposalId#715472L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, struct(orderProposalId, orderProposalId#713333L, originalReplenishmentRunId, originalReplenishmentRunId#714665L, supplierGroup, supplierGroup#714666, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#714666) THEN supplier#714667 END, supplyingPlant, supplyingPlant#714668, orderDateTime, orderDateTime#714669, itemGroups, itemGroups#714670, previousOrderProposals, array_distinct(previousOrderProposals#714672), parentItems, parentItems#714671) AS orderProposal#714697]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 59842.0: task 148853))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#712663, orderProposalId#713333L], functions=[max(originalReplenishmentRunId#714603L), max(supplierGroup#714604), max(supplier#714605), max(supplyingPlant#714606), max(orderDateTime#714607), collect_list(itemGroup#714664, 0, 0), collect_list(parentItems#714608, 0, 0), collect_set(previousOrderProposals#714610, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(shardId#712663, orderProposalId#713333L, 20), ENSURE_REQUIREMENTS, [plan_id=283940]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 59838.0: task 148823))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#712663, orderProposalId#713333L], functions=[partial_max(originalReplenishmentRunId#714603L), partial_max(supplierGroup#714604), partial_max(supplier#714605), partial_max(supplyingPlant#714606), partial_max(orderDateTime#714607), partial_collect_list(itemGroup#714664, 0, 0), partial_collect_list(parentItems#714608, 0, 0), partial_collect_set(previousOrderProposals#714610, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 59838.0: task 148823))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#712663, orderProposalId#713333L, splitIndicator#713338L, orderProposalItemGroupId#713335], functions=[max(originalReplenishmentRunId#713336L), max(supplierGroup#713343), max(supplier#713344), max(supplyingPlant#713374), max(orderDateTime#713351), collect_list(parentItem#714555, 0, 0), collect_set(previousOrderProposal#713339L, 0, 0), collect_list(item#714586, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(shardId#712663, orderProposalId#713333L, splitIndicator#713338L, orderProposalItemGroupId#713335, 20), ENSURE_REQUIREMENTS, [plan_id=283937]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>15 ms (0 ms, 1 ms, 2 ms (stage 59837.0: task 148774))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#712663, orderProposalId#713333L, splitIndicator#713338L, orderProposalItemGroupId#713335], functions=[partial_max(originalReplenishmentRunId#713336L), partial_max(supplierGroup#713343), partial_max(supplier#713344), partial_max(supplyingPlant#713374), partial_max(orderDateTime#713351), partial_collect_list(parentItem#714555, 0, 0), partial_collect_set(previousOrderProposal#713339L, 0, 0), partial_collect_list(item#714586, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, orderDateTime#713351, splitIndicator#713338L, orderProposalItemGroupId#713335, previousOrderProposal#713339L, parentItem#714555, struct(itemId, orderProposalItemId#713334, supplier, supplier#713344, supplyingPlant, supplyingPlant#713374, productGroup, productGroup#713375, product, product#713346, plant, plant#713347, supplierSubRange, subrange#713345, deliveryDateTime, deliveryDateTime#713352, orderQuantity, coalesce((qty#713177 * (cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1901#714589.isOrderUnit, lambda x_1901#714589, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1901#714590.isOrderUnit, lambda x_1901#714590, false)), 1, None, false).numerator as double))), qty#713177), orderQuantityUom, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1901#714591.isOrderUnit, lambda x_1901#714591, false)), 1, None, false).uom, orderQuantityBaseUom#713356), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1901#714592.isOrderUnit, lambda x_1901#714592, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#713357), orderQuantityInBaseUnit, qty#713177, orderQuantityBaseUom, ... 13 more fields) AS item#714586]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, qty#713177, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, productGroup#713375, product#713346, plant#713347, subrange#713345, orderDateTime#713351, deliveryDateTime#713352, logisticUnits#713370, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, splitIndicator#713338L, orderProposalItemId#713334, orderProposalItemGroupId#713335, previousOrderProposal#713339L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#713344, supplyingPlant, supplyingPlant#713374, productGroup, productGroup#713375, product, product#713346, plant, plant#713347, supplierSubRange, subrange#713345, sourceOfSupplyUuid, sourceOfSupplyUuid#713342, deliveryDateTime, deliveryDateTime#713352, unitPrice, netPriceAmount#713361, unitPriceCurrency, netPriceCurrencyCode#713362, unitPriceQuantity, ... 37 more fields) AS parentItem#714555]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, qty#713177, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, productGroup#713375, product#713346, plant#713347, subrange#713345, orderDateTime#713351, deliveryDateTime#713352, availabilityDateTime#713353, nextAvailabilityDateTime#713354, logisticUnits#713370, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, splitIndicator#713338L, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, sourceOfSupplyUuid#713342, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.1 s (25 ms, 170 ms, 185 ms (stage 59837.0: task 148771))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, productGroup#713375, product#713346, plant#713347, subrange#713345, orderDateTime#713351, deliveryDateTime#713352, availabilityDateTime#713353, nextAvailabilityDateTime#713354, logisticUnits#713370, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, splitIndicator#713338L, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT (isFallbackOrderOnly#713355 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 205" tooltip="InMemoryTableScan [availabilityDateTime#713353, channelStreamSpecificKpis#713917, constraintLabels#713365, constraintOperators#713366, constraintValues#713368, deliveryDateTime#713352, isFallbackOrderOnly#713355, logisticUnits#713370, measurements#713363, minimumOrderQuantity#713364, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, nextAvailabilityDateTime#713354, optimizationGroups#713371, orderDateTime#713351, orderProposalId#713333L, orderProposalItemGroupId#713335, orderProposalItemId#713334, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, originalReplenishmentRunId#713336L, plant#713347, ... 14 more fields], [NOT (isFallbackOrderOnly#713355 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n461 ms (4 ms, 38 ms, 45 ms (stage 59837.0: task 148775))";
tooltip="WholeStageCodegen (13)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 205<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59837.0: task 148774))" tooltip="SortMergeJoin [shardId#712663, worklistShardItemId#713175L], [shardId#713924, worklistShardItemId#713925L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (9 ms, 231 ms, 246 ms (stage 59837.0: task 148775))";
tooltip="WholeStageCodegen (10)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 205<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59837.0: task 148774))" tooltip="SortMergeJoin [shardId#712663, worklistShardItemId#713175L], [shardId#713911, worklistShardItemId#713912L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n4.5 s (13 ms, 428 ms, 433 ms (stage 59837.0: task 148775))";
tooltip="WholeStageCodegen (7)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 205<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59837.0: task 148774))" tooltip="SortMergeJoin [shardId#712663, worklistShardItemId#713175L], [shardId#713895, worklistShardItemId#713896L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n6.4 s (14 ms, 548 ms, 694 ms (stage 59837.0: task 148771))";
tooltip="WholeStageCodegen (4)";
39 [id="node39" 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 59837.0: task 148774))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 59837.0: task 148774))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59837.0: task 148774))" tooltip="Sort [shardId#712663 ASC NULLS FIRST, worklistShardItemId#713175L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 205<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 205<br>local bytes read total (min, med, max (stageId: taskId))<br>63.4 KiB (857.0 B, 3.3 KiB, 7.3 KiB (stage 59837.0: task 148776))<br>merged fetch fallback count: 0<br>local blocks read: 60<br>remote merged chunks fetched: 0<br>remote blocks read: 63<br>data size total (min, med, max (stageId: taskId))<br>258.2 KiB (6.5 KiB, 24.4 KiB, 51.7 KiB (stage 59833.0: task 148679))<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>7 ms (0 ms, 0 ms, 0 ms (stage 59833.0: task 148697))<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 59837.0: task 148774))<br>remote bytes read total (min, med, max (stageId: taskId))<br>69.5 KiB (1312.0 B, 3.6 KiB, 5.8 KiB (stage 59837.0: task 148771))<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 59837.0: task 148774))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>132.9 KiB (3.9 KiB, 13.2 KiB, 21.2 KiB (stage 59833.0: task 148679))" tooltip="Exchange hashpartitioning(shardId#712663, worklistShardItemId#713175L, 20), ENSURE_REQUIREMENTS, [plan_id=283665]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n29 ms (0 ms, 1 ms, 9 ms (stage 59833.0: task 148679))";
tooltip="WholeStageCodegen (3)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 205" tooltip="BroadcastHashJoin [worklistShardItemId#713175L], [worklistShardItemId#713399L], LeftOuter, BuildRight, (shardId#712663 = 0_1_10000002107), false"];
44 [id="node44" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#712663, item#713174.worklistShardItemId AS worklistShardItemId#713175L, item#713174.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#713176, item#713174.qty AS qty#713177]"];
45 [id="node45" labelType="html" label="<b>Generate</b><br><br>number of output rows: 205" tooltip="Generate explode(items#712665), [shardId#712663], false, [item#713174]"];
46 [id="node46" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter ((size(items#712665, true) > 0) AND isnotnull(items#712665))"];
}
47 [id="node47" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [shardId#712663, items#712665], [(size(items#712665, true) > 0), isnotnull(items#712665)]"];
subgraph cluster48 {
isCluster="true";
id="cluster48";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
49 [id="node49" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#712663) AND (shardId#712663 = 0_1_10000002107))"];
}
50 [id="node50" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, optimizationInsights#712669], [isnotnull(shardId#712663), (shardId#712663 = 0_1_10000002107)]"];
subgraph cluster51 {
isCluster="true";
id="cluster51";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
52 [id="node52" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#712663) AND (shardId#712663 = 0_1_10000002107))"];
53 [id="node53" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#712663,orderProposalId#712664L,items#712665,optimizationGroups#712666,isOptimal#712667,lastModified#712668,optimizationInsights#712669]"];
}
54 [id="node54" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 1 ms<br>time to collect: 607 ms<br>number of output rows: 205<br>data size: 1032.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=283660]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n24 ms (0 ms, 2 ms, 3 ms (stage 59708.0: task 148648))";
tooltip="WholeStageCodegen (2)";
56 [id="node56" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#713399L, orderProposalId#713376L, orderProposalItemId#713377, orderProposalItemGroupId#713400, originalReplenishmentRunId#713418L, splitIndicator#713395L, previousOrderProposal#713396L, sourceOfSupplyUuid#713390, supplierGroup#713378, supplier#713379, subrange#713382, product#713385, plant#713380, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, isFallbackOrderOnly#713393, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, netPriceAmount#713412, netPriceCurrencyCode#713413, ... 11 more fields]"];
}
57 [id="node57" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 205<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 205<br>local bytes read total (min, med, max (stageId: taskId))<br>89.6 KiB (1813.0 B, 4.3 KiB, 7.5 KiB (stage 59708.0: task 148661))<br>merged fetch fallback count: 0<br>local blocks read: 97<br>remote merged chunks fetched: 0<br>remote blocks read: 79<br>data size total (min, med, max (stageId: taskId))<br>250.2 KiB (4.8 KiB, 10.5 KiB, 13.5 KiB (stage 59707.0: task 148593))<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>14 ms (0 ms, 0 ms, 0 ms (stage 59707.0: task 148591))<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 59708.0: task 148654))<br>remote bytes read total (min, med, max (stageId: taskId))<br>75.7 KiB (834.0 B, 3.7 KiB, 7.5 KiB (stage 59708.0: task 148648))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>10 ms (0 ms, 1 ms, 1 ms (stage 59708.0: task 148654))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>165.3 KiB (2.9 KiB, 7.0 KiB, 9.0 KiB (stage 59707.0: task 148591))" tooltip="Exchange hashpartitioning(worklistShardItemId#713399L, 20), REPARTITION_BY_NUM, [plan_id=283656]"];
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (78 ms, 94 ms, 170 ms (stage 59707.0: task 148595))";
tooltip="WholeStageCodegen (1)";
59 [id="node59" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#713376L, orderProposalItemId#713377, supplierGroup#713378, supplier#713379, plant#713380, deliveryDateTime#713381, subrange#713382, supplyingPlant#713383, productGroup#713384, product#713385, orderDateTime#713386, availabilityDateTime#713387, nextAvailabilityDateTime#713388, sourceOfSupplyUuid#713390, isFallbackOrderOnly#713393, splitIndicator#713395L, previousOrderProposal#713396L, worklistShardItemId#713399L, orderProposalItemGroupId#713400, externalProductId#713401, externalPlantId#713402, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, minimumOrderQuantity#713406, ... 11 more fields]"];
60 [id="node60" labelType="html" label="<b>Filter</b><br><br>number of output rows: 205" tooltip="Filter isnotnull(worklistShardItemId#713399L)"];
61 [id="node61" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 205<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
62 [id="node62" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 25<br>scan time total (min, med, max (stageId: taskId))<br>2.3 s (76 ms, 92 ms, 129 ms (stage 59707.0: task 148639))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 520.6 KiB<br>number of output rows: 205<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#713376L,orderProposalItemId#713377,supplierGroup#713378,supplier#713379,plant#713380,deliveryDateTime#713381,subrange#713382,supplyingPlant#713383,productGroup#713384,product#713385,orderDateTime#713386,availabilityDateTime#713387,nextAvailabilityDateTime#713388,sourceOfSupplyUuid#713390,isFallbackOrderOnly#713393,splitIndicator#713395L,previousOrderProposal#713396L,worklistShardItemId#713399L,orderProposalItemGroupId#713400,externalProductId#713401,externalPlantId#713402,logisticUnits#713403,orderQuantityBaseUom#713404,orderQuantityBaseUomUuid#713405,minimumOrderQuantity#713406,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#713399L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#713420), isnotnull(sequenceId#713398), (shardId#713420 = 0_1_10000002107), (se..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster63 {
isCluster="true";
id="cluster63";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n2.7 s (6 ms, 255 ms, 268 ms (stage 59837.0: task 148774))";
tooltip="WholeStageCodegen (6)";
64 [id="node64" 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 59837.0: task 148774))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 59837.0: task 148774))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59837.0: task 148774))" tooltip="Sort [shardId#713895 ASC NULLS FIRST, worklistShardItemId#713896L ASC NULLS FIRST], false, 0"];
}
65 [id="node65" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 205<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 205<br>local bytes read total (min, med, max (stageId: taskId))<br>45.8 KiB (1132.0 B, 2.2 KiB, 5.3 KiB (stage 59837.0: task 148806))<br>merged fetch fallback count: 0<br>local blocks read: 79<br>remote merged chunks fetched: 0<br>remote blocks read: 85<br>data size total (min, med, max (stageId: taskId))<br>214.6 KiB (6.3 KiB, 10.5 KiB, 16.8 KiB (stage 59834.0: task 148726))<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>12 ms (0 ms, 0 ms, 0 ms (stage 59834.0: task 148680))<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 59837.0: task 148774))<br>remote bytes read total (min, med, max (stageId: taskId))<br>49.5 KiB (566.0 B, 2.8 KiB, 4.7 KiB (stage 59837.0: task 148809))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 1 ms (stage 59837.0: task 148809))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>95.3 KiB (2.8 KiB, 5.0 KiB, 6.7 KiB (stage 59834.0: task 148726))" tooltip="Exchange hashpartitioning(shardId#713895, worklistShardItemId#713896L, 20), ENSURE_REQUIREMENTS, [plan_id=283671]"];
subgraph cluster66 {
isCluster="true";
id="cluster66";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n219 ms (3 ms, 4 ms, 77 ms (stage 59834.0: task 148676))";
tooltip="WholeStageCodegen (5)";
67 [id="node67" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#713895, worklistShardItemId#713896L, coalesce(kpis#713900, []) AS prodLocSpecificKpis#713901]"];
68 [id="node68" labelType="html" label="<b>Filter</b><br><br>number of output rows: 205" tooltip="Filter (((isnull(qty#713897) AND isnull(demandChannel#713898)) AND isnull(demandStream#713899)) AND (isnotnull(shardId#713895) AND isnotnull(worklistShardItemId#713896L)))"];
69 [id="node69" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#713895,worklistShardItemId#713896L,qty#713897,demandChannel#713898,demandStream#713899,kpis#713900]"];
}
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (5 ms, 159 ms, 320 ms (stage 59837.0: task 148775))";
tooltip="WholeStageCodegen (9)";
71 [id="node71" 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 59837.0: task 148774))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 59837.0: task 148774))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59837.0: task 148774))" tooltip="Sort [shardId#713911 ASC NULLS FIRST, worklistShardItemId#713912L ASC NULLS FIRST], false, 0"];
}
72 [id="node72" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 202<br>time in aggregation build total (min, med, max (stageId: taskId))<br>285 ms (1 ms, 25 ms, 29 ms (stage 59837.0: task 148774))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59837.0: task 148774))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#713911, worklistShardItemId#713912L], functions=[collect_list(struct(demandChannel, demandChannel#713914, demandStream, demandStream#713915, kpis, kpis#713916), 0, 0)])"];
73 [id="node73" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 202<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 202<br>local bytes read total (min, med, max (stageId: taskId))<br>24.6 KiB (313.0 B, 1309.0 B, 1939.0 B (stage 59837.0: task 148775))<br>merged fetch fallback count: 0<br>local blocks read: 78<br>remote merged chunks fetched: 0<br>remote blocks read: 78<br>data size total (min, med, max (stageId: taskId))<br>82.1 KiB (832.0 B, 4.5 KiB, 6.1 KiB (stage 59836.0: task 148678))<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>13 ms (0 ms, 0 ms, 0 ms (stage 59836.0: task 148749))<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 59837.0: task 148774))<br>remote bytes read total (min, med, max (stageId: taskId))<br>24.7 KiB (629.0 B, 1258.0 B, 2.2 KiB (stage 59837.0: task 148806))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 1 ms (stage 59837.0: task 148806))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>49.3 KiB (629.0 B, 2.8 KiB, 3.4 KiB (stage 59836.0: task 148749))" tooltip="Exchange hashpartitioning(shardId#713911, worklistShardItemId#713912L, 20), ENSURE_REQUIREMENTS, [plan_id=283682]"];
74 [id="node74" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 202<br>time in aggregation build total (min, med, max (stageId: taskId))<br>199 ms (3 ms, 4 ms, 80 ms (stage 59836.0: task 148678))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59836.0: task 148682))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#713911, worklistShardItemId#713912L], functions=[partial_collect_list(struct(demandChannel, demandChannel#713914, demandStream, demandStream#713915, kpis, kpis#713916), 0, 0)])"];
subgraph cluster75 {
isCluster="true";
id="cluster75";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n199 ms (3 ms, 4 ms, 80 ms (stage 59836.0: task 148678))";
tooltip="WholeStageCodegen (8)";
76 [id="node76" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#713911, worklistShardItemId#713912L, demandChannel#713914, demandStream#713915, kpis#713916]"];
77 [id="node77" labelType="html" label="<b>Filter</b><br><br>number of output rows: 202" tooltip="Filter ((((isnull(qty#713913) AND isnotnull(demandChannel#713914)) AND isnotnull(demandStream#713915)) AND (size(kpis#713916, true) > 0)) AND (isnotnull(shardId#713911) AND isnotnull(worklistShardItemId#713912L)))"];
78 [id="node78" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#713911,worklistShardItemId#713912L,qty#713913,demandChannel#713914,demandStream#713915,kpis#713916]"];
}
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n651 ms (2 ms, 60 ms, 65 ms (stage 59837.0: task 148774))";
tooltip="WholeStageCodegen (12)";
80 [id="node80" 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 59837.0: task 148774))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 59837.0: task 148774))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59837.0: task 148774))" tooltip="Sort [shardId#713924 ASC NULLS FIRST, worklistShardItemId#713925L ASC NULLS FIRST], false, 0"];
}
81 [id="node81" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 205<br>time in aggregation build total (min, med, max (stageId: taskId))<br>273 ms (1 ms, 25 ms, 27 ms (stage 59837.0: task 148772))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59837.0: task 148774))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#713924, worklistShardItemId#713925L], functions=[collect_list(struct(qty, qty#713926, kpis, kpis#713929), 0, 0)])"];
82 [id="node82" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 403<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 403<br>local bytes read total (min, med, max (stageId: taskId))<br>59.0 KiB (1853.0 B, 3.0 KiB, 4.8 KiB (stage 59837.0: task 148770))<br>merged fetch fallback count: 0<br>local blocks read: 124<br>remote merged chunks fetched: 0<br>remote blocks read: 135<br>data size total (min, med, max (stageId: taskId))<br>255.7 KiB (9.4 KiB, 13.0 KiB, 16.2 KiB (stage 59835.0: task 148713))<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>17 ms (0 ms, 0 ms, 1 ms (stage 59835.0: task 148750))<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 59837.0: task 148774))<br>remote bytes read total (min, med, max (stageId: taskId))<br>64.8 KiB (1921.0 B, 3.3 KiB, 5.0 KiB (stage 59837.0: task 148785))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>10 ms (0 ms, 1 ms, 1 ms (stage 59837.0: task 148774))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>123.8 KiB (4.8 KiB, 6.1 KiB, 7.9 KiB (stage 59835.0: task 148751))" tooltip="Exchange hashpartitioning(shardId#713924, worklistShardItemId#713925L, 20), ENSURE_REQUIREMENTS, [plan_id=283694]"];
83 [id="node83" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 403<br>time in aggregation build total (min, med, max (stageId: taskId))<br>197 ms (3 ms, 4 ms, 70 ms (stage 59835.0: task 148677))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59835.0: task 148677))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#713924, worklistShardItemId#713925L], functions=[partial_collect_list(struct(qty, qty#713926, kpis, kpis#713929), 0, 0)])"];
subgraph cluster84 {
isCluster="true";
id="cluster84";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n197 ms (3 ms, 4 ms, 70 ms (stage 59835.0: task 148677))";
tooltip="WholeStageCodegen (11)";
85 [id="node85" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#713924, worklistShardItemId#713925L, qty#713926, kpis#713929]"];
86 [id="node86" labelType="html" label="<b>Filter</b><br><br>number of output rows: 410" tooltip="Filter ((isnotnull(qty#713926) AND isnotnull(kpis#713929)) AND (isnotnull(shardId#713924) AND isnotnull(worklistShardItemId#713925L)))"];
87 [id="node87" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#713924,worklistShardItemId#713925L,qty#713926,demandChannel#713927,demandStream#713928,kpis#713929]"];
}
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n2.1 s (5 ms, 200 ms, 206 ms (stage 59843.0: task 148879))";
tooltip="WholeStageCodegen (7)";
89 [id="node89" 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 59843.0: task 148876))<br>peak memory total (min, med, max (stageId: taskId))<br>1280.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 59843.0: task 148876))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 59843.0: task 148876))" tooltip="Sort [coalesce(shardId#714720, ) ASC NULLS FIRST, isnull(shardId#714720) ASC NULLS FIRST, coalesce(orderProposalId#714721L, 0) ASC NULLS FIRST, isnull(orderProposalId#714721L) ASC NULLS FIRST], false, 0"];
}
90 [id="node90" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(coalesce(shardId#714720, ), isnull(shardId#714720), coalesce(orderProposalId#714721L, 0), isnull(orderProposalId#714721L), 20), ENSURE_REQUIREMENTS, [plan_id=283977]"];
91 [id="node91" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#714721L, shardId#714720, coalesce(transform(optimizationGroups#714723, lambdafunction(struct(optGroupId, lambda x_1905#714718.optGroupId, minOrderProfile, lambda x_1905#714718.minOrderProfile, assignmentDetails, lambda x_1905#714718.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_1905#714718.minOrderGoal.dimensionType, unit, lambda x_1905#714718.minOrderGoal.unit, unitUuid, lambda x_1905#714718.minOrderGoal.unitUuid, goalValue, lambda x_1905#714718.minOrderGoal.minOrderValue, calcValue, lambda x_1905#714718.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_1905#714718, false)), []) AS optimizationGroups#714717]"];
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n657 ms (1 ms, 64 ms, 65 ms (stage 59841.0: task 148810))";
tooltip="WholeStageCodegen (6)";
93 [id="node93" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [orderProposalId#714721L], [orderProposalId#714776L], Inner, BuildLeft, false"];
104 [id="node104" 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 59841.0: task 148816))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 59841.0: task 148810))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#714776L], functions=[])"];
}
94 [id="node94" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 5 ms<br>time to collect: 169 ms<br>number of output rows: 14<br>data size: 1024.5 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=283949]"];
subgraph cluster95 {
isCluster="true";
id="cluster95";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n17 ms (0 ms, 1 ms, 2 ms (stage 59705.0: task 148588))";
tooltip="WholeStageCodegen (2)";
96 [id="node96" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter isnotnull(orderProposalId#714721L)"];
}
97 [id="node97" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [shardId#714720, orderProposalId#714721L, optimizationGroups#714723], [isnotnull(orderProposalId#714721L)]"];
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
99 [id="node99" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#712663) AND (shardId#712663 = 0_1_10000002107))"];
}
100 [id="node100" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, optimizationInsights#712669], [isnotnull(shardId#712663), (shardId#712663 = 0_1_10000002107)]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#712663) AND (shardId#712663 = 0_1_10000002107))"];
103 [id="node103" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#712663,orderProposalId#712664L,items#712665,optimizationGroups#712666,isOptimal#712667,lastModified#712668,optimizationInsights#712669]"];
}
105 [id="node105" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(orderProposalId#714776L, 20), ENSURE_REQUIREMENTS, [plan_id=283971]"];
subgraph cluster106 {
isCluster="true";
id="cluster106";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n285 ms (0 ms, 0 ms, 57 ms (stage 59840.0: task 148782))";
tooltip="WholeStageCodegen (5)";
107 [id="node107" 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>1 ms (0 ms, 0 ms, 1 ms (stage 59840.0: task 148783))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 59840.0: task 148782))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#714776L], functions=[])"];
108 [id="node108" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#714776L]"];
109 [id="node109" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#714728L], [worklistShardItemId#714799L], Inner, BuildLeft, false"];
123 [id="node123" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#714799L, orderProposalId#714776L]"];
}
110 [id="node110" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 297 ms<br>number of output rows: 205<br>data size: 1032.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=283957]"];
subgraph cluster111 {
isCluster="true";
id="cluster111";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n9 ms (0 ms, 0 ms, 2 ms (stage 59706.0: task 148594))";
tooltip="WholeStageCodegen (3)";
112 [id="node112" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#714727L AS worklistShardItemId#714728L]"];
113 [id="node113" labelType="html" label="<b>Generate</b><br><br>number of output rows: 205" tooltip="Generate explode(_extract_worklistShardItemId#715368), false, [item#714727L]"];
114 [id="node114" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#714339.worklistShardItemId AS _extract_worklistShardItemId#715368]"];
115 [id="node115" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter (((size(items#714339.worklistShardItemId, true) > 0) AND isnotnull(items#714339.worklistShardItemId)) AND (shardId#714337 = 0_1_10000002107))"];
}
116 [id="node116" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [items#714339, shardId#714337], [(size(items#714339.worklistShardItemId, true) > 0), isnotnull(items#714339.worklistShardItemId), (shardId#714337 = 0_1_10000002107)]"];
subgraph cluster117 {
isCluster="true";
id="cluster117";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
118 [id="node118" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#712663) AND (shardId#712663 = 0_1_10000002107))"];
}
119 [id="node119" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, optimizationInsights#712669], [isnotnull(shardId#712663), (shardId#712663 = 0_1_10000002107)]"];
subgraph cluster120 {
isCluster="true";
id="cluster120";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
121 [id="node121" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#712663) AND (shardId#712663 = 0_1_10000002107))"];
122 [id="node122" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#712663,orderProposalId#712664L,items#712665,optimizationGroups#712666,isOptimal#712667,lastModified#712668,optimizationInsights#712669]"];
}
124 [id="node124" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(worklistShardItemId#714799L, 20), REPARTITION_BY_NUM, [plan_id=283964]"];
subgraph cluster125 {
isCluster="true";
id="cluster125";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (51 ms, 68 ms, 103 ms (stage 59839.0: task 148673))";
tooltip="WholeStageCodegen (4)";
126 [id="node126" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#714776L, worklistShardItemId#714799L]"];
127 [id="node127" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(worklistShardItemId#714799L) AND NOT (isFallbackOrderOnly#714793 <=> true)) AND isnotnull(orderProposalId#714776L))"];
128 [id="node128" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
129 [id="node129" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 25<br>scan time total (min, med, max (stageId: taskId))<br>1.6 s (51 ms, 64 ms, 76 ms (stage 59839.0: task 148673))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 520.6 KiB<br>number of output rows: 0<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#714776L,isFallbackOrderOnly#714793,worklistShardItemId#714799L,shardId#714820,sequenceId#714798] Batched: true, DataFilters: [isnotnull(worklistShardItemId#714799L), NOT (isFallbackOrderOnly#714793 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#714820), isnotnull(sequenceId#714798), (shardId#714820 = 0_1_10000002107), (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;
23->22;
24->23;
26->24;
27->26;
28->27;
30->28;
31->30;
33->31;
34->33;
36->34;
37->36;
39->37;
40->39;
42->40;
43->42;
44->43;
45->44;
46->45;
47->46;
49->47;
50->49;
52->50;
53->52;
54->43;
56->54;
57->56;
59->57;
60->59;
61->60;
62->61;
64->37;
65->64;
67->65;
68->67;
69->68;
71->34;
72->71;
73->72;
74->73;
76->74;
77->76;
78->77;
80->31;
81->80;
82->81;
83->82;
85->83;
86->85;
87->86;
89->11;
90->89;
91->90;
93->91;
94->93;
96->94;
97->96;
99->97;
100->99;
102->100;
103->102;
104->93;
105->104;
107->105;
108->107;
109->108;
110->109;
112->110;
113->112;
114->113;
115->114;
116->115;
118->116;
119->118;
121->119;
122->121;
123->109;
124->123;
126->124;
127->126;
128->127;
129->128;
}
== Physical Plan ==
* HashAggregate (100)
+- Exchange (99)
+- * HashAggregate (98)
+- * Project (97)
+- * Generate (96)
+- Project (95)
+- Filter (94)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (93)
+- SortMergeJoin LeftOuter (92)
:- Sort (65)
: +- Exchange (64)
: +- 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)
+- * Sort (91)
+- Exchange (90)
+- Project (89)
+- * BroadcastHashJoin Inner BuildLeft (88)
:- BroadcastExchange (69)
: +- * Filter (68)
: +- InMemoryTableScan (66)
: +- InMemoryRelation (67)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * HashAggregate (87)
+- Exchange (86)
+- * HashAggregate (85)
+- * Project (84)
+- * BroadcastHashJoin Inner BuildLeft (83)
:- BroadcastExchange (76)
: +- * Project (75)
: +- * Generate (74)
: +- * Project (73)
: +- * Filter (72)
: +- InMemoryTableScan (70)
: +- InMemoryRelation (71)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (82)
+- Exchange (81)
+- * Project (80)
+- * Filter (79)
+- * ColumnarToRow (78)
+- Scan parquet (77)
(1) InMemoryTableScan
Output [1]: [orderProposal#714824]
Arguments: [orderProposal#714824], [(size(orderProposal#714824.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#712663, orderProposal#714824], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#713353, channelStreamSpecificKpis#713917, constraintLabels#713365, constraintOperators#713366, constraintValues#713368, deliveryDateTime#713352, isFallbackOrderOnly#713355, logisticUnits#713370, measurements#713363, minimumOrderQuantity#713364, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, nextAvailabilityDateTime#713354, optimizationGroups#713371, orderDateTime#713351, orderProposalId#713333L, orderProposalItemGroupId#713335, orderProposalItemId#713334, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, originalReplenishmentRunId#713336L, plant#713347, previousOrderProposal#713339L, prodLocSpecificKpis#713902, product#713346, productGroup#713375, qty#713177, quantityAfterProdPlantOptimization#713176, quantityKpis#713930, shardId#712663, sourceOfSupplyUuid#713342, splitIndicator#713338L, subrange#713345, supplier#713344, supplierGroup#713343, supplyingPlant#713374]
Arguments: [availabilityDateTime#713353, channelStreamSpecificKpis#713917, constraintLabels#713365, constraintOperators#713366, constraintValues#713368, deliveryDateTime#713352, isFallbackOrderOnly#713355, logisticUnits#713370, measurements#713363, minimumOrderQuantity#713364, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, nextAvailabilityDateTime#713354, optimizationGroups#713371, orderDateTime#713351, orderProposalId#713333L, orderProposalItemGroupId#713335, orderProposalItemId#713334, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, originalReplenishmentRunId#713336L, plant#713347, ... 14 more fields], [NOT (isFallbackOrderOnly#713355 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, productGroup#713375, product#713346, plant#713347, subrange#713345, orderDateTime#713351, deliveryDateTime#713352, availabilityDateTime#713353, nextAvailabilityDateTime#713354, constraintValues#713368, constraintOperators#713366, constraintLabels#713365, logisticUnits#713370, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, splitIndicator#713338L, netPriceAmount#713361, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#712663, items#712665]
Arguments: [shardId#712663, items#712665], [(size(items#712665, true) > 0), isnotnull(items#712665)]
(6) InMemoryRelation
Arguments: [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, optimizationInsights#712669], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, optimizationInsights#712669]
Arguments: [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, optimizationInsights#712669], [isnotnull(shardId#712663), (shardId#712663 = 0_1_10000002107)]
(8) InMemoryRelation
Arguments: [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, lastModified#712668, optimizationInsights#712669], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, lastModified#712668, optimizationInsights#712669]
Arguments: [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, lastModified#712668, optimizationInsights#712669], MapPartitionsRDD[33617] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, lastModified#712668, optimizationInsights#712669]
Condition : (isnotnull(shardId#712663) AND (shardId#712663 = 0_1_10000002107))
(11) Filter [codegen id : 1]
Input [6]: [shardId#712663, orderProposalId#712664L, items#712665, optimizationGroups#712666, isOptimal#712667, optimizationInsights#712669]
Condition : (isnotnull(shardId#712663) AND (shardId#712663 = 0_1_10000002107))
(12) Filter [codegen id : 3]
Input [2]: [shardId#712663, items#712665]
Condition : ((size(items#712665, true) > 0) AND isnotnull(items#712665))
(13) Generate [codegen id : 3]
Input [2]: [shardId#712663, items#712665]
Arguments: explode(items#712665), [shardId#712663], false, [item#713174]
(14) Project [codegen id : 3]
Output [4]: [shardId#712663, item#713174.worklistShardItemId AS worklistShardItemId#713175L, item#713174.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#713176, item#713174.qty AS qty#713177]
Input [2]: [shardId#712663, item#713174]
(15) Scan parquet
Output [38]: [orderProposalId#713376L, orderProposalItemId#713377, supplierGroup#713378, supplier#713379, plant#713380, deliveryDateTime#713381, subrange#713382, supplyingPlant#713383, productGroup#713384, product#713385, orderDateTime#713386, availabilityDateTime#713387, nextAvailabilityDateTime#713388, sourceOfSupplyUuid#713390, isFallbackOrderOnly#713393, splitIndicator#713395L, previousOrderProposal#713396L, worklistShardItemId#713399L, orderProposalItemGroupId#713400, externalProductId#713401, externalPlantId#713402, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, minimumOrderQuantity#713406, constraintLabels#713407, constraintOperators#713408, constraintValues#713409, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, measurements#713417, originalReplenishmentRunId#713418L, optimizationGroups#713419, shardId#713420, sequenceId#713398]
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/10000002107]
PartitionFilters: [isnotnull(shardId#713420), isnotnull(sequenceId#713398), (shardId#713420 = 0_1_10000002107), (sequenceId#713398 = 6)]
PushedFilters: [IsNotNull(worklistShardItemId)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,sourceOfSupplyUuid:string,isFallbackOrderOnly:boolean,splitIndicator:bigint,previousOrderProposal:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(16) ColumnarToRow [codegen id : 1]
Input [38]: [orderProposalId#713376L, orderProposalItemId#713377, supplierGroup#713378, supplier#713379, plant#713380, deliveryDateTime#713381, subrange#713382, supplyingPlant#713383, productGroup#713384, product#713385, orderDateTime#713386, availabilityDateTime#713387, nextAvailabilityDateTime#713388, sourceOfSupplyUuid#713390, isFallbackOrderOnly#713393, splitIndicator#713395L, previousOrderProposal#713396L, worklistShardItemId#713399L, orderProposalItemGroupId#713400, externalProductId#713401, externalPlantId#713402, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, minimumOrderQuantity#713406, constraintLabels#713407, constraintOperators#713408, constraintValues#713409, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, measurements#713417, originalReplenishmentRunId#713418L, optimizationGroups#713419, shardId#713420, sequenceId#713398]
(17) Filter [codegen id : 1]
Input [38]: [orderProposalId#713376L, orderProposalItemId#713377, supplierGroup#713378, supplier#713379, plant#713380, deliveryDateTime#713381, subrange#713382, supplyingPlant#713383, productGroup#713384, product#713385, orderDateTime#713386, availabilityDateTime#713387, nextAvailabilityDateTime#713388, sourceOfSupplyUuid#713390, isFallbackOrderOnly#713393, splitIndicator#713395L, previousOrderProposal#713396L, worklistShardItemId#713399L, orderProposalItemGroupId#713400, externalProductId#713401, externalPlantId#713402, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, minimumOrderQuantity#713406, constraintLabels#713407, constraintOperators#713408, constraintValues#713409, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, measurements#713417, originalReplenishmentRunId#713418L, optimizationGroups#713419, shardId#713420, sequenceId#713398]
Condition : isnotnull(worklistShardItemId#713399L)
(18) Project [codegen id : 1]
Output [36]: [orderProposalId#713376L, orderProposalItemId#713377, supplierGroup#713378, supplier#713379, plant#713380, deliveryDateTime#713381, subrange#713382, supplyingPlant#713383, productGroup#713384, product#713385, orderDateTime#713386, availabilityDateTime#713387, nextAvailabilityDateTime#713388, sourceOfSupplyUuid#713390, isFallbackOrderOnly#713393, splitIndicator#713395L, previousOrderProposal#713396L, worklistShardItemId#713399L, orderProposalItemGroupId#713400, externalProductId#713401, externalPlantId#713402, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, minimumOrderQuantity#713406, constraintLabels#713407, constraintOperators#713408, constraintValues#713409, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, measurements#713417, originalReplenishmentRunId#713418L, optimizationGroups#713419]
Input [38]: [orderProposalId#713376L, orderProposalItemId#713377, supplierGroup#713378, supplier#713379, plant#713380, deliveryDateTime#713381, subrange#713382, supplyingPlant#713383, productGroup#713384, product#713385, orderDateTime#713386, availabilityDateTime#713387, nextAvailabilityDateTime#713388, sourceOfSupplyUuid#713390, isFallbackOrderOnly#713393, splitIndicator#713395L, previousOrderProposal#713396L, worklistShardItemId#713399L, orderProposalItemGroupId#713400, externalProductId#713401, externalPlantId#713402, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, minimumOrderQuantity#713406, constraintLabels#713407, constraintOperators#713408, constraintValues#713409, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, measurements#713417, originalReplenishmentRunId#713418L, optimizationGroups#713419, shardId#713420, sequenceId#713398]
(19) Exchange
Input [36]: [orderProposalId#713376L, orderProposalItemId#713377, supplierGroup#713378, supplier#713379, plant#713380, deliveryDateTime#713381, subrange#713382, supplyingPlant#713383, productGroup#713384, product#713385, orderDateTime#713386, availabilityDateTime#713387, nextAvailabilityDateTime#713388, sourceOfSupplyUuid#713390, isFallbackOrderOnly#713393, splitIndicator#713395L, previousOrderProposal#713396L, worklistShardItemId#713399L, orderProposalItemGroupId#713400, externalProductId#713401, externalPlantId#713402, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, minimumOrderQuantity#713406, constraintLabels#713407, constraintOperators#713408, constraintValues#713409, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, measurements#713417, originalReplenishmentRunId#713418L, optimizationGroups#713419]
Arguments: hashpartitioning(worklistShardItemId#713399L, 20), REPARTITION_BY_NUM, [plan_id=283656]
(20) Project [codegen id : 2]
Output [36]: [worklistShardItemId#713399L, orderProposalId#713376L, orderProposalItemId#713377, orderProposalItemGroupId#713400, originalReplenishmentRunId#713418L, splitIndicator#713395L, previousOrderProposal#713396L, sourceOfSupplyUuid#713390, supplierGroup#713378, supplier#713379, subrange#713382, product#713385, plant#713380, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, isFallbackOrderOnly#713393, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, netPriceAmount#713412, netPriceCurrencyCode#713413, measurements#713417, minimumOrderQuantity#713406, constraintLabels#713407, constraintOperators#713408, constraintValues#713409, logisticUnits#713403, optimizationGroups#713419, externalProductId#713401, externalPlantId#713402, supplyingPlant#713383, productGroup#713384]
Input [36]: [orderProposalId#713376L, orderProposalItemId#713377, supplierGroup#713378, supplier#713379, plant#713380, deliveryDateTime#713381, subrange#713382, supplyingPlant#713383, productGroup#713384, product#713385, orderDateTime#713386, availabilityDateTime#713387, nextAvailabilityDateTime#713388, sourceOfSupplyUuid#713390, isFallbackOrderOnly#713393, splitIndicator#713395L, previousOrderProposal#713396L, worklistShardItemId#713399L, orderProposalItemGroupId#713400, externalProductId#713401, externalPlantId#713402, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, minimumOrderQuantity#713406, constraintLabels#713407, constraintOperators#713408, constraintValues#713409, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, measurements#713417, originalReplenishmentRunId#713418L, optimizationGroups#713419]
(21) BroadcastExchange
Input [36]: [worklistShardItemId#713399L, orderProposalId#713376L, orderProposalItemId#713377, orderProposalItemGroupId#713400, originalReplenishmentRunId#713418L, splitIndicator#713395L, previousOrderProposal#713396L, sourceOfSupplyUuid#713390, supplierGroup#713378, supplier#713379, subrange#713382, product#713385, plant#713380, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, isFallbackOrderOnly#713393, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, netPriceAmount#713412, netPriceCurrencyCode#713413, measurements#713417, minimumOrderQuantity#713406, constraintLabels#713407, constraintOperators#713408, constraintValues#713409, logisticUnits#713403, optimizationGroups#713419, externalProductId#713401, externalPlantId#713402, supplyingPlant#713383, productGroup#713384]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=283660]
(22) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#713175L]
Right keys [1]: [worklistShardItemId#713399L]
Join type: LeftOuter
Join condition: (shardId#712663 = 0_1_10000002107)
(23) Project [codegen id : 3]
Output [39]: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, sourceOfSupplyUuid#713390, minimumOrderQuantity#713406, orderProposalItemId#713377, orderProposalItemGroupId#713400, optimizationGroups#713419, measurements#713417, externalProductId#713401, externalPlantId#713402, previousOrderProposal#713396L, isFallbackOrderOnly#713393]
Input [40]: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, worklistShardItemId#713399L, orderProposalId#713376L, orderProposalItemId#713377, orderProposalItemGroupId#713400, originalReplenishmentRunId#713418L, splitIndicator#713395L, previousOrderProposal#713396L, sourceOfSupplyUuid#713390, supplierGroup#713378, supplier#713379, subrange#713382, product#713385, plant#713380, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, isFallbackOrderOnly#713393, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, netPriceAmount#713412, netPriceCurrencyCode#713413, measurements#713417, minimumOrderQuantity#713406, constraintLabels#713407, constraintOperators#713408, constraintValues#713409, logisticUnits#713403, optimizationGroups#713419, externalProductId#713401, externalPlantId#713402, supplyingPlant#713383, productGroup#713384]
(24) Exchange
Input [39]: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, sourceOfSupplyUuid#713390, minimumOrderQuantity#713406, orderProposalItemId#713377, orderProposalItemGroupId#713400, optimizationGroups#713419, measurements#713417, externalProductId#713401, externalPlantId#713402, previousOrderProposal#713396L, isFallbackOrderOnly#713393]
Arguments: hashpartitioning(shardId#712663, worklistShardItemId#713175L, 20), ENSURE_REQUIREMENTS, [plan_id=283665]
(25) Sort [codegen id : 4]
Input [39]: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, sourceOfSupplyUuid#713390, minimumOrderQuantity#713406, orderProposalItemId#713377, orderProposalItemGroupId#713400, optimizationGroups#713419, measurements#713417, externalProductId#713401, externalPlantId#713402, previousOrderProposal#713396L, isFallbackOrderOnly#713393]
Arguments: [shardId#712663 ASC NULLS FIRST, worklistShardItemId#713175L ASC NULLS FIRST], false, 0
(26) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#713895, worklistShardItemId#713896L, qty#713897, demandChannel#713898, demandStream#713899, kpis#713900]
Arguments: [shardId#713895, worklistShardItemId#713896L, qty#713897, demandChannel#713898, demandStream#713899, kpis#713900], MapPartitionsRDD[33677] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(27) Filter [codegen id : 5]
Input [6]: [shardId#713895, worklistShardItemId#713896L, qty#713897, demandChannel#713898, demandStream#713899, kpis#713900]
Condition : (((isnull(qty#713897) AND isnull(demandChannel#713898)) AND isnull(demandStream#713899)) AND (isnotnull(shardId#713895) AND isnotnull(worklistShardItemId#713896L)))
(28) Project [codegen id : 5]
Output [3]: [shardId#713895, worklistShardItemId#713896L, coalesce(kpis#713900, []) AS prodLocSpecificKpis#713901]
Input [6]: [shardId#713895, worklistShardItemId#713896L, qty#713897, demandChannel#713898, demandStream#713899, kpis#713900]
(29) Exchange
Input [3]: [shardId#713895, worklistShardItemId#713896L, prodLocSpecificKpis#713901]
Arguments: hashpartitioning(shardId#713895, worklistShardItemId#713896L, 20), ENSURE_REQUIREMENTS, [plan_id=283671]
(30) Sort [codegen id : 6]
Input [3]: [shardId#713895, worklistShardItemId#713896L, prodLocSpecificKpis#713901]
Arguments: [shardId#713895 ASC NULLS FIRST, worklistShardItemId#713896L ASC NULLS FIRST], false, 0
(31) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#712663, worklistShardItemId#713175L]
Right keys [2]: [shardId#713895, worklistShardItemId#713896L]
Join type: LeftOuter
Join condition: None
(32) Project [codegen id : 7]
Output [40]: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, sourceOfSupplyUuid#713390, minimumOrderQuantity#713406, orderProposalItemId#713377, orderProposalItemGroupId#713400, optimizationGroups#713419, measurements#713417, externalProductId#713401, externalPlantId#713402, previousOrderProposal#713396L, isFallbackOrderOnly#713393, coalesce(prodLocSpecificKpis#713901, []) AS prodLocSpecificKpis#713902]
Input [42]: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, sourceOfSupplyUuid#713390, minimumOrderQuantity#713406, orderProposalItemId#713377, orderProposalItemGroupId#713400, optimizationGroups#713419, measurements#713417, externalProductId#713401, externalPlantId#713402, previousOrderProposal#713396L, isFallbackOrderOnly#713393, shardId#713895, worklistShardItemId#713896L, prodLocSpecificKpis#713901]
(33) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#713911, worklistShardItemId#713912L, qty#713913, demandChannel#713914, demandStream#713915, kpis#713916]
Arguments: [shardId#713911, worklistShardItemId#713912L, qty#713913, demandChannel#713914, demandStream#713915, kpis#713916], MapPartitionsRDD[33677] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(34) Filter [codegen id : 8]
Input [6]: [shardId#713911, worklistShardItemId#713912L, qty#713913, demandChannel#713914, demandStream#713915, kpis#713916]
Condition : ((((isnull(qty#713913) AND isnotnull(demandChannel#713914)) AND isnotnull(demandStream#713915)) AND (size(kpis#713916, true) > 0)) AND (isnotnull(shardId#713911) AND isnotnull(worklistShardItemId#713912L)))
(35) Project [codegen id : 8]
Output [5]: [shardId#713911, worklistShardItemId#713912L, demandChannel#713914, demandStream#713915, kpis#713916]
Input [6]: [shardId#713911, worklistShardItemId#713912L, qty#713913, demandChannel#713914, demandStream#713915, kpis#713916]
(36) ObjectHashAggregate
Input [5]: [shardId#713911, worklistShardItemId#713912L, demandChannel#713914, demandStream#713915, kpis#713916]
Keys [2]: [shardId#713911, worklistShardItemId#713912L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#713914, demandStream, demandStream#713915, kpis, kpis#713916), 0, 0)]
Aggregate Attributes [1]: [buf#714091]
Results [3]: [shardId#713911, worklistShardItemId#713912L, buf#714092]
(37) Exchange
Input [3]: [shardId#713911, worklistShardItemId#713912L, buf#714092]
Arguments: hashpartitioning(shardId#713911, worklistShardItemId#713912L, 20), ENSURE_REQUIREMENTS, [plan_id=283682]
(38) ObjectHashAggregate
Input [3]: [shardId#713911, worklistShardItemId#713912L, buf#714092]
Keys [2]: [shardId#713911, worklistShardItemId#713912L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#713914, demandStream, demandStream#713915, kpis, kpis#713916), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#713914, demandStream, demandStream#713915, kpis, kpis#713916), 0, 0)#713910]
Results [3]: [shardId#713911, worklistShardItemId#713912L, collect_list(struct(demandChannel, demandChannel#713914, demandStream, demandStream#713915, kpis, kpis#713916), 0, 0)#713910 AS channelStreamSpecificKpis#713903]
(39) Sort [codegen id : 9]
Input [3]: [shardId#713911, worklistShardItemId#713912L, channelStreamSpecificKpis#713903]
Arguments: [shardId#713911 ASC NULLS FIRST, worklistShardItemId#713912L ASC NULLS FIRST], false, 0
(40) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#712663, worklistShardItemId#713175L]
Right keys [2]: [shardId#713911, worklistShardItemId#713912L]
Join type: LeftOuter
Join condition: None
(41) Project [codegen id : 10]
Output [41]: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, sourceOfSupplyUuid#713390, minimumOrderQuantity#713406, orderProposalItemId#713377, orderProposalItemGroupId#713400, optimizationGroups#713419, measurements#713417, externalProductId#713401, externalPlantId#713402, previousOrderProposal#713396L, isFallbackOrderOnly#713393, prodLocSpecificKpis#713902, coalesce(channelStreamSpecificKpis#713903, []) AS channelStreamSpecificKpis#713917]
Input [43]: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, sourceOfSupplyUuid#713390, minimumOrderQuantity#713406, orderProposalItemId#713377, orderProposalItemGroupId#713400, optimizationGroups#713419, measurements#713417, externalProductId#713401, externalPlantId#713402, previousOrderProposal#713396L, isFallbackOrderOnly#713393, prodLocSpecificKpis#713902, shardId#713911, worklistShardItemId#713912L, channelStreamSpecificKpis#713903]
(42) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#713924, worklistShardItemId#713925L, qty#713926, demandChannel#713927, demandStream#713928, kpis#713929]
Arguments: [shardId#713924, worklistShardItemId#713925L, qty#713926, demandChannel#713927, demandStream#713928, kpis#713929], MapPartitionsRDD[33677] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(43) Filter [codegen id : 11]
Input [6]: [shardId#713924, worklistShardItemId#713925L, qty#713926, demandChannel#713927, demandStream#713928, kpis#713929]
Condition : ((isnotnull(qty#713926) AND isnotnull(kpis#713929)) AND (isnotnull(shardId#713924) AND isnotnull(worklistShardItemId#713925L)))
(44) Project [codegen id : 11]
Output [4]: [shardId#713924, worklistShardItemId#713925L, qty#713926, kpis#713929]
Input [6]: [shardId#713924, worklistShardItemId#713925L, qty#713926, demandChannel#713927, demandStream#713928, kpis#713929]
(45) ObjectHashAggregate
Input [4]: [shardId#713924, worklistShardItemId#713925L, qty#713926, kpis#713929]
Keys [2]: [shardId#713924, worklistShardItemId#713925L]
Functions [1]: [partial_collect_list(struct(qty, qty#713926, kpis, kpis#713929), 0, 0)]
Aggregate Attributes [1]: [buf#714093]
Results [3]: [shardId#713924, worklistShardItemId#713925L, buf#714094]
(46) Exchange
Input [3]: [shardId#713924, worklistShardItemId#713925L, buf#714094]
Arguments: hashpartitioning(shardId#713924, worklistShardItemId#713925L, 20), ENSURE_REQUIREMENTS, [plan_id=283694]
(47) ObjectHashAggregate
Input [3]: [shardId#713924, worklistShardItemId#713925L, buf#714094]
Keys [2]: [shardId#713924, worklistShardItemId#713925L]
Functions [1]: [collect_list(struct(qty, qty#713926, kpis, kpis#713929), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#713926, kpis, kpis#713929), 0, 0)#713923]
Results [3]: [shardId#713924, worklistShardItemId#713925L, map_from_entries(collect_list(struct(qty, qty#713926, kpis, kpis#713929), 0, 0)#713923) AS quantityKpis#713918]
(48) Sort [codegen id : 12]
Input [3]: [shardId#713924, worklistShardItemId#713925L, quantityKpis#713918]
Arguments: [shardId#713924 ASC NULLS FIRST, worklistShardItemId#713925L ASC NULLS FIRST], false, 0
(49) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#712663, worklistShardItemId#713175L]
Right keys [2]: [shardId#713924, worklistShardItemId#713925L]
Join type: LeftOuter
Join condition: None
(50) Project [codegen id : 13]
Output [42]: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, sourceOfSupplyUuid#713390, minimumOrderQuantity#713406, orderProposalItemId#713377, orderProposalItemGroupId#713400, optimizationGroups#713419, measurements#713417, externalProductId#713401, externalPlantId#713402, previousOrderProposal#713396L, isFallbackOrderOnly#713393, prodLocSpecificKpis#713902, channelStreamSpecificKpis#713917, coalesce(quantityKpis#713918, map(keys: [], values: [])) AS quantityKpis#713930]
Input [44]: [shardId#712663, worklistShardItemId#713175L, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713376L, originalReplenishmentRunId#713418L, supplierGroup#713378, supplier#713379, supplyingPlant#713383, productGroup#713384, product#713385, plant#713380, subrange#713382, orderDateTime#713386, deliveryDateTime#713381, availabilityDateTime#713387, nextAvailabilityDateTime#713388, constraintValues#713409, constraintOperators#713408, constraintLabels#713407, logisticUnits#713403, orderQuantityBaseUom#713404, orderQuantityBaseUomUuid#713405, splitIndicator#713395L, netPriceAmount#713412, netPriceCurrencyCode#713413, netPriceQuantity#713414, netPriceQuantityUom#713415, netPriceQuantityUomUuid#713416, sourceOfSupplyUuid#713390, minimumOrderQuantity#713406, orderProposalItemId#713377, orderProposalItemGroupId#713400, optimizationGroups#713419, measurements#713417, externalProductId#713401, externalPlantId#713402, previousOrderProposal#713396L, isFallbackOrderOnly#713393, prodLocSpecificKpis#713902, channelStreamSpecificKpis#713917, shardId#713924, worklistShardItemId#713925L, quantityKpis#713918]
(51) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#713353, channelStreamSpecificKpis#713917, constraintLabels#713365, constraintOperators#713366, constraintValues#713368, deliveryDateTime#713352, isFallbackOrderOnly#713355, logisticUnits#713370, measurements#713363, minimumOrderQuantity#713364, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, nextAvailabilityDateTime#713354, optimizationGroups#713371, orderDateTime#713351, orderProposalId#713333L, orderProposalItemGroupId#713335, orderProposalItemId#713334, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, originalReplenishmentRunId#713336L, plant#713347, previousOrderProposal#713339L, prodLocSpecificKpis#713902, product#713346, productGroup#713375, qty#713177, quantityAfterProdPlantOptimization#713176, quantityKpis#713930, shardId#712663, sourceOfSupplyUuid#713342, splitIndicator#713338L, subrange#713345, supplier#713344, supplierGroup#713343, supplyingPlant#713374]
Condition : NOT (isFallbackOrderOnly#713355 <=> true)
(52) Project [codegen id : 1]
Output [36]: [shardId#712663, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, productGroup#713375, product#713346, plant#713347, subrange#713345, orderDateTime#713351, deliveryDateTime#713352, availabilityDateTime#713353, nextAvailabilityDateTime#713354, logisticUnits#713370, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, splitIndicator#713338L, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, sourceOfSupplyUuid#713342, minimumOrderQuantity#713364, orderProposalItemId#713334, orderProposalItemGroupId#713335, optimizationGroups#713371, measurements#713363, previousOrderProposal#713339L, prodLocSpecificKpis#713902, channelStreamSpecificKpis#713917, quantityKpis#713930, arrays_zip(constraintLabels#713365, constraintOperators#713366, constraintValues#713368, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#714344]
Input [39]: [availabilityDateTime#713353, channelStreamSpecificKpis#713917, constraintLabels#713365, constraintOperators#713366, constraintValues#713368, deliveryDateTime#713352, isFallbackOrderOnly#713355, logisticUnits#713370, measurements#713363, minimumOrderQuantity#713364, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, nextAvailabilityDateTime#713354, optimizationGroups#713371, orderDateTime#713351, orderProposalId#713333L, orderProposalItemGroupId#713335, orderProposalItemId#713334, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, originalReplenishmentRunId#713336L, plant#713347, previousOrderProposal#713339L, prodLocSpecificKpis#713902, product#713346, productGroup#713375, qty#713177, quantityAfterProdPlantOptimization#713176, quantityKpis#713930, shardId#712663, sourceOfSupplyUuid#713342, splitIndicator#713338L, subrange#713345, supplier#713344, supplierGroup#713343, supplyingPlant#713374]
(53) Project
Output [37]: [shardId#712663, qty#713177, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, productGroup#713375, product#713346, plant#713347, subrange#713345, orderDateTime#713351, deliveryDateTime#713352, availabilityDateTime#713353, nextAvailabilityDateTime#713354, logisticUnits#713370, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, splitIndicator#713338L, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, sourceOfSupplyUuid#713342, orderProposalItemId#713334, orderProposalItemGroupId#713335, optimizationGroups#713371, measurements#713363, previousOrderProposal#713339L, prodLocSpecificKpis#713902, channelStreamSpecificKpis#713917, quantityKpis#713930, struct(minServiceLevel, array_min(filter(constraintStructArray#714344, lambdafunction((lambda x_1855#714351.constraintLabels = ServiceLevel), lambda x_1855#714351, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#714344, lambdafunction((lambda x_1856#714352.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_1856#714352, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#714344, lambdafunction((lambda x_1857#714353.constraintLabels = RangeOfCoverage), lambda x_1857#714353, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#713364, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#713902, lambdafunction((lambda x_1858#714354.label = NonListingStartTimestamp), lambda x_1858#714354, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#714350, CASE WHEN (qty#713177 <=> quantityAfterProdPlantOptimization#713176) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#713177 * (cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1859#714422.isOrderUnit, lambda x_1859#714422, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1859#714423.isOrderUnit, lambda x_1859#714423, false)), 1, None, false).numerator as double))), qty#713177), orderQuantityUom, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1859#714424.isOrderUnit, lambda x_1859#714424, false)), 1, None, false).uom, orderQuantityBaseUom#713356), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1859#714425.isOrderUnit, lambda x_1859#714425, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#713357), candidateOrderQuantityInBaseUnit, qty#713177, orderQuantityBaseUom, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#713357, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#713370, lambdafunction((lambda x_1861#714426.isPreferred AND (((qty#713177 * cast(lambda x_1861#714426.denominator as double)) % cast(lambda x_1861#714426.numerator as double)) = 0.0)), lambda x_1861#714426, false)), lambdafunction(struct(inPreferredQuantity, ((qty#713177 * cast(lambda x_1862#714464.denominator as double)) / cast(lambda x_1862#714464.numerator as double)), uom, lambda x_1862#714464.uom, uomUuid, lambda x_1862#714464.uomUuid), lambda x_1862#714464, false))).inPreferredQuantity, coalesce((qty#713177 * (cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1860#714427.isOrderUnit, lambda x_1860#714427, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1860#714428.isOrderUnit, lambda x_1860#714428, false)), 1, None, false).numerator as double))), qty#713177)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#713370, lambdafunction((lambda x_1861#714429.isPreferred AND (((qty#713177 * cast(lambda x_1861#714429.denominator as double)) % cast(lambda x_1861#714429.numerator as double)) = 0.0)), lambda x_1861#714429, false)), lambdafunction(struct(inPreferredQuantity, ((qty#713177 * cast(lambda x_1862#714465.denominator as double)) / cast(lambda x_1862#714465.numerator as double)), uom, lambda x_1862#714465.uom, uomUuid, lambda x_1862#714465.uomUuid), lambda x_1862#714465, false))).uom, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1860#714430.isOrderUnit, lambda x_1860#714430, false)), 1, None, false).uom, orderQuantityBaseUom#713356)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#713370, lambdafunction((lambda x_1861#714431.isPreferred AND (((qty#713177 * cast(lambda x_1861#714431.denominator as double)) % cast(lambda x_1861#714431.numerator as double)) = 0.0)), lambda x_1861#714431, false)), lambdafunction(struct(inPreferredQuantity, ((qty#713177 * cast(lambda x_1862#714466.denominator as double)) / cast(lambda x_1862#714466.numerator as double)), uom, lambda x_1862#714466.uom, uomUuid, lambda x_1862#714466.uomUuid), lambda x_1862#714466, false))).uomUuid, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1860#714432.isOrderUnit, lambda x_1860#714432, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#713357)), serviceLevel, coalesce(filter(element_at(quantityKpis#713930, qty#713177, None, false), lambdafunction((lambda x_1867#714433.label = ServiceLevel), lambda x_1867#714433, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#713177 * (cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1859#714436.isOrderUnit, lambda x_1859#714436, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1859#714437.isOrderUnit, lambda x_1859#714437, false)), 1, None, false).numerator as double))), qty#713177), orderQuantityUom, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1859#714438.isOrderUnit, lambda x_1859#714438, false)), 1, None, false).uom, orderQuantityBaseUom#713356), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1859#714439.isOrderUnit, lambda x_1859#714439, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#713357), candidateOrderQuantityInBaseUnit, qty#713177, orderQuantityBaseUom, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#713357, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#713370, lambdafunction((lambda x_1861#714440.isPreferred AND (((qty#713177 * cast(lambda x_1861#714440.denominator as double)) % cast(lambda x_1861#714440.numerator as double)) = 0.0)), lambda x_1861#714440, false)), lambdafunction(struct(inPreferredQuantity, ((qty#713177 * cast(lambda x_1862#714467.denominator as double)) / cast(lambda x_1862#714467.numerator as double)), uom, lambda x_1862#714467.uom, uomUuid, lambda x_1862#714467.uomUuid), lambda x_1862#714467, false))).inPreferredQuantity, coalesce((qty#713177 * (cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1860#714441.isOrderUnit, lambda x_1860#714441, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1860#714442.isOrderUnit, lambda x_1860#714442, false)), 1, None, false).numerator as double))), qty#713177)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#713370, lambdafunction((lambda x_1861#714443.isPreferred AND (((qty#713177 * cast(lambda x_1861#714443.denominator as double)) % cast(lambda x_1861#714443.numerator as double)) = 0.0)), lambda x_1861#714443, false)), lambdafunction(struct(inPreferredQuantity, ((qty#713177 * cast(lambda x_1862#714468.denominator as double)) / cast(lambda x_1862#714468.numerator as double)), uom, lambda x_1862#714468.uom, uomUuid, lambda x_1862#714468.uomUuid), lambda x_1862#714468, false))).uom, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1860#714444.isOrderUnit, lambda x_1860#714444, false)), 1, None, false).uom, orderQuantityBaseUom#713356)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#713370, lambdafunction((lambda x_1861#714445.isPreferred AND (((qty#713177 * cast(lambda x_1861#714445.denominator as double)) % cast(lambda x_1861#714445.numerator as double)) = 0.0)), lambda x_1861#714445, false)), lambdafunction(struct(inPreferredQuantity, ((qty#713177 * cast(lambda x_1862#714469.denominator as double)) / cast(lambda x_1862#714469.numerator as double)), uom, lambda x_1862#714469.uom, uomUuid, lambda x_1862#714469.uomUuid), lambda x_1862#714469, false))).uomUuid, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1860#714446.isOrderUnit, lambda x_1860#714446, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#713357)), serviceLevel, coalesce(filter(element_at(quantityKpis#713930, qty#713177, None, false), lambdafunction((lambda x_1870#714447.label = ServiceLevel), lambda x_1870#714447, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#713176 * (cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1863#714450.isOrderUnit, lambda x_1863#714450, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1863#714451.isOrderUnit, lambda x_1863#714451, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#713176), orderQuantityUom, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1863#714452.isOrderUnit, lambda x_1863#714452, false)), 1, None, false).uom, orderQuantityBaseUom#713356), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1863#714453.isOrderUnit, lambda x_1863#714453, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#713357), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#713176, orderQuantityBaseUom, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#713357, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#713370, lambdafunction((lambda x_1865#714454.isPreferred AND (((quantityAfterProdPlantOptimization#713176 * cast(lambda x_1865#714454.denominator as double)) % cast(lambda x_1865#714454.numerator as double)) = 0.0)), lambda x_1865#714454, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#713176 * cast(lambda x_1866#714470.denominator as double)) / cast(lambda x_1866#714470.numerator as double)), uom, lambda x_1866#714470.uom, uomUuid, lambda x_1866#714470.uomUuid), lambda x_1866#714470, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#713176 * (cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1864#714455.isOrderUnit, lambda x_1864#714455, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1864#714456.isOrderUnit, lambda x_1864#714456, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#713176)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#713370, lambdafunction((lambda x_1865#714457.isPreferred AND (((quantityAfterProdPlantOptimization#713176 * cast(lambda x_1865#714457.denominator as double)) % cast(lambda x_1865#714457.numerator as double)) = 0.0)), lambda x_1865#714457, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#713176 * cast(lambda x_1866#714471.denominator as double)) / cast(lambda x_1866#714471.numerator as double)), uom, lambda x_1866#714471.uom, uomUuid, lambda x_1866#714471.uomUuid), lambda x_1866#714471, false))).uom, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1864#714458.isOrderUnit, lambda x_1864#714458, false)), 1, None, false).uom, orderQuantityBaseUom#713356)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#713370, lambdafunction((lambda x_1865#714459.isPreferred AND (((quantityAfterProdPlantOptimization#713176 * cast(lambda x_1865#714459.denominator as double)) % cast(lambda x_1865#714459.numerator as double)) = 0.0)), lambda x_1865#714459, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#713176 * cast(lambda x_1866#714472.denominator as double)) / cast(lambda x_1866#714472.numerator as double)), uom, lambda x_1866#714472.uom, uomUuid, lambda x_1866#714472.uomUuid), lambda x_1866#714472, false))).uomUuid, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1864#714460.isOrderUnit, lambda x_1864#714460, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#713357)), serviceLevel, coalesce(filter(element_at(quantityKpis#713930, quantityAfterProdPlantOptimization#713176, None, false), lambdafunction((lambda x_1873#714461.label = ServiceLevel), lambda x_1873#714461, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#714421, coalesce(filter(prodLocSpecificKpis#713902, lambdafunction((lambda x_1876#714474.label = InitialStockQty), lambda x_1876#714474, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#714473, coalesce(filter(prodLocSpecificKpis#713902, lambdafunction((lambda x_1877#714476.label = DemandPeriodEndTimestamp), lambda x_1877#714476, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#714475]
Input [36]: [shardId#712663, quantityAfterProdPlantOptimization#713176, qty#713177, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, productGroup#713375, product#713346, plant#713347, subrange#713345, orderDateTime#713351, deliveryDateTime#713352, availabilityDateTime#713353, nextAvailabilityDateTime#713354, logisticUnits#713370, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, splitIndicator#713338L, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, sourceOfSupplyUuid#713342, minimumOrderQuantity#713364, orderProposalItemId#713334, orderProposalItemGroupId#713335, optimizationGroups#713371, measurements#713363, previousOrderProposal#713339L, prodLocSpecificKpis#713902, channelStreamSpecificKpis#713917, quantityKpis#713930, constraintStructArray#714344]
(54) Project
Output [21]: [shardId#712663, qty#713177, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, productGroup#713375, product#713346, plant#713347, subrange#713345, orderDateTime#713351, deliveryDateTime#713352, logisticUnits#713370, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, splitIndicator#713338L, orderProposalItemId#713334, orderProposalItemGroupId#713335, previousOrderProposal#713339L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#713344, supplyingPlant, supplyingPlant#713374, productGroup, productGroup#713375, product, product#713346, plant, plant#713347, supplierSubRange, subrange#713345, sourceOfSupplyUuid, sourceOfSupplyUuid#713342, deliveryDateTime, deliveryDateTime#713352, unitPrice, netPriceAmount#713361, unitPriceCurrency, netPriceCurrencyCode#713362, unitPriceQuantity, ... 37 more fields) AS parentItem#714555]
Input [37]: [shardId#712663, qty#713177, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, productGroup#713375, product#713346, plant#713347, subrange#713345, orderDateTime#713351, deliveryDateTime#713352, availabilityDateTime#713353, nextAvailabilityDateTime#713354, logisticUnits#713370, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, splitIndicator#713338L, netPriceAmount#713361, netPriceCurrencyCode#713362, netPriceQuantity#713358, netPriceQuantityUom#713359, netPriceQuantityUomUuid#713360, sourceOfSupplyUuid#713342, orderProposalItemId#713334, orderProposalItemGroupId#713335, optimizationGroups#713371, measurements#713363, previousOrderProposal#713339L, prodLocSpecificKpis#713902, channelStreamSpecificKpis#713917, quantityKpis#713930, constraintBenchmark#714350, calculationAnalysis#714421, inventoryDateTime#714473, demandPeriodEndDateTime#714475]
(55) Project
Output [12]: [shardId#712663, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, orderDateTime#713351, splitIndicator#713338L, orderProposalItemGroupId#713335, previousOrderProposal#713339L, parentItem#714555, struct(itemId, orderProposalItemId#713334, supplier, supplier#713344, supplyingPlant, supplyingPlant#713374, productGroup, productGroup#713375, product, product#713346, plant, plant#713347, supplierSubRange, subrange#713345, deliveryDateTime, deliveryDateTime#713352, orderQuantity, coalesce((qty#713177 * (cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1901#714589.isOrderUnit, lambda x_1901#714589, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1901#714590.isOrderUnit, lambda x_1901#714590, false)), 1, None, false).numerator as double))), qty#713177), orderQuantityUom, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1901#714591.isOrderUnit, lambda x_1901#714591, false)), 1, None, false).uom, orderQuantityBaseUom#713356), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#713370, lambdafunction(lambda x_1901#714592.isOrderUnit, lambda x_1901#714592, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#713357), orderQuantityInBaseUnit, qty#713177, orderQuantityBaseUom, ... 13 more fields) AS item#714586]
Input [21]: [shardId#712663, qty#713177, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, productGroup#713375, product#713346, plant#713347, subrange#713345, orderDateTime#713351, deliveryDateTime#713352, logisticUnits#713370, orderQuantityBaseUom#713356, orderQuantityBaseUomUuid#713357, splitIndicator#713338L, orderProposalItemId#713334, orderProposalItemGroupId#713335, previousOrderProposal#713339L, parentItem#714555]
(56) ObjectHashAggregate
Input [12]: [shardId#712663, orderProposalId#713333L, originalReplenishmentRunId#713336L, supplierGroup#713343, supplier#713344, supplyingPlant#713374, orderDateTime#713351, splitIndicator#713338L, orderProposalItemGroupId#713335, previousOrderProposal#713339L, parentItem#714555, item#714586]
Keys [4]: [shardId#712663, orderProposalId#713333L, splitIndicator#713338L, orderProposalItemGroupId#713335]
Functions [8]: [partial_max(originalReplenishmentRunId#713336L), partial_max(supplierGroup#713343), partial_max(supplier#713344), partial_max(supplyingPlant#713374), partial_max(orderDateTime#713351), partial_collect_list(parentItem#714555, 0, 0), partial_collect_set(previousOrderProposal#713339L, 0, 0), partial_collect_list(item#714586, 0, 0)]
Aggregate Attributes [8]: [max#715847L, max#715848, max#715849, max#715850, max#715851, buf#715852, buf#715853, buf#715854]
Results [12]: [shardId#712663, orderProposalId#713333L, splitIndicator#713338L, orderProposalItemGroupId#713335, max#715855L, max#715856, max#715857, max#715858, max#715859, buf#715860, buf#715861, buf#715862]
(57) Exchange
Input [12]: [shardId#712663, orderProposalId#713333L, splitIndicator#713338L, orderProposalItemGroupId#713335, max#715855L, max#715856, max#715857, max#715858, max#715859, buf#715860, buf#715861, buf#715862]
Arguments: hashpartitioning(shardId#712663, orderProposalId#713333L, splitIndicator#713338L, orderProposalItemGroupId#713335, 20), ENSURE_REQUIREMENTS, [plan_id=283937]
(58) ObjectHashAggregate
Input [12]: [shardId#712663, orderProposalId#713333L, splitIndicator#713338L, orderProposalItemGroupId#713335, max#715855L, max#715856, max#715857, max#715858, max#715859, buf#715860, buf#715861, buf#715862]
Keys [4]: [shardId#712663, orderProposalId#713333L, splitIndicator#713338L, orderProposalItemGroupId#713335]
Functions [8]: [max(originalReplenishmentRunId#713336L), max(supplierGroup#713343), max(supplier#713344), max(supplyingPlant#713374), max(orderDateTime#713351), collect_list(parentItem#714555, 0, 0), collect_set(previousOrderProposal#713339L, 0, 0), collect_list(item#714586, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#713336L)#714655L, max(supplierGroup#713343)#714656, max(supplier#713344)#714657, max(supplyingPlant#713374)#714658, max(orderDateTime#713351)#714659, collect_list(parentItem#714555, 0, 0)#714660, collect_set(previousOrderProposal#713339L, 0, 0)#714662, collect_list(item#714586, 0, 0)#714661]
Results [10]: [shardId#712663, orderProposalId#713333L, max(originalReplenishmentRunId#713336L)#714655L AS originalReplenishmentRunId#714603L, max(supplierGroup#713343)#714656 AS supplierGroup#714604, max(supplier#713344)#714657 AS supplier#714605, max(supplyingPlant#713374)#714658 AS supplyingPlant#714606, max(orderDateTime#713351)#714659 AS orderDateTime#714607, collect_list(parentItem#714555, 0, 0)#714660 AS parentItems#714608, collect_set(previousOrderProposal#713339L, 0, 0)#714662 AS previousOrderProposals#714610, struct(itemGroupId, coalesce(orderProposalItemGroupId#713335, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#714586, 0, 0)#714661) AS itemGroup#714664]
(59) ObjectHashAggregate
Input [10]: [shardId#712663, orderProposalId#713333L, originalReplenishmentRunId#714603L, supplierGroup#714604, supplier#714605, supplyingPlant#714606, orderDateTime#714607, parentItems#714608, previousOrderProposals#714610, itemGroup#714664]
Keys [2]: [shardId#712663, orderProposalId#713333L]
Functions [8]: [partial_max(originalReplenishmentRunId#714603L), partial_max(supplierGroup#714604), partial_max(supplier#714605), partial_max(supplyingPlant#714606), partial_max(orderDateTime#714607), partial_collect_list(itemGroup#714664, 0, 0), partial_collect_list(parentItems#714608, 0, 0), partial_collect_set(previousOrderProposals#714610, 0, 0)]
Aggregate Attributes [8]: [max#715831L, max#715832, max#715833, max#715834, max#715835, buf#715836, buf#715837, buf#715838]
Results [10]: [shardId#712663, orderProposalId#713333L, max#715839L, max#715840, max#715841, max#715842, max#715843, buf#715844, buf#715845, buf#715846]
(60) Exchange
Input [10]: [shardId#712663, orderProposalId#713333L, max#715839L, max#715840, max#715841, max#715842, max#715843, buf#715844, buf#715845, buf#715846]
Arguments: hashpartitioning(shardId#712663, orderProposalId#713333L, 20), ENSURE_REQUIREMENTS, [plan_id=283940]
(61) ObjectHashAggregate
Input [10]: [shardId#712663, orderProposalId#713333L, max#715839L, max#715840, max#715841, max#715842, max#715843, buf#715844, buf#715845, buf#715846]
Keys [2]: [shardId#712663, orderProposalId#713333L]
Functions [8]: [max(originalReplenishmentRunId#714603L), max(supplierGroup#714604), max(supplier#714605), max(supplyingPlant#714606), max(orderDateTime#714607), collect_list(itemGroup#714664, 0, 0), collect_list(parentItems#714608, 0, 0), collect_set(previousOrderProposals#714610, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#714603L)#714686L, max(supplierGroup#714604)#714687, max(supplier#714605)#714688, max(supplyingPlant#714606)#714689, max(orderDateTime#714607)#714690, collect_list(itemGroup#714664, 0, 0)#714691, collect_list(parentItems#714608, 0, 0)#714692, collect_set(previousOrderProposals#714610, 0, 0)#714693]
Results [10]: [shardId#712663, orderProposalId#713333L, max(originalReplenishmentRunId#714603L)#714686L AS originalReplenishmentRunId#714665L, max(supplierGroup#714604)#714687 AS supplierGroup#714666, max(supplier#714605)#714688 AS supplier#714667, max(supplyingPlant#714606)#714689 AS supplyingPlant#714668, max(orderDateTime#714607)#714690 AS orderDateTime#714669, collect_list(itemGroup#714664, 0, 0)#714691 AS itemGroups#714670, flatten(collect_list(parentItems#714608, 0, 0)#714692) AS parentItems#714671, flatten(collect_set(previousOrderProposals#714610, 0, 0)#714693) AS previousOrderProposals#714672]
(62) Project
Output [2]: [shardId#712663, struct(orderProposalId, orderProposalId#713333L, originalReplenishmentRunId, originalReplenishmentRunId#714665L, supplierGroup, supplierGroup#714666, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#714666) THEN supplier#714667 END, supplyingPlant, supplyingPlant#714668, orderDateTime, orderDateTime#714669, itemGroups, itemGroups#714670, previousOrderProposals, array_distinct(previousOrderProposals#714672), parentItems, parentItems#714671) AS orderProposal#714697]
Input [10]: [shardId#712663, orderProposalId#713333L, originalReplenishmentRunId#714665L, supplierGroup#714666, supplier#714667, supplyingPlant#714668, orderDateTime#714669, itemGroups#714670, parentItems#714671, previousOrderProposals#714672]
(63) Project
Output [11]: [shardId#712663, orderProposal#714697.orderProposalId AS _extract_orderProposalId#715463L, orderProposal#714697.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#715464L, orderProposal#714697.supplierGroup AS _extract_supplierGroup#715465, orderProposal#714697.supplier AS _extract_supplier#715466, orderProposal#714697.supplyingPlant AS _extract_supplyingPlant#715467, orderProposal#714697.orderDateTime AS _extract_orderDateTime#715468, orderProposal#714697.itemGroups AS _extract_itemGroups#715469, orderProposal#714697.previousOrderProposals AS _extract_previousOrderProposals#715470, orderProposal#714697.parentItems AS _extract_parentItems#715471, orderProposal#714697.orderProposalId AS _extract_orderProposalId#715472L]
Input [2]: [shardId#712663, orderProposal#714697]
(64) Exchange
Input [11]: [shardId#712663, _extract_orderProposalId#715463L, _extract_originalReplenishmentRunId#715464L, _extract_supplierGroup#715465, _extract_supplier#715466, _extract_supplyingPlant#715467, _extract_orderDateTime#715468, _extract_itemGroups#715469, _extract_previousOrderProposals#715470, _extract_parentItems#715471, _extract_orderProposalId#715472L]
Arguments: hashpartitioning(coalesce(shardId#712663, ), isnull(shardId#712663), coalesce(_extract_orderProposalId#715472L, 0), isnull(_extract_orderProposalId#715472L), 20), ENSURE_REQUIREMENTS, [plan_id=283944]
(65) Sort
Input [11]: [shardId#712663, _extract_orderProposalId#715463L, _extract_originalReplenishmentRunId#715464L, _extract_supplierGroup#715465, _extract_supplier#715466, _extract_supplyingPlant#715467, _extract_orderDateTime#715468, _extract_itemGroups#715469, _extract_previousOrderProposals#715470, _extract_parentItems#715471, _extract_orderProposalId#715472L]
Arguments: [coalesce(shardId#712663, ) ASC NULLS FIRST, isnull(shardId#712663) ASC NULLS FIRST, coalesce(_extract_orderProposalId#715472L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#715472L) ASC NULLS FIRST], false, 0
(66) InMemoryTableScan
Output [3]: [shardId#714720, orderProposalId#714721L, optimizationGroups#714723]
Arguments: [shardId#714720, orderProposalId#714721L, optimizationGroups#714723], [isnotnull(orderProposalId#714721L)]
(67) InMemoryRelation
Arguments: [shardId#714720, orderProposalId#714721L, items#714722, optimizationGroups#714723, isOptimal#714724, optimizationInsights#714726], StorageLevel(disk, memory, 2 replicas)
(68) Filter [codegen id : 2]
Input [3]: [shardId#714720, orderProposalId#714721L, optimizationGroups#714723]
Condition : isnotnull(orderProposalId#714721L)
(69) BroadcastExchange
Input [3]: [shardId#714720, orderProposalId#714721L, optimizationGroups#714723]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=283949]
(70) InMemoryTableScan
Output [2]: [items#714339, shardId#714337]
Arguments: [items#714339, shardId#714337], [(size(items#714339.worklistShardItemId, true) > 0), isnotnull(items#714339.worklistShardItemId), (shardId#714337 = 0_1_10000002107)]
(71) InMemoryRelation
Arguments: [shardId#714337, orderProposalId#714338L, items#714339, optimizationGroups#714340, isOptimal#714341, optimizationInsights#714343], StorageLevel(disk, memory, 2 replicas)
(72) Filter [codegen id : 3]
Input [2]: [items#714339, shardId#714337]
Condition : (((size(items#714339.worklistShardItemId, true) > 0) AND isnotnull(items#714339.worklistShardItemId)) AND (shardId#714337 = 0_1_10000002107))
(73) Project [codegen id : 3]
Output [1]: [items#714339.worklistShardItemId AS _extract_worklistShardItemId#715368]
Input [2]: [items#714339, shardId#714337]
(74) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#715368]
Arguments: explode(_extract_worklistShardItemId#715368), false, [item#714727L]
(75) Project [codegen id : 3]
Output [1]: [item#714727L AS worklistShardItemId#714728L]
Input [1]: [item#714727L]
(76) BroadcastExchange
Input [1]: [worklistShardItemId#714728L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=283957]
(77) Scan parquet
Output [5]: [orderProposalId#714776L, isFallbackOrderOnly#714793, worklistShardItemId#714799L, shardId#714820, sequenceId#714798]
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/10000002107]
PartitionFilters: [isnotnull(shardId#714820), isnotnull(sequenceId#714798), (shardId#714820 = 0_1_10000002107), (sequenceId#714798 = 6)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(78) ColumnarToRow [codegen id : 4]
Input [5]: [orderProposalId#714776L, isFallbackOrderOnly#714793, worklistShardItemId#714799L, shardId#714820, sequenceId#714798]
(79) Filter [codegen id : 4]
Input [5]: [orderProposalId#714776L, isFallbackOrderOnly#714793, worklistShardItemId#714799L, shardId#714820, sequenceId#714798]
Condition : ((isnotnull(worklistShardItemId#714799L) AND NOT (isFallbackOrderOnly#714793 <=> true)) AND isnotnull(orderProposalId#714776L))
(80) Project [codegen id : 4]
Output [2]: [orderProposalId#714776L, worklistShardItemId#714799L]
Input [5]: [orderProposalId#714776L, isFallbackOrderOnly#714793, worklistShardItemId#714799L, shardId#714820, sequenceId#714798]
(81) Exchange
Input [2]: [orderProposalId#714776L, worklistShardItemId#714799L]
Arguments: hashpartitioning(worklistShardItemId#714799L, 20), REPARTITION_BY_NUM, [plan_id=283964]
(82) Project
Output [2]: [worklistShardItemId#714799L, orderProposalId#714776L]
Input [2]: [orderProposalId#714776L, worklistShardItemId#714799L]
(83) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#714728L]
Right keys [1]: [worklistShardItemId#714799L]
Join type: Inner
Join condition: None
(84) Project [codegen id : 5]
Output [1]: [orderProposalId#714776L]
Input [3]: [worklistShardItemId#714728L, worklistShardItemId#714799L, orderProposalId#714776L]
(85) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#714776L]
Keys [1]: [orderProposalId#714776L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#714776L]
(86) Exchange
Input [1]: [orderProposalId#714776L]
Arguments: hashpartitioning(orderProposalId#714776L, 20), ENSURE_REQUIREMENTS, [plan_id=283971]
(87) HashAggregate
Input [1]: [orderProposalId#714776L]
Keys [1]: [orderProposalId#714776L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#714776L]
(88) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#714721L]
Right keys [1]: [orderProposalId#714776L]
Join type: Inner
Join condition: None
(89) Project
Output [3]: [orderProposalId#714721L, shardId#714720, coalesce(transform(optimizationGroups#714723, lambdafunction(struct(optGroupId, lambda x_1905#714718.optGroupId, minOrderProfile, lambda x_1905#714718.minOrderProfile, assignmentDetails, lambda x_1905#714718.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_1905#714718.minOrderGoal.dimensionType, unit, lambda x_1905#714718.minOrderGoal.unit, unitUuid, lambda x_1905#714718.minOrderGoal.unitUuid, goalValue, lambda x_1905#714718.minOrderGoal.minOrderValue, calcValue, lambda x_1905#714718.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_1905#714718, false)), []) AS optimizationGroups#714717]
Input [4]: [shardId#714720, orderProposalId#714721L, optimizationGroups#714723, orderProposalId#714776L]
(90) Exchange
Input [3]: [orderProposalId#714721L, shardId#714720, optimizationGroups#714717]
Arguments: hashpartitioning(coalesce(shardId#714720, ), isnull(shardId#714720), coalesce(orderProposalId#714721L, 0), isnull(orderProposalId#714721L), 20), ENSURE_REQUIREMENTS, [plan_id=283977]
(91) Sort [codegen id : 7]
Input [3]: [orderProposalId#714721L, shardId#714720, optimizationGroups#714717]
Arguments: [coalesce(shardId#714720, ) ASC NULLS FIRST, isnull(shardId#714720) ASC NULLS FIRST, coalesce(orderProposalId#714721L, 0) ASC NULLS FIRST, isnull(orderProposalId#714721L) ASC NULLS FIRST], false, 0
(92) SortMergeJoin
Left keys [4]: [coalesce(shardId#712663, ), isnull(shardId#712663), coalesce(_extract_orderProposalId#715472L, 0), isnull(_extract_orderProposalId#715472L)]
Right keys [4]: [coalesce(shardId#714720, ), isnull(shardId#714720), coalesce(orderProposalId#714721L, 0), isnull(orderProposalId#714721L)]
Join type: LeftOuter
Join condition: None
(93) Project
Output [2]: [shardId#712663, named_struct(orderProposalId, _extract_orderProposalId#715472L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#715464L, supplierGroup, _extract_supplierGroup#715465, optimizationGroups, coalesce(optimizationGroups#714717, []), supplier, _extract_supplier#715466, supplyingPlant, _extract_supplyingPlant#715467, orderDateTime, _extract_orderDateTime#715468, itemGroups, _extract_itemGroups#715469, previousOrderProposals, _extract_previousOrderProposals#715470, parentItems, _extract_parentItems#715471) AS orderProposal#714824]
Input [14]: [shardId#712663, _extract_orderProposalId#715463L, _extract_originalReplenishmentRunId#715464L, _extract_supplierGroup#715465, _extract_supplier#715466, _extract_supplyingPlant#715467, _extract_orderDateTime#715468, _extract_itemGroups#715469, _extract_previousOrderProposals#715470, _extract_parentItems#715471, _extract_orderProposalId#715472L, orderProposalId#714721L, shardId#714720, optimizationGroups#714717]
(94) Filter
Input [1]: [orderProposal#714824]
Condition : (size(orderProposal#714824.parentItems.deliveryDateTime, true) > 0)
(95) Project
Output [1]: [orderProposal#714824.parentItems.deliveryDateTime AS _extract_deliveryDateTime#716243]
Input [1]: [orderProposal#714824]
(96) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#716243]
Arguments: explode(_extract_deliveryDateTime#716243), false, [numberOfOrderProposalItems#716215]
(97) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#716215]
(98) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#716254L]
Results [1]: [count#716255L]
(99) Exchange
Input [1]: [count#716255L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=284095]
(100) HashAggregate [codegen id : 2]
Input [1]: [count#716255L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#716220L]
Results [1]: [count(1)#716220L AS count#716216L]