digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 2 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 20<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 20<br>local bytes read: 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 48181.0: task 132557))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 48181.0: task 132556))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 720.0 B<br>number of partitions: 1<br>remote reqs duration: 1 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1440.0 B (72.0 B, 72.0 B, 72.0 B (stage 48181.0: task 132557))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=261779]"];
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 48181.0: task 132557))";
tooltip="WholeStageCodegen (1)";
4 [id="node4" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 1 ms (stage 48181.0: task 132556))<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#636372), false, [numberOfOrderProposalItems#636344]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#634953.parentItems.deliveryDateTime AS _extract_deliveryDateTime#636372]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (size(orderProposal#634953.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [orderProposal#634953], [(size(orderProposal#634953.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, named_struct(orderProposalId, _extract_orderProposalId#635601L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#635593L, supplierGroup, _extract_supplierGroup#635594, optimizationGroups, coalesce(optimizationGroups#634846, []), supplier, _extract_supplier#635595, supplyingPlant, _extract_supplyingPlant#635596, orderDateTime, _extract_orderDateTime#635597, itemGroups, _extract_itemGroups#635598, previousOrderProposals, _extract_previousOrderProposals#635599, parentItems, _extract_parentItems#635600) AS orderProposal#634953]"];
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 48181.0: task 132557))" tooltip="SortMergeJoin [coalesce(shardId#632615, ), isnull(shardId#632615), coalesce(_extract_orderProposalId#635601L, 0), isnull(_extract_orderProposalId#635601L)], [coalesce(shardId#634849, ), isnull(shardId#634849), coalesce(orderProposalId#634850L, 0), isnull(orderProposalId#634850L)], 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 48181.0: task 132557))<br>peak memory total (min, med, max (stageId: taskId))<br>1280.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 48181.0: task 132557))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 48181.0: task 132557))" tooltip="Sort [coalesce(shardId#632615, ) ASC NULLS FIRST, isnull(shardId#632615) ASC NULLS FIRST, coalesce(_extract_orderProposalId#635601L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#635601L) 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#632615, ), isnull(shardId#632615), coalesce(_extract_orderProposalId#635601L, 0), isnull(_extract_orderProposalId#635601L), 20), ENSURE_REQUIREMENTS, [plan_id=261628]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, orderProposal#634826.orderProposalId AS _extract_orderProposalId#635592L, orderProposal#634826.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#635593L, orderProposal#634826.supplierGroup AS _extract_supplierGroup#635594, orderProposal#634826.supplier AS _extract_supplier#635595, orderProposal#634826.supplyingPlant AS _extract_supplyingPlant#635596, orderProposal#634826.orderDateTime AS _extract_orderDateTime#635597, orderProposal#634826.itemGroups AS _extract_itemGroups#635598, orderProposal#634826.previousOrderProposals AS _extract_previousOrderProposals#635599, orderProposal#634826.parentItems AS _extract_parentItems#635600, orderProposal#634826.orderProposalId AS _extract_orderProposalId#635601L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, struct(orderProposalId, orderProposalId#633285L, originalReplenishmentRunId, originalReplenishmentRunId#634794L, supplierGroup, supplierGroup#634795, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#634795) THEN supplier#634796 END, supplyingPlant, supplyingPlant#634797, orderDateTime, orderDateTime#634798, itemGroups, itemGroups#634799, previousOrderProposals, array_distinct(previousOrderProposals#634801), parentItems, parentItems#634800) AS orderProposal#634826]"];
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 48179.0: task 132535))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#632615, orderProposalId#633285L], functions=[max(originalReplenishmentRunId#634732L), max(supplierGroup#634733), max(supplier#634734), max(supplyingPlant#634735), max(orderDateTime#634736), collect_list(itemGroup#634793, 0, 0), collect_list(parentItems#634737, 0, 0), collect_set(previousOrderProposals#634739, 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#632615, orderProposalId#633285L, 20), ENSURE_REQUIREMENTS, [plan_id=261624]"];
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 48178.0: task 132502))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#632615, orderProposalId#633285L], functions=[partial_max(originalReplenishmentRunId#634732L), partial_max(supplierGroup#634733), partial_max(supplier#634734), partial_max(supplyingPlant#634735), partial_max(orderDateTime#634736), partial_collect_list(itemGroup#634793, 0, 0), partial_collect_list(parentItems#634737, 0, 0), partial_collect_set(previousOrderProposals#634739, 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 48178.0: task 132502))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#632615, orderProposalId#633285L, splitIndicator#633290L, orderProposalItemGroupId#633287], functions=[max(originalReplenishmentRunId#633288L), max(supplierGroup#633295), max(supplier#633296), max(supplyingPlant#633326), max(orderDateTime#633303), collect_list(parentItem#634684, 0, 0), collect_set(previousOrderProposal#633291L, 0, 0), collect_list(item#634715, 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#632615, orderProposalId#633285L, splitIndicator#633290L, orderProposalItemGroupId#633287, 20), ENSURE_REQUIREMENTS, [plan_id=261621]"];
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>11 ms (0 ms, 1 ms, 2 ms (stage 48177.0: task 132440))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#632615, orderProposalId#633285L, splitIndicator#633290L, orderProposalItemGroupId#633287], functions=[partial_max(originalReplenishmentRunId#633288L), partial_max(supplierGroup#633295), partial_max(supplier#633296), partial_max(supplyingPlant#633326), partial_max(orderDateTime#633303), partial_collect_list(parentItem#634684, 0, 0), partial_collect_set(previousOrderProposal#633291L, 0, 0), partial_collect_list(item#634715, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, orderDateTime#633303, splitIndicator#633290L, orderProposalItemGroupId#633287, previousOrderProposal#633291L, parentItem#634684, struct(itemId, orderProposalItemId#633286, supplier, supplier#633296, supplyingPlant, supplyingPlant#633326, productGroup, productGroup#633327, product, product#633298, plant, plant#633299, supplierSubRange, subrange#633297, deliveryDateTime, deliveryDateTime#633304, orderQuantity, coalesce((qty#633129 * (cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1637#634718.isOrderUnit, lambda x_1637#634718, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1637#634719.isOrderUnit, lambda x_1637#634719, false)), 1, None, false).numerator as double))), qty#633129), orderQuantityUom, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1637#634720.isOrderUnit, lambda x_1637#634720, false)), 1, None, false).uom, orderQuantityBaseUom#633308), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1637#634721.isOrderUnit, lambda x_1637#634721, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#633309), orderQuantityInBaseUnit, qty#633129, orderQuantityBaseUom, ... 13 more fields) AS item#634715]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, qty#633129, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, productGroup#633327, product#633298, plant#633299, subrange#633297, orderDateTime#633303, deliveryDateTime#633304, logisticUnits#633322, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, splitIndicator#633290L, orderProposalItemId#633286, orderProposalItemGroupId#633287, previousOrderProposal#633291L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#633296, supplyingPlant, supplyingPlant#633326, productGroup, productGroup#633327, product, product#633298, plant, plant#633299, supplierSubRange, subrange#633297, sourceOfSupplyUuid, sourceOfSupplyUuid#633294, deliveryDateTime, deliveryDateTime#633304, unitPrice, netPriceAmount#633313, unitPriceCurrency, netPriceCurrencyCode#633314, unitPriceQuantity, ... 37 more fields) AS parentItem#634684]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, qty#633129, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, productGroup#633327, product#633298, plant#633299, subrange#633297, orderDateTime#633303, deliveryDateTime#633304, availabilityDateTime#633305, nextAvailabilityDateTime#633306, logisticUnits#633322, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, splitIndicator#633290L, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, sourceOfSupplyUuid#633294, ... 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, 175 ms (stage 48177.0: task 132441))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, productGroup#633327, product#633298, plant#633299, subrange#633297, orderDateTime#633303, deliveryDateTime#633304, availabilityDateTime#633305, nextAvailabilityDateTime#633306, logisticUnits#633322, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, splitIndicator#633290L, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT (isFallbackOrderOnly#633307 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 205" tooltip="InMemoryTableScan [availabilityDateTime#633305, channelStreamSpecificKpis#634046, constraintLabels#633317, constraintOperators#633318, constraintValues#633320, deliveryDateTime#633304, isFallbackOrderOnly#633307, logisticUnits#633322, measurements#633315, minimumOrderQuantity#633316, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, nextAvailabilityDateTime#633306, optimizationGroups#633323, orderDateTime#633303, orderProposalId#633285L, orderProposalItemGroupId#633287, orderProposalItemId#633286, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, originalReplenishmentRunId#633288L, plant#633299, ... 14 more fields], [NOT (isFallbackOrderOnly#633307 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n439 ms (4 ms, 38 ms, 41 ms (stage 48177.0: task 132439))";
tooltip="WholeStageCodegen (13)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, ... 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 48177.0: task 132456))" tooltip="SortMergeJoin [shardId#632615, worklistShardItemId#633127L], [shardId#634053, worklistShardItemId#634054L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (8 ms, 227 ms, 234 ms (stage 48177.0: task 132441))";
tooltip="WholeStageCodegen (10)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, ... 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 48177.0: task 132456))" tooltip="SortMergeJoin [shardId#632615, worklistShardItemId#633127L], [shardId#634040, worklistShardItemId#634041L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n4.1 s (12 ms, 321 ms, 422 ms (stage 48177.0: task 132437))";
tooltip="WholeStageCodegen (7)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, ... 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 48177.0: task 132456))" tooltip="SortMergeJoin [shardId#632615, worklistShardItemId#633127L], [shardId#634024, worklistShardItemId#634025L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n5.0 s (13 ms, 322 ms, 656 ms (stage 48177.0: task 132441))";
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 48177.0: task 132456))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 48177.0: task 132456))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 48177.0: task 132456))" tooltip="Sort [shardId#632615 ASC NULLS FIRST, worklistShardItemId#633127L 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>74.6 KiB (1841.0 B, 3.9 KiB, 5.9 KiB (stage 48177.0: task 132493))<br>merged fetch fallback count: 0<br>local blocks read: 67<br>remote merged chunks fetched: 0<br>remote blocks read: 47<br>data size total (min, med, max (stageId: taskId))<br>258.2 KiB (8.1 KiB, 24.4 KiB, 70.5 KiB (stage 48175.0: task 132401))<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>6 ms (0 ms, 0 ms, 0 ms (stage 48175.0: task 132401))<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 48177.0: task 132456))<br>remote bytes read total (min, med, max (stageId: taskId))<br>51.7 KiB (852.0 B, 3.2 KiB, 5.6 KiB (stage 48177.0: task 132456))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>11 ms (0 ms, 0 ms, 6 ms (stage 48177.0: task 132485))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>126.3 KiB (5.1 KiB, 12.1 KiB, 27.3 KiB (stage 48175.0: task 132401))" tooltip="Exchange hashpartitioning(shardId#632615, worklistShardItemId#633127L, 20), ENSURE_REQUIREMENTS, [plan_id=261349]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n31 ms (0 ms, 1 ms, 10 ms (stage 48175.0: task 132356))";
tooltip="WholeStageCodegen (3)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 205" tooltip="BroadcastHashJoin [worklistShardItemId#633127L], [worklistShardItemId#633351L], LeftOuter, BuildRight, (shardId#632615 = 0_1_10000002107), false"];
44 [id="node44" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#632615, item#633126.worklistShardItemId AS worklistShardItemId#633127L, item#633126.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#633128, item#633126.qty AS qty#633129]"];
45 [id="node45" labelType="html" label="<b>Generate</b><br><br>number of output rows: 205" tooltip="Generate explode(items#632617), [shardId#632615], false, [item#633126]"];
46 [id="node46" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter ((size(items#632617, true) > 0) AND isnotnull(items#632617))"];
}
47 [id="node47" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [shardId#632615, items#632617], [(size(items#632617, true) > 0), isnotnull(items#632617)]"];
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#632615) AND (shardId#632615 = 0_1_10000002107))"];
}
50 [id="node50" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, optimizationInsights#632621], [isnotnull(shardId#632615), (shardId#632615 = 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#632615) AND (shardId#632615 = 0_1_10000002107))"];
53 [id="node53" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#632615,orderProposalId#632616L,items#632617,optimizationGroups#632618,isOptimal#632619,lastModified#632620,optimizationInsights#632621]"];
}
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: 529 ms<br>number of output rows: 205<br>data size: 1032.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=261344]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n27 ms (0 ms, 1 ms, 3 ms (stage 48100.0: task 132325))";
tooltip="WholeStageCodegen (2)";
56 [id="node56" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#633351L, orderProposalId#633328L, orderProposalItemId#633329, orderProposalItemGroupId#633352, originalReplenishmentRunId#633370L, splitIndicator#633347L, previousOrderProposal#633348L, sourceOfSupplyUuid#633342, supplierGroup#633330, supplier#633331, subrange#633334, product#633337, plant#633332, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, isFallbackOrderOnly#633345, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, netPriceAmount#633364, netPriceCurrencyCode#633365, ... 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>77.2 KiB (1103.0 B, 4.3 KiB, 7.7 KiB (stage 48100.0: task 132337))<br>merged fetch fallback count: 0<br>local blocks read: 81<br>remote merged chunks fetched: 0<br>remote blocks read: 87<br>data size total (min, med, max (stageId: taskId))<br>250.2 KiB (4.8 KiB, 10.5 KiB, 13.5 KiB (stage 48099.0: task 132272))<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 48099.0: task 132314))<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 48100.0: task 132324))<br>remote bytes read total (min, med, max (stageId: taskId))<br>83.2 KiB (834.0 B, 4.2 KiB, 7.2 KiB (stage 48100.0: task 132325))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>9 ms (0 ms, 0 ms, 1 ms (stage 48100.0: task 132324))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>160.3 KiB (3.5 KiB, 6.7 KiB, 8.0 KiB (stage 48099.0: task 132274))" tooltip="Exchange hashpartitioning(worklistShardItemId#633351L, 20), REPARTITION_BY_NUM, [plan_id=261340]"];
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (74 ms, 87 ms, 145 ms (stage 48099.0: task 132270))";
tooltip="WholeStageCodegen (1)";
59 [id="node59" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#633328L, orderProposalItemId#633329, supplierGroup#633330, supplier#633331, plant#633332, deliveryDateTime#633333, subrange#633334, supplyingPlant#633335, productGroup#633336, product#633337, orderDateTime#633338, availabilityDateTime#633339, nextAvailabilityDateTime#633340, sourceOfSupplyUuid#633342, isFallbackOrderOnly#633345, splitIndicator#633347L, previousOrderProposal#633348L, worklistShardItemId#633351L, orderProposalItemGroupId#633352, externalProductId#633353, externalPlantId#633354, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, minimumOrderQuantity#633358, ... 11 more fields]"];
60 [id="node60" labelType="html" label="<b>Filter</b><br><br>number of output rows: 205" tooltip="Filter isnotnull(worklistShardItemId#633351L)"];
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.2 s (73 ms, 86 ms, 103 ms (stage 48099.0: task 132270))<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#633328L,orderProposalItemId#633329,supplierGroup#633330,supplier#633331,plant#633332,deliveryDateTime#633333,subrange#633334,supplyingPlant#633335,productGroup#633336,product#633337,orderDateTime#633338,availabilityDateTime#633339,nextAvailabilityDateTime#633340,sourceOfSupplyUuid#633342,isFallbackOrderOnly#633345,splitIndicator#633347L,previousOrderProposal#633348L,worklistShardItemId#633351L,orderProposalItemGroupId#633352,externalProductId#633353,externalPlantId#633354,logisticUnits#633355,orderQuantityBaseUom#633356,orderQuantityBaseUomUuid#633357,minimumOrderQuantity#633358,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#633351L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#633372), isnotnull(sequenceId#633350), (shardId#633372 = 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.3 s (6 ms, 160 ms, 249 ms (stage 48177.0: task 132441))";
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 48177.0: task 132456))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 48177.0: task 132456))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 48177.0: task 132456))" tooltip="Sort [shardId#634024 ASC NULLS FIRST, worklistShardItemId#634025L ASC NULLS FIRST], false, 0"];
}
65 [id="node65" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 205<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 205<br>local bytes read total (min, med, max (stageId: taskId))<br>45.5 KiB (1132.0 B, 2.2 KiB, 3.4 KiB (stage 48177.0: task 132466))<br>merged fetch fallback count: 0<br>local blocks read: 78<br>remote merged chunks fetched: 0<br>remote blocks read: 80<br>data size total (min, med, max (stageId: taskId))<br>214.6 KiB (3.1 KiB, 12.6 KiB, 19.9 KiB (stage 48174.0: task 132391))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>12 ms (0 ms, 0 ms, 0 ms (stage 48174.0: task 132391))<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 48177.0: task 132456))<br>remote bytes read total (min, med, max (stageId: taskId))<br>46.4 KiB (1132.0 B, 2.3 KiB, 3.7 KiB (stage 48177.0: task 132437))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>8 ms (0 ms, 0 ms, 5 ms (stage 48177.0: task 132485))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>91.9 KiB (1713.0 B, 4.8 KiB, 8.7 KiB (stage 48174.0: task 132391))" tooltip="Exchange hashpartitioning(shardId#634024, worklistShardItemId#634025L, 20), ENSURE_REQUIREMENTS, [plan_id=261355]"];
subgraph cluster66 {
isCluster="true";
id="cluster66";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n87 ms (3 ms, 4 ms, 11 ms (stage 48174.0: task 132355))";
tooltip="WholeStageCodegen (5)";
67 [id="node67" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#634024, worklistShardItemId#634025L, coalesce(kpis#634029, []) AS prodLocSpecificKpis#634030]"];
68 [id="node68" labelType="html" label="<b>Filter</b><br><br>number of output rows: 205" tooltip="Filter (((isnull(qty#634026) AND isnull(demandChannel#634027)) AND isnull(demandStream#634028)) AND (isnotnull(shardId#634024) AND isnotnull(worklistShardItemId#634025L)))"];
69 [id="node69" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#634024,worklistShardItemId#634025L,qty#634026,demandChannel#634027,demandStream#634028,kpis#634029]"];
}
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.6 s (4 ms, 152 ms, 156 ms (stage 48177.0: task 132457))";
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 48177.0: task 132456))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 48177.0: task 132456))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 48177.0: task 132456))" tooltip="Sort [shardId#634040 ASC NULLS FIRST, worklistShardItemId#634041L 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>195 ms (1 ms, 2 ms, 24 ms (stage 48177.0: task 132437))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 48177.0: task 132456))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#634040, worklistShardItemId#634041L], functions=[collect_list(struct(demandChannel, demandChannel#634043, demandStream, demandStream#634044, kpis, kpis#634045), 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>31.3 KiB (320.0 B, 1935.0 B, 2.9 KiB (stage 48177.0: task 132457))<br>merged fetch fallback count: 0<br>local blocks read: 98<br>remote merged chunks fetched: 0<br>remote blocks read: 67<br>data size total (min, med, max (stageId: taskId))<br>82.1 KiB (2.8 KiB, 4.1 KiB, 6.5 KiB (stage 48173.0: task 132372))<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 48173.0: task 132372))<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>4 ms (0 ms, 0 ms, 4 ms (stage 48177.0: task 132485))<br>remote bytes read total (min, med, max (stageId: taskId))<br>21.5 KiB (323.0 B, 1024.0 B, 2.6 KiB (stage 48177.0: task 132456))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>8 ms (0 ms, 0 ms, 4 ms (stage 48177.0: task 132485))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>52.8 KiB (1634.0 B, 2.5 KiB, 3.9 KiB (stage 48173.0: task 132372))" tooltip="Exchange hashpartitioning(shardId#634040, worklistShardItemId#634041L, 20), ENSURE_REQUIREMENTS, [plan_id=261366]"];
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>350 ms (2 ms, 5 ms, 60 ms (stage 48173.0: task 132346))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 48173.0: task 132353))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#634040, worklistShardItemId#634041L], functions=[partial_collect_list(struct(demandChannel, demandChannel#634043, demandStream, demandStream#634044, kpis, kpis#634045), 0, 0)])"];
subgraph cluster75 {
isCluster="true";
id="cluster75";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n351 ms (2 ms, 5 ms, 60 ms (stage 48173.0: task 132346))";
tooltip="WholeStageCodegen (8)";
76 [id="node76" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#634040, worklistShardItemId#634041L, demandChannel#634043, demandStream#634044, kpis#634045]"];
77 [id="node77" labelType="html" label="<b>Filter</b><br><br>number of output rows: 202" tooltip="Filter ((((isnull(qty#634042) AND isnotnull(demandChannel#634043)) AND isnotnull(demandStream#634044)) AND (size(kpis#634045, true) > 0)) AND (isnotnull(shardId#634040) AND isnotnull(worklistShardItemId#634041L)))"];
78 [id="node78" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#634040,worklistShardItemId#634041L,qty#634042,demandChannel#634043,demandStream#634044,kpis#634045]"];
}
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n635 ms (2 ms, 60 ms, 62 ms (stage 48177.0: task 132441))";
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 48177.0: task 132456))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 48177.0: task 132456))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 48177.0: task 132456))" tooltip="Sort [shardId#634053 ASC NULLS FIRST, worklistShardItemId#634054L 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>278 ms (1 ms, 25 ms, 27 ms (stage 48177.0: task 132441))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 48177.0: task 132456))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#634053, worklistShardItemId#634054L], functions=[collect_list(struct(qty, qty#634055, kpis, kpis#634058), 0, 0)])"];
82 [id="node82" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 401<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 401<br>local bytes read total (min, med, max (stageId: taskId))<br>55.0 KiB (1494.0 B, 2.8 KiB, 4.4 KiB (stage 48177.0: task 132456))<br>merged fetch fallback count: 0<br>local blocks read: 115<br>remote merged chunks fetched: 0<br>remote blocks read: 141<br>data size total (min, med, max (stageId: taskId))<br>255.5 KiB (8.8 KiB, 13.7 KiB, 16.2 KiB (stage 48176.0: task 132424))<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>15 ms (0 ms, 0 ms, 0 ms (stage 48176.0: task 132417))<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 48177.0: task 132456))<br>remote bytes read total (min, med, max (stageId: taskId))<br>67.9 KiB (1847.0 B, 3.3 KiB, 5.3 KiB (stage 48177.0: task 132457))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>9 ms (0 ms, 0 ms, 1 ms (stage 48177.0: task 132456))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>122.9 KiB (4.3 KiB, 6.4 KiB, 8.0 KiB (stage 48176.0: task 132422))" tooltip="Exchange hashpartitioning(shardId#634053, worklistShardItemId#634054L, 20), ENSURE_REQUIREMENTS, [plan_id=261378]"];
83 [id="node83" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 401<br>time in aggregation build total (min, med, max (stageId: taskId))<br>73 ms (2 ms, 3 ms, 12 ms (stage 48176.0: task 132357))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 48176.0: task 132357))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#634053, worklistShardItemId#634054L], functions=[partial_collect_list(struct(qty, qty#634055, kpis, kpis#634058), 0, 0)])"];
subgraph cluster84 {
isCluster="true";
id="cluster84";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n73 ms (2 ms, 3 ms, 12 ms (stage 48176.0: task 132357))";
tooltip="WholeStageCodegen (11)";
85 [id="node85" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#634053, worklistShardItemId#634054L, qty#634055, kpis#634058]"];
86 [id="node86" labelType="html" label="<b>Filter</b><br><br>number of output rows: 410" tooltip="Filter ((isnotnull(qty#634055) AND isnotnull(kpis#634058)) AND (isnotnull(shardId#634053) AND isnotnull(worklistShardItemId#634054L)))"];
87 [id="node87" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#634053,worklistShardItemId#634054L,qty#634055,demandChannel#634056,demandStream#634057,kpis#634058]"];
}
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n2.9 s (5 ms, 275 ms, 284 ms (stage 48181.0: task 132558))";
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 48181.0: task 132557))<br>peak memory total (min, med, max (stageId: taskId))<br>1280.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 48181.0: task 132557))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 48181.0: task 132557))" tooltip="Sort [coalesce(shardId#634849, ) ASC NULLS FIRST, isnull(shardId#634849) ASC NULLS FIRST, coalesce(orderProposalId#634850L, 0) ASC NULLS FIRST, isnull(orderProposalId#634850L) 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#634849, ), isnull(shardId#634849), coalesce(orderProposalId#634850L, 0), isnull(orderProposalId#634850L), 20), ENSURE_REQUIREMENTS, [plan_id=261661]"];
91 [id="node91" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#634850L, shardId#634849, coalesce(transform(optimizationGroups#634852, lambdafunction(struct(optGroupId, lambda x_1641#634847.optGroupId, minOrderProfile, lambda x_1641#634847.minOrderProfile, assignmentDetails, lambda x_1641#634847.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_1641#634847.minOrderGoal.dimensionType, unit, lambda x_1641#634847.minOrderGoal.unit, unitUuid, lambda x_1641#634847.minOrderGoal.unitUuid, goalValue, lambda x_1641#634847.minOrderGoal.minOrderValue, calcValue, lambda x_1641#634847.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_1641#634847, false)), []) AS optimizationGroups#634846]"];
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n688 ms (1 ms, 62 ms, 71 ms (stage 48180.0: task 132491))";
tooltip="WholeStageCodegen (6)";
93 [id="node93" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [orderProposalId#634850L], [orderProposalId#634905L], 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>7 ms (0 ms, 0 ms, 2 ms (stage 48180.0: task 132490))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 48180.0: task 132497))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#634905L], 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: 279 ms<br>number of output rows: 14<br>data size: 1024.5 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=261633]"];
subgraph cluster95 {
isCluster="true";
id="cluster95";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n9 ms (0 ms, 0 ms, 2 ms (stage 48098.0: task 132285))";
tooltip="WholeStageCodegen (2)";
96 [id="node96" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter isnotnull(orderProposalId#634850L)"];
}
97 [id="node97" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [shardId#634849, orderProposalId#634850L, optimizationGroups#634852], [isnotnull(orderProposalId#634850L)]"];
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#632615) AND (shardId#632615 = 0_1_10000002107))"];
}
100 [id="node100" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, optimizationInsights#632621], [isnotnull(shardId#632615), (shardId#632615 = 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#632615) AND (shardId#632615 = 0_1_10000002107))"];
103 [id="node103" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#632615,orderProposalId#632616L,items#632617,optimizationGroups#632618,isOptimal#632619,lastModified#632620,optimizationInsights#632621]"];
}
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#634905L, 20), ENSURE_REQUIREMENTS, [plan_id=261655]"];
subgraph cluster106 {
isCluster="true";
id="cluster106";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n217 ms (0 ms, 0 ms, 43 ms (stage 48102.0: task 132462))";
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>2 ms (0 ms, 0 ms, 1 ms (stage 48102.0: task 132461))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 48102.0: task 132462))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#634905L], functions=[])"];
108 [id="node108" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#634905L]"];
109 [id="node109" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#634857L], [worklistShardItemId#634928L], Inner, BuildLeft, false"];
123 [id="node123" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#634928L, orderProposalId#634905L]"];
}
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: 153 ms<br>number of output rows: 205<br>data size: 1032.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=261641]"];
subgraph cluster111 {
isCluster="true";
id="cluster111";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n12 ms (0 ms, 1 ms, 2 ms (stage 48097.0: task 132267))";
tooltip="WholeStageCodegen (3)";
112 [id="node112" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#634856L AS worklistShardItemId#634857L]"];
113 [id="node113" labelType="html" label="<b>Generate</b><br><br>number of output rows: 205" tooltip="Generate explode(_extract_worklistShardItemId#635497), false, [item#634856L]"];
114 [id="node114" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#634468.worklistShardItemId AS _extract_worklistShardItemId#635497]"];
115 [id="node115" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter (((size(items#634468.worklistShardItemId, true) > 0) AND isnotnull(items#634468.worklistShardItemId)) AND (shardId#634466 = 0_1_10000002107))"];
}
116 [id="node116" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 14" tooltip="InMemoryTableScan [items#634468, shardId#634466], [(size(items#634468.worklistShardItemId, true) > 0), isnotnull(items#634468.worklistShardItemId), (shardId#634466 = 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#632615) AND (shardId#632615 = 0_1_10000002107))"];
}
119 [id="node119" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, optimizationInsights#632621], [isnotnull(shardId#632615), (shardId#632615 = 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#632615) AND (shardId#632615 = 0_1_10000002107))"];
122 [id="node122" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#632615,orderProposalId#632616L,items#632617,optimizationGroups#632618,isOptimal#632619,lastModified#632620,optimizationInsights#632621]"];
}
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#634928L, 20), REPARTITION_BY_NUM, [plan_id=261648]"];
subgraph cluster125 {
isCluster="true";
id="cluster125";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (51 ms, 60 ms, 161 ms (stage 48101.0: task 132354))";
tooltip="WholeStageCodegen (4)";
126 [id="node126" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#634905L, worklistShardItemId#634928L]"];
127 [id="node127" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(worklistShardItemId#634928L) AND NOT (isFallbackOrderOnly#634922 <=> true)) AND isnotnull(orderProposalId#634905L))"];
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 (50 ms, 59 ms, 88 ms (stage 48101.0: task 132354))<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#634905L,isFallbackOrderOnly#634922,worklistShardItemId#634928L,shardId#634949,sequenceId#634927] Batched: true, DataFilters: [isnotnull(worklistShardItemId#634928L), NOT (isFallbackOrderOnly#634922 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#634949), isnotnull(sequenceId#634927), (shardId#634949 = 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#634953]
Arguments: [orderProposal#634953], [(size(orderProposal#634953.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#632615, orderProposal#634953], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#633305, channelStreamSpecificKpis#634046, constraintLabels#633317, constraintOperators#633318, constraintValues#633320, deliveryDateTime#633304, isFallbackOrderOnly#633307, logisticUnits#633322, measurements#633315, minimumOrderQuantity#633316, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, nextAvailabilityDateTime#633306, optimizationGroups#633323, orderDateTime#633303, orderProposalId#633285L, orderProposalItemGroupId#633287, orderProposalItemId#633286, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, originalReplenishmentRunId#633288L, plant#633299, previousOrderProposal#633291L, prodLocSpecificKpis#634031, product#633298, productGroup#633327, qty#633129, quantityAfterProdPlantOptimization#633128, quantityKpis#634059, shardId#632615, sourceOfSupplyUuid#633294, splitIndicator#633290L, subrange#633297, supplier#633296, supplierGroup#633295, supplyingPlant#633326]
Arguments: [availabilityDateTime#633305, channelStreamSpecificKpis#634046, constraintLabels#633317, constraintOperators#633318, constraintValues#633320, deliveryDateTime#633304, isFallbackOrderOnly#633307, logisticUnits#633322, measurements#633315, minimumOrderQuantity#633316, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, nextAvailabilityDateTime#633306, optimizationGroups#633323, orderDateTime#633303, orderProposalId#633285L, orderProposalItemGroupId#633287, orderProposalItemId#633286, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, originalReplenishmentRunId#633288L, plant#633299, ... 14 more fields], [NOT (isFallbackOrderOnly#633307 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, productGroup#633327, product#633298, plant#633299, subrange#633297, orderDateTime#633303, deliveryDateTime#633304, availabilityDateTime#633305, nextAvailabilityDateTime#633306, constraintValues#633320, constraintOperators#633318, constraintLabels#633317, logisticUnits#633322, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, splitIndicator#633290L, netPriceAmount#633313, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#632615, items#632617]
Arguments: [shardId#632615, items#632617], [(size(items#632617, true) > 0), isnotnull(items#632617)]
(6) InMemoryRelation
Arguments: [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, optimizationInsights#632621], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, optimizationInsights#632621]
Arguments: [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, optimizationInsights#632621], [isnotnull(shardId#632615), (shardId#632615 = 0_1_10000002107)]
(8) InMemoryRelation
Arguments: [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, lastModified#632620, optimizationInsights#632621], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, lastModified#632620, optimizationInsights#632621]
Arguments: [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, lastModified#632620, optimizationInsights#632621], MapPartitionsRDD[30129] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, lastModified#632620, optimizationInsights#632621]
Condition : (isnotnull(shardId#632615) AND (shardId#632615 = 0_1_10000002107))
(11) Filter [codegen id : 1]
Input [6]: [shardId#632615, orderProposalId#632616L, items#632617, optimizationGroups#632618, isOptimal#632619, optimizationInsights#632621]
Condition : (isnotnull(shardId#632615) AND (shardId#632615 = 0_1_10000002107))
(12) Filter [codegen id : 3]
Input [2]: [shardId#632615, items#632617]
Condition : ((size(items#632617, true) > 0) AND isnotnull(items#632617))
(13) Generate [codegen id : 3]
Input [2]: [shardId#632615, items#632617]
Arguments: explode(items#632617), [shardId#632615], false, [item#633126]
(14) Project [codegen id : 3]
Output [4]: [shardId#632615, item#633126.worklistShardItemId AS worklistShardItemId#633127L, item#633126.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#633128, item#633126.qty AS qty#633129]
Input [2]: [shardId#632615, item#633126]
(15) Scan parquet
Output [38]: [orderProposalId#633328L, orderProposalItemId#633329, supplierGroup#633330, supplier#633331, plant#633332, deliveryDateTime#633333, subrange#633334, supplyingPlant#633335, productGroup#633336, product#633337, orderDateTime#633338, availabilityDateTime#633339, nextAvailabilityDateTime#633340, sourceOfSupplyUuid#633342, isFallbackOrderOnly#633345, splitIndicator#633347L, previousOrderProposal#633348L, worklistShardItemId#633351L, orderProposalItemGroupId#633352, externalProductId#633353, externalPlantId#633354, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, minimumOrderQuantity#633358, constraintLabels#633359, constraintOperators#633360, constraintValues#633361, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, measurements#633369, originalReplenishmentRunId#633370L, optimizationGroups#633371, shardId#633372, sequenceId#633350]
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#633372), isnotnull(sequenceId#633350), (shardId#633372 = 0_1_10000002107), (sequenceId#633350 = 3)]
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#633328L, orderProposalItemId#633329, supplierGroup#633330, supplier#633331, plant#633332, deliveryDateTime#633333, subrange#633334, supplyingPlant#633335, productGroup#633336, product#633337, orderDateTime#633338, availabilityDateTime#633339, nextAvailabilityDateTime#633340, sourceOfSupplyUuid#633342, isFallbackOrderOnly#633345, splitIndicator#633347L, previousOrderProposal#633348L, worklistShardItemId#633351L, orderProposalItemGroupId#633352, externalProductId#633353, externalPlantId#633354, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, minimumOrderQuantity#633358, constraintLabels#633359, constraintOperators#633360, constraintValues#633361, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, measurements#633369, originalReplenishmentRunId#633370L, optimizationGroups#633371, shardId#633372, sequenceId#633350]
(17) Filter [codegen id : 1]
Input [38]: [orderProposalId#633328L, orderProposalItemId#633329, supplierGroup#633330, supplier#633331, plant#633332, deliveryDateTime#633333, subrange#633334, supplyingPlant#633335, productGroup#633336, product#633337, orderDateTime#633338, availabilityDateTime#633339, nextAvailabilityDateTime#633340, sourceOfSupplyUuid#633342, isFallbackOrderOnly#633345, splitIndicator#633347L, previousOrderProposal#633348L, worklistShardItemId#633351L, orderProposalItemGroupId#633352, externalProductId#633353, externalPlantId#633354, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, minimumOrderQuantity#633358, constraintLabels#633359, constraintOperators#633360, constraintValues#633361, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, measurements#633369, originalReplenishmentRunId#633370L, optimizationGroups#633371, shardId#633372, sequenceId#633350]
Condition : isnotnull(worklistShardItemId#633351L)
(18) Project [codegen id : 1]
Output [36]: [orderProposalId#633328L, orderProposalItemId#633329, supplierGroup#633330, supplier#633331, plant#633332, deliveryDateTime#633333, subrange#633334, supplyingPlant#633335, productGroup#633336, product#633337, orderDateTime#633338, availabilityDateTime#633339, nextAvailabilityDateTime#633340, sourceOfSupplyUuid#633342, isFallbackOrderOnly#633345, splitIndicator#633347L, previousOrderProposal#633348L, worklistShardItemId#633351L, orderProposalItemGroupId#633352, externalProductId#633353, externalPlantId#633354, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, minimumOrderQuantity#633358, constraintLabels#633359, constraintOperators#633360, constraintValues#633361, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, measurements#633369, originalReplenishmentRunId#633370L, optimizationGroups#633371]
Input [38]: [orderProposalId#633328L, orderProposalItemId#633329, supplierGroup#633330, supplier#633331, plant#633332, deliveryDateTime#633333, subrange#633334, supplyingPlant#633335, productGroup#633336, product#633337, orderDateTime#633338, availabilityDateTime#633339, nextAvailabilityDateTime#633340, sourceOfSupplyUuid#633342, isFallbackOrderOnly#633345, splitIndicator#633347L, previousOrderProposal#633348L, worklistShardItemId#633351L, orderProposalItemGroupId#633352, externalProductId#633353, externalPlantId#633354, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, minimumOrderQuantity#633358, constraintLabels#633359, constraintOperators#633360, constraintValues#633361, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, measurements#633369, originalReplenishmentRunId#633370L, optimizationGroups#633371, shardId#633372, sequenceId#633350]
(19) Exchange
Input [36]: [orderProposalId#633328L, orderProposalItemId#633329, supplierGroup#633330, supplier#633331, plant#633332, deliveryDateTime#633333, subrange#633334, supplyingPlant#633335, productGroup#633336, product#633337, orderDateTime#633338, availabilityDateTime#633339, nextAvailabilityDateTime#633340, sourceOfSupplyUuid#633342, isFallbackOrderOnly#633345, splitIndicator#633347L, previousOrderProposal#633348L, worklistShardItemId#633351L, orderProposalItemGroupId#633352, externalProductId#633353, externalPlantId#633354, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, minimumOrderQuantity#633358, constraintLabels#633359, constraintOperators#633360, constraintValues#633361, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, measurements#633369, originalReplenishmentRunId#633370L, optimizationGroups#633371]
Arguments: hashpartitioning(worklistShardItemId#633351L, 20), REPARTITION_BY_NUM, [plan_id=261340]
(20) Project [codegen id : 2]
Output [36]: [worklistShardItemId#633351L, orderProposalId#633328L, orderProposalItemId#633329, orderProposalItemGroupId#633352, originalReplenishmentRunId#633370L, splitIndicator#633347L, previousOrderProposal#633348L, sourceOfSupplyUuid#633342, supplierGroup#633330, supplier#633331, subrange#633334, product#633337, plant#633332, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, isFallbackOrderOnly#633345, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, netPriceAmount#633364, netPriceCurrencyCode#633365, measurements#633369, minimumOrderQuantity#633358, constraintLabels#633359, constraintOperators#633360, constraintValues#633361, logisticUnits#633355, optimizationGroups#633371, externalProductId#633353, externalPlantId#633354, supplyingPlant#633335, productGroup#633336]
Input [36]: [orderProposalId#633328L, orderProposalItemId#633329, supplierGroup#633330, supplier#633331, plant#633332, deliveryDateTime#633333, subrange#633334, supplyingPlant#633335, productGroup#633336, product#633337, orderDateTime#633338, availabilityDateTime#633339, nextAvailabilityDateTime#633340, sourceOfSupplyUuid#633342, isFallbackOrderOnly#633345, splitIndicator#633347L, previousOrderProposal#633348L, worklistShardItemId#633351L, orderProposalItemGroupId#633352, externalProductId#633353, externalPlantId#633354, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, minimumOrderQuantity#633358, constraintLabels#633359, constraintOperators#633360, constraintValues#633361, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, measurements#633369, originalReplenishmentRunId#633370L, optimizationGroups#633371]
(21) BroadcastExchange
Input [36]: [worklistShardItemId#633351L, orderProposalId#633328L, orderProposalItemId#633329, orderProposalItemGroupId#633352, originalReplenishmentRunId#633370L, splitIndicator#633347L, previousOrderProposal#633348L, sourceOfSupplyUuid#633342, supplierGroup#633330, supplier#633331, subrange#633334, product#633337, plant#633332, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, isFallbackOrderOnly#633345, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, netPriceAmount#633364, netPriceCurrencyCode#633365, measurements#633369, minimumOrderQuantity#633358, constraintLabels#633359, constraintOperators#633360, constraintValues#633361, logisticUnits#633355, optimizationGroups#633371, externalProductId#633353, externalPlantId#633354, supplyingPlant#633335, productGroup#633336]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=261344]
(22) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#633127L]
Right keys [1]: [worklistShardItemId#633351L]
Join type: LeftOuter
Join condition: (shardId#632615 = 0_1_10000002107)
(23) Project [codegen id : 3]
Output [39]: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, sourceOfSupplyUuid#633342, minimumOrderQuantity#633358, orderProposalItemId#633329, orderProposalItemGroupId#633352, optimizationGroups#633371, measurements#633369, externalProductId#633353, externalPlantId#633354, previousOrderProposal#633348L, isFallbackOrderOnly#633345]
Input [40]: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, worklistShardItemId#633351L, orderProposalId#633328L, orderProposalItemId#633329, orderProposalItemGroupId#633352, originalReplenishmentRunId#633370L, splitIndicator#633347L, previousOrderProposal#633348L, sourceOfSupplyUuid#633342, supplierGroup#633330, supplier#633331, subrange#633334, product#633337, plant#633332, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, isFallbackOrderOnly#633345, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, netPriceAmount#633364, netPriceCurrencyCode#633365, measurements#633369, minimumOrderQuantity#633358, constraintLabels#633359, constraintOperators#633360, constraintValues#633361, logisticUnits#633355, optimizationGroups#633371, externalProductId#633353, externalPlantId#633354, supplyingPlant#633335, productGroup#633336]
(24) Exchange
Input [39]: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, sourceOfSupplyUuid#633342, minimumOrderQuantity#633358, orderProposalItemId#633329, orderProposalItemGroupId#633352, optimizationGroups#633371, measurements#633369, externalProductId#633353, externalPlantId#633354, previousOrderProposal#633348L, isFallbackOrderOnly#633345]
Arguments: hashpartitioning(shardId#632615, worklistShardItemId#633127L, 20), ENSURE_REQUIREMENTS, [plan_id=261349]
(25) Sort [codegen id : 4]
Input [39]: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, sourceOfSupplyUuid#633342, minimumOrderQuantity#633358, orderProposalItemId#633329, orderProposalItemGroupId#633352, optimizationGroups#633371, measurements#633369, externalProductId#633353, externalPlantId#633354, previousOrderProposal#633348L, isFallbackOrderOnly#633345]
Arguments: [shardId#632615 ASC NULLS FIRST, worklistShardItemId#633127L ASC NULLS FIRST], false, 0
(26) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#634024, worklistShardItemId#634025L, qty#634026, demandChannel#634027, demandStream#634028, kpis#634029]
Arguments: [shardId#634024, worklistShardItemId#634025L, qty#634026, demandChannel#634027, demandStream#634028, kpis#634029], MapPartitionsRDD[30203] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(27) Filter [codegen id : 5]
Input [6]: [shardId#634024, worklistShardItemId#634025L, qty#634026, demandChannel#634027, demandStream#634028, kpis#634029]
Condition : (((isnull(qty#634026) AND isnull(demandChannel#634027)) AND isnull(demandStream#634028)) AND (isnotnull(shardId#634024) AND isnotnull(worklistShardItemId#634025L)))
(28) Project [codegen id : 5]
Output [3]: [shardId#634024, worklistShardItemId#634025L, coalesce(kpis#634029, []) AS prodLocSpecificKpis#634030]
Input [6]: [shardId#634024, worklistShardItemId#634025L, qty#634026, demandChannel#634027, demandStream#634028, kpis#634029]
(29) Exchange
Input [3]: [shardId#634024, worklistShardItemId#634025L, prodLocSpecificKpis#634030]
Arguments: hashpartitioning(shardId#634024, worklistShardItemId#634025L, 20), ENSURE_REQUIREMENTS, [plan_id=261355]
(30) Sort [codegen id : 6]
Input [3]: [shardId#634024, worklistShardItemId#634025L, prodLocSpecificKpis#634030]
Arguments: [shardId#634024 ASC NULLS FIRST, worklistShardItemId#634025L ASC NULLS FIRST], false, 0
(31) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#632615, worklistShardItemId#633127L]
Right keys [2]: [shardId#634024, worklistShardItemId#634025L]
Join type: LeftOuter
Join condition: None
(32) Project [codegen id : 7]
Output [40]: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, sourceOfSupplyUuid#633342, minimumOrderQuantity#633358, orderProposalItemId#633329, orderProposalItemGroupId#633352, optimizationGroups#633371, measurements#633369, externalProductId#633353, externalPlantId#633354, previousOrderProposal#633348L, isFallbackOrderOnly#633345, coalesce(prodLocSpecificKpis#634030, []) AS prodLocSpecificKpis#634031]
Input [42]: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, sourceOfSupplyUuid#633342, minimumOrderQuantity#633358, orderProposalItemId#633329, orderProposalItemGroupId#633352, optimizationGroups#633371, measurements#633369, externalProductId#633353, externalPlantId#633354, previousOrderProposal#633348L, isFallbackOrderOnly#633345, shardId#634024, worklistShardItemId#634025L, prodLocSpecificKpis#634030]
(33) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#634040, worklistShardItemId#634041L, qty#634042, demandChannel#634043, demandStream#634044, kpis#634045]
Arguments: [shardId#634040, worklistShardItemId#634041L, qty#634042, demandChannel#634043, demandStream#634044, kpis#634045], MapPartitionsRDD[30203] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(34) Filter [codegen id : 8]
Input [6]: [shardId#634040, worklistShardItemId#634041L, qty#634042, demandChannel#634043, demandStream#634044, kpis#634045]
Condition : ((((isnull(qty#634042) AND isnotnull(demandChannel#634043)) AND isnotnull(demandStream#634044)) AND (size(kpis#634045, true) > 0)) AND (isnotnull(shardId#634040) AND isnotnull(worklistShardItemId#634041L)))
(35) Project [codegen id : 8]
Output [5]: [shardId#634040, worklistShardItemId#634041L, demandChannel#634043, demandStream#634044, kpis#634045]
Input [6]: [shardId#634040, worklistShardItemId#634041L, qty#634042, demandChannel#634043, demandStream#634044, kpis#634045]
(36) ObjectHashAggregate
Input [5]: [shardId#634040, worklistShardItemId#634041L, demandChannel#634043, demandStream#634044, kpis#634045]
Keys [2]: [shardId#634040, worklistShardItemId#634041L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#634043, demandStream, demandStream#634044, kpis, kpis#634045), 0, 0)]
Aggregate Attributes [1]: [buf#634220]
Results [3]: [shardId#634040, worklistShardItemId#634041L, buf#634221]
(37) Exchange
Input [3]: [shardId#634040, worklistShardItemId#634041L, buf#634221]
Arguments: hashpartitioning(shardId#634040, worklistShardItemId#634041L, 20), ENSURE_REQUIREMENTS, [plan_id=261366]
(38) ObjectHashAggregate
Input [3]: [shardId#634040, worklistShardItemId#634041L, buf#634221]
Keys [2]: [shardId#634040, worklistShardItemId#634041L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#634043, demandStream, demandStream#634044, kpis, kpis#634045), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#634043, demandStream, demandStream#634044, kpis, kpis#634045), 0, 0)#634039]
Results [3]: [shardId#634040, worklistShardItemId#634041L, collect_list(struct(demandChannel, demandChannel#634043, demandStream, demandStream#634044, kpis, kpis#634045), 0, 0)#634039 AS channelStreamSpecificKpis#634032]
(39) Sort [codegen id : 9]
Input [3]: [shardId#634040, worklistShardItemId#634041L, channelStreamSpecificKpis#634032]
Arguments: [shardId#634040 ASC NULLS FIRST, worklistShardItemId#634041L ASC NULLS FIRST], false, 0
(40) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#632615, worklistShardItemId#633127L]
Right keys [2]: [shardId#634040, worklistShardItemId#634041L]
Join type: LeftOuter
Join condition: None
(41) Project [codegen id : 10]
Output [41]: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, sourceOfSupplyUuid#633342, minimumOrderQuantity#633358, orderProposalItemId#633329, orderProposalItemGroupId#633352, optimizationGroups#633371, measurements#633369, externalProductId#633353, externalPlantId#633354, previousOrderProposal#633348L, isFallbackOrderOnly#633345, prodLocSpecificKpis#634031, coalesce(channelStreamSpecificKpis#634032, []) AS channelStreamSpecificKpis#634046]
Input [43]: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, sourceOfSupplyUuid#633342, minimumOrderQuantity#633358, orderProposalItemId#633329, orderProposalItemGroupId#633352, optimizationGroups#633371, measurements#633369, externalProductId#633353, externalPlantId#633354, previousOrderProposal#633348L, isFallbackOrderOnly#633345, prodLocSpecificKpis#634031, shardId#634040, worklistShardItemId#634041L, channelStreamSpecificKpis#634032]
(42) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#634053, worklistShardItemId#634054L, qty#634055, demandChannel#634056, demandStream#634057, kpis#634058]
Arguments: [shardId#634053, worklistShardItemId#634054L, qty#634055, demandChannel#634056, demandStream#634057, kpis#634058], MapPartitionsRDD[30203] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(43) Filter [codegen id : 11]
Input [6]: [shardId#634053, worklistShardItemId#634054L, qty#634055, demandChannel#634056, demandStream#634057, kpis#634058]
Condition : ((isnotnull(qty#634055) AND isnotnull(kpis#634058)) AND (isnotnull(shardId#634053) AND isnotnull(worklistShardItemId#634054L)))
(44) Project [codegen id : 11]
Output [4]: [shardId#634053, worklistShardItemId#634054L, qty#634055, kpis#634058]
Input [6]: [shardId#634053, worklistShardItemId#634054L, qty#634055, demandChannel#634056, demandStream#634057, kpis#634058]
(45) ObjectHashAggregate
Input [4]: [shardId#634053, worklistShardItemId#634054L, qty#634055, kpis#634058]
Keys [2]: [shardId#634053, worklistShardItemId#634054L]
Functions [1]: [partial_collect_list(struct(qty, qty#634055, kpis, kpis#634058), 0, 0)]
Aggregate Attributes [1]: [buf#634222]
Results [3]: [shardId#634053, worklistShardItemId#634054L, buf#634223]
(46) Exchange
Input [3]: [shardId#634053, worklistShardItemId#634054L, buf#634223]
Arguments: hashpartitioning(shardId#634053, worklistShardItemId#634054L, 20), ENSURE_REQUIREMENTS, [plan_id=261378]
(47) ObjectHashAggregate
Input [3]: [shardId#634053, worklistShardItemId#634054L, buf#634223]
Keys [2]: [shardId#634053, worklistShardItemId#634054L]
Functions [1]: [collect_list(struct(qty, qty#634055, kpis, kpis#634058), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#634055, kpis, kpis#634058), 0, 0)#634052]
Results [3]: [shardId#634053, worklistShardItemId#634054L, map_from_entries(collect_list(struct(qty, qty#634055, kpis, kpis#634058), 0, 0)#634052) AS quantityKpis#634047]
(48) Sort [codegen id : 12]
Input [3]: [shardId#634053, worklistShardItemId#634054L, quantityKpis#634047]
Arguments: [shardId#634053 ASC NULLS FIRST, worklistShardItemId#634054L ASC NULLS FIRST], false, 0
(49) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#632615, worklistShardItemId#633127L]
Right keys [2]: [shardId#634053, worklistShardItemId#634054L]
Join type: LeftOuter
Join condition: None
(50) Project [codegen id : 13]
Output [42]: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, sourceOfSupplyUuid#633342, minimumOrderQuantity#633358, orderProposalItemId#633329, orderProposalItemGroupId#633352, optimizationGroups#633371, measurements#633369, externalProductId#633353, externalPlantId#633354, previousOrderProposal#633348L, isFallbackOrderOnly#633345, prodLocSpecificKpis#634031, channelStreamSpecificKpis#634046, coalesce(quantityKpis#634047, map(keys: [], values: [])) AS quantityKpis#634059]
Input [44]: [shardId#632615, worklistShardItemId#633127L, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633328L, originalReplenishmentRunId#633370L, supplierGroup#633330, supplier#633331, supplyingPlant#633335, productGroup#633336, product#633337, plant#633332, subrange#633334, orderDateTime#633338, deliveryDateTime#633333, availabilityDateTime#633339, nextAvailabilityDateTime#633340, constraintValues#633361, constraintOperators#633360, constraintLabels#633359, logisticUnits#633355, orderQuantityBaseUom#633356, orderQuantityBaseUomUuid#633357, splitIndicator#633347L, netPriceAmount#633364, netPriceCurrencyCode#633365, netPriceQuantity#633366, netPriceQuantityUom#633367, netPriceQuantityUomUuid#633368, sourceOfSupplyUuid#633342, minimumOrderQuantity#633358, orderProposalItemId#633329, orderProposalItemGroupId#633352, optimizationGroups#633371, measurements#633369, externalProductId#633353, externalPlantId#633354, previousOrderProposal#633348L, isFallbackOrderOnly#633345, prodLocSpecificKpis#634031, channelStreamSpecificKpis#634046, shardId#634053, worklistShardItemId#634054L, quantityKpis#634047]
(51) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#633305, channelStreamSpecificKpis#634046, constraintLabels#633317, constraintOperators#633318, constraintValues#633320, deliveryDateTime#633304, isFallbackOrderOnly#633307, logisticUnits#633322, measurements#633315, minimumOrderQuantity#633316, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, nextAvailabilityDateTime#633306, optimizationGroups#633323, orderDateTime#633303, orderProposalId#633285L, orderProposalItemGroupId#633287, orderProposalItemId#633286, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, originalReplenishmentRunId#633288L, plant#633299, previousOrderProposal#633291L, prodLocSpecificKpis#634031, product#633298, productGroup#633327, qty#633129, quantityAfterProdPlantOptimization#633128, quantityKpis#634059, shardId#632615, sourceOfSupplyUuid#633294, splitIndicator#633290L, subrange#633297, supplier#633296, supplierGroup#633295, supplyingPlant#633326]
Condition : NOT (isFallbackOrderOnly#633307 <=> true)
(52) Project [codegen id : 1]
Output [36]: [shardId#632615, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, productGroup#633327, product#633298, plant#633299, subrange#633297, orderDateTime#633303, deliveryDateTime#633304, availabilityDateTime#633305, nextAvailabilityDateTime#633306, logisticUnits#633322, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, splitIndicator#633290L, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, sourceOfSupplyUuid#633294, minimumOrderQuantity#633316, orderProposalItemId#633286, orderProposalItemGroupId#633287, optimizationGroups#633323, measurements#633315, previousOrderProposal#633291L, prodLocSpecificKpis#634031, channelStreamSpecificKpis#634046, quantityKpis#634059, arrays_zip(constraintLabels#633317, constraintOperators#633318, constraintValues#633320, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#634473]
Input [39]: [availabilityDateTime#633305, channelStreamSpecificKpis#634046, constraintLabels#633317, constraintOperators#633318, constraintValues#633320, deliveryDateTime#633304, isFallbackOrderOnly#633307, logisticUnits#633322, measurements#633315, minimumOrderQuantity#633316, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, nextAvailabilityDateTime#633306, optimizationGroups#633323, orderDateTime#633303, orderProposalId#633285L, orderProposalItemGroupId#633287, orderProposalItemId#633286, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, originalReplenishmentRunId#633288L, plant#633299, previousOrderProposal#633291L, prodLocSpecificKpis#634031, product#633298, productGroup#633327, qty#633129, quantityAfterProdPlantOptimization#633128, quantityKpis#634059, shardId#632615, sourceOfSupplyUuid#633294, splitIndicator#633290L, subrange#633297, supplier#633296, supplierGroup#633295, supplyingPlant#633326]
(53) Project
Output [37]: [shardId#632615, qty#633129, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, productGroup#633327, product#633298, plant#633299, subrange#633297, orderDateTime#633303, deliveryDateTime#633304, availabilityDateTime#633305, nextAvailabilityDateTime#633306, logisticUnits#633322, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, splitIndicator#633290L, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, sourceOfSupplyUuid#633294, orderProposalItemId#633286, orderProposalItemGroupId#633287, optimizationGroups#633323, measurements#633315, previousOrderProposal#633291L, prodLocSpecificKpis#634031, channelStreamSpecificKpis#634046, quantityKpis#634059, struct(minServiceLevel, array_min(filter(constraintStructArray#634473, lambdafunction((lambda x_1591#634480.constraintLabels = ServiceLevel), lambda x_1591#634480, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#634473, lambdafunction((lambda x_1592#634481.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_1592#634481, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#634473, lambdafunction((lambda x_1593#634482.constraintLabels = RangeOfCoverage), lambda x_1593#634482, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#633316, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#634031, lambdafunction((lambda x_1594#634483.label = NonListingStartTimestamp), lambda x_1594#634483, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#634479, CASE WHEN (qty#633129 <=> quantityAfterProdPlantOptimization#633128) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#633129 * (cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1595#634551.isOrderUnit, lambda x_1595#634551, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1595#634552.isOrderUnit, lambda x_1595#634552, false)), 1, None, false).numerator as double))), qty#633129), orderQuantityUom, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1595#634553.isOrderUnit, lambda x_1595#634553, false)), 1, None, false).uom, orderQuantityBaseUom#633308), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1595#634554.isOrderUnit, lambda x_1595#634554, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#633309), candidateOrderQuantityInBaseUnit, qty#633129, orderQuantityBaseUom, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#633309, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#633322, lambdafunction((lambda x_1597#634555.isPreferred AND (((qty#633129 * cast(lambda x_1597#634555.denominator as double)) % cast(lambda x_1597#634555.numerator as double)) = 0.0)), lambda x_1597#634555, false)), lambdafunction(struct(inPreferredQuantity, ((qty#633129 * cast(lambda x_1598#634593.denominator as double)) / cast(lambda x_1598#634593.numerator as double)), uom, lambda x_1598#634593.uom, uomUuid, lambda x_1598#634593.uomUuid), lambda x_1598#634593, false))).inPreferredQuantity, coalesce((qty#633129 * (cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1596#634556.isOrderUnit, lambda x_1596#634556, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1596#634557.isOrderUnit, lambda x_1596#634557, false)), 1, None, false).numerator as double))), qty#633129)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#633322, lambdafunction((lambda x_1597#634558.isPreferred AND (((qty#633129 * cast(lambda x_1597#634558.denominator as double)) % cast(lambda x_1597#634558.numerator as double)) = 0.0)), lambda x_1597#634558, false)), lambdafunction(struct(inPreferredQuantity, ((qty#633129 * cast(lambda x_1598#634594.denominator as double)) / cast(lambda x_1598#634594.numerator as double)), uom, lambda x_1598#634594.uom, uomUuid, lambda x_1598#634594.uomUuid), lambda x_1598#634594, false))).uom, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1596#634559.isOrderUnit, lambda x_1596#634559, false)), 1, None, false).uom, orderQuantityBaseUom#633308)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#633322, lambdafunction((lambda x_1597#634560.isPreferred AND (((qty#633129 * cast(lambda x_1597#634560.denominator as double)) % cast(lambda x_1597#634560.numerator as double)) = 0.0)), lambda x_1597#634560, false)), lambdafunction(struct(inPreferredQuantity, ((qty#633129 * cast(lambda x_1598#634595.denominator as double)) / cast(lambda x_1598#634595.numerator as double)), uom, lambda x_1598#634595.uom, uomUuid, lambda x_1598#634595.uomUuid), lambda x_1598#634595, false))).uomUuid, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1596#634561.isOrderUnit, lambda x_1596#634561, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#633309)), serviceLevel, coalesce(filter(element_at(quantityKpis#634059, qty#633129, None, false), lambdafunction((lambda x_1603#634562.label = ServiceLevel), lambda x_1603#634562, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#633129 * (cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1595#634565.isOrderUnit, lambda x_1595#634565, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1595#634566.isOrderUnit, lambda x_1595#634566, false)), 1, None, false).numerator as double))), qty#633129), orderQuantityUom, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1595#634567.isOrderUnit, lambda x_1595#634567, false)), 1, None, false).uom, orderQuantityBaseUom#633308), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1595#634568.isOrderUnit, lambda x_1595#634568, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#633309), candidateOrderQuantityInBaseUnit, qty#633129, orderQuantityBaseUom, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#633309, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#633322, lambdafunction((lambda x_1597#634569.isPreferred AND (((qty#633129 * cast(lambda x_1597#634569.denominator as double)) % cast(lambda x_1597#634569.numerator as double)) = 0.0)), lambda x_1597#634569, false)), lambdafunction(struct(inPreferredQuantity, ((qty#633129 * cast(lambda x_1598#634596.denominator as double)) / cast(lambda x_1598#634596.numerator as double)), uom, lambda x_1598#634596.uom, uomUuid, lambda x_1598#634596.uomUuid), lambda x_1598#634596, false))).inPreferredQuantity, coalesce((qty#633129 * (cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1596#634570.isOrderUnit, lambda x_1596#634570, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1596#634571.isOrderUnit, lambda x_1596#634571, false)), 1, None, false).numerator as double))), qty#633129)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#633322, lambdafunction((lambda x_1597#634572.isPreferred AND (((qty#633129 * cast(lambda x_1597#634572.denominator as double)) % cast(lambda x_1597#634572.numerator as double)) = 0.0)), lambda x_1597#634572, false)), lambdafunction(struct(inPreferredQuantity, ((qty#633129 * cast(lambda x_1598#634597.denominator as double)) / cast(lambda x_1598#634597.numerator as double)), uom, lambda x_1598#634597.uom, uomUuid, lambda x_1598#634597.uomUuid), lambda x_1598#634597, false))).uom, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1596#634573.isOrderUnit, lambda x_1596#634573, false)), 1, None, false).uom, orderQuantityBaseUom#633308)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#633322, lambdafunction((lambda x_1597#634574.isPreferred AND (((qty#633129 * cast(lambda x_1597#634574.denominator as double)) % cast(lambda x_1597#634574.numerator as double)) = 0.0)), lambda x_1597#634574, false)), lambdafunction(struct(inPreferredQuantity, ((qty#633129 * cast(lambda x_1598#634598.denominator as double)) / cast(lambda x_1598#634598.numerator as double)), uom, lambda x_1598#634598.uom, uomUuid, lambda x_1598#634598.uomUuid), lambda x_1598#634598, false))).uomUuid, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1596#634575.isOrderUnit, lambda x_1596#634575, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#633309)), serviceLevel, coalesce(filter(element_at(quantityKpis#634059, qty#633129, None, false), lambdafunction((lambda x_1606#634576.label = ServiceLevel), lambda x_1606#634576, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#633128 * (cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1599#634579.isOrderUnit, lambda x_1599#634579, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1599#634580.isOrderUnit, lambda x_1599#634580, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#633128), orderQuantityUom, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1599#634581.isOrderUnit, lambda x_1599#634581, false)), 1, None, false).uom, orderQuantityBaseUom#633308), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1599#634582.isOrderUnit, lambda x_1599#634582, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#633309), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#633128, orderQuantityBaseUom, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#633309, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#633322, lambdafunction((lambda x_1601#634583.isPreferred AND (((quantityAfterProdPlantOptimization#633128 * cast(lambda x_1601#634583.denominator as double)) % cast(lambda x_1601#634583.numerator as double)) = 0.0)), lambda x_1601#634583, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#633128 * cast(lambda x_1602#634599.denominator as double)) / cast(lambda x_1602#634599.numerator as double)), uom, lambda x_1602#634599.uom, uomUuid, lambda x_1602#634599.uomUuid), lambda x_1602#634599, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#633128 * (cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1600#634584.isOrderUnit, lambda x_1600#634584, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1600#634585.isOrderUnit, lambda x_1600#634585, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#633128)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#633322, lambdafunction((lambda x_1601#634586.isPreferred AND (((quantityAfterProdPlantOptimization#633128 * cast(lambda x_1601#634586.denominator as double)) % cast(lambda x_1601#634586.numerator as double)) = 0.0)), lambda x_1601#634586, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#633128 * cast(lambda x_1602#634600.denominator as double)) / cast(lambda x_1602#634600.numerator as double)), uom, lambda x_1602#634600.uom, uomUuid, lambda x_1602#634600.uomUuid), lambda x_1602#634600, false))).uom, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1600#634587.isOrderUnit, lambda x_1600#634587, false)), 1, None, false).uom, orderQuantityBaseUom#633308)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#633322, lambdafunction((lambda x_1601#634588.isPreferred AND (((quantityAfterProdPlantOptimization#633128 * cast(lambda x_1601#634588.denominator as double)) % cast(lambda x_1601#634588.numerator as double)) = 0.0)), lambda x_1601#634588, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#633128 * cast(lambda x_1602#634601.denominator as double)) / cast(lambda x_1602#634601.numerator as double)), uom, lambda x_1602#634601.uom, uomUuid, lambda x_1602#634601.uomUuid), lambda x_1602#634601, false))).uomUuid, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1600#634589.isOrderUnit, lambda x_1600#634589, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#633309)), serviceLevel, coalesce(filter(element_at(quantityKpis#634059, quantityAfterProdPlantOptimization#633128, None, false), lambdafunction((lambda x_1609#634590.label = ServiceLevel), lambda x_1609#634590, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#634550, coalesce(filter(prodLocSpecificKpis#634031, lambdafunction((lambda x_1612#634603.label = InitialStockQty), lambda x_1612#634603, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#634602, coalesce(filter(prodLocSpecificKpis#634031, lambdafunction((lambda x_1613#634605.label = DemandPeriodEndTimestamp), lambda x_1613#634605, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#634604]
Input [36]: [shardId#632615, quantityAfterProdPlantOptimization#633128, qty#633129, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, productGroup#633327, product#633298, plant#633299, subrange#633297, orderDateTime#633303, deliveryDateTime#633304, availabilityDateTime#633305, nextAvailabilityDateTime#633306, logisticUnits#633322, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, splitIndicator#633290L, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, sourceOfSupplyUuid#633294, minimumOrderQuantity#633316, orderProposalItemId#633286, orderProposalItemGroupId#633287, optimizationGroups#633323, measurements#633315, previousOrderProposal#633291L, prodLocSpecificKpis#634031, channelStreamSpecificKpis#634046, quantityKpis#634059, constraintStructArray#634473]
(54) Project
Output [21]: [shardId#632615, qty#633129, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, productGroup#633327, product#633298, plant#633299, subrange#633297, orderDateTime#633303, deliveryDateTime#633304, logisticUnits#633322, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, splitIndicator#633290L, orderProposalItemId#633286, orderProposalItemGroupId#633287, previousOrderProposal#633291L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#633296, supplyingPlant, supplyingPlant#633326, productGroup, productGroup#633327, product, product#633298, plant, plant#633299, supplierSubRange, subrange#633297, sourceOfSupplyUuid, sourceOfSupplyUuid#633294, deliveryDateTime, deliveryDateTime#633304, unitPrice, netPriceAmount#633313, unitPriceCurrency, netPriceCurrencyCode#633314, unitPriceQuantity, ... 37 more fields) AS parentItem#634684]
Input [37]: [shardId#632615, qty#633129, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, productGroup#633327, product#633298, plant#633299, subrange#633297, orderDateTime#633303, deliveryDateTime#633304, availabilityDateTime#633305, nextAvailabilityDateTime#633306, logisticUnits#633322, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, splitIndicator#633290L, netPriceAmount#633313, netPriceCurrencyCode#633314, netPriceQuantity#633310, netPriceQuantityUom#633311, netPriceQuantityUomUuid#633312, sourceOfSupplyUuid#633294, orderProposalItemId#633286, orderProposalItemGroupId#633287, optimizationGroups#633323, measurements#633315, previousOrderProposal#633291L, prodLocSpecificKpis#634031, channelStreamSpecificKpis#634046, quantityKpis#634059, constraintBenchmark#634479, calculationAnalysis#634550, inventoryDateTime#634602, demandPeriodEndDateTime#634604]
(55) Project
Output [12]: [shardId#632615, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, orderDateTime#633303, splitIndicator#633290L, orderProposalItemGroupId#633287, previousOrderProposal#633291L, parentItem#634684, struct(itemId, orderProposalItemId#633286, supplier, supplier#633296, supplyingPlant, supplyingPlant#633326, productGroup, productGroup#633327, product, product#633298, plant, plant#633299, supplierSubRange, subrange#633297, deliveryDateTime, deliveryDateTime#633304, orderQuantity, coalesce((qty#633129 * (cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1637#634718.isOrderUnit, lambda x_1637#634718, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1637#634719.isOrderUnit, lambda x_1637#634719, false)), 1, None, false).numerator as double))), qty#633129), orderQuantityUom, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1637#634720.isOrderUnit, lambda x_1637#634720, false)), 1, None, false).uom, orderQuantityBaseUom#633308), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#633322, lambdafunction(lambda x_1637#634721.isOrderUnit, lambda x_1637#634721, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#633309), orderQuantityInBaseUnit, qty#633129, orderQuantityBaseUom, ... 13 more fields) AS item#634715]
Input [21]: [shardId#632615, qty#633129, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, productGroup#633327, product#633298, plant#633299, subrange#633297, orderDateTime#633303, deliveryDateTime#633304, logisticUnits#633322, orderQuantityBaseUom#633308, orderQuantityBaseUomUuid#633309, splitIndicator#633290L, orderProposalItemId#633286, orderProposalItemGroupId#633287, previousOrderProposal#633291L, parentItem#634684]
(56) ObjectHashAggregate
Input [12]: [shardId#632615, orderProposalId#633285L, originalReplenishmentRunId#633288L, supplierGroup#633295, supplier#633296, supplyingPlant#633326, orderDateTime#633303, splitIndicator#633290L, orderProposalItemGroupId#633287, previousOrderProposal#633291L, parentItem#634684, item#634715]
Keys [4]: [shardId#632615, orderProposalId#633285L, splitIndicator#633290L, orderProposalItemGroupId#633287]
Functions [8]: [partial_max(originalReplenishmentRunId#633288L), partial_max(supplierGroup#633295), partial_max(supplier#633296), partial_max(supplyingPlant#633326), partial_max(orderDateTime#633303), partial_collect_list(parentItem#634684, 0, 0), partial_collect_set(previousOrderProposal#633291L, 0, 0), partial_collect_list(item#634715, 0, 0)]
Aggregate Attributes [8]: [max#635976L, max#635977, max#635978, max#635979, max#635980, buf#635981, buf#635982, buf#635983]
Results [12]: [shardId#632615, orderProposalId#633285L, splitIndicator#633290L, orderProposalItemGroupId#633287, max#635984L, max#635985, max#635986, max#635987, max#635988, buf#635989, buf#635990, buf#635991]
(57) Exchange
Input [12]: [shardId#632615, orderProposalId#633285L, splitIndicator#633290L, orderProposalItemGroupId#633287, max#635984L, max#635985, max#635986, max#635987, max#635988, buf#635989, buf#635990, buf#635991]
Arguments: hashpartitioning(shardId#632615, orderProposalId#633285L, splitIndicator#633290L, orderProposalItemGroupId#633287, 20), ENSURE_REQUIREMENTS, [plan_id=261621]
(58) ObjectHashAggregate
Input [12]: [shardId#632615, orderProposalId#633285L, splitIndicator#633290L, orderProposalItemGroupId#633287, max#635984L, max#635985, max#635986, max#635987, max#635988, buf#635989, buf#635990, buf#635991]
Keys [4]: [shardId#632615, orderProposalId#633285L, splitIndicator#633290L, orderProposalItemGroupId#633287]
Functions [8]: [max(originalReplenishmentRunId#633288L), max(supplierGroup#633295), max(supplier#633296), max(supplyingPlant#633326), max(orderDateTime#633303), collect_list(parentItem#634684, 0, 0), collect_set(previousOrderProposal#633291L, 0, 0), collect_list(item#634715, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#633288L)#634784L, max(supplierGroup#633295)#634785, max(supplier#633296)#634786, max(supplyingPlant#633326)#634787, max(orderDateTime#633303)#634788, collect_list(parentItem#634684, 0, 0)#634789, collect_set(previousOrderProposal#633291L, 0, 0)#634791, collect_list(item#634715, 0, 0)#634790]
Results [10]: [shardId#632615, orderProposalId#633285L, max(originalReplenishmentRunId#633288L)#634784L AS originalReplenishmentRunId#634732L, max(supplierGroup#633295)#634785 AS supplierGroup#634733, max(supplier#633296)#634786 AS supplier#634734, max(supplyingPlant#633326)#634787 AS supplyingPlant#634735, max(orderDateTime#633303)#634788 AS orderDateTime#634736, collect_list(parentItem#634684, 0, 0)#634789 AS parentItems#634737, collect_set(previousOrderProposal#633291L, 0, 0)#634791 AS previousOrderProposals#634739, struct(itemGroupId, coalesce(orderProposalItemGroupId#633287, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#634715, 0, 0)#634790) AS itemGroup#634793]
(59) ObjectHashAggregate
Input [10]: [shardId#632615, orderProposalId#633285L, originalReplenishmentRunId#634732L, supplierGroup#634733, supplier#634734, supplyingPlant#634735, orderDateTime#634736, parentItems#634737, previousOrderProposals#634739, itemGroup#634793]
Keys [2]: [shardId#632615, orderProposalId#633285L]
Functions [8]: [partial_max(originalReplenishmentRunId#634732L), partial_max(supplierGroup#634733), partial_max(supplier#634734), partial_max(supplyingPlant#634735), partial_max(orderDateTime#634736), partial_collect_list(itemGroup#634793, 0, 0), partial_collect_list(parentItems#634737, 0, 0), partial_collect_set(previousOrderProposals#634739, 0, 0)]
Aggregate Attributes [8]: [max#635960L, max#635961, max#635962, max#635963, max#635964, buf#635965, buf#635966, buf#635967]
Results [10]: [shardId#632615, orderProposalId#633285L, max#635968L, max#635969, max#635970, max#635971, max#635972, buf#635973, buf#635974, buf#635975]
(60) Exchange
Input [10]: [shardId#632615, orderProposalId#633285L, max#635968L, max#635969, max#635970, max#635971, max#635972, buf#635973, buf#635974, buf#635975]
Arguments: hashpartitioning(shardId#632615, orderProposalId#633285L, 20), ENSURE_REQUIREMENTS, [plan_id=261624]
(61) ObjectHashAggregate
Input [10]: [shardId#632615, orderProposalId#633285L, max#635968L, max#635969, max#635970, max#635971, max#635972, buf#635973, buf#635974, buf#635975]
Keys [2]: [shardId#632615, orderProposalId#633285L]
Functions [8]: [max(originalReplenishmentRunId#634732L), max(supplierGroup#634733), max(supplier#634734), max(supplyingPlant#634735), max(orderDateTime#634736), collect_list(itemGroup#634793, 0, 0), collect_list(parentItems#634737, 0, 0), collect_set(previousOrderProposals#634739, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#634732L)#634815L, max(supplierGroup#634733)#634816, max(supplier#634734)#634817, max(supplyingPlant#634735)#634818, max(orderDateTime#634736)#634819, collect_list(itemGroup#634793, 0, 0)#634820, collect_list(parentItems#634737, 0, 0)#634821, collect_set(previousOrderProposals#634739, 0, 0)#634822]
Results [10]: [shardId#632615, orderProposalId#633285L, max(originalReplenishmentRunId#634732L)#634815L AS originalReplenishmentRunId#634794L, max(supplierGroup#634733)#634816 AS supplierGroup#634795, max(supplier#634734)#634817 AS supplier#634796, max(supplyingPlant#634735)#634818 AS supplyingPlant#634797, max(orderDateTime#634736)#634819 AS orderDateTime#634798, collect_list(itemGroup#634793, 0, 0)#634820 AS itemGroups#634799, flatten(collect_list(parentItems#634737, 0, 0)#634821) AS parentItems#634800, flatten(collect_set(previousOrderProposals#634739, 0, 0)#634822) AS previousOrderProposals#634801]
(62) Project
Output [2]: [shardId#632615, struct(orderProposalId, orderProposalId#633285L, originalReplenishmentRunId, originalReplenishmentRunId#634794L, supplierGroup, supplierGroup#634795, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#634795) THEN supplier#634796 END, supplyingPlant, supplyingPlant#634797, orderDateTime, orderDateTime#634798, itemGroups, itemGroups#634799, previousOrderProposals, array_distinct(previousOrderProposals#634801), parentItems, parentItems#634800) AS orderProposal#634826]
Input [10]: [shardId#632615, orderProposalId#633285L, originalReplenishmentRunId#634794L, supplierGroup#634795, supplier#634796, supplyingPlant#634797, orderDateTime#634798, itemGroups#634799, parentItems#634800, previousOrderProposals#634801]
(63) Project
Output [11]: [shardId#632615, orderProposal#634826.orderProposalId AS _extract_orderProposalId#635592L, orderProposal#634826.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#635593L, orderProposal#634826.supplierGroup AS _extract_supplierGroup#635594, orderProposal#634826.supplier AS _extract_supplier#635595, orderProposal#634826.supplyingPlant AS _extract_supplyingPlant#635596, orderProposal#634826.orderDateTime AS _extract_orderDateTime#635597, orderProposal#634826.itemGroups AS _extract_itemGroups#635598, orderProposal#634826.previousOrderProposals AS _extract_previousOrderProposals#635599, orderProposal#634826.parentItems AS _extract_parentItems#635600, orderProposal#634826.orderProposalId AS _extract_orderProposalId#635601L]
Input [2]: [shardId#632615, orderProposal#634826]
(64) Exchange
Input [11]: [shardId#632615, _extract_orderProposalId#635592L, _extract_originalReplenishmentRunId#635593L, _extract_supplierGroup#635594, _extract_supplier#635595, _extract_supplyingPlant#635596, _extract_orderDateTime#635597, _extract_itemGroups#635598, _extract_previousOrderProposals#635599, _extract_parentItems#635600, _extract_orderProposalId#635601L]
Arguments: hashpartitioning(coalesce(shardId#632615, ), isnull(shardId#632615), coalesce(_extract_orderProposalId#635601L, 0), isnull(_extract_orderProposalId#635601L), 20), ENSURE_REQUIREMENTS, [plan_id=261628]
(65) Sort
Input [11]: [shardId#632615, _extract_orderProposalId#635592L, _extract_originalReplenishmentRunId#635593L, _extract_supplierGroup#635594, _extract_supplier#635595, _extract_supplyingPlant#635596, _extract_orderDateTime#635597, _extract_itemGroups#635598, _extract_previousOrderProposals#635599, _extract_parentItems#635600, _extract_orderProposalId#635601L]
Arguments: [coalesce(shardId#632615, ) ASC NULLS FIRST, isnull(shardId#632615) ASC NULLS FIRST, coalesce(_extract_orderProposalId#635601L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#635601L) ASC NULLS FIRST], false, 0
(66) InMemoryTableScan
Output [3]: [shardId#634849, orderProposalId#634850L, optimizationGroups#634852]
Arguments: [shardId#634849, orderProposalId#634850L, optimizationGroups#634852], [isnotnull(orderProposalId#634850L)]
(67) InMemoryRelation
Arguments: [shardId#634849, orderProposalId#634850L, items#634851, optimizationGroups#634852, isOptimal#634853, optimizationInsights#634855], StorageLevel(disk, memory, 2 replicas)
(68) Filter [codegen id : 2]
Input [3]: [shardId#634849, orderProposalId#634850L, optimizationGroups#634852]
Condition : isnotnull(orderProposalId#634850L)
(69) BroadcastExchange
Input [3]: [shardId#634849, orderProposalId#634850L, optimizationGroups#634852]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=261633]
(70) InMemoryTableScan
Output [2]: [items#634468, shardId#634466]
Arguments: [items#634468, shardId#634466], [(size(items#634468.worklistShardItemId, true) > 0), isnotnull(items#634468.worklistShardItemId), (shardId#634466 = 0_1_10000002107)]
(71) InMemoryRelation
Arguments: [shardId#634466, orderProposalId#634467L, items#634468, optimizationGroups#634469, isOptimal#634470, optimizationInsights#634472], StorageLevel(disk, memory, 2 replicas)
(72) Filter [codegen id : 3]
Input [2]: [items#634468, shardId#634466]
Condition : (((size(items#634468.worklistShardItemId, true) > 0) AND isnotnull(items#634468.worklistShardItemId)) AND (shardId#634466 = 0_1_10000002107))
(73) Project [codegen id : 3]
Output [1]: [items#634468.worklistShardItemId AS _extract_worklistShardItemId#635497]
Input [2]: [items#634468, shardId#634466]
(74) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#635497]
Arguments: explode(_extract_worklistShardItemId#635497), false, [item#634856L]
(75) Project [codegen id : 3]
Output [1]: [item#634856L AS worklistShardItemId#634857L]
Input [1]: [item#634856L]
(76) BroadcastExchange
Input [1]: [worklistShardItemId#634857L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=261641]
(77) Scan parquet
Output [5]: [orderProposalId#634905L, isFallbackOrderOnly#634922, worklistShardItemId#634928L, shardId#634949, sequenceId#634927]
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#634949), isnotnull(sequenceId#634927), (shardId#634949 = 0_1_10000002107), (sequenceId#634927 = 3)]
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#634905L, isFallbackOrderOnly#634922, worklistShardItemId#634928L, shardId#634949, sequenceId#634927]
(79) Filter [codegen id : 4]
Input [5]: [orderProposalId#634905L, isFallbackOrderOnly#634922, worklistShardItemId#634928L, shardId#634949, sequenceId#634927]
Condition : ((isnotnull(worklistShardItemId#634928L) AND NOT (isFallbackOrderOnly#634922 <=> true)) AND isnotnull(orderProposalId#634905L))
(80) Project [codegen id : 4]
Output [2]: [orderProposalId#634905L, worklistShardItemId#634928L]
Input [5]: [orderProposalId#634905L, isFallbackOrderOnly#634922, worklistShardItemId#634928L, shardId#634949, sequenceId#634927]
(81) Exchange
Input [2]: [orderProposalId#634905L, worklistShardItemId#634928L]
Arguments: hashpartitioning(worklistShardItemId#634928L, 20), REPARTITION_BY_NUM, [plan_id=261648]
(82) Project
Output [2]: [worklistShardItemId#634928L, orderProposalId#634905L]
Input [2]: [orderProposalId#634905L, worklistShardItemId#634928L]
(83) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#634857L]
Right keys [1]: [worklistShardItemId#634928L]
Join type: Inner
Join condition: None
(84) Project [codegen id : 5]
Output [1]: [orderProposalId#634905L]
Input [3]: [worklistShardItemId#634857L, worklistShardItemId#634928L, orderProposalId#634905L]
(85) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#634905L]
Keys [1]: [orderProposalId#634905L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#634905L]
(86) Exchange
Input [1]: [orderProposalId#634905L]
Arguments: hashpartitioning(orderProposalId#634905L, 20), ENSURE_REQUIREMENTS, [plan_id=261655]
(87) HashAggregate
Input [1]: [orderProposalId#634905L]
Keys [1]: [orderProposalId#634905L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#634905L]
(88) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#634850L]
Right keys [1]: [orderProposalId#634905L]
Join type: Inner
Join condition: None
(89) Project
Output [3]: [orderProposalId#634850L, shardId#634849, coalesce(transform(optimizationGroups#634852, lambdafunction(struct(optGroupId, lambda x_1641#634847.optGroupId, minOrderProfile, lambda x_1641#634847.minOrderProfile, assignmentDetails, lambda x_1641#634847.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_1641#634847.minOrderGoal.dimensionType, unit, lambda x_1641#634847.minOrderGoal.unit, unitUuid, lambda x_1641#634847.minOrderGoal.unitUuid, goalValue, lambda x_1641#634847.minOrderGoal.minOrderValue, calcValue, lambda x_1641#634847.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_1641#634847, false)), []) AS optimizationGroups#634846]
Input [4]: [shardId#634849, orderProposalId#634850L, optimizationGroups#634852, orderProposalId#634905L]
(90) Exchange
Input [3]: [orderProposalId#634850L, shardId#634849, optimizationGroups#634846]
Arguments: hashpartitioning(coalesce(shardId#634849, ), isnull(shardId#634849), coalesce(orderProposalId#634850L, 0), isnull(orderProposalId#634850L), 20), ENSURE_REQUIREMENTS, [plan_id=261661]
(91) Sort [codegen id : 7]
Input [3]: [orderProposalId#634850L, shardId#634849, optimizationGroups#634846]
Arguments: [coalesce(shardId#634849, ) ASC NULLS FIRST, isnull(shardId#634849) ASC NULLS FIRST, coalesce(orderProposalId#634850L, 0) ASC NULLS FIRST, isnull(orderProposalId#634850L) ASC NULLS FIRST], false, 0
(92) SortMergeJoin
Left keys [4]: [coalesce(shardId#632615, ), isnull(shardId#632615), coalesce(_extract_orderProposalId#635601L, 0), isnull(_extract_orderProposalId#635601L)]
Right keys [4]: [coalesce(shardId#634849, ), isnull(shardId#634849), coalesce(orderProposalId#634850L, 0), isnull(orderProposalId#634850L)]
Join type: LeftOuter
Join condition: None
(93) Project
Output [2]: [shardId#632615, named_struct(orderProposalId, _extract_orderProposalId#635601L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#635593L, supplierGroup, _extract_supplierGroup#635594, optimizationGroups, coalesce(optimizationGroups#634846, []), supplier, _extract_supplier#635595, supplyingPlant, _extract_supplyingPlant#635596, orderDateTime, _extract_orderDateTime#635597, itemGroups, _extract_itemGroups#635598, previousOrderProposals, _extract_previousOrderProposals#635599, parentItems, _extract_parentItems#635600) AS orderProposal#634953]
Input [14]: [shardId#632615, _extract_orderProposalId#635592L, _extract_originalReplenishmentRunId#635593L, _extract_supplierGroup#635594, _extract_supplier#635595, _extract_supplyingPlant#635596, _extract_orderDateTime#635597, _extract_itemGroups#635598, _extract_previousOrderProposals#635599, _extract_parentItems#635600, _extract_orderProposalId#635601L, orderProposalId#634850L, shardId#634849, optimizationGroups#634846]
(94) Filter
Input [1]: [orderProposal#634953]
Condition : (size(orderProposal#634953.parentItems.deliveryDateTime, true) > 0)
(95) Project
Output [1]: [orderProposal#634953.parentItems.deliveryDateTime AS _extract_deliveryDateTime#636372]
Input [1]: [orderProposal#634953]
(96) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#636372]
Arguments: explode(_extract_deliveryDateTime#636372), false, [numberOfOrderProposalItems#636344]
(97) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#636344]
(98) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#636383L]
Results [1]: [count#636384L]
(99) Exchange
Input [1]: [count#636384L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=261779]
(100) HashAggregate [codegen id : 2]
Input [1]: [count#636384L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#636349L]
Results [1]: [count(1)#636349L AS count#636345L]