digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 1 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 1 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 20<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 20<br>local bytes read: 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 56513.0: task 145347))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 1 ms (stage 56513.0: task 145358))<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 56513.0: task 145347))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=279242]"];
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 56513.0: task 145347))";
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>4 ms (0 ms, 0 ms, 1 ms (stage 56513.0: task 145347))<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#695645), false, [numberOfOrderProposalItems#695617]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#694226.parentItems.deliveryDateTime AS _extract_deliveryDateTime#695645]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (size(orderProposal#694226.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [orderProposal#694226], [(size(orderProposal#694226.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, named_struct(orderProposalId, _extract_orderProposalId#694874L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#694866L, supplierGroup, _extract_supplierGroup#694867, optimizationGroups, coalesce(optimizationGroups#694119, []), supplier, _extract_supplier#694868, supplyingPlant, _extract_supplyingPlant#694869, orderDateTime, _extract_orderDateTime#694870, itemGroups, _extract_itemGroups#694871, previousOrderProposals, _extract_previousOrderProposals#694872, parentItems, _extract_parentItems#694873) AS orderProposal#694226]"];
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 56513.0: task 145347))" tooltip="SortMergeJoin [coalesce(shardId#691888, ), isnull(shardId#691888), coalesce(_extract_orderProposalId#694874L, 0), isnull(_extract_orderProposalId#694874L)], [coalesce(shardId#694122, ), isnull(shardId#694122), coalesce(orderProposalId#694123L, 0), isnull(orderProposalId#694123L)], 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 56513.0: task 145347))<br>peak memory total (min, med, max (stageId: taskId))<br>1280.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 56513.0: task 145347))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 56513.0: task 145347))" tooltip="Sort [coalesce(shardId#691888, ) ASC NULLS FIRST, isnull(shardId#691888) ASC NULLS FIRST, coalesce(_extract_orderProposalId#694874L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#694874L) 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#691888, ), isnull(shardId#691888), coalesce(_extract_orderProposalId#694874L, 0), isnull(_extract_orderProposalId#694874L), 20), ENSURE_REQUIREMENTS, [plan_id=279091]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, orderProposal#694099.orderProposalId AS _extract_orderProposalId#694865L, orderProposal#694099.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#694866L, orderProposal#694099.supplierGroup AS _extract_supplierGroup#694867, orderProposal#694099.supplier AS _extract_supplier#694868, orderProposal#694099.supplyingPlant AS _extract_supplyingPlant#694869, orderProposal#694099.orderDateTime AS _extract_orderDateTime#694870, orderProposal#694099.itemGroups AS _extract_itemGroups#694871, orderProposal#694099.previousOrderProposals AS _extract_previousOrderProposals#694872, orderProposal#694099.parentItems AS _extract_parentItems#694873, orderProposal#694099.orderProposalId AS _extract_orderProposalId#694874L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, struct(orderProposalId, orderProposalId#692558L, originalReplenishmentRunId, originalReplenishmentRunId#694067L, supplierGroup, supplierGroup#694068, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#694068) THEN supplier#694069 END, supplyingPlant, supplyingPlant#694070, orderDateTime, orderDateTime#694071, itemGroups, itemGroups#694072, previousOrderProposals, array_distinct(previousOrderProposals#694074), parentItems, parentItems#694073) AS orderProposal#694099]"];
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 56511.0: task 145323))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#691888, orderProposalId#692558L], functions=[max(originalReplenishmentRunId#694005L), max(supplierGroup#694006), max(supplier#694007), max(supplyingPlant#694008), max(orderDateTime#694009), collect_list(itemGroup#694066, 0, 0), collect_list(parentItems#694010, 0, 0), collect_set(previousOrderProposals#694012, 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#691888, orderProposalId#692558L, 20), ENSURE_REQUIREMENTS, [plan_id=279087]"];
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 56510.0: task 145305))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#691888, orderProposalId#692558L], functions=[partial_max(originalReplenishmentRunId#694005L), partial_max(supplierGroup#694006), partial_max(supplier#694007), partial_max(supplyingPlant#694008), partial_max(orderDateTime#694009), partial_collect_list(itemGroup#694066, 0, 0), partial_collect_list(parentItems#694010, 0, 0), partial_collect_set(previousOrderProposals#694012, 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 56510.0: task 145305))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#691888, orderProposalId#692558L, splitIndicator#692563L, orderProposalItemGroupId#692560], functions=[max(originalReplenishmentRunId#692561L), max(supplierGroup#692568), max(supplier#692569), max(supplyingPlant#692599), max(orderDateTime#692576), collect_list(parentItem#693957, 0, 0), collect_set(previousOrderProposal#692564L, 0, 0), collect_list(item#693988, 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#691888, orderProposalId#692558L, splitIndicator#692563L, orderProposalItemGroupId#692560, 20), ENSURE_REQUIREMENTS, [plan_id=279084]"];
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>20 ms (0 ms, 2 ms, 2 ms (stage 56509.0: task 145233))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#691888, orderProposalId#692558L, splitIndicator#692563L, orderProposalItemGroupId#692560], functions=[partial_max(originalReplenishmentRunId#692561L), partial_max(supplierGroup#692568), partial_max(supplier#692569), partial_max(supplyingPlant#692599), partial_max(orderDateTime#692576), partial_collect_list(parentItem#693957, 0, 0), partial_collect_set(previousOrderProposal#692564L, 0, 0), partial_collect_list(item#693988, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, orderDateTime#692576, splitIndicator#692563L, orderProposalItemGroupId#692560, previousOrderProposal#692564L, parentItem#693957, struct(itemId, orderProposalItemId#692559, supplier, supplier#692569, supplyingPlant, supplyingPlant#692599, productGroup, productGroup#692600, product, product#692571, plant, plant#692572, supplierSubRange, subrange#692570, deliveryDateTime, deliveryDateTime#692577, orderQuantity, coalesce((qty#692402 * (cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1835#693991.isOrderUnit, lambda x_1835#693991, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1835#693992.isOrderUnit, lambda x_1835#693992, false)), 1, None, false).numerator as double))), qty#692402), orderQuantityUom, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1835#693993.isOrderUnit, lambda x_1835#693993, false)), 1, None, false).uom, orderQuantityBaseUom#692581), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1835#693994.isOrderUnit, lambda x_1835#693994, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#692582), orderQuantityInBaseUnit, qty#692402, orderQuantityBaseUom, ... 13 more fields) AS item#693988]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, qty#692402, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, productGroup#692600, product#692571, plant#692572, subrange#692570, orderDateTime#692576, deliveryDateTime#692577, logisticUnits#692595, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, splitIndicator#692563L, orderProposalItemId#692559, orderProposalItemGroupId#692560, previousOrderProposal#692564L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#692569, supplyingPlant, supplyingPlant#692599, productGroup, productGroup#692600, product, product#692571, plant, plant#692572, supplierSubRange, subrange#692570, sourceOfSupplyUuid, sourceOfSupplyUuid#692567, deliveryDateTime, deliveryDateTime#692577, unitPrice, netPriceAmount#692586, unitPriceCurrency, netPriceCurrencyCode#692587, unitPriceQuantity, ... 37 more fields) AS parentItem#693957]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, qty#692402, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, productGroup#692600, product#692571, plant#692572, subrange#692570, orderDateTime#692576, deliveryDateTime#692577, availabilityDateTime#692578, nextAvailabilityDateTime#692579, logisticUnits#692595, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, splitIndicator#692563L, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, sourceOfSupplyUuid#692567, ... 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, 173 ms, 181 ms (stage 56509.0: task 145251))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, productGroup#692600, product#692571, plant#692572, subrange#692570, orderDateTime#692576, deliveryDateTime#692577, availabilityDateTime#692578, nextAvailabilityDateTime#692579, logisticUnits#692595, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, splitIndicator#692563L, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT (isFallbackOrderOnly#692580 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 205" tooltip="InMemoryTableScan [availabilityDateTime#692578, channelStreamSpecificKpis#693319, constraintLabels#692590, constraintOperators#692591, constraintValues#692593, deliveryDateTime#692577, isFallbackOrderOnly#692580, logisticUnits#692595, measurements#692588, minimumOrderQuantity#692589, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, nextAvailabilityDateTime#692579, optimizationGroups#692596, orderDateTime#692576, orderProposalId#692558L, orderProposalItemGroupId#692560, orderProposalItemId#692559, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, originalReplenishmentRunId#692561L, plant#692572, ... 14 more fields], [NOT (isFallbackOrderOnly#692580 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n452 ms (2 ms, 39 ms, 42 ms (stage 56509.0: task 145251))";
tooltip="WholeStageCodegen (13)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, ... 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 56509.0: task 145233))" tooltip="SortMergeJoin [shardId#691888, worklistShardItemId#692400L], [shardId#693326, worklistShardItemId#693327L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (8 ms, 232 ms, 243 ms (stage 56509.0: task 145251))";
tooltip="WholeStageCodegen (10)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, ... 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 56509.0: task 145233))" tooltip="SortMergeJoin [shardId#691888, worklistShardItemId#692400L], [shardId#693313, worklistShardItemId#693314L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n4.5 s (12 ms, 424 ms, 437 ms (stage 56509.0: task 145251))";
tooltip="WholeStageCodegen (7)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, ... 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 56509.0: task 145233))" tooltip="SortMergeJoin [shardId#691888, worklistShardItemId#692400L], [shardId#693297, worklistShardItemId#693298L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n6.2 s (14 ms, 556 ms, 668 ms (stage 56509.0: task 145247))";
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 56509.0: task 145233))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 56509.0: task 145233))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 56509.0: task 145233))" tooltip="Sort [shardId#691888 ASC NULLS FIRST, worklistShardItemId#692400L 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>66.1 KiB (1196.0 B, 3.6 KiB, 5.5 KiB (stage 56509.0: task 145251))<br>merged fetch fallback count: 0<br>local blocks read: 59<br>remote merged chunks fetched: 0<br>remote blocks read: 58<br>data size total (min, med, max (stageId: taskId))<br>258.2 KiB (6.5 KiB, 25.2 KiB, 44.3 KiB (stage 56507.0: task 145153))<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 56507.0: task 145153))<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 56509.0: task 145233))<br>remote bytes read total (min, med, max (stageId: taskId))<br>62.6 KiB (987.0 B, 3.6 KiB, 5.0 KiB (stage 56509.0: task 145231))<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 56509.0: task 145250))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>128.7 KiB (3.1 KiB, 13.4 KiB, 20.2 KiB (stage 56507.0: task 145192))" tooltip="Exchange hashpartitioning(shardId#691888, worklistShardItemId#692400L, 20), ENSURE_REQUIREMENTS, [plan_id=278812]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n37 ms (0 ms, 1 ms, 11 ms (stage 56507.0: task 145153))";
tooltip="WholeStageCodegen (3)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 205" tooltip="BroadcastHashJoin [worklistShardItemId#692400L], [worklistShardItemId#692624L], LeftOuter, BuildRight, (shardId#691888 = 0_1_10000002107), false"];
44 [id="node44" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#691888, item#692399.worklistShardItemId AS worklistShardItemId#692400L, item#692399.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#692401, item#692399.qty AS qty#692402]"];
45 [id="node45" labelType="html" label="<b>Generate</b><br><br>number of output rows: 205" tooltip="Generate explode(items#691890), [shardId#691888], false, [item#692399]"];
46 [id="node46" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter ((size(items#691890, true) > 0) AND isnotnull(items#691890))"];
}
47 [id="node47" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [shardId#691888, items#691890], [(size(items#691890, true) > 0), isnotnull(items#691890)]"];
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#691888) AND (shardId#691888 = 0_1_10000002107))"];
}
50 [id="node50" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, optimizationInsights#691894], [isnotnull(shardId#691888), (shardId#691888 = 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#691888) AND (shardId#691888 = 0_1_10000002107))"];
53 [id="node53" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#691888,orderProposalId#691889L,items#691890,optimizationGroups#691891,isOptimal#691892,lastModified#691893,optimizationInsights#691894]"];
}
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: 633 ms<br>number of output rows: 205<br>data size: 1032.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=278807]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n32 ms (0 ms, 2 ms, 3 ms (stage 56396.0: task 145126))";
tooltip="WholeStageCodegen (2)";
56 [id="node56" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#692624L, orderProposalId#692601L, orderProposalItemId#692602, orderProposalItemGroupId#692625, originalReplenishmentRunId#692643L, splitIndicator#692620L, previousOrderProposal#692621L, sourceOfSupplyUuid#692615, supplierGroup#692603, supplier#692604, subrange#692607, product#692610, plant#692605, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, isFallbackOrderOnly#692618, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, netPriceAmount#692637, netPriceCurrencyCode#692638, ... 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>88.2 KiB (1106.0 B, 4.4 KiB, 6.9 KiB (stage 56396.0: task 145120))<br>merged fetch fallback count: 0<br>local blocks read: 94<br>remote merged chunks fetched: 0<br>remote blocks read: 77<br>data size total (min, med, max (stageId: taskId))<br>250.2 KiB (4.8 KiB, 10.5 KiB, 13.5 KiB (stage 56395.0: task 145065))<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 56395.0: task 145065))<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 56396.0: task 145122))<br>remote bytes read total (min, med, max (stageId: taskId))<br>74.3 KiB (902.0 B, 3.9 KiB, 5.8 KiB (stage 56396.0: task 145121))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>16 ms (0 ms, 1 ms, 1 ms (stage 56396.0: task 145122))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>162.5 KiB (3.0 KiB, 6.8 KiB, 8.8 KiB (stage 56395.0: task 145065))" tooltip="Exchange hashpartitioning(worklistShardItemId#692624L, 20), REPARTITION_BY_NUM, [plan_id=278803]"];
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (79 ms, 92 ms, 163 ms (stage 56395.0: task 145081))";
tooltip="WholeStageCodegen (1)";
59 [id="node59" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#692601L, orderProposalItemId#692602, supplierGroup#692603, supplier#692604, plant#692605, deliveryDateTime#692606, subrange#692607, supplyingPlant#692608, productGroup#692609, product#692610, orderDateTime#692611, availabilityDateTime#692612, nextAvailabilityDateTime#692613, sourceOfSupplyUuid#692615, isFallbackOrderOnly#692618, splitIndicator#692620L, previousOrderProposal#692621L, worklistShardItemId#692624L, orderProposalItemGroupId#692625, externalProductId#692626, externalPlantId#692627, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, minimumOrderQuantity#692631, ... 11 more fields]"];
60 [id="node60" labelType="html" label="<b>Filter</b><br><br>number of output rows: 205" tooltip="Filter isnotnull(worklistShardItemId#692624L)"];
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 (77 ms, 91 ms, 120 ms (stage 56395.0: task 145081))<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#692601L,orderProposalItemId#692602,supplierGroup#692603,supplier#692604,plant#692605,deliveryDateTime#692606,subrange#692607,supplyingPlant#692608,productGroup#692609,product#692610,orderDateTime#692611,availabilityDateTime#692612,nextAvailabilityDateTime#692613,sourceOfSupplyUuid#692615,isFallbackOrderOnly#692618,splitIndicator#692620L,previousOrderProposal#692621L,worklistShardItemId#692624L,orderProposalItemGroupId#692625,externalProductId#692626,externalPlantId#692627,logisticUnits#692628,orderQuantityBaseUom#692629,orderQuantityBaseUomUuid#692630,minimumOrderQuantity#692631,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#692624L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#692645), isnotnull(sequenceId#692623), (shardId#692645 = 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.6 s (6 ms, 250 ms, 257 ms (stage 56509.0: task 145251))";
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 56509.0: task 145233))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 56509.0: task 145233))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 56509.0: task 145233))" tooltip="Sort [shardId#693297 ASC NULLS FIRST, worklistShardItemId#693298L 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>49.1 KiB (672.0 B, 2.2 KiB, 4.5 KiB (stage 56509.0: task 145231))<br>merged fetch fallback count: 0<br>local blocks read: 84<br>remote merged chunks fetched: 0<br>remote blocks read: 77<br>data size total (min, med, max (stageId: taskId))<br>214.6 KiB (6.3 KiB, 11.5 KiB, 15.7 KiB (stage 56506.0: task 145181))<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, 1 ms (stage 56506.0: task 145189))<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 56509.0: task 145233))<br>remote bytes read total (min, med, max (stageId: taskId))<br>44.4 KiB (565.0 B, 2.2 KiB, 4.1 KiB (stage 56509.0: task 145251))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>6 ms (0 ms, 0 ms, 1 ms (stage 56509.0: task 145250))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>93.5 KiB (2.9 KiB, 5.1 KiB, 6.6 KiB (stage 56506.0: task 145181))" tooltip="Exchange hashpartitioning(shardId#693297, worklistShardItemId#693298L, 20), ENSURE_REQUIREMENTS, [plan_id=278818]"];
subgraph cluster66 {
isCluster="true";
id="cluster66";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n98 ms (3 ms, 4 ms, 11 ms (stage 56506.0: task 145148))";
tooltip="WholeStageCodegen (5)";
67 [id="node67" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#693297, worklistShardItemId#693298L, coalesce(kpis#693302, []) AS prodLocSpecificKpis#693303]"];
68 [id="node68" labelType="html" label="<b>Filter</b><br><br>number of output rows: 205" tooltip="Filter (((isnull(qty#693299) AND isnull(demandChannel#693300)) AND isnull(demandStream#693301)) AND (isnotnull(shardId#693297) AND isnotnull(worklistShardItemId#693298L)))"];
69 [id="node69" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#693297,worklistShardItemId#693298L,qty#693299,demandChannel#693300,demandStream#693301,kpis#693302]"];
}
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.7 s (4 ms, 158 ms, 167 ms (stage 56509.0: task 145251))";
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 56509.0: task 145233))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 56509.0: task 145233))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 56509.0: task 145233))" tooltip="Sort [shardId#693313 ASC NULLS FIRST, worklistShardItemId#693314L 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>256 ms (1 ms, 22 ms, 25 ms (stage 56509.0: task 145233))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 56509.0: task 145233))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#693313, worklistShardItemId#693314L], functions=[collect_list(struct(demandChannel, demandChannel#693316, demandStream, demandStream#693317, kpis, kpis#693318), 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>25.4 KiB (315.0 B, 1010.0 B, 2.8 KiB (stage 56509.0: task 145283))<br>merged fetch fallback count: 0<br>local blocks read: 80<br>remote merged chunks fetched: 0<br>remote blocks read: 75<br>data size total (min, med, max (stageId: taskId))<br>82.1 KiB (2.4 KiB, 4.1 KiB, 6.1 KiB (stage 56505.0: task 145162))<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 56505.0: task 145138))<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 56509.0: task 145250))<br>remote bytes read total (min, med, max (stageId: taskId))<br>23.6 KiB (315.0 B, 1008.0 B, 3.1 KiB (stage 56509.0: task 145231))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>5 ms (0 ms, 0 ms, 1 ms (stage 56509.0: task 145233))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>49.0 KiB (1282.0 B, 2.5 KiB, 3.5 KiB (stage 56505.0: task 145162))" tooltip="Exchange hashpartitioning(shardId#693313, worklistShardItemId#693314L, 20), ENSURE_REQUIREMENTS, [plan_id=278829]"];
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>362 ms (3 ms, 5 ms, 61 ms (stage 56505.0: task 145140))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 56505.0: task 145141))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#693313, worklistShardItemId#693314L], functions=[partial_collect_list(struct(demandChannel, demandChannel#693316, demandStream, demandStream#693317, kpis, kpis#693318), 0, 0)])"];
subgraph cluster75 {
isCluster="true";
id="cluster75";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n362 ms (3 ms, 5 ms, 61 ms (stage 56505.0: task 145140))";
tooltip="WholeStageCodegen (8)";
76 [id="node76" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#693313, worklistShardItemId#693314L, demandChannel#693316, demandStream#693317, kpis#693318]"];
77 [id="node77" labelType="html" label="<b>Filter</b><br><br>number of output rows: 202" tooltip="Filter ((((isnull(qty#693315) AND isnotnull(demandChannel#693316)) AND isnotnull(demandStream#693317)) AND (size(kpis#693318, true) > 0)) AND (isnotnull(shardId#693313) AND isnotnull(worklistShardItemId#693314L)))"];
78 [id="node78" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#693313,worklistShardItemId#693314L,qty#693315,demandChannel#693316,demandStream#693317,kpis#693318]"];
}
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n671 ms (1 ms, 63 ms, 67 ms (stage 56509.0: task 145251))";
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 56509.0: task 145233))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 56509.0: task 145233))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 56509.0: task 145233))" tooltip="Sort [shardId#693326 ASC NULLS FIRST, worklistShardItemId#693327L 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>293 ms (1 ms, 26 ms, 29 ms (stage 56509.0: task 145251))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 56509.0: task 145233))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#693326, worklistShardItemId#693327L], functions=[collect_list(struct(qty, qty#693328, kpis, kpis#693331), 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>54.4 KiB (952.0 B, 2.8 KiB, 4.4 KiB (stage 56509.0: task 145231))<br>merged fetch fallback count: 0<br>local blocks read: 113<br>remote merged chunks fetched: 0<br>remote blocks read: 134<br>data size total (min, med, max (stageId: taskId))<br>255.7 KiB (9.4 KiB, 12.5 KiB, 17.5 KiB (stage 56508.0: task 145220))<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, 1 ms (stage 56508.0: task 145150))<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 56509.0: task 145233))<br>remote bytes read total (min, med, max (stageId: taskId))<br>64.4 KiB (920.0 B, 2.9 KiB, 5.7 KiB (stage 56509.0: task 145283))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>11 ms (0 ms, 1 ms, 1 ms (stage 56509.0: task 145233))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>118.8 KiB (4.7 KiB, 5.7 KiB, 7.5 KiB (stage 56508.0: task 145222))" tooltip="Exchange hashpartitioning(shardId#693326, worklistShardItemId#693327L, 20), ENSURE_REQUIREMENTS, [plan_id=278841]"];
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>67 ms (2 ms, 3 ms, 8 ms (stage 56508.0: task 145154))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 56508.0: task 145150))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#693326, worklistShardItemId#693327L], functions=[partial_collect_list(struct(qty, qty#693328, kpis, kpis#693331), 0, 0)])"];
subgraph cluster84 {
isCluster="true";
id="cluster84";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n67 ms (2 ms, 3 ms, 8 ms (stage 56508.0: task 145154))";
tooltip="WholeStageCodegen (11)";
85 [id="node85" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#693326, worklistShardItemId#693327L, qty#693328, kpis#693331]"];
86 [id="node86" labelType="html" label="<b>Filter</b><br><br>number of output rows: 410" tooltip="Filter ((isnotnull(qty#693328) AND isnotnull(kpis#693331)) AND (isnotnull(shardId#693326) AND isnotnull(worklistShardItemId#693327L)))"];
87 [id="node87" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#693326,worklistShardItemId#693327L,qty#693328,demandChannel#693329,demandStream#693330,kpis#693331]"];
}
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n2.1 s (5 ms, 200 ms, 207 ms (stage 56513.0: task 145350))";
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 56513.0: task 145347))<br>peak memory total (min, med, max (stageId: taskId))<br>1280.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 56513.0: task 145347))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 56513.0: task 145347))" tooltip="Sort [coalesce(shardId#694122, ) ASC NULLS FIRST, isnull(shardId#694122) ASC NULLS FIRST, coalesce(orderProposalId#694123L, 0) ASC NULLS FIRST, isnull(orderProposalId#694123L) 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#694122, ), isnull(shardId#694122), coalesce(orderProposalId#694123L, 0), isnull(orderProposalId#694123L), 20), ENSURE_REQUIREMENTS, [plan_id=279124]"];
91 [id="node91" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#694123L, shardId#694122, coalesce(transform(optimizationGroups#694125, lambdafunction(struct(optGroupId, lambda x_1839#694120.optGroupId, minOrderProfile, lambda x_1839#694120.minOrderProfile, assignmentDetails, lambda x_1839#694120.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_1839#694120.minOrderGoal.dimensionType, unit, lambda x_1839#694120.minOrderGoal.unit, unitUuid, lambda x_1839#694120.minOrderGoal.unitUuid, goalValue, lambda x_1839#694120.minOrderGoal.minOrderValue, calcValue, lambda x_1839#694120.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_1839#694120, false)), []) AS optimizationGroups#694119]"];
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n679 ms (1 ms, 62 ms, 71 ms (stage 56512.0: task 145277))";
tooltip="WholeStageCodegen (6)";
93 [id="node93" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [orderProposalId#694123L], [orderProposalId#694178L], 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>6 ms (0 ms, 0 ms, 2 ms (stage 56512.0: task 145280))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 56512.0: task 145277))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#694178L], functions=[])"];
}
94 [id="node94" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 4 ms<br>time to collect: 327 ms<br>number of output rows: 14<br>data size: 1024.5 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=279096]"];
subgraph cluster95 {
isCluster="true";
id="cluster95";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n8 ms (0 ms, 0 ms, 2 ms (stage 56394.0: task 145064))";
tooltip="WholeStageCodegen (2)";
96 [id="node96" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter isnotnull(orderProposalId#694123L)"];
}
97 [id="node97" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [shardId#694122, orderProposalId#694123L, optimizationGroups#694125], [isnotnull(orderProposalId#694123L)]"];
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#691888) AND (shardId#691888 = 0_1_10000002107))"];
}
100 [id="node100" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, optimizationInsights#691894], [isnotnull(shardId#691888), (shardId#691888 = 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#691888) AND (shardId#691888 = 0_1_10000002107))"];
103 [id="node103" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#691888,orderProposalId#691889L,items#691890,optimizationGroups#691891,isOptimal#691892,lastModified#691893,optimizationInsights#691894]"];
}
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#694178L, 20), ENSURE_REQUIREMENTS, [plan_id=279118]"];
subgraph cluster106 {
isCluster="true";
id="cluster106";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n205 ms (0 ms, 0 ms, 41 ms (stage 56398.0: task 145252))";
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>3 ms (0 ms, 0 ms, 2 ms (stage 56398.0: task 145256))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 56398.0: task 145252))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#694178L], functions=[])"];
108 [id="node108" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#694178L]"];
109 [id="node109" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#694130L], [worklistShardItemId#694201L], Inner, BuildLeft, false"];
123 [id="node123" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#694201L, orderProposalId#694178L]"];
}
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: 204 ms<br>number of output rows: 205<br>data size: 1032.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=279104]"];
subgraph cluster111 {
isCluster="true";
id="cluster111";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n15 ms (0 ms, 1 ms, 2 ms (stage 56393.0: task 145061))";
tooltip="WholeStageCodegen (3)";
112 [id="node112" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#694129L AS worklistShardItemId#694130L]"];
113 [id="node113" labelType="html" label="<b>Generate</b><br><br>number of output rows: 205" tooltip="Generate explode(_extract_worklistShardItemId#694770), false, [item#694129L]"];
114 [id="node114" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#693741.worklistShardItemId AS _extract_worklistShardItemId#694770]"];
115 [id="node115" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter (((size(items#693741.worklistShardItemId, true) > 0) AND isnotnull(items#693741.worklistShardItemId)) AND (shardId#693739 = 0_1_10000002107))"];
}
116 [id="node116" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [items#693741, shardId#693739], [(size(items#693741.worklistShardItemId, true) > 0), isnotnull(items#693741.worklistShardItemId), (shardId#693739 = 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#691888) AND (shardId#691888 = 0_1_10000002107))"];
}
119 [id="node119" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, optimizationInsights#691894], [isnotnull(shardId#691888), (shardId#691888 = 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#691888) AND (shardId#691888 = 0_1_10000002107))"];
122 [id="node122" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#691888,orderProposalId#691889L,items#691890,optimizationGroups#691891,isOptimal#691892,lastModified#691893,optimizationInsights#691894]"];
}
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#694201L, 20), REPARTITION_BY_NUM, [plan_id=279111]"];
subgraph cluster125 {
isCluster="true";
id="cluster125";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (47 ms, 59 ms, 151 ms (stage 56397.0: task 145147))";
tooltip="WholeStageCodegen (4)";
126 [id="node126" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#694178L, worklistShardItemId#694201L]"];
127 [id="node127" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(worklistShardItemId#694201L) AND NOT (isFallbackOrderOnly#694195 <=> true)) AND isnotnull(orderProposalId#694178L))"];
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.5 s (47 ms, 59 ms, 73 ms (stage 56397.0: task 145147))<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#694178L,isFallbackOrderOnly#694195,worklistShardItemId#694201L,shardId#694222,sequenceId#694200] Batched: true, DataFilters: [isnotnull(worklistShardItemId#694201L), NOT (isFallbackOrderOnly#694195 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#694222), isnotnull(sequenceId#694200), (shardId#694222 = 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#694226]
Arguments: [orderProposal#694226], [(size(orderProposal#694226.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#691888, orderProposal#694226], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#692578, channelStreamSpecificKpis#693319, constraintLabels#692590, constraintOperators#692591, constraintValues#692593, deliveryDateTime#692577, isFallbackOrderOnly#692580, logisticUnits#692595, measurements#692588, minimumOrderQuantity#692589, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, nextAvailabilityDateTime#692579, optimizationGroups#692596, orderDateTime#692576, orderProposalId#692558L, orderProposalItemGroupId#692560, orderProposalItemId#692559, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, originalReplenishmentRunId#692561L, plant#692572, previousOrderProposal#692564L, prodLocSpecificKpis#693304, product#692571, productGroup#692600, qty#692402, quantityAfterProdPlantOptimization#692401, quantityKpis#693332, shardId#691888, sourceOfSupplyUuid#692567, splitIndicator#692563L, subrange#692570, supplier#692569, supplierGroup#692568, supplyingPlant#692599]
Arguments: [availabilityDateTime#692578, channelStreamSpecificKpis#693319, constraintLabels#692590, constraintOperators#692591, constraintValues#692593, deliveryDateTime#692577, isFallbackOrderOnly#692580, logisticUnits#692595, measurements#692588, minimumOrderQuantity#692589, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, nextAvailabilityDateTime#692579, optimizationGroups#692596, orderDateTime#692576, orderProposalId#692558L, orderProposalItemGroupId#692560, orderProposalItemId#692559, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, originalReplenishmentRunId#692561L, plant#692572, ... 14 more fields], [NOT (isFallbackOrderOnly#692580 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, productGroup#692600, product#692571, plant#692572, subrange#692570, orderDateTime#692576, deliveryDateTime#692577, availabilityDateTime#692578, nextAvailabilityDateTime#692579, constraintValues#692593, constraintOperators#692591, constraintLabels#692590, logisticUnits#692595, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, splitIndicator#692563L, netPriceAmount#692586, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#691888, items#691890]
Arguments: [shardId#691888, items#691890], [(size(items#691890, true) > 0), isnotnull(items#691890)]
(6) InMemoryRelation
Arguments: [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, optimizationInsights#691894], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, optimizationInsights#691894]
Arguments: [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, optimizationInsights#691894], [isnotnull(shardId#691888), (shardId#691888 = 0_1_10000002107)]
(8) InMemoryRelation
Arguments: [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, lastModified#691893, optimizationInsights#691894], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, lastModified#691893, optimizationInsights#691894]
Arguments: [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, lastModified#691893, optimizationInsights#691894], MapPartitionsRDD[32831] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, lastModified#691893, optimizationInsights#691894]
Condition : (isnotnull(shardId#691888) AND (shardId#691888 = 0_1_10000002107))
(11) Filter [codegen id : 1]
Input [6]: [shardId#691888, orderProposalId#691889L, items#691890, optimizationGroups#691891, isOptimal#691892, optimizationInsights#691894]
Condition : (isnotnull(shardId#691888) AND (shardId#691888 = 0_1_10000002107))
(12) Filter [codegen id : 3]
Input [2]: [shardId#691888, items#691890]
Condition : ((size(items#691890, true) > 0) AND isnotnull(items#691890))
(13) Generate [codegen id : 3]
Input [2]: [shardId#691888, items#691890]
Arguments: explode(items#691890), [shardId#691888], false, [item#692399]
(14) Project [codegen id : 3]
Output [4]: [shardId#691888, item#692399.worklistShardItemId AS worklistShardItemId#692400L, item#692399.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#692401, item#692399.qty AS qty#692402]
Input [2]: [shardId#691888, item#692399]
(15) Scan parquet
Output [38]: [orderProposalId#692601L, orderProposalItemId#692602, supplierGroup#692603, supplier#692604, plant#692605, deliveryDateTime#692606, subrange#692607, supplyingPlant#692608, productGroup#692609, product#692610, orderDateTime#692611, availabilityDateTime#692612, nextAvailabilityDateTime#692613, sourceOfSupplyUuid#692615, isFallbackOrderOnly#692618, splitIndicator#692620L, previousOrderProposal#692621L, worklistShardItemId#692624L, orderProposalItemGroupId#692625, externalProductId#692626, externalPlantId#692627, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, minimumOrderQuantity#692631, constraintLabels#692632, constraintOperators#692633, constraintValues#692634, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, measurements#692642, originalReplenishmentRunId#692643L, optimizationGroups#692644, shardId#692645, sequenceId#692623]
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#692645), isnotnull(sequenceId#692623), (shardId#692645 = 0_1_10000002107), (sequenceId#692623 = 5)]
PushedFilters: [IsNotNull(worklistShardItemId)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,sourceOfSupplyUuid:string,isFallbackOrderOnly:boolean,splitIndicator:bigint,previousOrderProposal:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(16) ColumnarToRow [codegen id : 1]
Input [38]: [orderProposalId#692601L, orderProposalItemId#692602, supplierGroup#692603, supplier#692604, plant#692605, deliveryDateTime#692606, subrange#692607, supplyingPlant#692608, productGroup#692609, product#692610, orderDateTime#692611, availabilityDateTime#692612, nextAvailabilityDateTime#692613, sourceOfSupplyUuid#692615, isFallbackOrderOnly#692618, splitIndicator#692620L, previousOrderProposal#692621L, worklistShardItemId#692624L, orderProposalItemGroupId#692625, externalProductId#692626, externalPlantId#692627, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, minimumOrderQuantity#692631, constraintLabels#692632, constraintOperators#692633, constraintValues#692634, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, measurements#692642, originalReplenishmentRunId#692643L, optimizationGroups#692644, shardId#692645, sequenceId#692623]
(17) Filter [codegen id : 1]
Input [38]: [orderProposalId#692601L, orderProposalItemId#692602, supplierGroup#692603, supplier#692604, plant#692605, deliveryDateTime#692606, subrange#692607, supplyingPlant#692608, productGroup#692609, product#692610, orderDateTime#692611, availabilityDateTime#692612, nextAvailabilityDateTime#692613, sourceOfSupplyUuid#692615, isFallbackOrderOnly#692618, splitIndicator#692620L, previousOrderProposal#692621L, worklistShardItemId#692624L, orderProposalItemGroupId#692625, externalProductId#692626, externalPlantId#692627, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, minimumOrderQuantity#692631, constraintLabels#692632, constraintOperators#692633, constraintValues#692634, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, measurements#692642, originalReplenishmentRunId#692643L, optimizationGroups#692644, shardId#692645, sequenceId#692623]
Condition : isnotnull(worklistShardItemId#692624L)
(18) Project [codegen id : 1]
Output [36]: [orderProposalId#692601L, orderProposalItemId#692602, supplierGroup#692603, supplier#692604, plant#692605, deliveryDateTime#692606, subrange#692607, supplyingPlant#692608, productGroup#692609, product#692610, orderDateTime#692611, availabilityDateTime#692612, nextAvailabilityDateTime#692613, sourceOfSupplyUuid#692615, isFallbackOrderOnly#692618, splitIndicator#692620L, previousOrderProposal#692621L, worklistShardItemId#692624L, orderProposalItemGroupId#692625, externalProductId#692626, externalPlantId#692627, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, minimumOrderQuantity#692631, constraintLabels#692632, constraintOperators#692633, constraintValues#692634, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, measurements#692642, originalReplenishmentRunId#692643L, optimizationGroups#692644]
Input [38]: [orderProposalId#692601L, orderProposalItemId#692602, supplierGroup#692603, supplier#692604, plant#692605, deliveryDateTime#692606, subrange#692607, supplyingPlant#692608, productGroup#692609, product#692610, orderDateTime#692611, availabilityDateTime#692612, nextAvailabilityDateTime#692613, sourceOfSupplyUuid#692615, isFallbackOrderOnly#692618, splitIndicator#692620L, previousOrderProposal#692621L, worklistShardItemId#692624L, orderProposalItemGroupId#692625, externalProductId#692626, externalPlantId#692627, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, minimumOrderQuantity#692631, constraintLabels#692632, constraintOperators#692633, constraintValues#692634, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, measurements#692642, originalReplenishmentRunId#692643L, optimizationGroups#692644, shardId#692645, sequenceId#692623]
(19) Exchange
Input [36]: [orderProposalId#692601L, orderProposalItemId#692602, supplierGroup#692603, supplier#692604, plant#692605, deliveryDateTime#692606, subrange#692607, supplyingPlant#692608, productGroup#692609, product#692610, orderDateTime#692611, availabilityDateTime#692612, nextAvailabilityDateTime#692613, sourceOfSupplyUuid#692615, isFallbackOrderOnly#692618, splitIndicator#692620L, previousOrderProposal#692621L, worklistShardItemId#692624L, orderProposalItemGroupId#692625, externalProductId#692626, externalPlantId#692627, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, minimumOrderQuantity#692631, constraintLabels#692632, constraintOperators#692633, constraintValues#692634, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, measurements#692642, originalReplenishmentRunId#692643L, optimizationGroups#692644]
Arguments: hashpartitioning(worklistShardItemId#692624L, 20), REPARTITION_BY_NUM, [plan_id=278803]
(20) Project [codegen id : 2]
Output [36]: [worklistShardItemId#692624L, orderProposalId#692601L, orderProposalItemId#692602, orderProposalItemGroupId#692625, originalReplenishmentRunId#692643L, splitIndicator#692620L, previousOrderProposal#692621L, sourceOfSupplyUuid#692615, supplierGroup#692603, supplier#692604, subrange#692607, product#692610, plant#692605, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, isFallbackOrderOnly#692618, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, netPriceAmount#692637, netPriceCurrencyCode#692638, measurements#692642, minimumOrderQuantity#692631, constraintLabels#692632, constraintOperators#692633, constraintValues#692634, logisticUnits#692628, optimizationGroups#692644, externalProductId#692626, externalPlantId#692627, supplyingPlant#692608, productGroup#692609]
Input [36]: [orderProposalId#692601L, orderProposalItemId#692602, supplierGroup#692603, supplier#692604, plant#692605, deliveryDateTime#692606, subrange#692607, supplyingPlant#692608, productGroup#692609, product#692610, orderDateTime#692611, availabilityDateTime#692612, nextAvailabilityDateTime#692613, sourceOfSupplyUuid#692615, isFallbackOrderOnly#692618, splitIndicator#692620L, previousOrderProposal#692621L, worklistShardItemId#692624L, orderProposalItemGroupId#692625, externalProductId#692626, externalPlantId#692627, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, minimumOrderQuantity#692631, constraintLabels#692632, constraintOperators#692633, constraintValues#692634, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, measurements#692642, originalReplenishmentRunId#692643L, optimizationGroups#692644]
(21) BroadcastExchange
Input [36]: [worklistShardItemId#692624L, orderProposalId#692601L, orderProposalItemId#692602, orderProposalItemGroupId#692625, originalReplenishmentRunId#692643L, splitIndicator#692620L, previousOrderProposal#692621L, sourceOfSupplyUuid#692615, supplierGroup#692603, supplier#692604, subrange#692607, product#692610, plant#692605, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, isFallbackOrderOnly#692618, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, netPriceAmount#692637, netPriceCurrencyCode#692638, measurements#692642, minimumOrderQuantity#692631, constraintLabels#692632, constraintOperators#692633, constraintValues#692634, logisticUnits#692628, optimizationGroups#692644, externalProductId#692626, externalPlantId#692627, supplyingPlant#692608, productGroup#692609]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=278807]
(22) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#692400L]
Right keys [1]: [worklistShardItemId#692624L]
Join type: LeftOuter
Join condition: (shardId#691888 = 0_1_10000002107)
(23) Project [codegen id : 3]
Output [39]: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, sourceOfSupplyUuid#692615, minimumOrderQuantity#692631, orderProposalItemId#692602, orderProposalItemGroupId#692625, optimizationGroups#692644, measurements#692642, externalProductId#692626, externalPlantId#692627, previousOrderProposal#692621L, isFallbackOrderOnly#692618]
Input [40]: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, worklistShardItemId#692624L, orderProposalId#692601L, orderProposalItemId#692602, orderProposalItemGroupId#692625, originalReplenishmentRunId#692643L, splitIndicator#692620L, previousOrderProposal#692621L, sourceOfSupplyUuid#692615, supplierGroup#692603, supplier#692604, subrange#692607, product#692610, plant#692605, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, isFallbackOrderOnly#692618, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, netPriceAmount#692637, netPriceCurrencyCode#692638, measurements#692642, minimumOrderQuantity#692631, constraintLabels#692632, constraintOperators#692633, constraintValues#692634, logisticUnits#692628, optimizationGroups#692644, externalProductId#692626, externalPlantId#692627, supplyingPlant#692608, productGroup#692609]
(24) Exchange
Input [39]: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, sourceOfSupplyUuid#692615, minimumOrderQuantity#692631, orderProposalItemId#692602, orderProposalItemGroupId#692625, optimizationGroups#692644, measurements#692642, externalProductId#692626, externalPlantId#692627, previousOrderProposal#692621L, isFallbackOrderOnly#692618]
Arguments: hashpartitioning(shardId#691888, worklistShardItemId#692400L, 20), ENSURE_REQUIREMENTS, [plan_id=278812]
(25) Sort [codegen id : 4]
Input [39]: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, sourceOfSupplyUuid#692615, minimumOrderQuantity#692631, orderProposalItemId#692602, orderProposalItemGroupId#692625, optimizationGroups#692644, measurements#692642, externalProductId#692626, externalPlantId#692627, previousOrderProposal#692621L, isFallbackOrderOnly#692618]
Arguments: [shardId#691888 ASC NULLS FIRST, worklistShardItemId#692400L ASC NULLS FIRST], false, 0
(26) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#693297, worklistShardItemId#693298L, qty#693299, demandChannel#693300, demandStream#693301, kpis#693302]
Arguments: [shardId#693297, worklistShardItemId#693298L, qty#693299, demandChannel#693300, demandStream#693301, kpis#693302], MapPartitionsRDD[32905] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(27) Filter [codegen id : 5]
Input [6]: [shardId#693297, worklistShardItemId#693298L, qty#693299, demandChannel#693300, demandStream#693301, kpis#693302]
Condition : (((isnull(qty#693299) AND isnull(demandChannel#693300)) AND isnull(demandStream#693301)) AND (isnotnull(shardId#693297) AND isnotnull(worklistShardItemId#693298L)))
(28) Project [codegen id : 5]
Output [3]: [shardId#693297, worklistShardItemId#693298L, coalesce(kpis#693302, []) AS prodLocSpecificKpis#693303]
Input [6]: [shardId#693297, worklistShardItemId#693298L, qty#693299, demandChannel#693300, demandStream#693301, kpis#693302]
(29) Exchange
Input [3]: [shardId#693297, worklistShardItemId#693298L, prodLocSpecificKpis#693303]
Arguments: hashpartitioning(shardId#693297, worklistShardItemId#693298L, 20), ENSURE_REQUIREMENTS, [plan_id=278818]
(30) Sort [codegen id : 6]
Input [3]: [shardId#693297, worklistShardItemId#693298L, prodLocSpecificKpis#693303]
Arguments: [shardId#693297 ASC NULLS FIRST, worklistShardItemId#693298L ASC NULLS FIRST], false, 0
(31) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#691888, worklistShardItemId#692400L]
Right keys [2]: [shardId#693297, worklistShardItemId#693298L]
Join type: LeftOuter
Join condition: None
(32) Project [codegen id : 7]
Output [40]: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, sourceOfSupplyUuid#692615, minimumOrderQuantity#692631, orderProposalItemId#692602, orderProposalItemGroupId#692625, optimizationGroups#692644, measurements#692642, externalProductId#692626, externalPlantId#692627, previousOrderProposal#692621L, isFallbackOrderOnly#692618, coalesce(prodLocSpecificKpis#693303, []) AS prodLocSpecificKpis#693304]
Input [42]: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, sourceOfSupplyUuid#692615, minimumOrderQuantity#692631, orderProposalItemId#692602, orderProposalItemGroupId#692625, optimizationGroups#692644, measurements#692642, externalProductId#692626, externalPlantId#692627, previousOrderProposal#692621L, isFallbackOrderOnly#692618, shardId#693297, worklistShardItemId#693298L, prodLocSpecificKpis#693303]
(33) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#693313, worklistShardItemId#693314L, qty#693315, demandChannel#693316, demandStream#693317, kpis#693318]
Arguments: [shardId#693313, worklistShardItemId#693314L, qty#693315, demandChannel#693316, demandStream#693317, kpis#693318], MapPartitionsRDD[32905] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(34) Filter [codegen id : 8]
Input [6]: [shardId#693313, worklistShardItemId#693314L, qty#693315, demandChannel#693316, demandStream#693317, kpis#693318]
Condition : ((((isnull(qty#693315) AND isnotnull(demandChannel#693316)) AND isnotnull(demandStream#693317)) AND (size(kpis#693318, true) > 0)) AND (isnotnull(shardId#693313) AND isnotnull(worklistShardItemId#693314L)))
(35) Project [codegen id : 8]
Output [5]: [shardId#693313, worklistShardItemId#693314L, demandChannel#693316, demandStream#693317, kpis#693318]
Input [6]: [shardId#693313, worklistShardItemId#693314L, qty#693315, demandChannel#693316, demandStream#693317, kpis#693318]
(36) ObjectHashAggregate
Input [5]: [shardId#693313, worklistShardItemId#693314L, demandChannel#693316, demandStream#693317, kpis#693318]
Keys [2]: [shardId#693313, worklistShardItemId#693314L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#693316, demandStream, demandStream#693317, kpis, kpis#693318), 0, 0)]
Aggregate Attributes [1]: [buf#693493]
Results [3]: [shardId#693313, worklistShardItemId#693314L, buf#693494]
(37) Exchange
Input [3]: [shardId#693313, worklistShardItemId#693314L, buf#693494]
Arguments: hashpartitioning(shardId#693313, worklistShardItemId#693314L, 20), ENSURE_REQUIREMENTS, [plan_id=278829]
(38) ObjectHashAggregate
Input [3]: [shardId#693313, worklistShardItemId#693314L, buf#693494]
Keys [2]: [shardId#693313, worklistShardItemId#693314L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#693316, demandStream, demandStream#693317, kpis, kpis#693318), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#693316, demandStream, demandStream#693317, kpis, kpis#693318), 0, 0)#693312]
Results [3]: [shardId#693313, worklistShardItemId#693314L, collect_list(struct(demandChannel, demandChannel#693316, demandStream, demandStream#693317, kpis, kpis#693318), 0, 0)#693312 AS channelStreamSpecificKpis#693305]
(39) Sort [codegen id : 9]
Input [3]: [shardId#693313, worklistShardItemId#693314L, channelStreamSpecificKpis#693305]
Arguments: [shardId#693313 ASC NULLS FIRST, worklistShardItemId#693314L ASC NULLS FIRST], false, 0
(40) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#691888, worklistShardItemId#692400L]
Right keys [2]: [shardId#693313, worklistShardItemId#693314L]
Join type: LeftOuter
Join condition: None
(41) Project [codegen id : 10]
Output [41]: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, sourceOfSupplyUuid#692615, minimumOrderQuantity#692631, orderProposalItemId#692602, orderProposalItemGroupId#692625, optimizationGroups#692644, measurements#692642, externalProductId#692626, externalPlantId#692627, previousOrderProposal#692621L, isFallbackOrderOnly#692618, prodLocSpecificKpis#693304, coalesce(channelStreamSpecificKpis#693305, []) AS channelStreamSpecificKpis#693319]
Input [43]: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, sourceOfSupplyUuid#692615, minimumOrderQuantity#692631, orderProposalItemId#692602, orderProposalItemGroupId#692625, optimizationGroups#692644, measurements#692642, externalProductId#692626, externalPlantId#692627, previousOrderProposal#692621L, isFallbackOrderOnly#692618, prodLocSpecificKpis#693304, shardId#693313, worklistShardItemId#693314L, channelStreamSpecificKpis#693305]
(42) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#693326, worklistShardItemId#693327L, qty#693328, demandChannel#693329, demandStream#693330, kpis#693331]
Arguments: [shardId#693326, worklistShardItemId#693327L, qty#693328, demandChannel#693329, demandStream#693330, kpis#693331], MapPartitionsRDD[32905] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(43) Filter [codegen id : 11]
Input [6]: [shardId#693326, worklistShardItemId#693327L, qty#693328, demandChannel#693329, demandStream#693330, kpis#693331]
Condition : ((isnotnull(qty#693328) AND isnotnull(kpis#693331)) AND (isnotnull(shardId#693326) AND isnotnull(worklistShardItemId#693327L)))
(44) Project [codegen id : 11]
Output [4]: [shardId#693326, worklistShardItemId#693327L, qty#693328, kpis#693331]
Input [6]: [shardId#693326, worklistShardItemId#693327L, qty#693328, demandChannel#693329, demandStream#693330, kpis#693331]
(45) ObjectHashAggregate
Input [4]: [shardId#693326, worklistShardItemId#693327L, qty#693328, kpis#693331]
Keys [2]: [shardId#693326, worklistShardItemId#693327L]
Functions [1]: [partial_collect_list(struct(qty, qty#693328, kpis, kpis#693331), 0, 0)]
Aggregate Attributes [1]: [buf#693495]
Results [3]: [shardId#693326, worklistShardItemId#693327L, buf#693496]
(46) Exchange
Input [3]: [shardId#693326, worklistShardItemId#693327L, buf#693496]
Arguments: hashpartitioning(shardId#693326, worklistShardItemId#693327L, 20), ENSURE_REQUIREMENTS, [plan_id=278841]
(47) ObjectHashAggregate
Input [3]: [shardId#693326, worklistShardItemId#693327L, buf#693496]
Keys [2]: [shardId#693326, worklistShardItemId#693327L]
Functions [1]: [collect_list(struct(qty, qty#693328, kpis, kpis#693331), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#693328, kpis, kpis#693331), 0, 0)#693325]
Results [3]: [shardId#693326, worklistShardItemId#693327L, map_from_entries(collect_list(struct(qty, qty#693328, kpis, kpis#693331), 0, 0)#693325) AS quantityKpis#693320]
(48) Sort [codegen id : 12]
Input [3]: [shardId#693326, worklistShardItemId#693327L, quantityKpis#693320]
Arguments: [shardId#693326 ASC NULLS FIRST, worklistShardItemId#693327L ASC NULLS FIRST], false, 0
(49) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#691888, worklistShardItemId#692400L]
Right keys [2]: [shardId#693326, worklistShardItemId#693327L]
Join type: LeftOuter
Join condition: None
(50) Project [codegen id : 13]
Output [42]: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, sourceOfSupplyUuid#692615, minimumOrderQuantity#692631, orderProposalItemId#692602, orderProposalItemGroupId#692625, optimizationGroups#692644, measurements#692642, externalProductId#692626, externalPlantId#692627, previousOrderProposal#692621L, isFallbackOrderOnly#692618, prodLocSpecificKpis#693304, channelStreamSpecificKpis#693319, coalesce(quantityKpis#693320, map(keys: [], values: [])) AS quantityKpis#693332]
Input [44]: [shardId#691888, worklistShardItemId#692400L, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692601L, originalReplenishmentRunId#692643L, supplierGroup#692603, supplier#692604, supplyingPlant#692608, productGroup#692609, product#692610, plant#692605, subrange#692607, orderDateTime#692611, deliveryDateTime#692606, availabilityDateTime#692612, nextAvailabilityDateTime#692613, constraintValues#692634, constraintOperators#692633, constraintLabels#692632, logisticUnits#692628, orderQuantityBaseUom#692629, orderQuantityBaseUomUuid#692630, splitIndicator#692620L, netPriceAmount#692637, netPriceCurrencyCode#692638, netPriceQuantity#692639, netPriceQuantityUom#692640, netPriceQuantityUomUuid#692641, sourceOfSupplyUuid#692615, minimumOrderQuantity#692631, orderProposalItemId#692602, orderProposalItemGroupId#692625, optimizationGroups#692644, measurements#692642, externalProductId#692626, externalPlantId#692627, previousOrderProposal#692621L, isFallbackOrderOnly#692618, prodLocSpecificKpis#693304, channelStreamSpecificKpis#693319, shardId#693326, worklistShardItemId#693327L, quantityKpis#693320]
(51) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#692578, channelStreamSpecificKpis#693319, constraintLabels#692590, constraintOperators#692591, constraintValues#692593, deliveryDateTime#692577, isFallbackOrderOnly#692580, logisticUnits#692595, measurements#692588, minimumOrderQuantity#692589, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, nextAvailabilityDateTime#692579, optimizationGroups#692596, orderDateTime#692576, orderProposalId#692558L, orderProposalItemGroupId#692560, orderProposalItemId#692559, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, originalReplenishmentRunId#692561L, plant#692572, previousOrderProposal#692564L, prodLocSpecificKpis#693304, product#692571, productGroup#692600, qty#692402, quantityAfterProdPlantOptimization#692401, quantityKpis#693332, shardId#691888, sourceOfSupplyUuid#692567, splitIndicator#692563L, subrange#692570, supplier#692569, supplierGroup#692568, supplyingPlant#692599]
Condition : NOT (isFallbackOrderOnly#692580 <=> true)
(52) Project [codegen id : 1]
Output [36]: [shardId#691888, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, productGroup#692600, product#692571, plant#692572, subrange#692570, orderDateTime#692576, deliveryDateTime#692577, availabilityDateTime#692578, nextAvailabilityDateTime#692579, logisticUnits#692595, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, splitIndicator#692563L, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, sourceOfSupplyUuid#692567, minimumOrderQuantity#692589, orderProposalItemId#692559, orderProposalItemGroupId#692560, optimizationGroups#692596, measurements#692588, previousOrderProposal#692564L, prodLocSpecificKpis#693304, channelStreamSpecificKpis#693319, quantityKpis#693332, arrays_zip(constraintLabels#692590, constraintOperators#692591, constraintValues#692593, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#693746]
Input [39]: [availabilityDateTime#692578, channelStreamSpecificKpis#693319, constraintLabels#692590, constraintOperators#692591, constraintValues#692593, deliveryDateTime#692577, isFallbackOrderOnly#692580, logisticUnits#692595, measurements#692588, minimumOrderQuantity#692589, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, nextAvailabilityDateTime#692579, optimizationGroups#692596, orderDateTime#692576, orderProposalId#692558L, orderProposalItemGroupId#692560, orderProposalItemId#692559, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, originalReplenishmentRunId#692561L, plant#692572, previousOrderProposal#692564L, prodLocSpecificKpis#693304, product#692571, productGroup#692600, qty#692402, quantityAfterProdPlantOptimization#692401, quantityKpis#693332, shardId#691888, sourceOfSupplyUuid#692567, splitIndicator#692563L, subrange#692570, supplier#692569, supplierGroup#692568, supplyingPlant#692599]
(53) Project
Output [37]: [shardId#691888, qty#692402, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, productGroup#692600, product#692571, plant#692572, subrange#692570, orderDateTime#692576, deliveryDateTime#692577, availabilityDateTime#692578, nextAvailabilityDateTime#692579, logisticUnits#692595, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, splitIndicator#692563L, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, sourceOfSupplyUuid#692567, orderProposalItemId#692559, orderProposalItemGroupId#692560, optimizationGroups#692596, measurements#692588, previousOrderProposal#692564L, prodLocSpecificKpis#693304, channelStreamSpecificKpis#693319, quantityKpis#693332, struct(minServiceLevel, array_min(filter(constraintStructArray#693746, lambdafunction((lambda x_1789#693753.constraintLabels = ServiceLevel), lambda x_1789#693753, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#693746, lambdafunction((lambda x_1790#693754.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_1790#693754, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#693746, lambdafunction((lambda x_1791#693755.constraintLabels = RangeOfCoverage), lambda x_1791#693755, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#692589, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#693304, lambdafunction((lambda x_1792#693756.label = NonListingStartTimestamp), lambda x_1792#693756, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#693752, CASE WHEN (qty#692402 <=> quantityAfterProdPlantOptimization#692401) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#692402 * (cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1793#693824.isOrderUnit, lambda x_1793#693824, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1793#693825.isOrderUnit, lambda x_1793#693825, false)), 1, None, false).numerator as double))), qty#692402), orderQuantityUom, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1793#693826.isOrderUnit, lambda x_1793#693826, false)), 1, None, false).uom, orderQuantityBaseUom#692581), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1793#693827.isOrderUnit, lambda x_1793#693827, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#692582), candidateOrderQuantityInBaseUnit, qty#692402, orderQuantityBaseUom, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#692582, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#692595, lambdafunction((lambda x_1795#693828.isPreferred AND (((qty#692402 * cast(lambda x_1795#693828.denominator as double)) % cast(lambda x_1795#693828.numerator as double)) = 0.0)), lambda x_1795#693828, false)), lambdafunction(struct(inPreferredQuantity, ((qty#692402 * cast(lambda x_1796#693866.denominator as double)) / cast(lambda x_1796#693866.numerator as double)), uom, lambda x_1796#693866.uom, uomUuid, lambda x_1796#693866.uomUuid), lambda x_1796#693866, false))).inPreferredQuantity, coalesce((qty#692402 * (cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1794#693829.isOrderUnit, lambda x_1794#693829, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1794#693830.isOrderUnit, lambda x_1794#693830, false)), 1, None, false).numerator as double))), qty#692402)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#692595, lambdafunction((lambda x_1795#693831.isPreferred AND (((qty#692402 * cast(lambda x_1795#693831.denominator as double)) % cast(lambda x_1795#693831.numerator as double)) = 0.0)), lambda x_1795#693831, false)), lambdafunction(struct(inPreferredQuantity, ((qty#692402 * cast(lambda x_1796#693867.denominator as double)) / cast(lambda x_1796#693867.numerator as double)), uom, lambda x_1796#693867.uom, uomUuid, lambda x_1796#693867.uomUuid), lambda x_1796#693867, false))).uom, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1794#693832.isOrderUnit, lambda x_1794#693832, false)), 1, None, false).uom, orderQuantityBaseUom#692581)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#692595, lambdafunction((lambda x_1795#693833.isPreferred AND (((qty#692402 * cast(lambda x_1795#693833.denominator as double)) % cast(lambda x_1795#693833.numerator as double)) = 0.0)), lambda x_1795#693833, false)), lambdafunction(struct(inPreferredQuantity, ((qty#692402 * cast(lambda x_1796#693868.denominator as double)) / cast(lambda x_1796#693868.numerator as double)), uom, lambda x_1796#693868.uom, uomUuid, lambda x_1796#693868.uomUuid), lambda x_1796#693868, false))).uomUuid, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1794#693834.isOrderUnit, lambda x_1794#693834, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#692582)), serviceLevel, coalesce(filter(element_at(quantityKpis#693332, qty#692402, None, false), lambdafunction((lambda x_1801#693835.label = ServiceLevel), lambda x_1801#693835, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#692402 * (cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1793#693838.isOrderUnit, lambda x_1793#693838, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1793#693839.isOrderUnit, lambda x_1793#693839, false)), 1, None, false).numerator as double))), qty#692402), orderQuantityUom, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1793#693840.isOrderUnit, lambda x_1793#693840, false)), 1, None, false).uom, orderQuantityBaseUom#692581), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1793#693841.isOrderUnit, lambda x_1793#693841, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#692582), candidateOrderQuantityInBaseUnit, qty#692402, orderQuantityBaseUom, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#692582, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#692595, lambdafunction((lambda x_1795#693842.isPreferred AND (((qty#692402 * cast(lambda x_1795#693842.denominator as double)) % cast(lambda x_1795#693842.numerator as double)) = 0.0)), lambda x_1795#693842, false)), lambdafunction(struct(inPreferredQuantity, ((qty#692402 * cast(lambda x_1796#693869.denominator as double)) / cast(lambda x_1796#693869.numerator as double)), uom, lambda x_1796#693869.uom, uomUuid, lambda x_1796#693869.uomUuid), lambda x_1796#693869, false))).inPreferredQuantity, coalesce((qty#692402 * (cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1794#693843.isOrderUnit, lambda x_1794#693843, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1794#693844.isOrderUnit, lambda x_1794#693844, false)), 1, None, false).numerator as double))), qty#692402)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#692595, lambdafunction((lambda x_1795#693845.isPreferred AND (((qty#692402 * cast(lambda x_1795#693845.denominator as double)) % cast(lambda x_1795#693845.numerator as double)) = 0.0)), lambda x_1795#693845, false)), lambdafunction(struct(inPreferredQuantity, ((qty#692402 * cast(lambda x_1796#693870.denominator as double)) / cast(lambda x_1796#693870.numerator as double)), uom, lambda x_1796#693870.uom, uomUuid, lambda x_1796#693870.uomUuid), lambda x_1796#693870, false))).uom, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1794#693846.isOrderUnit, lambda x_1794#693846, false)), 1, None, false).uom, orderQuantityBaseUom#692581)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#692595, lambdafunction((lambda x_1795#693847.isPreferred AND (((qty#692402 * cast(lambda x_1795#693847.denominator as double)) % cast(lambda x_1795#693847.numerator as double)) = 0.0)), lambda x_1795#693847, false)), lambdafunction(struct(inPreferredQuantity, ((qty#692402 * cast(lambda x_1796#693871.denominator as double)) / cast(lambda x_1796#693871.numerator as double)), uom, lambda x_1796#693871.uom, uomUuid, lambda x_1796#693871.uomUuid), lambda x_1796#693871, false))).uomUuid, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1794#693848.isOrderUnit, lambda x_1794#693848, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#692582)), serviceLevel, coalesce(filter(element_at(quantityKpis#693332, qty#692402, None, false), lambdafunction((lambda x_1804#693849.label = ServiceLevel), lambda x_1804#693849, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#692401 * (cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1797#693852.isOrderUnit, lambda x_1797#693852, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1797#693853.isOrderUnit, lambda x_1797#693853, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#692401), orderQuantityUom, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1797#693854.isOrderUnit, lambda x_1797#693854, false)), 1, None, false).uom, orderQuantityBaseUom#692581), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1797#693855.isOrderUnit, lambda x_1797#693855, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#692582), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#692401, orderQuantityBaseUom, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#692582, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#692595, lambdafunction((lambda x_1799#693856.isPreferred AND (((quantityAfterProdPlantOptimization#692401 * cast(lambda x_1799#693856.denominator as double)) % cast(lambda x_1799#693856.numerator as double)) = 0.0)), lambda x_1799#693856, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#692401 * cast(lambda x_1800#693872.denominator as double)) / cast(lambda x_1800#693872.numerator as double)), uom, lambda x_1800#693872.uom, uomUuid, lambda x_1800#693872.uomUuid), lambda x_1800#693872, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#692401 * (cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1798#693857.isOrderUnit, lambda x_1798#693857, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1798#693858.isOrderUnit, lambda x_1798#693858, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#692401)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#692595, lambdafunction((lambda x_1799#693859.isPreferred AND (((quantityAfterProdPlantOptimization#692401 * cast(lambda x_1799#693859.denominator as double)) % cast(lambda x_1799#693859.numerator as double)) = 0.0)), lambda x_1799#693859, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#692401 * cast(lambda x_1800#693873.denominator as double)) / cast(lambda x_1800#693873.numerator as double)), uom, lambda x_1800#693873.uom, uomUuid, lambda x_1800#693873.uomUuid), lambda x_1800#693873, false))).uom, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1798#693860.isOrderUnit, lambda x_1798#693860, false)), 1, None, false).uom, orderQuantityBaseUom#692581)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#692595, lambdafunction((lambda x_1799#693861.isPreferred AND (((quantityAfterProdPlantOptimization#692401 * cast(lambda x_1799#693861.denominator as double)) % cast(lambda x_1799#693861.numerator as double)) = 0.0)), lambda x_1799#693861, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#692401 * cast(lambda x_1800#693874.denominator as double)) / cast(lambda x_1800#693874.numerator as double)), uom, lambda x_1800#693874.uom, uomUuid, lambda x_1800#693874.uomUuid), lambda x_1800#693874, false))).uomUuid, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1798#693862.isOrderUnit, lambda x_1798#693862, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#692582)), serviceLevel, coalesce(filter(element_at(quantityKpis#693332, quantityAfterProdPlantOptimization#692401, None, false), lambdafunction((lambda x_1807#693863.label = ServiceLevel), lambda x_1807#693863, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#693823, coalesce(filter(prodLocSpecificKpis#693304, lambdafunction((lambda x_1810#693876.label = InitialStockQty), lambda x_1810#693876, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#693875, coalesce(filter(prodLocSpecificKpis#693304, lambdafunction((lambda x_1811#693878.label = DemandPeriodEndTimestamp), lambda x_1811#693878, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#693877]
Input [36]: [shardId#691888, quantityAfterProdPlantOptimization#692401, qty#692402, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, productGroup#692600, product#692571, plant#692572, subrange#692570, orderDateTime#692576, deliveryDateTime#692577, availabilityDateTime#692578, nextAvailabilityDateTime#692579, logisticUnits#692595, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, splitIndicator#692563L, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, sourceOfSupplyUuid#692567, minimumOrderQuantity#692589, orderProposalItemId#692559, orderProposalItemGroupId#692560, optimizationGroups#692596, measurements#692588, previousOrderProposal#692564L, prodLocSpecificKpis#693304, channelStreamSpecificKpis#693319, quantityKpis#693332, constraintStructArray#693746]
(54) Project
Output [21]: [shardId#691888, qty#692402, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, productGroup#692600, product#692571, plant#692572, subrange#692570, orderDateTime#692576, deliveryDateTime#692577, logisticUnits#692595, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, splitIndicator#692563L, orderProposalItemId#692559, orderProposalItemGroupId#692560, previousOrderProposal#692564L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#692569, supplyingPlant, supplyingPlant#692599, productGroup, productGroup#692600, product, product#692571, plant, plant#692572, supplierSubRange, subrange#692570, sourceOfSupplyUuid, sourceOfSupplyUuid#692567, deliveryDateTime, deliveryDateTime#692577, unitPrice, netPriceAmount#692586, unitPriceCurrency, netPriceCurrencyCode#692587, unitPriceQuantity, ... 37 more fields) AS parentItem#693957]
Input [37]: [shardId#691888, qty#692402, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, productGroup#692600, product#692571, plant#692572, subrange#692570, orderDateTime#692576, deliveryDateTime#692577, availabilityDateTime#692578, nextAvailabilityDateTime#692579, logisticUnits#692595, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, splitIndicator#692563L, netPriceAmount#692586, netPriceCurrencyCode#692587, netPriceQuantity#692583, netPriceQuantityUom#692584, netPriceQuantityUomUuid#692585, sourceOfSupplyUuid#692567, orderProposalItemId#692559, orderProposalItemGroupId#692560, optimizationGroups#692596, measurements#692588, previousOrderProposal#692564L, prodLocSpecificKpis#693304, channelStreamSpecificKpis#693319, quantityKpis#693332, constraintBenchmark#693752, calculationAnalysis#693823, inventoryDateTime#693875, demandPeriodEndDateTime#693877]
(55) Project
Output [12]: [shardId#691888, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, orderDateTime#692576, splitIndicator#692563L, orderProposalItemGroupId#692560, previousOrderProposal#692564L, parentItem#693957, struct(itemId, orderProposalItemId#692559, supplier, supplier#692569, supplyingPlant, supplyingPlant#692599, productGroup, productGroup#692600, product, product#692571, plant, plant#692572, supplierSubRange, subrange#692570, deliveryDateTime, deliveryDateTime#692577, orderQuantity, coalesce((qty#692402 * (cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1835#693991.isOrderUnit, lambda x_1835#693991, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1835#693992.isOrderUnit, lambda x_1835#693992, false)), 1, None, false).numerator as double))), qty#692402), orderQuantityUom, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1835#693993.isOrderUnit, lambda x_1835#693993, false)), 1, None, false).uom, orderQuantityBaseUom#692581), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#692595, lambdafunction(lambda x_1835#693994.isOrderUnit, lambda x_1835#693994, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#692582), orderQuantityInBaseUnit, qty#692402, orderQuantityBaseUom, ... 13 more fields) AS item#693988]
Input [21]: [shardId#691888, qty#692402, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, productGroup#692600, product#692571, plant#692572, subrange#692570, orderDateTime#692576, deliveryDateTime#692577, logisticUnits#692595, orderQuantityBaseUom#692581, orderQuantityBaseUomUuid#692582, splitIndicator#692563L, orderProposalItemId#692559, orderProposalItemGroupId#692560, previousOrderProposal#692564L, parentItem#693957]
(56) ObjectHashAggregate
Input [12]: [shardId#691888, orderProposalId#692558L, originalReplenishmentRunId#692561L, supplierGroup#692568, supplier#692569, supplyingPlant#692599, orderDateTime#692576, splitIndicator#692563L, orderProposalItemGroupId#692560, previousOrderProposal#692564L, parentItem#693957, item#693988]
Keys [4]: [shardId#691888, orderProposalId#692558L, splitIndicator#692563L, orderProposalItemGroupId#692560]
Functions [8]: [partial_max(originalReplenishmentRunId#692561L), partial_max(supplierGroup#692568), partial_max(supplier#692569), partial_max(supplyingPlant#692599), partial_max(orderDateTime#692576), partial_collect_list(parentItem#693957, 0, 0), partial_collect_set(previousOrderProposal#692564L, 0, 0), partial_collect_list(item#693988, 0, 0)]
Aggregate Attributes [8]: [max#695249L, max#695250, max#695251, max#695252, max#695253, buf#695254, buf#695255, buf#695256]
Results [12]: [shardId#691888, orderProposalId#692558L, splitIndicator#692563L, orderProposalItemGroupId#692560, max#695257L, max#695258, max#695259, max#695260, max#695261, buf#695262, buf#695263, buf#695264]
(57) Exchange
Input [12]: [shardId#691888, orderProposalId#692558L, splitIndicator#692563L, orderProposalItemGroupId#692560, max#695257L, max#695258, max#695259, max#695260, max#695261, buf#695262, buf#695263, buf#695264]
Arguments: hashpartitioning(shardId#691888, orderProposalId#692558L, splitIndicator#692563L, orderProposalItemGroupId#692560, 20), ENSURE_REQUIREMENTS, [plan_id=279084]
(58) ObjectHashAggregate
Input [12]: [shardId#691888, orderProposalId#692558L, splitIndicator#692563L, orderProposalItemGroupId#692560, max#695257L, max#695258, max#695259, max#695260, max#695261, buf#695262, buf#695263, buf#695264]
Keys [4]: [shardId#691888, orderProposalId#692558L, splitIndicator#692563L, orderProposalItemGroupId#692560]
Functions [8]: [max(originalReplenishmentRunId#692561L), max(supplierGroup#692568), max(supplier#692569), max(supplyingPlant#692599), max(orderDateTime#692576), collect_list(parentItem#693957, 0, 0), collect_set(previousOrderProposal#692564L, 0, 0), collect_list(item#693988, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#692561L)#694057L, max(supplierGroup#692568)#694058, max(supplier#692569)#694059, max(supplyingPlant#692599)#694060, max(orderDateTime#692576)#694061, collect_list(parentItem#693957, 0, 0)#694062, collect_set(previousOrderProposal#692564L, 0, 0)#694064, collect_list(item#693988, 0, 0)#694063]
Results [10]: [shardId#691888, orderProposalId#692558L, max(originalReplenishmentRunId#692561L)#694057L AS originalReplenishmentRunId#694005L, max(supplierGroup#692568)#694058 AS supplierGroup#694006, max(supplier#692569)#694059 AS supplier#694007, max(supplyingPlant#692599)#694060 AS supplyingPlant#694008, max(orderDateTime#692576)#694061 AS orderDateTime#694009, collect_list(parentItem#693957, 0, 0)#694062 AS parentItems#694010, collect_set(previousOrderProposal#692564L, 0, 0)#694064 AS previousOrderProposals#694012, struct(itemGroupId, coalesce(orderProposalItemGroupId#692560, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#693988, 0, 0)#694063) AS itemGroup#694066]
(59) ObjectHashAggregate
Input [10]: [shardId#691888, orderProposalId#692558L, originalReplenishmentRunId#694005L, supplierGroup#694006, supplier#694007, supplyingPlant#694008, orderDateTime#694009, parentItems#694010, previousOrderProposals#694012, itemGroup#694066]
Keys [2]: [shardId#691888, orderProposalId#692558L]
Functions [8]: [partial_max(originalReplenishmentRunId#694005L), partial_max(supplierGroup#694006), partial_max(supplier#694007), partial_max(supplyingPlant#694008), partial_max(orderDateTime#694009), partial_collect_list(itemGroup#694066, 0, 0), partial_collect_list(parentItems#694010, 0, 0), partial_collect_set(previousOrderProposals#694012, 0, 0)]
Aggregate Attributes [8]: [max#695233L, max#695234, max#695235, max#695236, max#695237, buf#695238, buf#695239, buf#695240]
Results [10]: [shardId#691888, orderProposalId#692558L, max#695241L, max#695242, max#695243, max#695244, max#695245, buf#695246, buf#695247, buf#695248]
(60) Exchange
Input [10]: [shardId#691888, orderProposalId#692558L, max#695241L, max#695242, max#695243, max#695244, max#695245, buf#695246, buf#695247, buf#695248]
Arguments: hashpartitioning(shardId#691888, orderProposalId#692558L, 20), ENSURE_REQUIREMENTS, [plan_id=279087]
(61) ObjectHashAggregate
Input [10]: [shardId#691888, orderProposalId#692558L, max#695241L, max#695242, max#695243, max#695244, max#695245, buf#695246, buf#695247, buf#695248]
Keys [2]: [shardId#691888, orderProposalId#692558L]
Functions [8]: [max(originalReplenishmentRunId#694005L), max(supplierGroup#694006), max(supplier#694007), max(supplyingPlant#694008), max(orderDateTime#694009), collect_list(itemGroup#694066, 0, 0), collect_list(parentItems#694010, 0, 0), collect_set(previousOrderProposals#694012, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#694005L)#694088L, max(supplierGroup#694006)#694089, max(supplier#694007)#694090, max(supplyingPlant#694008)#694091, max(orderDateTime#694009)#694092, collect_list(itemGroup#694066, 0, 0)#694093, collect_list(parentItems#694010, 0, 0)#694094, collect_set(previousOrderProposals#694012, 0, 0)#694095]
Results [10]: [shardId#691888, orderProposalId#692558L, max(originalReplenishmentRunId#694005L)#694088L AS originalReplenishmentRunId#694067L, max(supplierGroup#694006)#694089 AS supplierGroup#694068, max(supplier#694007)#694090 AS supplier#694069, max(supplyingPlant#694008)#694091 AS supplyingPlant#694070, max(orderDateTime#694009)#694092 AS orderDateTime#694071, collect_list(itemGroup#694066, 0, 0)#694093 AS itemGroups#694072, flatten(collect_list(parentItems#694010, 0, 0)#694094) AS parentItems#694073, flatten(collect_set(previousOrderProposals#694012, 0, 0)#694095) AS previousOrderProposals#694074]
(62) Project
Output [2]: [shardId#691888, struct(orderProposalId, orderProposalId#692558L, originalReplenishmentRunId, originalReplenishmentRunId#694067L, supplierGroup, supplierGroup#694068, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#694068) THEN supplier#694069 END, supplyingPlant, supplyingPlant#694070, orderDateTime, orderDateTime#694071, itemGroups, itemGroups#694072, previousOrderProposals, array_distinct(previousOrderProposals#694074), parentItems, parentItems#694073) AS orderProposal#694099]
Input [10]: [shardId#691888, orderProposalId#692558L, originalReplenishmentRunId#694067L, supplierGroup#694068, supplier#694069, supplyingPlant#694070, orderDateTime#694071, itemGroups#694072, parentItems#694073, previousOrderProposals#694074]
(63) Project
Output [11]: [shardId#691888, orderProposal#694099.orderProposalId AS _extract_orderProposalId#694865L, orderProposal#694099.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#694866L, orderProposal#694099.supplierGroup AS _extract_supplierGroup#694867, orderProposal#694099.supplier AS _extract_supplier#694868, orderProposal#694099.supplyingPlant AS _extract_supplyingPlant#694869, orderProposal#694099.orderDateTime AS _extract_orderDateTime#694870, orderProposal#694099.itemGroups AS _extract_itemGroups#694871, orderProposal#694099.previousOrderProposals AS _extract_previousOrderProposals#694872, orderProposal#694099.parentItems AS _extract_parentItems#694873, orderProposal#694099.orderProposalId AS _extract_orderProposalId#694874L]
Input [2]: [shardId#691888, orderProposal#694099]
(64) Exchange
Input [11]: [shardId#691888, _extract_orderProposalId#694865L, _extract_originalReplenishmentRunId#694866L, _extract_supplierGroup#694867, _extract_supplier#694868, _extract_supplyingPlant#694869, _extract_orderDateTime#694870, _extract_itemGroups#694871, _extract_previousOrderProposals#694872, _extract_parentItems#694873, _extract_orderProposalId#694874L]
Arguments: hashpartitioning(coalesce(shardId#691888, ), isnull(shardId#691888), coalesce(_extract_orderProposalId#694874L, 0), isnull(_extract_orderProposalId#694874L), 20), ENSURE_REQUIREMENTS, [plan_id=279091]
(65) Sort
Input [11]: [shardId#691888, _extract_orderProposalId#694865L, _extract_originalReplenishmentRunId#694866L, _extract_supplierGroup#694867, _extract_supplier#694868, _extract_supplyingPlant#694869, _extract_orderDateTime#694870, _extract_itemGroups#694871, _extract_previousOrderProposals#694872, _extract_parentItems#694873, _extract_orderProposalId#694874L]
Arguments: [coalesce(shardId#691888, ) ASC NULLS FIRST, isnull(shardId#691888) ASC NULLS FIRST, coalesce(_extract_orderProposalId#694874L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#694874L) ASC NULLS FIRST], false, 0
(66) InMemoryTableScan
Output [3]: [shardId#694122, orderProposalId#694123L, optimizationGroups#694125]
Arguments: [shardId#694122, orderProposalId#694123L, optimizationGroups#694125], [isnotnull(orderProposalId#694123L)]
(67) InMemoryRelation
Arguments: [shardId#694122, orderProposalId#694123L, items#694124, optimizationGroups#694125, isOptimal#694126, optimizationInsights#694128], StorageLevel(disk, memory, 2 replicas)
(68) Filter [codegen id : 2]
Input [3]: [shardId#694122, orderProposalId#694123L, optimizationGroups#694125]
Condition : isnotnull(orderProposalId#694123L)
(69) BroadcastExchange
Input [3]: [shardId#694122, orderProposalId#694123L, optimizationGroups#694125]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=279096]
(70) InMemoryTableScan
Output [2]: [items#693741, shardId#693739]
Arguments: [items#693741, shardId#693739], [(size(items#693741.worklistShardItemId, true) > 0), isnotnull(items#693741.worklistShardItemId), (shardId#693739 = 0_1_10000002107)]
(71) InMemoryRelation
Arguments: [shardId#693739, orderProposalId#693740L, items#693741, optimizationGroups#693742, isOptimal#693743, optimizationInsights#693745], StorageLevel(disk, memory, 2 replicas)
(72) Filter [codegen id : 3]
Input [2]: [items#693741, shardId#693739]
Condition : (((size(items#693741.worklistShardItemId, true) > 0) AND isnotnull(items#693741.worklistShardItemId)) AND (shardId#693739 = 0_1_10000002107))
(73) Project [codegen id : 3]
Output [1]: [items#693741.worklistShardItemId AS _extract_worklistShardItemId#694770]
Input [2]: [items#693741, shardId#693739]
(74) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#694770]
Arguments: explode(_extract_worklistShardItemId#694770), false, [item#694129L]
(75) Project [codegen id : 3]
Output [1]: [item#694129L AS worklistShardItemId#694130L]
Input [1]: [item#694129L]
(76) BroadcastExchange
Input [1]: [worklistShardItemId#694130L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=279104]
(77) Scan parquet
Output [5]: [orderProposalId#694178L, isFallbackOrderOnly#694195, worklistShardItemId#694201L, shardId#694222, sequenceId#694200]
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#694222), isnotnull(sequenceId#694200), (shardId#694222 = 0_1_10000002107), (sequenceId#694200 = 5)]
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#694178L, isFallbackOrderOnly#694195, worklistShardItemId#694201L, shardId#694222, sequenceId#694200]
(79) Filter [codegen id : 4]
Input [5]: [orderProposalId#694178L, isFallbackOrderOnly#694195, worklistShardItemId#694201L, shardId#694222, sequenceId#694200]
Condition : ((isnotnull(worklistShardItemId#694201L) AND NOT (isFallbackOrderOnly#694195 <=> true)) AND isnotnull(orderProposalId#694178L))
(80) Project [codegen id : 4]
Output [2]: [orderProposalId#694178L, worklistShardItemId#694201L]
Input [5]: [orderProposalId#694178L, isFallbackOrderOnly#694195, worklistShardItemId#694201L, shardId#694222, sequenceId#694200]
(81) Exchange
Input [2]: [orderProposalId#694178L, worklistShardItemId#694201L]
Arguments: hashpartitioning(worklistShardItemId#694201L, 20), REPARTITION_BY_NUM, [plan_id=279111]
(82) Project
Output [2]: [worklistShardItemId#694201L, orderProposalId#694178L]
Input [2]: [orderProposalId#694178L, worklistShardItemId#694201L]
(83) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#694130L]
Right keys [1]: [worklistShardItemId#694201L]
Join type: Inner
Join condition: None
(84) Project [codegen id : 5]
Output [1]: [orderProposalId#694178L]
Input [3]: [worklistShardItemId#694130L, worklistShardItemId#694201L, orderProposalId#694178L]
(85) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#694178L]
Keys [1]: [orderProposalId#694178L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#694178L]
(86) Exchange
Input [1]: [orderProposalId#694178L]
Arguments: hashpartitioning(orderProposalId#694178L, 20), ENSURE_REQUIREMENTS, [plan_id=279118]
(87) HashAggregate
Input [1]: [orderProposalId#694178L]
Keys [1]: [orderProposalId#694178L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#694178L]
(88) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#694123L]
Right keys [1]: [orderProposalId#694178L]
Join type: Inner
Join condition: None
(89) Project
Output [3]: [orderProposalId#694123L, shardId#694122, coalesce(transform(optimizationGroups#694125, lambdafunction(struct(optGroupId, lambda x_1839#694120.optGroupId, minOrderProfile, lambda x_1839#694120.minOrderProfile, assignmentDetails, lambda x_1839#694120.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_1839#694120.minOrderGoal.dimensionType, unit, lambda x_1839#694120.minOrderGoal.unit, unitUuid, lambda x_1839#694120.minOrderGoal.unitUuid, goalValue, lambda x_1839#694120.minOrderGoal.minOrderValue, calcValue, lambda x_1839#694120.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_1839#694120, false)), []) AS optimizationGroups#694119]
Input [4]: [shardId#694122, orderProposalId#694123L, optimizationGroups#694125, orderProposalId#694178L]
(90) Exchange
Input [3]: [orderProposalId#694123L, shardId#694122, optimizationGroups#694119]
Arguments: hashpartitioning(coalesce(shardId#694122, ), isnull(shardId#694122), coalesce(orderProposalId#694123L, 0), isnull(orderProposalId#694123L), 20), ENSURE_REQUIREMENTS, [plan_id=279124]
(91) Sort [codegen id : 7]
Input [3]: [orderProposalId#694123L, shardId#694122, optimizationGroups#694119]
Arguments: [coalesce(shardId#694122, ) ASC NULLS FIRST, isnull(shardId#694122) ASC NULLS FIRST, coalesce(orderProposalId#694123L, 0) ASC NULLS FIRST, isnull(orderProposalId#694123L) ASC NULLS FIRST], false, 0
(92) SortMergeJoin
Left keys [4]: [coalesce(shardId#691888, ), isnull(shardId#691888), coalesce(_extract_orderProposalId#694874L, 0), isnull(_extract_orderProposalId#694874L)]
Right keys [4]: [coalesce(shardId#694122, ), isnull(shardId#694122), coalesce(orderProposalId#694123L, 0), isnull(orderProposalId#694123L)]
Join type: LeftOuter
Join condition: None
(93) Project
Output [2]: [shardId#691888, named_struct(orderProposalId, _extract_orderProposalId#694874L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#694866L, supplierGroup, _extract_supplierGroup#694867, optimizationGroups, coalesce(optimizationGroups#694119, []), supplier, _extract_supplier#694868, supplyingPlant, _extract_supplyingPlant#694869, orderDateTime, _extract_orderDateTime#694870, itemGroups, _extract_itemGroups#694871, previousOrderProposals, _extract_previousOrderProposals#694872, parentItems, _extract_parentItems#694873) AS orderProposal#694226]
Input [14]: [shardId#691888, _extract_orderProposalId#694865L, _extract_originalReplenishmentRunId#694866L, _extract_supplierGroup#694867, _extract_supplier#694868, _extract_supplyingPlant#694869, _extract_orderDateTime#694870, _extract_itemGroups#694871, _extract_previousOrderProposals#694872, _extract_parentItems#694873, _extract_orderProposalId#694874L, orderProposalId#694123L, shardId#694122, optimizationGroups#694119]
(94) Filter
Input [1]: [orderProposal#694226]
Condition : (size(orderProposal#694226.parentItems.deliveryDateTime, true) > 0)
(95) Project
Output [1]: [orderProposal#694226.parentItems.deliveryDateTime AS _extract_deliveryDateTime#695645]
Input [1]: [orderProposal#694226]
(96) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#695645]
Arguments: explode(_extract_deliveryDateTime#695645), false, [numberOfOrderProposalItems#695617]
(97) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#695617]
(98) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#695656L]
Results [1]: [count#695657L]
(99) Exchange
Input [1]: [count#695657L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=279242]
(100) HashAggregate [codegen id : 2]
Input [1]: [count#695657L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#695622L]
Results [1]: [count(1)#695622L AS count#695618L]