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: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 1080.0 B<br>merged fetch fallback count: 0<br>local blocks read: 15<br>remote merged chunks fetched: 0<br>remote blocks read: 15<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 1328443.0: task 2468032))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 0 ms (stage 1328443.0: task 2468033))<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: 1080.0 B<br>number of partitions: 1<br>remote reqs duration: 4 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.1 KiB (72.0 B, 72.0 B, 72.0 B (stage 1328443.0: task 2468032))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=2877465]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n24 ms (0 ms, 0 ms, 3 ms (stage 1328443.0: task 2468025))";
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>9 ms (0 ms, 0 ms, 3 ms (stage 1328443.0: task 2468031))<br>number of output rows: 30" 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#5547710), false, [numberOfOrderProposalItems#5547682]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#5546307.parentItems.deliveryDateTime AS _extract_deliveryDateTime#5547710]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (size(orderProposal#5546307.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [orderProposal#5546307], [(size(orderProposal#5546307.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, named_struct(orderProposalId, _extract_orderProposalId#5546955L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#5546947L, supplierGroup, _extract_supplierGroup#5546948, optimizationGroups, coalesce(optimizationGroups#5546200, []), supplier, _extract_supplier#5546949, supplyingPlant, _extract_supplyingPlant#5546950, orderDateTime, _extract_orderDateTime#5546951, itemGroups, _extract_itemGroups#5546952, previousOrderProposals, _extract_previousOrderProposals#5546953, parentItems, _extract_parentItems#5546954) AS orderProposal#5546307]"];
11 [id="node11" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [coalesce(shardId#5543988, ), isnull(shardId#5543988), coalesce(_extract_orderProposalId#5546955L, 0), isnull(_extract_orderProposalId#5546955L)], [coalesce(shardId#5546203, ), isnull(shardId#5546203), coalesce(orderProposalId#5546204L, 0), isnull(orderProposalId#5546204L)], LeftOuter, BuildRight, false"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, orderProposal#5546190.orderProposalId AS _extract_orderProposalId#5546946L, orderProposal#5546190.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#5546947L, orderProposal#5546190.supplierGroup AS _extract_supplierGroup#5546948, orderProposal#5546190.supplier AS _extract_supplier#5546949, orderProposal#5546190.supplyingPlant AS _extract_supplyingPlant#5546950, orderProposal#5546190.orderDateTime AS _extract_orderDateTime#5546951, orderProposal#5546190.itemGroups AS _extract_itemGroups#5546952, orderProposal#5546190.previousOrderProposals AS _extract_previousOrderProposals#5546953, orderProposal#5546190.parentItems AS _extract_parentItems#5546954, orderProposal#5546190.orderProposalId AS _extract_orderProposalId#5546955L]"];
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, struct(orderProposalId, orderProposalId#5544658L, originalReplenishmentRunId, originalReplenishmentRunId#5546158L, supplierGroup, supplierGroup#5546159, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#5546159) THEN supplier#5546160 END, supplyingPlant, supplyingPlant#5546161, orderDateTime, orderDateTime#5546162, itemGroups, itemGroups#5546163, previousOrderProposals, array_distinct(previousOrderProposals#5546165), parentItems, parentItems#5546164) AS orderProposal#5546190]"];
14 [id="node14" 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 1328443.0: task 2468032))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#5543988, orderProposalId#5544658L], functions=[max(originalReplenishmentRunId#5546096L), max(supplierGroup#5546097), max(supplier#5546098), max(supplyingPlant#5546099), max(orderDateTime#5546100), collect_list(itemGroup#5546157, 0, 0), collect_list(parentItems#5546101, 0, 0), collect_set(previousOrderProposals#5546103, 0, 0)])"];
15 [id="node15" 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: 30<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#5543988, orderProposalId#5544658L, 30), ENSURE_REQUIREMENTS, [plan_id=2877324]"];
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 1328442.0: task 2467999))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#5543988, orderProposalId#5544658L], functions=[partial_max(originalReplenishmentRunId#5546096L), partial_max(supplierGroup#5546097), partial_max(supplier#5546098), partial_max(supplyingPlant#5546099), partial_max(orderDateTime#5546100), partial_collect_list(itemGroup#5546157, 0, 0), partial_collect_list(parentItems#5546101, 0, 0), partial_collect_set(previousOrderProposals#5546103, 0, 0)])"];
17 [id="node17" 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 1328442.0: task 2467999))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#5543988, orderProposalId#5544658L, splitIndicator#5544663L, orderProposalItemGroupId#5544660], functions=[max(originalReplenishmentRunId#5544661L), max(supplierGroup#5544668), max(supplier#5544669), max(supplyingPlant#5544699), max(orderDateTime#5544676), collect_list(parentItem#5546048, 0, 0), collect_set(previousOrderProposal#5544664L, 0, 0), collect_list(item#5546079, 0, 0)])"];
18 [id="node18" 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: 30<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#5543988, orderProposalId#5544658L, splitIndicator#5544663L, orderProposalItemGroupId#5544660, 30), ENSURE_REQUIREMENTS, [plan_id=2877321]"];
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>20 ms (0 ms, 0 ms, 3 ms (stage 1328441.0: task 2467918))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#5543988, orderProposalId#5544658L, splitIndicator#5544663L, orderProposalItemGroupId#5544660], functions=[partial_max(originalReplenishmentRunId#5544661L), partial_max(supplierGroup#5544668), partial_max(supplier#5544669), partial_max(supplyingPlant#5544699), partial_max(orderDateTime#5544676), partial_collect_list(parentItem#5546048, 0, 0), partial_collect_set(previousOrderProposal#5544664L, 0, 0), partial_collect_list(item#5546079, 0, 0)])"];
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, orderDateTime#5544676, splitIndicator#5544663L, orderProposalItemGroupId#5544660, previousOrderProposal#5544664L, parentItem#5546048, struct(itemId, orderProposalItemId#5544659, supplier, supplier#5544669, supplyingPlant, supplyingPlant#5544699, productGroup, productGroup#5544700, product, product#5544671, plant, plant#5544672, supplierSubRange, subrange#5544670, deliveryDateTime, deliveryDateTime#5544677, orderQuantity, coalesce((qty#5544502 * (cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10977#5546082.isOrderUnit, lambda x_10977#5546082, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10977#5546083.isOrderUnit, lambda x_10977#5546083, false)), 1, None, false).numerator as double))), qty#5544502), orderQuantityUom, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10977#5546084.isOrderUnit, lambda x_10977#5546084, false)), 1, None, false).uom, orderQuantityBaseUom#5544681), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10977#5546085.isOrderUnit, lambda x_10977#5546085, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#5544682), orderQuantityInBaseUnit, qty#5544502, orderQuantityBaseUom, ... 13 more fields) AS item#5546079]"];
21 [id="node21" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, qty#5544502, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, productGroup#5544700, product#5544671, plant#5544672, subrange#5544670, orderDateTime#5544676, deliveryDateTime#5544677, logisticUnits#5544695, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, splitIndicator#5544663L, orderProposalItemId#5544659, orderProposalItemGroupId#5544660, previousOrderProposal#5544664L, struct(supplier, supplier#5544669, supplyingPlant, supplyingPlant#5544699, productGroup, productGroup#5544700, product, product#5544671, plant, plant#5544672, supplierSubRange, subrange#5544670, sourceOfSupplyUuid, sourceOfSupplyUuid#5544667, deliveryDateTime, deliveryDateTime#5544677, unitPrice, netPriceAmount#5544686, unitPriceCurrency, netPriceCurrencyCode#5544687, unitPriceQuantity, netPriceQuantity#5544683, unitPriceQuantityUom, netPriceQuantityUom#5544684, unitPriceQuantityUomUuid, ... 31 more fields) AS parentItem#5546048]"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, qty#5544502, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, productGroup#5544700, product#5544671, plant#5544672, subrange#5544670, orderDateTime#5544676, deliveryDateTime#5544677, availabilityDateTime#5544678, nextAvailabilityDateTime#5544679, logisticUnits#5544695, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, splitIndicator#5544663L, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, sourceOfSupplyUuid#5544667, ... 12 more fields]"];
subgraph cluster23 {
isCluster="true";
id="cluster23";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n3.8 s (30 ms, 137 ms, 382 ms (stage 1328441.0: task 2467918))";
tooltip="WholeStageCodegen (1)";
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, productGroup#5544700, product#5544671, plant#5544672, subrange#5544670, orderDateTime#5544676, deliveryDateTime#5544677, availabilityDateTime#5544678, nextAvailabilityDateTime#5544679, logisticUnits#5544695, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, splitIndicator#5544663L, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, ... 11 more fields]"];
25 [id="node25" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT (isFallbackOrderOnly#5544680 <=> true)"];
}
26 [id="node26" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 29" tooltip="InMemoryTableScan [availabilityDateTime#5544678, channelStreamSpecificKpis#5545419, constraintLabels#5544690, constraintOperators#5544691, constraintValues#5544693, deliveryDateTime#5544677, isFallbackOrderOnly#5544680, logisticUnits#5544695, measurements#5544688, minimumOrderQuantity#5544689, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, nextAvailabilityDateTime#5544679, optimizationGroups#5544696, orderDateTime#5544676, orderProposalId#5544658L, orderProposalItemGroupId#5544660, orderProposalItemId#5544659, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, originalReplenishmentRunId#5544661L, plant#5544672, ... 14 more fields], [NOT (isFallbackOrderOnly#5544680 <=> true)]"];
subgraph cluster27 {
isCluster="true";
id="cluster27";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n256 ms (1 ms, 5 ms, 23 ms (stage 1328441.0: task 2467904))";
tooltip="WholeStageCodegen (13)";
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, ... 17 more fields]"];
29 [id="node29" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 29<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328441.0: task 2467913))" tooltip="SortMergeJoin [shardId#5543988, worklistShardItemId#5544500L], [shardId#5545426, worklistShardItemId#5545427L], LeftOuter"];
}
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n2.2 s (4 ms, 62 ms, 197 ms (stage 1328441.0: task 2467918))";
tooltip="WholeStageCodegen (10)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, ... 16 more fields]"];
32 [id="node32" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 29<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328441.0: task 2467913))" tooltip="SortMergeJoin [shardId#5543988, worklistShardItemId#5544500L], [shardId#5545413, worklistShardItemId#5545414L], LeftOuter"];
}
subgraph cluster33 {
isCluster="true";
id="cluster33";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n4.0 s (8 ms, 118 ms, 370 ms (stage 1328441.0: task 2467918))";
tooltip="WholeStageCodegen (7)";
34 [id="node34" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, ... 15 more fields]"];
35 [id="node35" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 29<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328441.0: task 2467913))" tooltip="SortMergeJoin [shardId#5543988, worklistShardItemId#5544500L], [shardId#5545397, worklistShardItemId#5545398L], LeftOuter"];
}
subgraph cluster36 {
isCluster="true";
id="cluster36";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n5.9 s (9 ms, 168 ms, 541 ms (stage 1328441.0: task 2467918))";
tooltip="WholeStageCodegen (4)";
37 [id="node37" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1328441.0: task 2467913))<br>peak memory total (min, med, max (stageId: taskId))<br>41.9 MiB (64.0 KiB, 2.1 MiB, 2.1 MiB (stage 1328441.0: task 2467904))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328441.0: task 2467913))" tooltip="Sort [shardId#5543988 ASC NULLS FIRST, worklistShardItemId#5544500L ASC NULLS FIRST], false, 0"];
}
38 [id="node38" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 29<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 29<br>local bytes read total (min, med, max (stageId: taskId))<br>21.8 KiB (865.0 B, 884.0 B, 1752.0 B (stage 1328441.0: task 2467924))<br>merged fetch fallback count: 0<br>local blocks read: 22<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>35.7 KiB (4.7 KiB, 31.0 KiB, 31.0 KiB (stage 1328440.0: task 2467843))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 0 ms (stage 1328440.0: task 2467843))<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 1328441.0: task 2467904))<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>21.8 KiB (3.4 KiB, 18.4 KiB, 18.4 KiB (stage 1328440.0: task 2467843))" tooltip="Exchange hashpartitioning(shardId#5543988, worklistShardItemId#5544500L, 30), ENSURE_REQUIREMENTS, [plan_id=2877054]"];
subgraph cluster39 {
isCluster="true";
id="cluster39";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n46 ms (0 ms, 0 ms, 13 ms (stage 1328440.0: task 2467823))";
tooltip="WholeStageCodegen (3)";
40 [id="node40" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, ... 14 more fields]"];
41 [id="node41" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 29" tooltip="BroadcastHashJoin [worklistShardItemId#5544500L], [worklistShardItemId#5544724L], LeftOuter, BuildRight, (shardId#5543988 = 0_1_10000001445), false"];
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5543988, item#5544499.worklistShardItemId AS worklistShardItemId#5544500L, item#5544499.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#5544501, item#5544499.qty AS qty#5544502]"];
43 [id="node43" labelType="html" label="<b>Generate</b><br><br>number of output rows: 29" tooltip="Generate explode(items#5543990), [shardId#5543988], false, [item#5544499]"];
44 [id="node44" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2" tooltip="Filter ((size(items#5543990, true) > 0) AND isnotnull(items#5543990))"];
}
45 [id="node45" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2" tooltip="InMemoryTableScan [shardId#5543988, items#5543990], [(size(items#5543990, true) > 0), isnotnull(items#5543990)]"];
subgraph cluster46 {
isCluster="true";
id="cluster46";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
47 [id="node47" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#5543988) AND (shardId#5543988 = 0_1_10000001445))"];
}
48 [id="node48" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, optimizationInsights#5543994], [isnotnull(shardId#5543988), (shardId#5543988 = 0_1_10000001445)]"];
subgraph cluster49 {
isCluster="true";
id="cluster49";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#5543988) AND (shardId#5543988 = 0_1_10000001445))"];
51 [id="node51" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#5543988,orderProposalId#5543989L,items#5543990,optimizationGroups#5543991,isOptimal#5543992,lastModified#5543993,optimizationInsights#5543994]"];
}
52 [id="node52" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 425 ms<br>number of output rows: 29<br>data size: 1030.4 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=2877049]"];
subgraph cluster53 {
isCluster="true";
id="cluster53";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n31 ms (0 ms, 1 ms, 4 ms (stage 1328277.0: task 2467756))";
tooltip="WholeStageCodegen (2)";
54 [id="node54" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#5544724L, orderProposalId#5544701L, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, originalReplenishmentRunId#5544743L, splitIndicator#5544720L, previousOrderProposal#5544721L, sourceOfSupplyUuid#5544715, supplierGroup#5544703, supplier#5544704, subrange#5544707, product#5544710, plant#5544705, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, isFallbackOrderOnly#5544718, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, netPriceAmount#5544737, netPriceCurrencyCode#5544738, ... 11 more fields]"];
}
55 [id="node55" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 29<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 29<br>local bytes read total (min, med, max (stageId: taskId))<br>20.0 KiB (830.0 B, 858.0 B, 1708.0 B (stage 1328277.0: task 2467770))<br>merged fetch fallback count: 0<br>local blocks read: 23<br>remote merged chunks fetched: 0<br>remote blocks read: 6<br>data size total (min, med, max (stageId: taskId))<br>34.5 KiB (1168.0 B, 2.3 KiB, 3.7 KiB (stage 1328276.0: task 2467737))<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>9 ms (0 ms, 0 ms, 0 ms (stage 1328276.0: task 2467742))<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>3 ms (0 ms, 0 ms, 2 ms (stage 1328277.0: task 2467771))<br>remote bytes read total (min, med, max (stageId: taskId))<br>5.2 KiB (852.0 B, 860.0 B, 1721.0 B (stage 1328277.0: task 2467769))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>8 ms (0 ms, 2 ms, 2 ms (stage 1328277.0: task 2467757))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>25.2 KiB (850.0 B, 1703.0 B, 2.7 KiB (stage 1328276.0: task 2467737))" tooltip="Exchange hashpartitioning(worklistShardItemId#5544724L, 30), REPARTITION_BY_NUM, [plan_id=2877045]"];
subgraph cluster56 {
isCluster="true";
id="cluster56";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (82 ms, 114 ms, 210 ms (stage 1328276.0: task 2467749))";
tooltip="WholeStageCodegen (1)";
57 [id="node57" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#5544701L, orderProposalItemId#5544702, supplierGroup#5544703, supplier#5544704, plant#5544705, deliveryDateTime#5544706, subrange#5544707, supplyingPlant#5544708, productGroup#5544709, product#5544710, orderDateTime#5544711, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, sourceOfSupplyUuid#5544715, isFallbackOrderOnly#5544718, splitIndicator#5544720L, previousOrderProposal#5544721L, worklistShardItemId#5544724L, orderProposalItemGroupId#5544725, externalProductId#5544726, externalPlantId#5544727, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, minimumOrderQuantity#5544731, ... 11 more fields]"];
58 [id="node58" labelType="html" label="<b>Filter</b><br><br>number of output rows: 29" tooltip="Filter isnotnull(worklistShardItemId#5544724L)"];
59 [id="node59" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 29<br>number of input batches: 17" tooltip="ColumnarToRow"];
}
60 [id="node60" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 17<br>scan time total (min, med, max (stageId: taskId))<br>1.7 s (80 ms, 92 ms, 131 ms (stage 1328276.0: task 2467749))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 319.0 KiB<br>number of output rows: 29<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#5544701L,orderProposalItemId#5544702,supplierGroup#5544703,supplier#5544704,plant#5544705,deliveryDateTime#5544706,subrange#5544707,supplyingPlant#5544708,productGroup#5544709,product#5544710,orderDateTime#5544711,availabilityDateTime#5544712,nextAvailabilityDateTime#5544713,sourceOfSupplyUuid#5544715,isFallbackOrderOnly#5544718,splitIndicator#5544720L,previousOrderProposal#5544721L,worklistShardItemId#5544724L,orderProposalItemGroupId#5544725,externalProductId#5544726,externalPlantId#5544727,logisticUnits#5544728,orderQuantityBaseUom#5544729,orderQuantityBaseUomUuid#5544730,minimumOrderQuantity#5544731,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#5544724L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#5544745), isnotnull(sequenceId#5544723), (shardId#5544745 = 0_1_10000001445), ..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster61 {
isCluster="true";
id="cluster61";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n896 ms (3 ms, 6 ms, 166 ms (stage 1328441.0: task 2467904))";
tooltip="WholeStageCodegen (6)";
62 [id="node62" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1328441.0: task 2467904))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1328441.0: task 2467904))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328441.0: task 2467904))" tooltip="Sort [shardId#5545397 ASC NULLS FIRST, worklistShardItemId#5545398L ASC NULLS FIRST], false, 0"];
}
63 [id="node63" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 29<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 29<br>local bytes read total (min, med, max (stageId: taskId))<br>2.6 KiB (593.0 B, 668.0 B, 685.0 B (stage 1328441.0: task 2467931))<br>merged fetch fallback count: 0<br>local blocks read: 4<br>remote merged chunks fetched: 0<br>remote blocks read: 24<br>data size total (min, med, max (stageId: taskId))<br>33.5 KiB (1184.0 B, 1184.0 B, 4.6 KiB (stage 1328437.0: task 2467789))<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>8 ms (0 ms, 0 ms, 1 ms (stage 1328437.0: task 2467791))<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 1328441.0: task 2467904))<br>remote bytes read total (min, med, max (stageId: taskId))<br>15.4 KiB (593.0 B, 670.0 B, 1355.0 B (stage 1328441.0: task 2467933))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>26 ms (0 ms, 1 ms, 3 ms (stage 1328441.0: task 2467926))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>18.0 KiB (593.0 B, 670.0 B, 2.6 KiB (stage 1328437.0: task 2467789))" tooltip="Exchange hashpartitioning(shardId#5545397, worklistShardItemId#5545398L, 30), ENSURE_REQUIREMENTS, [plan_id=2877060]"];
subgraph cluster64 {
isCluster="true";
id="cluster64";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n285 ms (2 ms, 4 ms, 39 ms (stage 1328437.0: task 2467796))";
tooltip="WholeStageCodegen (5)";
65 [id="node65" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5545397, worklistShardItemId#5545398L, coalesce(kpis#5545402, []) AS prodLocSpecificKpis#5545403]"];
66 [id="node66" labelType="html" label="<b>Filter</b><br><br>number of output rows: 29" tooltip="Filter (((isnull(qty#5545399) AND isnull(demandChannel#5545400)) AND isnull(demandStream#5545401)) AND (isnotnull(shardId#5545397) AND isnotnull(worklistShardItemId#5545398L)))"];
67 [id="node67" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 397" tooltip="Scan ExistingRDD[shardId#5545397,worklistShardItemId#5545398L,qty#5545399,demandChannel#5545400,demandStream#5545401,kpis#5545402]"];
}
subgraph cluster68 {
isCluster="true";
id="cluster68";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n564 ms (2 ms, 3 ms, 105 ms (stage 1328441.0: task 2467904))";
tooltip="WholeStageCodegen (9)";
69 [id="node69" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1328441.0: task 2467904))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1328441.0: task 2467904))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328441.0: task 2467904))" tooltip="Sort [shardId#5545413 ASC NULLS FIRST, worklistShardItemId#5545414L ASC NULLS FIRST], false, 0"];
}
70 [id="node70" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 29<br>time in aggregation build total (min, med, max (stageId: taskId))<br>100 ms (0 ms, 1 ms, 16 ms (stage 1328441.0: task 2467904))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328441.0: task 2467904))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#5545413, worklistShardItemId#5545414L], functions=[collect_list(struct(demandChannel, demandChannel#5545416, demandStream, demandStream#5545417, kpis, kpis#5545418), 0, 0)])"];
71 [id="node71" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 45<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 45<br>local bytes read total (min, med, max (stageId: taskId))<br>7.5 KiB (319.0 B, 343.0 B, 1314.0 B (stage 1328441.0: task 2467933))<br>merged fetch fallback count: 0<br>local blocks read: 23<br>remote merged chunks fetched: 0<br>remote blocks read: 22<br>data size total (min, med, max (stageId: taskId))<br>18.3 KiB (408.0 B, 416.0 B, 2.0 KiB (stage 1328439.0: task 2467853))<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 1328439.0: task 2467853))<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, 3 ms (stage 1328441.0: task 2467929))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.1 KiB (319.0 B, 343.0 B, 661.0 B (stage 1328441.0: task 2467920))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>11 ms (0 ms, 0 ms, 3 ms (stage 1328441.0: task 2467929))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>14.6 KiB (319.0 B, 334.0 B, 1637.0 B (stage 1328439.0: task 2467853))" tooltip="Exchange hashpartitioning(shardId#5545413, worklistShardItemId#5545414L, 30), ENSURE_REQUIREMENTS, [plan_id=2877071]"];
72 [id="node72" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 45<br>time in aggregation build total (min, med, max (stageId: taskId))<br>306 ms (2 ms, 3 ms, 152 ms (stage 1328439.0: task 2467827))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328439.0: task 2467806))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#5545413, worklistShardItemId#5545414L], functions=[partial_collect_list(struct(demandChannel, demandChannel#5545416, demandStream, demandStream#5545417, kpis, kpis#5545418), 0, 0)])"];
subgraph cluster73 {
isCluster="true";
id="cluster73";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n307 ms (2 ms, 3 ms, 152 ms (stage 1328439.0: task 2467827))";
tooltip="WholeStageCodegen (8)";
74 [id="node74" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5545413, worklistShardItemId#5545414L, demandChannel#5545416, demandStream#5545417, kpis#5545418]"];
75 [id="node75" labelType="html" label="<b>Filter</b><br><br>number of output rows: 46" tooltip="Filter ((((isnull(qty#5545415) AND isnotnull(demandChannel#5545416)) AND isnotnull(demandStream#5545417)) AND (size(kpis#5545418, true) > 0)) AND (isnotnull(shardId#5545413) AND isnotnull(worklistShardItemId#5545414L)))"];
76 [id="node76" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 397" tooltip="Scan ExistingRDD[shardId#5545413,worklistShardItemId#5545414L,qty#5545415,demandChannel#5545416,demandStream#5545417,kpis#5545418]"];
}
subgraph cluster77 {
isCluster="true";
id="cluster77";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n207 ms (0 ms, 0 ms, 41 ms (stage 1328441.0: task 2467904))";
tooltip="WholeStageCodegen (12)";
78 [id="node78" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1328441.0: task 2467904))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1328441.0: task 2467904))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328441.0: task 2467904))" tooltip="Sort [shardId#5545426 ASC NULLS FIRST, worklistShardItemId#5545427L ASC NULLS FIRST], false, 0"];
}
79 [id="node79" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 29<br>time in aggregation build total (min, med, max (stageId: taskId))<br>118 ms (0 ms, 1 ms, 19 ms (stage 1328441.0: task 2467908))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328441.0: task 2467904))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#5545426, worklistShardItemId#5545427L], functions=[collect_list(struct(qty, qty#5545428, kpis, kpis#5545431), 0, 0)])"];
80 [id="node80" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 251<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 251<br>local bytes read total (min, med, max (stageId: taskId))<br>89.4 KiB (612.0 B, 5.0 KiB, 9.8 KiB (stage 1328441.0: task 2467907))<br>merged fetch fallback count: 0<br>local blocks read: 137<br>remote merged chunks fetched: 0<br>remote blocks read: 94<br>data size total (min, med, max (stageId: taskId))<br>306.4 KiB (4.8 KiB, 10.3 KiB, 16.1 KiB (stage 1328438.0: task 2467864))<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>24 ms (0 ms, 0 ms, 2 ms (stage 1328438.0: task 2467880))<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>1 ms (0 ms, 0 ms, 1 ms (stage 1328441.0: task 2467930))<br>remote bytes read total (min, med, max (stageId: taskId))<br>60.6 KiB (604.0 B, 2.5 KiB, 6.3 KiB (stage 1328441.0: task 2467931))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>14 ms (0 ms, 1 ms, 3 ms (stage 1328441.0: task 2467933))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>150.1 KiB (2.1 KiB, 5.1 KiB, 6.7 KiB (stage 1328438.0: task 2467864))" tooltip="Exchange hashpartitioning(shardId#5545426, worklistShardItemId#5545427L, 30), ENSURE_REQUIREMENTS, [plan_id=2877083]"];
81 [id="node81" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 251<br>time in aggregation build total (min, med, max (stageId: taskId))<br>286 ms (2 ms, 3 ms, 122 ms (stage 1328438.0: task 2467826))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1328438.0: task 2467805))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#5545426, worklistShardItemId#5545427L], functions=[partial_collect_list(struct(qty, qty#5545428, kpis, kpis#5545431), 0, 0)])"];
subgraph cluster82 {
isCluster="true";
id="cluster82";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n287 ms (3 ms, 3 ms, 122 ms (stage 1328438.0: task 2467826))";
tooltip="WholeStageCodegen (11)";
83 [id="node83" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#5545426, worklistShardItemId#5545427L, qty#5545428, kpis#5545431]"];
84 [id="node84" labelType="html" label="<b>Filter</b><br><br>number of output rows: 322" tooltip="Filter ((isnotnull(qty#5545428) AND isnotnull(kpis#5545431)) AND (isnotnull(shardId#5545426) AND isnotnull(worklistShardItemId#5545427L)))"];
85 [id="node85" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 397" tooltip="Scan ExistingRDD[shardId#5545426,worklistShardItemId#5545427L,qty#5545428,demandChannel#5545429,demandStream#5545430,kpis#5545431]"];
}
86 [id="node86" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 1.1 s<br>number of output rows: 0<br>data size: 0.0 B" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[0, bigint, true], 0), isnull(input[0, bigint, true])),false), [plan_id=2877359]"];
87 [id="node87" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#5546204L, shardId#5546203, coalesce(transform(optimizationGroups#5546206, lambdafunction(struct(optGroupId, lambda x_10981#5546201.optGroupId, minOrderProfile, lambda x_10981#5546201.minOrderProfile, assignmentDetails, lambda x_10981#5546201.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_10981#5546201.minOrderGoal.dimensionType, unit, lambda x_10981#5546201.minOrderGoal.unit, unitUuid, lambda x_10981#5546201.minOrderGoal.unitUuid, goalValue, lambda x_10981#5546201.minOrderGoal.minOrderValue, calcValue, lambda x_10981#5546201.minOrderGoal.calculatedOrderValue)), lambda x_10981#5546201, false)), []) AS optimizationGroups#5546200]"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n726 ms (1 ms, 21 ms, 95 ms (stage 1328275.0: task 2467708))";
tooltip="WholeStageCodegen (6)";
89 [id="node89" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [orderProposalId#5546204L], [orderProposalId#5546259L], Inner, BuildLeft, false"];
100 [id="node100" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>11 ms (0 ms, 0 ms, 4 ms (stage 1328275.0: task 2467714))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1328275.0: task 2467709))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#5546259L], functions=[])"];
}
90 [id="node90" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 4 ms<br>time to collect: 249 ms<br>number of output rows: 2<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=2877331]"];
subgraph cluster91 {
isCluster="true";
id="cluster91";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n19 ms (0 ms, 0 ms, 6 ms (stage 1328271.0: task 2467613))";
tooltip="WholeStageCodegen (2)";
92 [id="node92" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2" tooltip="Filter isnotnull(orderProposalId#5546204L)"];
}
93 [id="node93" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2" tooltip="InMemoryTableScan [shardId#5546203, orderProposalId#5546204L, optimizationGroups#5546206], [isnotnull(orderProposalId#5546204L)]"];
subgraph cluster94 {
isCluster="true";
id="cluster94";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
95 [id="node95" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#5543988) AND (shardId#5543988 = 0_1_10000001445))"];
}
96 [id="node96" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, optimizationInsights#5543994], [isnotnull(shardId#5543988), (shardId#5543988 = 0_1_10000001445)]"];
subgraph cluster97 {
isCluster="true";
id="cluster97";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
98 [id="node98" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#5543988) AND (shardId#5543988 = 0_1_10000001445))"];
99 [id="node99" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#5543988,orderProposalId#5543989L,items#5543990,optimizationGroups#5543991,isOptimal#5543992,lastModified#5543993,optimizationInsights#5543994]"];
}
101 [id="node101" 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: 30<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#5546259L, 30), ENSURE_REQUIREMENTS, [plan_id=2877353]"];
subgraph cluster102 {
isCluster="true";
id="cluster102";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n650 ms (0 ms, 7 ms, 98 ms (stage 1328274.0: task 2467680))";
tooltip="WholeStageCodegen (5)";
103 [id="node103" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>7 ms (0 ms, 0 ms, 1 ms (stage 1328274.0: task 2467691))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1328274.0: task 2467688))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#5546259L], functions=[])"];
104 [id="node104" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#5546259L]"];
105 [id="node105" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#5546211L], [worklistShardItemId#5546282L], Inner, BuildLeft, false"];
119 [id="node119" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#5546282L, orderProposalId#5546259L]"];
}
106 [id="node106" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 149 ms<br>number of output rows: 29<br>data size: 1030.4 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=2877339]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n0 ms (0 ms, 0 ms, 0 ms (stage 1328272.0: task 2467617))";
tooltip="WholeStageCodegen (3)";
108 [id="node108" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#5546210L AS worklistShardItemId#5546211L]"];
109 [id="node109" labelType="html" label="<b>Generate</b><br><br>number of output rows: 29" tooltip="Generate explode(_extract_worklistShardItemId#5546851), false, [item#5546210L]"];
110 [id="node110" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#5545841.worklistShardItemId AS _extract_worklistShardItemId#5546851]"];
111 [id="node111" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2" tooltip="Filter (((size(items#5545841.worklistShardItemId, true) > 0) AND isnotnull(items#5545841.worklistShardItemId)) AND (shardId#5545839 = 0_1_10000001445))"];
}
112 [id="node112" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2" tooltip="InMemoryTableScan [items#5545841, shardId#5545839], [(size(items#5545841.worklistShardItemId, true) > 0), isnotnull(items#5545841.worklistShardItemId), (shardId#5545839 = 0_1_10000001445)]"];
subgraph cluster113 {
isCluster="true";
id="cluster113";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
114 [id="node114" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#5543988) AND (shardId#5543988 = 0_1_10000001445))"];
}
115 [id="node115" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, optimizationInsights#5543994], [isnotnull(shardId#5543988), (shardId#5543988 = 0_1_10000001445)]"];
subgraph cluster116 {
isCluster="true";
id="cluster116";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
117 [id="node117" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#5543988) AND (shardId#5543988 = 0_1_10000001445))"];
118 [id="node118" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#5543988,orderProposalId#5543989L,items#5543990,optimizationGroups#5543991,isOptimal#5543992,lastModified#5543993,optimizationInsights#5543994]"];
}
120 [id="node120" 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: 30<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#5546282L, 30), REPARTITION_BY_NUM, [plan_id=2877346]"];
subgraph cluster121 {
isCluster="true";
id="cluster121";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.5 s (56 ms, 83 ms, 132 ms (stage 1328273.0: task 2467676))";
tooltip="WholeStageCodegen (4)";
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#5546259L, worklistShardItemId#5546282L]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(worklistShardItemId#5546282L) AND NOT (isFallbackOrderOnly#5546276 <=> true)) AND isnotnull(orderProposalId#5546259L))"];
124 [id="node124" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
125 [id="node125" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 17<br>scan time total (min, med, max (stageId: taskId))<br>1.3 s (56 ms, 74 ms, 131 ms (stage 1328273.0: task 2467676))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 319.0 KiB<br>number of output rows: 0<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#5546259L,isFallbackOrderOnly#5546276,worklistShardItemId#5546282L,shardId#5546303,sequenceId#5546281] Batched: true, DataFilters: [isnotnull(worklistShardItemId#5546282L), NOT (isFallbackOrderOnly#5546276 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#5546303), isnotnull(sequenceId#5546281), (shardId#5546303 = 0_1_10000001445), ..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
24->22;
25->24;
26->25;
28->26;
29->28;
31->29;
32->31;
34->32;
35->34;
37->35;
38->37;
40->38;
41->40;
42->41;
43->42;
44->43;
45->44;
47->45;
48->47;
50->48;
51->50;
52->41;
54->52;
55->54;
57->55;
58->57;
59->58;
60->59;
62->35;
63->62;
65->63;
66->65;
67->66;
69->32;
70->69;
71->70;
72->71;
74->72;
75->74;
76->75;
78->29;
79->78;
80->79;
81->80;
83->81;
84->83;
85->84;
86->11;
87->86;
89->87;
90->89;
92->90;
93->92;
95->93;
96->95;
98->96;
99->98;
100->89;
101->100;
103->101;
104->103;
105->104;
106->105;
108->106;
109->108;
110->109;
111->110;
112->111;
114->112;
115->114;
117->115;
118->117;
119->105;
120->119;
122->120;
123->122;
124->123;
125->124;
}
== Physical Plan ==
* HashAggregate (97)
+- Exchange (96)
+- * HashAggregate (95)
+- * Project (94)
+- * Generate (93)
+- Project (92)
+- Filter (91)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (90)
+- BroadcastHashJoin LeftOuter BuildRight (89)
:- Project (63)
: +- Project (62)
: +- ObjectHashAggregate (61)
: +- Exchange (60)
: +- ObjectHashAggregate (59)
: +- ObjectHashAggregate (58)
: +- Exchange (57)
: +- ObjectHashAggregate (56)
: +- Project (55)
: +- Project (54)
: +- Project (53)
: +- * Project (52)
: +- * Filter (51)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (50)
: +- * SortMergeJoin LeftOuter (49)
: :- * Project (41)
: : +- * SortMergeJoin LeftOuter (40)
: : :- * Project (32)
: : : +- * SortMergeJoin LeftOuter (31)
: : : :- * Sort (25)
: : : : +- Exchange (24)
: : : : +- * Project (23)
: : : : +- * BroadcastHashJoin LeftOuter BuildRight (22)
: : : : :- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- BroadcastExchange (21)
: : : : +- * Project (20)
: : : : +- Exchange (19)
: : : : +- * Project (18)
: : : : +- * Filter (17)
: : : : +- * ColumnarToRow (16)
: : : : +- Scan parquet (15)
: : : +- * Sort (30)
: : : +- Exchange (29)
: : : +- * Project (28)
: : : +- * Filter (27)
: : : +- * Scan ExistingRDD (26)
: : +- * Sort (39)
: : +- ObjectHashAggregate (38)
: : +- Exchange (37)
: : +- ObjectHashAggregate (36)
: : +- * Project (35)
: : +- * Filter (34)
: : +- * Scan ExistingRDD (33)
: +- * Sort (48)
: +- ObjectHashAggregate (47)
: +- Exchange (46)
: +- ObjectHashAggregate (45)
: +- * Project (44)
: +- * Filter (43)
: +- * Scan ExistingRDD (42)
+- BroadcastExchange (88)
+- Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (67)
: +- * Filter (66)
: +- InMemoryTableScan (64)
: +- InMemoryRelation (65)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * HashAggregate (85)
+- Exchange (84)
+- * HashAggregate (83)
+- * Project (82)
+- * BroadcastHashJoin Inner BuildLeft (81)
:- BroadcastExchange (74)
: +- * Project (73)
: +- * Generate (72)
: +- * Project (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (80)
+- Exchange (79)
+- * Project (78)
+- * Filter (77)
+- * ColumnarToRow (76)
+- Scan parquet (75)
(1) InMemoryTableScan
Output [1]: [orderProposal#5546307]
Arguments: [orderProposal#5546307], [(size(orderProposal#5546307.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#5543988, orderProposal#5546307], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#5544678, channelStreamSpecificKpis#5545419, constraintLabels#5544690, constraintOperators#5544691, constraintValues#5544693, deliveryDateTime#5544677, isFallbackOrderOnly#5544680, logisticUnits#5544695, measurements#5544688, minimumOrderQuantity#5544689, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, nextAvailabilityDateTime#5544679, optimizationGroups#5544696, orderDateTime#5544676, orderProposalId#5544658L, orderProposalItemGroupId#5544660, orderProposalItemId#5544659, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, originalReplenishmentRunId#5544661L, plant#5544672, previousOrderProposal#5544664L, prodLocSpecificKpis#5545404, product#5544671, productGroup#5544700, qty#5544502, quantityAfterProdPlantOptimization#5544501, quantityKpis#5545432, shardId#5543988, sourceOfSupplyUuid#5544667, splitIndicator#5544663L, subrange#5544670, supplier#5544669, supplierGroup#5544668, supplyingPlant#5544699]
Arguments: [availabilityDateTime#5544678, channelStreamSpecificKpis#5545419, constraintLabels#5544690, constraintOperators#5544691, constraintValues#5544693, deliveryDateTime#5544677, isFallbackOrderOnly#5544680, logisticUnits#5544695, measurements#5544688, minimumOrderQuantity#5544689, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, nextAvailabilityDateTime#5544679, optimizationGroups#5544696, orderDateTime#5544676, orderProposalId#5544658L, orderProposalItemGroupId#5544660, orderProposalItemId#5544659, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, originalReplenishmentRunId#5544661L, plant#5544672, ... 14 more fields], [NOT (isFallbackOrderOnly#5544680 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, productGroup#5544700, product#5544671, plant#5544672, subrange#5544670, orderDateTime#5544676, deliveryDateTime#5544677, availabilityDateTime#5544678, nextAvailabilityDateTime#5544679, constraintValues#5544693, constraintOperators#5544691, constraintLabels#5544690, logisticUnits#5544695, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, splitIndicator#5544663L, netPriceAmount#5544686, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#5543988, items#5543990]
Arguments: [shardId#5543988, items#5543990], [(size(items#5543990, true) > 0), isnotnull(items#5543990)]
(6) InMemoryRelation
Arguments: [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, optimizationInsights#5543994], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, optimizationInsights#5543994]
Arguments: [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, optimizationInsights#5543994], [isnotnull(shardId#5543988), (shardId#5543988 = 0_1_10000001445)]
(8) InMemoryRelation
Arguments: [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, lastModified#5543993, optimizationInsights#5543994], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, lastModified#5543993, optimizationInsights#5543994]
Arguments: [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, lastModified#5543993, optimizationInsights#5543994], MapPartitionsRDD[390845] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, lastModified#5543993, optimizationInsights#5543994]
Condition : (isnotnull(shardId#5543988) AND (shardId#5543988 = 0_1_10000001445))
(11) Filter [codegen id : 1]
Input [6]: [shardId#5543988, orderProposalId#5543989L, items#5543990, optimizationGroups#5543991, isOptimal#5543992, optimizationInsights#5543994]
Condition : (isnotnull(shardId#5543988) AND (shardId#5543988 = 0_1_10000001445))
(12) Filter [codegen id : 3]
Input [2]: [shardId#5543988, items#5543990]
Condition : ((size(items#5543990, true) > 0) AND isnotnull(items#5543990))
(13) Generate [codegen id : 3]
Input [2]: [shardId#5543988, items#5543990]
Arguments: explode(items#5543990), [shardId#5543988], false, [item#5544499]
(14) Project [codegen id : 3]
Output [4]: [shardId#5543988, item#5544499.worklistShardItemId AS worklistShardItemId#5544500L, item#5544499.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#5544501, item#5544499.qty AS qty#5544502]
Input [2]: [shardId#5543988, item#5544499]
(15) Scan parquet
Output [38]: [orderProposalId#5544701L, orderProposalItemId#5544702, supplierGroup#5544703, supplier#5544704, plant#5544705, deliveryDateTime#5544706, subrange#5544707, supplyingPlant#5544708, productGroup#5544709, product#5544710, orderDateTime#5544711, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, sourceOfSupplyUuid#5544715, isFallbackOrderOnly#5544718, splitIndicator#5544720L, previousOrderProposal#5544721L, worklistShardItemId#5544724L, orderProposalItemGroupId#5544725, externalProductId#5544726, externalPlantId#5544727, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, minimumOrderQuantity#5544731, constraintLabels#5544732, constraintOperators#5544733, constraintValues#5544734, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, measurements#5544742, originalReplenishmentRunId#5544743L, optimizationGroups#5544744, shardId#5544745, sequenceId#5544723]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000001445]
PartitionFilters: [isnotnull(shardId#5544745), isnotnull(sequenceId#5544723), (shardId#5544745 = 0_1_10000001445), (sequenceId#5544723 = 7)]
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#5544701L, orderProposalItemId#5544702, supplierGroup#5544703, supplier#5544704, plant#5544705, deliveryDateTime#5544706, subrange#5544707, supplyingPlant#5544708, productGroup#5544709, product#5544710, orderDateTime#5544711, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, sourceOfSupplyUuid#5544715, isFallbackOrderOnly#5544718, splitIndicator#5544720L, previousOrderProposal#5544721L, worklistShardItemId#5544724L, orderProposalItemGroupId#5544725, externalProductId#5544726, externalPlantId#5544727, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, minimumOrderQuantity#5544731, constraintLabels#5544732, constraintOperators#5544733, constraintValues#5544734, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, measurements#5544742, originalReplenishmentRunId#5544743L, optimizationGroups#5544744, shardId#5544745, sequenceId#5544723]
(17) Filter [codegen id : 1]
Input [38]: [orderProposalId#5544701L, orderProposalItemId#5544702, supplierGroup#5544703, supplier#5544704, plant#5544705, deliveryDateTime#5544706, subrange#5544707, supplyingPlant#5544708, productGroup#5544709, product#5544710, orderDateTime#5544711, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, sourceOfSupplyUuid#5544715, isFallbackOrderOnly#5544718, splitIndicator#5544720L, previousOrderProposal#5544721L, worklistShardItemId#5544724L, orderProposalItemGroupId#5544725, externalProductId#5544726, externalPlantId#5544727, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, minimumOrderQuantity#5544731, constraintLabels#5544732, constraintOperators#5544733, constraintValues#5544734, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, measurements#5544742, originalReplenishmentRunId#5544743L, optimizationGroups#5544744, shardId#5544745, sequenceId#5544723]
Condition : isnotnull(worklistShardItemId#5544724L)
(18) Project [codegen id : 1]
Output [36]: [orderProposalId#5544701L, orderProposalItemId#5544702, supplierGroup#5544703, supplier#5544704, plant#5544705, deliveryDateTime#5544706, subrange#5544707, supplyingPlant#5544708, productGroup#5544709, product#5544710, orderDateTime#5544711, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, sourceOfSupplyUuid#5544715, isFallbackOrderOnly#5544718, splitIndicator#5544720L, previousOrderProposal#5544721L, worklistShardItemId#5544724L, orderProposalItemGroupId#5544725, externalProductId#5544726, externalPlantId#5544727, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, minimumOrderQuantity#5544731, constraintLabels#5544732, constraintOperators#5544733, constraintValues#5544734, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, measurements#5544742, originalReplenishmentRunId#5544743L, optimizationGroups#5544744]
Input [38]: [orderProposalId#5544701L, orderProposalItemId#5544702, supplierGroup#5544703, supplier#5544704, plant#5544705, deliveryDateTime#5544706, subrange#5544707, supplyingPlant#5544708, productGroup#5544709, product#5544710, orderDateTime#5544711, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, sourceOfSupplyUuid#5544715, isFallbackOrderOnly#5544718, splitIndicator#5544720L, previousOrderProposal#5544721L, worklistShardItemId#5544724L, orderProposalItemGroupId#5544725, externalProductId#5544726, externalPlantId#5544727, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, minimumOrderQuantity#5544731, constraintLabels#5544732, constraintOperators#5544733, constraintValues#5544734, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, measurements#5544742, originalReplenishmentRunId#5544743L, optimizationGroups#5544744, shardId#5544745, sequenceId#5544723]
(19) Exchange
Input [36]: [orderProposalId#5544701L, orderProposalItemId#5544702, supplierGroup#5544703, supplier#5544704, plant#5544705, deliveryDateTime#5544706, subrange#5544707, supplyingPlant#5544708, productGroup#5544709, product#5544710, orderDateTime#5544711, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, sourceOfSupplyUuid#5544715, isFallbackOrderOnly#5544718, splitIndicator#5544720L, previousOrderProposal#5544721L, worklistShardItemId#5544724L, orderProposalItemGroupId#5544725, externalProductId#5544726, externalPlantId#5544727, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, minimumOrderQuantity#5544731, constraintLabels#5544732, constraintOperators#5544733, constraintValues#5544734, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, measurements#5544742, originalReplenishmentRunId#5544743L, optimizationGroups#5544744]
Arguments: hashpartitioning(worklistShardItemId#5544724L, 30), REPARTITION_BY_NUM, [plan_id=2877045]
(20) Project [codegen id : 2]
Output [36]: [worklistShardItemId#5544724L, orderProposalId#5544701L, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, originalReplenishmentRunId#5544743L, splitIndicator#5544720L, previousOrderProposal#5544721L, sourceOfSupplyUuid#5544715, supplierGroup#5544703, supplier#5544704, subrange#5544707, product#5544710, plant#5544705, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, isFallbackOrderOnly#5544718, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, netPriceAmount#5544737, netPriceCurrencyCode#5544738, measurements#5544742, minimumOrderQuantity#5544731, constraintLabels#5544732, constraintOperators#5544733, constraintValues#5544734, logisticUnits#5544728, optimizationGroups#5544744, externalProductId#5544726, externalPlantId#5544727, supplyingPlant#5544708, productGroup#5544709]
Input [36]: [orderProposalId#5544701L, orderProposalItemId#5544702, supplierGroup#5544703, supplier#5544704, plant#5544705, deliveryDateTime#5544706, subrange#5544707, supplyingPlant#5544708, productGroup#5544709, product#5544710, orderDateTime#5544711, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, sourceOfSupplyUuid#5544715, isFallbackOrderOnly#5544718, splitIndicator#5544720L, previousOrderProposal#5544721L, worklistShardItemId#5544724L, orderProposalItemGroupId#5544725, externalProductId#5544726, externalPlantId#5544727, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, minimumOrderQuantity#5544731, constraintLabels#5544732, constraintOperators#5544733, constraintValues#5544734, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, measurements#5544742, originalReplenishmentRunId#5544743L, optimizationGroups#5544744]
(21) BroadcastExchange
Input [36]: [worklistShardItemId#5544724L, orderProposalId#5544701L, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, originalReplenishmentRunId#5544743L, splitIndicator#5544720L, previousOrderProposal#5544721L, sourceOfSupplyUuid#5544715, supplierGroup#5544703, supplier#5544704, subrange#5544707, product#5544710, plant#5544705, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, isFallbackOrderOnly#5544718, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, netPriceAmount#5544737, netPriceCurrencyCode#5544738, measurements#5544742, minimumOrderQuantity#5544731, constraintLabels#5544732, constraintOperators#5544733, constraintValues#5544734, logisticUnits#5544728, optimizationGroups#5544744, externalProductId#5544726, externalPlantId#5544727, supplyingPlant#5544708, productGroup#5544709]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=2877049]
(22) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#5544500L]
Right keys [1]: [worklistShardItemId#5544724L]
Join type: LeftOuter
Join condition: (shardId#5543988 = 0_1_10000001445)
(23) Project [codegen id : 3]
Output [39]: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, sourceOfSupplyUuid#5544715, minimumOrderQuantity#5544731, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, optimizationGroups#5544744, measurements#5544742, externalProductId#5544726, externalPlantId#5544727, previousOrderProposal#5544721L, isFallbackOrderOnly#5544718]
Input [40]: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, worklistShardItemId#5544724L, orderProposalId#5544701L, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, originalReplenishmentRunId#5544743L, splitIndicator#5544720L, previousOrderProposal#5544721L, sourceOfSupplyUuid#5544715, supplierGroup#5544703, supplier#5544704, subrange#5544707, product#5544710, plant#5544705, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, isFallbackOrderOnly#5544718, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, netPriceAmount#5544737, netPriceCurrencyCode#5544738, measurements#5544742, minimumOrderQuantity#5544731, constraintLabels#5544732, constraintOperators#5544733, constraintValues#5544734, logisticUnits#5544728, optimizationGroups#5544744, externalProductId#5544726, externalPlantId#5544727, supplyingPlant#5544708, productGroup#5544709]
(24) Exchange
Input [39]: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, sourceOfSupplyUuid#5544715, minimumOrderQuantity#5544731, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, optimizationGroups#5544744, measurements#5544742, externalProductId#5544726, externalPlantId#5544727, previousOrderProposal#5544721L, isFallbackOrderOnly#5544718]
Arguments: hashpartitioning(shardId#5543988, worklistShardItemId#5544500L, 30), ENSURE_REQUIREMENTS, [plan_id=2877054]
(25) Sort [codegen id : 4]
Input [39]: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, sourceOfSupplyUuid#5544715, minimumOrderQuantity#5544731, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, optimizationGroups#5544744, measurements#5544742, externalProductId#5544726, externalPlantId#5544727, previousOrderProposal#5544721L, isFallbackOrderOnly#5544718]
Arguments: [shardId#5543988 ASC NULLS FIRST, worklistShardItemId#5544500L ASC NULLS FIRST], false, 0
(26) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#5545397, worklistShardItemId#5545398L, qty#5545399, demandChannel#5545400, demandStream#5545401, kpis#5545402]
Arguments: [shardId#5545397, worklistShardItemId#5545398L, qty#5545399, demandChannel#5545400, demandStream#5545401, kpis#5545402], MapPartitionsRDD[390919] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(27) Filter [codegen id : 5]
Input [6]: [shardId#5545397, worklistShardItemId#5545398L, qty#5545399, demandChannel#5545400, demandStream#5545401, kpis#5545402]
Condition : (((isnull(qty#5545399) AND isnull(demandChannel#5545400)) AND isnull(demandStream#5545401)) AND (isnotnull(shardId#5545397) AND isnotnull(worklistShardItemId#5545398L)))
(28) Project [codegen id : 5]
Output [3]: [shardId#5545397, worklistShardItemId#5545398L, coalesce(kpis#5545402, []) AS prodLocSpecificKpis#5545403]
Input [6]: [shardId#5545397, worklistShardItemId#5545398L, qty#5545399, demandChannel#5545400, demandStream#5545401, kpis#5545402]
(29) Exchange
Input [3]: [shardId#5545397, worklistShardItemId#5545398L, prodLocSpecificKpis#5545403]
Arguments: hashpartitioning(shardId#5545397, worklistShardItemId#5545398L, 30), ENSURE_REQUIREMENTS, [plan_id=2877060]
(30) Sort [codegen id : 6]
Input [3]: [shardId#5545397, worklistShardItemId#5545398L, prodLocSpecificKpis#5545403]
Arguments: [shardId#5545397 ASC NULLS FIRST, worklistShardItemId#5545398L ASC NULLS FIRST], false, 0
(31) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#5543988, worklistShardItemId#5544500L]
Right keys [2]: [shardId#5545397, worklistShardItemId#5545398L]
Join type: LeftOuter
Join condition: None
(32) Project [codegen id : 7]
Output [40]: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, sourceOfSupplyUuid#5544715, minimumOrderQuantity#5544731, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, optimizationGroups#5544744, measurements#5544742, externalProductId#5544726, externalPlantId#5544727, previousOrderProposal#5544721L, isFallbackOrderOnly#5544718, coalesce(prodLocSpecificKpis#5545403, []) AS prodLocSpecificKpis#5545404]
Input [42]: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, sourceOfSupplyUuid#5544715, minimumOrderQuantity#5544731, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, optimizationGroups#5544744, measurements#5544742, externalProductId#5544726, externalPlantId#5544727, previousOrderProposal#5544721L, isFallbackOrderOnly#5544718, shardId#5545397, worklistShardItemId#5545398L, prodLocSpecificKpis#5545403]
(33) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#5545413, worklistShardItemId#5545414L, qty#5545415, demandChannel#5545416, demandStream#5545417, kpis#5545418]
Arguments: [shardId#5545413, worklistShardItemId#5545414L, qty#5545415, demandChannel#5545416, demandStream#5545417, kpis#5545418], MapPartitionsRDD[390919] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(34) Filter [codegen id : 8]
Input [6]: [shardId#5545413, worklistShardItemId#5545414L, qty#5545415, demandChannel#5545416, demandStream#5545417, kpis#5545418]
Condition : ((((isnull(qty#5545415) AND isnotnull(demandChannel#5545416)) AND isnotnull(demandStream#5545417)) AND (size(kpis#5545418, true) > 0)) AND (isnotnull(shardId#5545413) AND isnotnull(worklistShardItemId#5545414L)))
(35) Project [codegen id : 8]
Output [5]: [shardId#5545413, worklistShardItemId#5545414L, demandChannel#5545416, demandStream#5545417, kpis#5545418]
Input [6]: [shardId#5545413, worklistShardItemId#5545414L, qty#5545415, demandChannel#5545416, demandStream#5545417, kpis#5545418]
(36) ObjectHashAggregate
Input [5]: [shardId#5545413, worklistShardItemId#5545414L, demandChannel#5545416, demandStream#5545417, kpis#5545418]
Keys [2]: [shardId#5545413, worklistShardItemId#5545414L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#5545416, demandStream, demandStream#5545417, kpis, kpis#5545418), 0, 0)]
Aggregate Attributes [1]: [buf#5545593]
Results [3]: [shardId#5545413, worklistShardItemId#5545414L, buf#5545594]
(37) Exchange
Input [3]: [shardId#5545413, worklistShardItemId#5545414L, buf#5545594]
Arguments: hashpartitioning(shardId#5545413, worklistShardItemId#5545414L, 30), ENSURE_REQUIREMENTS, [plan_id=2877071]
(38) ObjectHashAggregate
Input [3]: [shardId#5545413, worklistShardItemId#5545414L, buf#5545594]
Keys [2]: [shardId#5545413, worklistShardItemId#5545414L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#5545416, demandStream, demandStream#5545417, kpis, kpis#5545418), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#5545416, demandStream, demandStream#5545417, kpis, kpis#5545418), 0, 0)#5545412]
Results [3]: [shardId#5545413, worklistShardItemId#5545414L, collect_list(struct(demandChannel, demandChannel#5545416, demandStream, demandStream#5545417, kpis, kpis#5545418), 0, 0)#5545412 AS channelStreamSpecificKpis#5545405]
(39) Sort [codegen id : 9]
Input [3]: [shardId#5545413, worklistShardItemId#5545414L, channelStreamSpecificKpis#5545405]
Arguments: [shardId#5545413 ASC NULLS FIRST, worklistShardItemId#5545414L ASC NULLS FIRST], false, 0
(40) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#5543988, worklistShardItemId#5544500L]
Right keys [2]: [shardId#5545413, worklistShardItemId#5545414L]
Join type: LeftOuter
Join condition: None
(41) Project [codegen id : 10]
Output [41]: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, sourceOfSupplyUuid#5544715, minimumOrderQuantity#5544731, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, optimizationGroups#5544744, measurements#5544742, externalProductId#5544726, externalPlantId#5544727, previousOrderProposal#5544721L, isFallbackOrderOnly#5544718, prodLocSpecificKpis#5545404, coalesce(channelStreamSpecificKpis#5545405, []) AS channelStreamSpecificKpis#5545419]
Input [43]: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, sourceOfSupplyUuid#5544715, minimumOrderQuantity#5544731, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, optimizationGroups#5544744, measurements#5544742, externalProductId#5544726, externalPlantId#5544727, previousOrderProposal#5544721L, isFallbackOrderOnly#5544718, prodLocSpecificKpis#5545404, shardId#5545413, worklistShardItemId#5545414L, channelStreamSpecificKpis#5545405]
(42) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#5545426, worklistShardItemId#5545427L, qty#5545428, demandChannel#5545429, demandStream#5545430, kpis#5545431]
Arguments: [shardId#5545426, worklistShardItemId#5545427L, qty#5545428, demandChannel#5545429, demandStream#5545430, kpis#5545431], MapPartitionsRDD[390919] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(43) Filter [codegen id : 11]
Input [6]: [shardId#5545426, worklistShardItemId#5545427L, qty#5545428, demandChannel#5545429, demandStream#5545430, kpis#5545431]
Condition : ((isnotnull(qty#5545428) AND isnotnull(kpis#5545431)) AND (isnotnull(shardId#5545426) AND isnotnull(worklistShardItemId#5545427L)))
(44) Project [codegen id : 11]
Output [4]: [shardId#5545426, worklistShardItemId#5545427L, qty#5545428, kpis#5545431]
Input [6]: [shardId#5545426, worklistShardItemId#5545427L, qty#5545428, demandChannel#5545429, demandStream#5545430, kpis#5545431]
(45) ObjectHashAggregate
Input [4]: [shardId#5545426, worklistShardItemId#5545427L, qty#5545428, kpis#5545431]
Keys [2]: [shardId#5545426, worklistShardItemId#5545427L]
Functions [1]: [partial_collect_list(struct(qty, qty#5545428, kpis, kpis#5545431), 0, 0)]
Aggregate Attributes [1]: [buf#5545595]
Results [3]: [shardId#5545426, worklistShardItemId#5545427L, buf#5545596]
(46) Exchange
Input [3]: [shardId#5545426, worklistShardItemId#5545427L, buf#5545596]
Arguments: hashpartitioning(shardId#5545426, worklistShardItemId#5545427L, 30), ENSURE_REQUIREMENTS, [plan_id=2877083]
(47) ObjectHashAggregate
Input [3]: [shardId#5545426, worklistShardItemId#5545427L, buf#5545596]
Keys [2]: [shardId#5545426, worklistShardItemId#5545427L]
Functions [1]: [collect_list(struct(qty, qty#5545428, kpis, kpis#5545431), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#5545428, kpis, kpis#5545431), 0, 0)#5545425]
Results [3]: [shardId#5545426, worklistShardItemId#5545427L, map_from_entries(collect_list(struct(qty, qty#5545428, kpis, kpis#5545431), 0, 0)#5545425) AS quantityKpis#5545420]
(48) Sort [codegen id : 12]
Input [3]: [shardId#5545426, worklistShardItemId#5545427L, quantityKpis#5545420]
Arguments: [shardId#5545426 ASC NULLS FIRST, worklistShardItemId#5545427L ASC NULLS FIRST], false, 0
(49) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#5543988, worklistShardItemId#5544500L]
Right keys [2]: [shardId#5545426, worklistShardItemId#5545427L]
Join type: LeftOuter
Join condition: None
(50) Project [codegen id : 13]
Output [42]: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, sourceOfSupplyUuid#5544715, minimumOrderQuantity#5544731, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, optimizationGroups#5544744, measurements#5544742, externalProductId#5544726, externalPlantId#5544727, previousOrderProposal#5544721L, isFallbackOrderOnly#5544718, prodLocSpecificKpis#5545404, channelStreamSpecificKpis#5545419, coalesce(quantityKpis#5545420, map(keys: [], values: [])) AS quantityKpis#5545432]
Input [44]: [shardId#5543988, worklistShardItemId#5544500L, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544701L, originalReplenishmentRunId#5544743L, supplierGroup#5544703, supplier#5544704, supplyingPlant#5544708, productGroup#5544709, product#5544710, plant#5544705, subrange#5544707, orderDateTime#5544711, deliveryDateTime#5544706, availabilityDateTime#5544712, nextAvailabilityDateTime#5544713, constraintValues#5544734, constraintOperators#5544733, constraintLabels#5544732, logisticUnits#5544728, orderQuantityBaseUom#5544729, orderQuantityBaseUomUuid#5544730, splitIndicator#5544720L, netPriceAmount#5544737, netPriceCurrencyCode#5544738, netPriceQuantity#5544739, netPriceQuantityUom#5544740, netPriceQuantityUomUuid#5544741, sourceOfSupplyUuid#5544715, minimumOrderQuantity#5544731, orderProposalItemId#5544702, orderProposalItemGroupId#5544725, optimizationGroups#5544744, measurements#5544742, externalProductId#5544726, externalPlantId#5544727, previousOrderProposal#5544721L, isFallbackOrderOnly#5544718, prodLocSpecificKpis#5545404, channelStreamSpecificKpis#5545419, shardId#5545426, worklistShardItemId#5545427L, quantityKpis#5545420]
(51) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#5544678, channelStreamSpecificKpis#5545419, constraintLabels#5544690, constraintOperators#5544691, constraintValues#5544693, deliveryDateTime#5544677, isFallbackOrderOnly#5544680, logisticUnits#5544695, measurements#5544688, minimumOrderQuantity#5544689, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, nextAvailabilityDateTime#5544679, optimizationGroups#5544696, orderDateTime#5544676, orderProposalId#5544658L, orderProposalItemGroupId#5544660, orderProposalItemId#5544659, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, originalReplenishmentRunId#5544661L, plant#5544672, previousOrderProposal#5544664L, prodLocSpecificKpis#5545404, product#5544671, productGroup#5544700, qty#5544502, quantityAfterProdPlantOptimization#5544501, quantityKpis#5545432, shardId#5543988, sourceOfSupplyUuid#5544667, splitIndicator#5544663L, subrange#5544670, supplier#5544669, supplierGroup#5544668, supplyingPlant#5544699]
Condition : NOT (isFallbackOrderOnly#5544680 <=> true)
(52) Project [codegen id : 1]
Output [36]: [shardId#5543988, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, productGroup#5544700, product#5544671, plant#5544672, subrange#5544670, orderDateTime#5544676, deliveryDateTime#5544677, availabilityDateTime#5544678, nextAvailabilityDateTime#5544679, logisticUnits#5544695, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, splitIndicator#5544663L, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, sourceOfSupplyUuid#5544667, minimumOrderQuantity#5544689, orderProposalItemId#5544659, orderProposalItemGroupId#5544660, optimizationGroups#5544696, measurements#5544688, previousOrderProposal#5544664L, prodLocSpecificKpis#5545404, channelStreamSpecificKpis#5545419, quantityKpis#5545432, arrays_zip(constraintLabels#5544690, constraintOperators#5544691, constraintValues#5544693, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#5545846]
Input [39]: [availabilityDateTime#5544678, channelStreamSpecificKpis#5545419, constraintLabels#5544690, constraintOperators#5544691, constraintValues#5544693, deliveryDateTime#5544677, isFallbackOrderOnly#5544680, logisticUnits#5544695, measurements#5544688, minimumOrderQuantity#5544689, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, nextAvailabilityDateTime#5544679, optimizationGroups#5544696, orderDateTime#5544676, orderProposalId#5544658L, orderProposalItemGroupId#5544660, orderProposalItemId#5544659, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, originalReplenishmentRunId#5544661L, plant#5544672, previousOrderProposal#5544664L, prodLocSpecificKpis#5545404, product#5544671, productGroup#5544700, qty#5544502, quantityAfterProdPlantOptimization#5544501, quantityKpis#5545432, shardId#5543988, sourceOfSupplyUuid#5544667, splitIndicator#5544663L, subrange#5544670, supplier#5544669, supplierGroup#5544668, supplyingPlant#5544699]
(53) Project
Output [37]: [shardId#5543988, qty#5544502, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, productGroup#5544700, product#5544671, plant#5544672, subrange#5544670, orderDateTime#5544676, deliveryDateTime#5544677, availabilityDateTime#5544678, nextAvailabilityDateTime#5544679, logisticUnits#5544695, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, splitIndicator#5544663L, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, sourceOfSupplyUuid#5544667, orderProposalItemId#5544659, orderProposalItemGroupId#5544660, optimizationGroups#5544696, measurements#5544688, previousOrderProposal#5544664L, prodLocSpecificKpis#5545404, channelStreamSpecificKpis#5545419, quantityKpis#5545432, struct(minServiceLevel, array_min(filter(constraintStructArray#5545846, lambdafunction((lambda x_10931#5545853.constraintLabels = ServiceLevel), lambda x_10931#5545853, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#5545846, lambdafunction((lambda x_10932#5545854.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_10932#5545854, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#5545846, lambdafunction((lambda x_10933#5545855.constraintLabels = RangeOfCoverage), lambda x_10933#5545855, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#5544689, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#5545404, lambdafunction((lambda x_10934#5545856.label = NonListingStartTimestamp), lambda x_10934#5545856, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#5545852, CASE WHEN (qty#5544502 <=> quantityAfterProdPlantOptimization#5544501) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#5544502 * (cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10935#5545924.isOrderUnit, lambda x_10935#5545924, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10935#5545925.isOrderUnit, lambda x_10935#5545925, false)), 1, None, false).numerator as double))), qty#5544502), orderQuantityUom, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10935#5545926.isOrderUnit, lambda x_10935#5545926, false)), 1, None, false).uom, orderQuantityBaseUom#5544681), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10935#5545927.isOrderUnit, lambda x_10935#5545927, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#5544682), candidateOrderQuantityInBaseUnit, qty#5544502, orderQuantityBaseUom, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#5544682, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#5544695, lambdafunction((lambda x_10937#5545928.isPreferred AND (((qty#5544502 * cast(lambda x_10937#5545928.denominator as double)) % cast(lambda x_10937#5545928.numerator as double)) = 0.0)), lambda x_10937#5545928, false)), lambdafunction(struct(inPreferredQuantity, ((qty#5544502 * cast(lambda x_10938#5545966.denominator as double)) / cast(lambda x_10938#5545966.numerator as double)), uom, lambda x_10938#5545966.uom, uomUuid, lambda x_10938#5545966.uomUuid), lambda x_10938#5545966, false))).inPreferredQuantity, coalesce((qty#5544502 * (cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10936#5545929.isOrderUnit, lambda x_10936#5545929, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10936#5545930.isOrderUnit, lambda x_10936#5545930, false)), 1, None, false).numerator as double))), qty#5544502)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#5544695, lambdafunction((lambda x_10937#5545931.isPreferred AND (((qty#5544502 * cast(lambda x_10937#5545931.denominator as double)) % cast(lambda x_10937#5545931.numerator as double)) = 0.0)), lambda x_10937#5545931, false)), lambdafunction(struct(inPreferredQuantity, ((qty#5544502 * cast(lambda x_10938#5545967.denominator as double)) / cast(lambda x_10938#5545967.numerator as double)), uom, lambda x_10938#5545967.uom, uomUuid, lambda x_10938#5545967.uomUuid), lambda x_10938#5545967, false))).uom, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10936#5545932.isOrderUnit, lambda x_10936#5545932, false)), 1, None, false).uom, orderQuantityBaseUom#5544681)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#5544695, lambdafunction((lambda x_10937#5545933.isPreferred AND (((qty#5544502 * cast(lambda x_10937#5545933.denominator as double)) % cast(lambda x_10937#5545933.numerator as double)) = 0.0)), lambda x_10937#5545933, false)), lambdafunction(struct(inPreferredQuantity, ((qty#5544502 * cast(lambda x_10938#5545968.denominator as double)) / cast(lambda x_10938#5545968.numerator as double)), uom, lambda x_10938#5545968.uom, uomUuid, lambda x_10938#5545968.uomUuid), lambda x_10938#5545968, false))).uomUuid, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10936#5545934.isOrderUnit, lambda x_10936#5545934, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#5544682)), serviceLevel, coalesce(filter(element_at(quantityKpis#5545432, qty#5544502, None, false), lambdafunction((lambda x_10943#5545935.label = ServiceLevel), lambda x_10943#5545935, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#5544502 * (cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10935#5545938.isOrderUnit, lambda x_10935#5545938, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10935#5545939.isOrderUnit, lambda x_10935#5545939, false)), 1, None, false).numerator as double))), qty#5544502), orderQuantityUom, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10935#5545940.isOrderUnit, lambda x_10935#5545940, false)), 1, None, false).uom, orderQuantityBaseUom#5544681), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10935#5545941.isOrderUnit, lambda x_10935#5545941, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#5544682), candidateOrderQuantityInBaseUnit, qty#5544502, orderQuantityBaseUom, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#5544682, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#5544695, lambdafunction((lambda x_10937#5545942.isPreferred AND (((qty#5544502 * cast(lambda x_10937#5545942.denominator as double)) % cast(lambda x_10937#5545942.numerator as double)) = 0.0)), lambda x_10937#5545942, false)), lambdafunction(struct(inPreferredQuantity, ((qty#5544502 * cast(lambda x_10938#5545969.denominator as double)) / cast(lambda x_10938#5545969.numerator as double)), uom, lambda x_10938#5545969.uom, uomUuid, lambda x_10938#5545969.uomUuid), lambda x_10938#5545969, false))).inPreferredQuantity, coalesce((qty#5544502 * (cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10936#5545943.isOrderUnit, lambda x_10936#5545943, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10936#5545944.isOrderUnit, lambda x_10936#5545944, false)), 1, None, false).numerator as double))), qty#5544502)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#5544695, lambdafunction((lambda x_10937#5545945.isPreferred AND (((qty#5544502 * cast(lambda x_10937#5545945.denominator as double)) % cast(lambda x_10937#5545945.numerator as double)) = 0.0)), lambda x_10937#5545945, false)), lambdafunction(struct(inPreferredQuantity, ((qty#5544502 * cast(lambda x_10938#5545970.denominator as double)) / cast(lambda x_10938#5545970.numerator as double)), uom, lambda x_10938#5545970.uom, uomUuid, lambda x_10938#5545970.uomUuid), lambda x_10938#5545970, false))).uom, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10936#5545946.isOrderUnit, lambda x_10936#5545946, false)), 1, None, false).uom, orderQuantityBaseUom#5544681)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#5544695, lambdafunction((lambda x_10937#5545947.isPreferred AND (((qty#5544502 * cast(lambda x_10937#5545947.denominator as double)) % cast(lambda x_10937#5545947.numerator as double)) = 0.0)), lambda x_10937#5545947, false)), lambdafunction(struct(inPreferredQuantity, ((qty#5544502 * cast(lambda x_10938#5545971.denominator as double)) / cast(lambda x_10938#5545971.numerator as double)), uom, lambda x_10938#5545971.uom, uomUuid, lambda x_10938#5545971.uomUuid), lambda x_10938#5545971, false))).uomUuid, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10936#5545948.isOrderUnit, lambda x_10936#5545948, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#5544682)), serviceLevel, coalesce(filter(element_at(quantityKpis#5545432, qty#5544502, None, false), lambdafunction((lambda x_10946#5545949.label = ServiceLevel), lambda x_10946#5545949, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#5544501 * (cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10939#5545952.isOrderUnit, lambda x_10939#5545952, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10939#5545953.isOrderUnit, lambda x_10939#5545953, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#5544501), orderQuantityUom, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10939#5545954.isOrderUnit, lambda x_10939#5545954, false)), 1, None, false).uom, orderQuantityBaseUom#5544681), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10939#5545955.isOrderUnit, lambda x_10939#5545955, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#5544682), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#5544501, orderQuantityBaseUom, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#5544682, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#5544695, lambdafunction((lambda x_10941#5545956.isPreferred AND (((quantityAfterProdPlantOptimization#5544501 * cast(lambda x_10941#5545956.denominator as double)) % cast(lambda x_10941#5545956.numerator as double)) = 0.0)), lambda x_10941#5545956, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#5544501 * cast(lambda x_10942#5545972.denominator as double)) / cast(lambda x_10942#5545972.numerator as double)), uom, lambda x_10942#5545972.uom, uomUuid, lambda x_10942#5545972.uomUuid), lambda x_10942#5545972, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#5544501 * (cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10940#5545957.isOrderUnit, lambda x_10940#5545957, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10940#5545958.isOrderUnit, lambda x_10940#5545958, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#5544501)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#5544695, lambdafunction((lambda x_10941#5545959.isPreferred AND (((quantityAfterProdPlantOptimization#5544501 * cast(lambda x_10941#5545959.denominator as double)) % cast(lambda x_10941#5545959.numerator as double)) = 0.0)), lambda x_10941#5545959, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#5544501 * cast(lambda x_10942#5545973.denominator as double)) / cast(lambda x_10942#5545973.numerator as double)), uom, lambda x_10942#5545973.uom, uomUuid, lambda x_10942#5545973.uomUuid), lambda x_10942#5545973, false))).uom, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10940#5545960.isOrderUnit, lambda x_10940#5545960, false)), 1, None, false).uom, orderQuantityBaseUom#5544681)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#5544695, lambdafunction((lambda x_10941#5545961.isPreferred AND (((quantityAfterProdPlantOptimization#5544501 * cast(lambda x_10941#5545961.denominator as double)) % cast(lambda x_10941#5545961.numerator as double)) = 0.0)), lambda x_10941#5545961, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#5544501 * cast(lambda x_10942#5545974.denominator as double)) / cast(lambda x_10942#5545974.numerator as double)), uom, lambda x_10942#5545974.uom, uomUuid, lambda x_10942#5545974.uomUuid), lambda x_10942#5545974, false))).uomUuid, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10940#5545962.isOrderUnit, lambda x_10940#5545962, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#5544682)), serviceLevel, coalesce(filter(element_at(quantityKpis#5545432, quantityAfterProdPlantOptimization#5544501, None, false), lambdafunction((lambda x_10949#5545963.label = ServiceLevel), lambda x_10949#5545963, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#5545923, coalesce(filter(prodLocSpecificKpis#5545404, lambdafunction((lambda x_10952#5545976.label = InitialStockQty), lambda x_10952#5545976, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#5545975, coalesce(filter(prodLocSpecificKpis#5545404, lambdafunction((lambda x_10953#5545978.label = DemandPeriodEndTimestamp), lambda x_10953#5545978, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#5545977]
Input [36]: [shardId#5543988, quantityAfterProdPlantOptimization#5544501, qty#5544502, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, productGroup#5544700, product#5544671, plant#5544672, subrange#5544670, orderDateTime#5544676, deliveryDateTime#5544677, availabilityDateTime#5544678, nextAvailabilityDateTime#5544679, logisticUnits#5544695, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, splitIndicator#5544663L, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, sourceOfSupplyUuid#5544667, minimumOrderQuantity#5544689, orderProposalItemId#5544659, orderProposalItemGroupId#5544660, optimizationGroups#5544696, measurements#5544688, previousOrderProposal#5544664L, prodLocSpecificKpis#5545404, channelStreamSpecificKpis#5545419, quantityKpis#5545432, constraintStructArray#5545846]
(54) Project
Output [21]: [shardId#5543988, qty#5544502, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, productGroup#5544700, product#5544671, plant#5544672, subrange#5544670, orderDateTime#5544676, deliveryDateTime#5544677, logisticUnits#5544695, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, splitIndicator#5544663L, orderProposalItemId#5544659, orderProposalItemGroupId#5544660, previousOrderProposal#5544664L, struct(supplier, supplier#5544669, supplyingPlant, supplyingPlant#5544699, productGroup, productGroup#5544700, product, product#5544671, plant, plant#5544672, supplierSubRange, subrange#5544670, sourceOfSupplyUuid, sourceOfSupplyUuid#5544667, deliveryDateTime, deliveryDateTime#5544677, unitPrice, netPriceAmount#5544686, unitPriceCurrency, netPriceCurrencyCode#5544687, unitPriceQuantity, netPriceQuantity#5544683, unitPriceQuantityUom, netPriceQuantityUom#5544684, unitPriceQuantityUomUuid, ... 31 more fields) AS parentItem#5546048]
Input [37]: [shardId#5543988, qty#5544502, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, productGroup#5544700, product#5544671, plant#5544672, subrange#5544670, orderDateTime#5544676, deliveryDateTime#5544677, availabilityDateTime#5544678, nextAvailabilityDateTime#5544679, logisticUnits#5544695, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, splitIndicator#5544663L, netPriceAmount#5544686, netPriceCurrencyCode#5544687, netPriceQuantity#5544683, netPriceQuantityUom#5544684, netPriceQuantityUomUuid#5544685, sourceOfSupplyUuid#5544667, orderProposalItemId#5544659, orderProposalItemGroupId#5544660, optimizationGroups#5544696, measurements#5544688, previousOrderProposal#5544664L, prodLocSpecificKpis#5545404, channelStreamSpecificKpis#5545419, quantityKpis#5545432, constraintBenchmark#5545852, calculationAnalysis#5545923, inventoryDateTime#5545975, demandPeriodEndDateTime#5545977]
(55) Project
Output [12]: [shardId#5543988, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, orderDateTime#5544676, splitIndicator#5544663L, orderProposalItemGroupId#5544660, previousOrderProposal#5544664L, parentItem#5546048, struct(itemId, orderProposalItemId#5544659, supplier, supplier#5544669, supplyingPlant, supplyingPlant#5544699, productGroup, productGroup#5544700, product, product#5544671, plant, plant#5544672, supplierSubRange, subrange#5544670, deliveryDateTime, deliveryDateTime#5544677, orderQuantity, coalesce((qty#5544502 * (cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10977#5546082.isOrderUnit, lambda x_10977#5546082, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10977#5546083.isOrderUnit, lambda x_10977#5546083, false)), 1, None, false).numerator as double))), qty#5544502), orderQuantityUom, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10977#5546084.isOrderUnit, lambda x_10977#5546084, false)), 1, None, false).uom, orderQuantityBaseUom#5544681), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#5544695, lambdafunction(lambda x_10977#5546085.isOrderUnit, lambda x_10977#5546085, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#5544682), orderQuantityInBaseUnit, qty#5544502, orderQuantityBaseUom, ... 13 more fields) AS item#5546079]
Input [21]: [shardId#5543988, qty#5544502, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, productGroup#5544700, product#5544671, plant#5544672, subrange#5544670, orderDateTime#5544676, deliveryDateTime#5544677, logisticUnits#5544695, orderQuantityBaseUom#5544681, orderQuantityBaseUomUuid#5544682, splitIndicator#5544663L, orderProposalItemId#5544659, orderProposalItemGroupId#5544660, previousOrderProposal#5544664L, parentItem#5546048]
(56) ObjectHashAggregate
Input [12]: [shardId#5543988, orderProposalId#5544658L, originalReplenishmentRunId#5544661L, supplierGroup#5544668, supplier#5544669, supplyingPlant#5544699, orderDateTime#5544676, splitIndicator#5544663L, orderProposalItemGroupId#5544660, previousOrderProposal#5544664L, parentItem#5546048, item#5546079]
Keys [4]: [shardId#5543988, orderProposalId#5544658L, splitIndicator#5544663L, orderProposalItemGroupId#5544660]
Functions [8]: [partial_max(originalReplenishmentRunId#5544661L), partial_max(supplierGroup#5544668), partial_max(supplier#5544669), partial_max(supplyingPlant#5544699), partial_max(orderDateTime#5544676), partial_collect_list(parentItem#5546048, 0, 0), partial_collect_set(previousOrderProposal#5544664L, 0, 0), partial_collect_list(item#5546079, 0, 0)]
Aggregate Attributes [8]: [max#5547330L, max#5547331, max#5547332, max#5547333, max#5547334, buf#5547335, buf#5547336, buf#5547337]
Results [12]: [shardId#5543988, orderProposalId#5544658L, splitIndicator#5544663L, orderProposalItemGroupId#5544660, max#5547338L, max#5547339, max#5547340, max#5547341, max#5547342, buf#5547343, buf#5547344, buf#5547345]
(57) Exchange
Input [12]: [shardId#5543988, orderProposalId#5544658L, splitIndicator#5544663L, orderProposalItemGroupId#5544660, max#5547338L, max#5547339, max#5547340, max#5547341, max#5547342, buf#5547343, buf#5547344, buf#5547345]
Arguments: hashpartitioning(shardId#5543988, orderProposalId#5544658L, splitIndicator#5544663L, orderProposalItemGroupId#5544660, 30), ENSURE_REQUIREMENTS, [plan_id=2877321]
(58) ObjectHashAggregate
Input [12]: [shardId#5543988, orderProposalId#5544658L, splitIndicator#5544663L, orderProposalItemGroupId#5544660, max#5547338L, max#5547339, max#5547340, max#5547341, max#5547342, buf#5547343, buf#5547344, buf#5547345]
Keys [4]: [shardId#5543988, orderProposalId#5544658L, splitIndicator#5544663L, orderProposalItemGroupId#5544660]
Functions [8]: [max(originalReplenishmentRunId#5544661L), max(supplierGroup#5544668), max(supplier#5544669), max(supplyingPlant#5544699), max(orderDateTime#5544676), collect_list(parentItem#5546048, 0, 0), collect_set(previousOrderProposal#5544664L, 0, 0), collect_list(item#5546079, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#5544661L)#5546148L, max(supplierGroup#5544668)#5546149, max(supplier#5544669)#5546150, max(supplyingPlant#5544699)#5546151, max(orderDateTime#5544676)#5546152, collect_list(parentItem#5546048, 0, 0)#5546153, collect_set(previousOrderProposal#5544664L, 0, 0)#5546155, collect_list(item#5546079, 0, 0)#5546154]
Results [10]: [shardId#5543988, orderProposalId#5544658L, max(originalReplenishmentRunId#5544661L)#5546148L AS originalReplenishmentRunId#5546096L, max(supplierGroup#5544668)#5546149 AS supplierGroup#5546097, max(supplier#5544669)#5546150 AS supplier#5546098, max(supplyingPlant#5544699)#5546151 AS supplyingPlant#5546099, max(orderDateTime#5544676)#5546152 AS orderDateTime#5546100, collect_list(parentItem#5546048, 0, 0)#5546153 AS parentItems#5546101, collect_set(previousOrderProposal#5544664L, 0, 0)#5546155 AS previousOrderProposals#5546103, struct(itemGroupId, coalesce(orderProposalItemGroupId#5544660, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#5546079, 0, 0)#5546154) AS itemGroup#5546157]
(59) ObjectHashAggregate
Input [10]: [shardId#5543988, orderProposalId#5544658L, originalReplenishmentRunId#5546096L, supplierGroup#5546097, supplier#5546098, supplyingPlant#5546099, orderDateTime#5546100, parentItems#5546101, previousOrderProposals#5546103, itemGroup#5546157]
Keys [2]: [shardId#5543988, orderProposalId#5544658L]
Functions [8]: [partial_max(originalReplenishmentRunId#5546096L), partial_max(supplierGroup#5546097), partial_max(supplier#5546098), partial_max(supplyingPlant#5546099), partial_max(orderDateTime#5546100), partial_collect_list(itemGroup#5546157, 0, 0), partial_collect_list(parentItems#5546101, 0, 0), partial_collect_set(previousOrderProposals#5546103, 0, 0)]
Aggregate Attributes [8]: [max#5547314L, max#5547315, max#5547316, max#5547317, max#5547318, buf#5547319, buf#5547320, buf#5547321]
Results [10]: [shardId#5543988, orderProposalId#5544658L, max#5547322L, max#5547323, max#5547324, max#5547325, max#5547326, buf#5547327, buf#5547328, buf#5547329]
(60) Exchange
Input [10]: [shardId#5543988, orderProposalId#5544658L, max#5547322L, max#5547323, max#5547324, max#5547325, max#5547326, buf#5547327, buf#5547328, buf#5547329]
Arguments: hashpartitioning(shardId#5543988, orderProposalId#5544658L, 30), ENSURE_REQUIREMENTS, [plan_id=2877324]
(61) ObjectHashAggregate
Input [10]: [shardId#5543988, orderProposalId#5544658L, max#5547322L, max#5547323, max#5547324, max#5547325, max#5547326, buf#5547327, buf#5547328, buf#5547329]
Keys [2]: [shardId#5543988, orderProposalId#5544658L]
Functions [8]: [max(originalReplenishmentRunId#5546096L), max(supplierGroup#5546097), max(supplier#5546098), max(supplyingPlant#5546099), max(orderDateTime#5546100), collect_list(itemGroup#5546157, 0, 0), collect_list(parentItems#5546101, 0, 0), collect_set(previousOrderProposals#5546103, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#5546096L)#5546179L, max(supplierGroup#5546097)#5546180, max(supplier#5546098)#5546181, max(supplyingPlant#5546099)#5546182, max(orderDateTime#5546100)#5546183, collect_list(itemGroup#5546157, 0, 0)#5546184, collect_list(parentItems#5546101, 0, 0)#5546185, collect_set(previousOrderProposals#5546103, 0, 0)#5546186]
Results [10]: [shardId#5543988, orderProposalId#5544658L, max(originalReplenishmentRunId#5546096L)#5546179L AS originalReplenishmentRunId#5546158L, max(supplierGroup#5546097)#5546180 AS supplierGroup#5546159, max(supplier#5546098)#5546181 AS supplier#5546160, max(supplyingPlant#5546099)#5546182 AS supplyingPlant#5546161, max(orderDateTime#5546100)#5546183 AS orderDateTime#5546162, collect_list(itemGroup#5546157, 0, 0)#5546184 AS itemGroups#5546163, flatten(collect_list(parentItems#5546101, 0, 0)#5546185) AS parentItems#5546164, flatten(collect_set(previousOrderProposals#5546103, 0, 0)#5546186) AS previousOrderProposals#5546165]
(62) Project
Output [2]: [shardId#5543988, struct(orderProposalId, orderProposalId#5544658L, originalReplenishmentRunId, originalReplenishmentRunId#5546158L, supplierGroup, supplierGroup#5546159, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#5546159) THEN supplier#5546160 END, supplyingPlant, supplyingPlant#5546161, orderDateTime, orderDateTime#5546162, itemGroups, itemGroups#5546163, previousOrderProposals, array_distinct(previousOrderProposals#5546165), parentItems, parentItems#5546164) AS orderProposal#5546190]
Input [10]: [shardId#5543988, orderProposalId#5544658L, originalReplenishmentRunId#5546158L, supplierGroup#5546159, supplier#5546160, supplyingPlant#5546161, orderDateTime#5546162, itemGroups#5546163, parentItems#5546164, previousOrderProposals#5546165]
(63) Project
Output [11]: [shardId#5543988, orderProposal#5546190.orderProposalId AS _extract_orderProposalId#5546946L, orderProposal#5546190.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#5546947L, orderProposal#5546190.supplierGroup AS _extract_supplierGroup#5546948, orderProposal#5546190.supplier AS _extract_supplier#5546949, orderProposal#5546190.supplyingPlant AS _extract_supplyingPlant#5546950, orderProposal#5546190.orderDateTime AS _extract_orderDateTime#5546951, orderProposal#5546190.itemGroups AS _extract_itemGroups#5546952, orderProposal#5546190.previousOrderProposals AS _extract_previousOrderProposals#5546953, orderProposal#5546190.parentItems AS _extract_parentItems#5546954, orderProposal#5546190.orderProposalId AS _extract_orderProposalId#5546955L]
Input [2]: [shardId#5543988, orderProposal#5546190]
(64) InMemoryTableScan
Output [3]: [shardId#5546203, orderProposalId#5546204L, optimizationGroups#5546206]
Arguments: [shardId#5546203, orderProposalId#5546204L, optimizationGroups#5546206], [isnotnull(orderProposalId#5546204L)]
(65) InMemoryRelation
Arguments: [shardId#5546203, orderProposalId#5546204L, items#5546205, optimizationGroups#5546206, isOptimal#5546207, optimizationInsights#5546209], StorageLevel(disk, memory, 2 replicas)
(66) Filter [codegen id : 2]
Input [3]: [shardId#5546203, orderProposalId#5546204L, optimizationGroups#5546206]
Condition : isnotnull(orderProposalId#5546204L)
(67) BroadcastExchange
Input [3]: [shardId#5546203, orderProposalId#5546204L, optimizationGroups#5546206]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=2877331]
(68) InMemoryTableScan
Output [2]: [items#5545841, shardId#5545839]
Arguments: [items#5545841, shardId#5545839], [(size(items#5545841.worklistShardItemId, true) > 0), isnotnull(items#5545841.worklistShardItemId), (shardId#5545839 = 0_1_10000001445)]
(69) InMemoryRelation
Arguments: [shardId#5545839, orderProposalId#5545840L, items#5545841, optimizationGroups#5545842, isOptimal#5545843, optimizationInsights#5545845], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 3]
Input [2]: [items#5545841, shardId#5545839]
Condition : (((size(items#5545841.worklistShardItemId, true) > 0) AND isnotnull(items#5545841.worklistShardItemId)) AND (shardId#5545839 = 0_1_10000001445))
(71) Project [codegen id : 3]
Output [1]: [items#5545841.worklistShardItemId AS _extract_worklistShardItemId#5546851]
Input [2]: [items#5545841, shardId#5545839]
(72) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#5546851]
Arguments: explode(_extract_worklistShardItemId#5546851), false, [item#5546210L]
(73) Project [codegen id : 3]
Output [1]: [item#5546210L AS worklistShardItemId#5546211L]
Input [1]: [item#5546210L]
(74) BroadcastExchange
Input [1]: [worklistShardItemId#5546211L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=2877339]
(75) Scan parquet
Output [5]: [orderProposalId#5546259L, isFallbackOrderOnly#5546276, worklistShardItemId#5546282L, shardId#5546303, sequenceId#5546281]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000001445]
PartitionFilters: [isnotnull(shardId#5546303), isnotnull(sequenceId#5546281), (shardId#5546303 = 0_1_10000001445), (sequenceId#5546281 = 7)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(76) ColumnarToRow [codegen id : 4]
Input [5]: [orderProposalId#5546259L, isFallbackOrderOnly#5546276, worklistShardItemId#5546282L, shardId#5546303, sequenceId#5546281]
(77) Filter [codegen id : 4]
Input [5]: [orderProposalId#5546259L, isFallbackOrderOnly#5546276, worklistShardItemId#5546282L, shardId#5546303, sequenceId#5546281]
Condition : ((isnotnull(worklistShardItemId#5546282L) AND NOT (isFallbackOrderOnly#5546276 <=> true)) AND isnotnull(orderProposalId#5546259L))
(78) Project [codegen id : 4]
Output [2]: [orderProposalId#5546259L, worklistShardItemId#5546282L]
Input [5]: [orderProposalId#5546259L, isFallbackOrderOnly#5546276, worklistShardItemId#5546282L, shardId#5546303, sequenceId#5546281]
(79) Exchange
Input [2]: [orderProposalId#5546259L, worklistShardItemId#5546282L]
Arguments: hashpartitioning(worklistShardItemId#5546282L, 30), REPARTITION_BY_NUM, [plan_id=2877346]
(80) Project
Output [2]: [worklistShardItemId#5546282L, orderProposalId#5546259L]
Input [2]: [orderProposalId#5546259L, worklistShardItemId#5546282L]
(81) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#5546211L]
Right keys [1]: [worklistShardItemId#5546282L]
Join type: Inner
Join condition: None
(82) Project [codegen id : 5]
Output [1]: [orderProposalId#5546259L]
Input [3]: [worklistShardItemId#5546211L, worklistShardItemId#5546282L, orderProposalId#5546259L]
(83) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#5546259L]
Keys [1]: [orderProposalId#5546259L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#5546259L]
(84) Exchange
Input [1]: [orderProposalId#5546259L]
Arguments: hashpartitioning(orderProposalId#5546259L, 30), ENSURE_REQUIREMENTS, [plan_id=2877353]
(85) HashAggregate
Input [1]: [orderProposalId#5546259L]
Keys [1]: [orderProposalId#5546259L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#5546259L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#5546204L]
Right keys [1]: [orderProposalId#5546259L]
Join type: Inner
Join condition: None
(87) Project
Output [3]: [orderProposalId#5546204L, shardId#5546203, coalesce(transform(optimizationGroups#5546206, lambdafunction(struct(optGroupId, lambda x_10981#5546201.optGroupId, minOrderProfile, lambda x_10981#5546201.minOrderProfile, assignmentDetails, lambda x_10981#5546201.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_10981#5546201.minOrderGoal.dimensionType, unit, lambda x_10981#5546201.minOrderGoal.unit, unitUuid, lambda x_10981#5546201.minOrderGoal.unitUuid, goalValue, lambda x_10981#5546201.minOrderGoal.minOrderValue, calcValue, lambda x_10981#5546201.minOrderGoal.calculatedOrderValue)), lambda x_10981#5546201, false)), []) AS optimizationGroups#5546200]
Input [4]: [shardId#5546203, orderProposalId#5546204L, optimizationGroups#5546206, orderProposalId#5546259L]
(88) BroadcastExchange
Input [3]: [orderProposalId#5546204L, shardId#5546203, optimizationGroups#5546200]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[0, bigint, true], 0), isnull(input[0, bigint, true])),false), [plan_id=2877359]
(89) BroadcastHashJoin
Left keys [4]: [coalesce(shardId#5543988, ), isnull(shardId#5543988), coalesce(_extract_orderProposalId#5546955L, 0), isnull(_extract_orderProposalId#5546955L)]
Right keys [4]: [coalesce(shardId#5546203, ), isnull(shardId#5546203), coalesce(orderProposalId#5546204L, 0), isnull(orderProposalId#5546204L)]
Join type: LeftOuter
Join condition: None
(90) Project
Output [2]: [shardId#5543988, named_struct(orderProposalId, _extract_orderProposalId#5546955L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#5546947L, supplierGroup, _extract_supplierGroup#5546948, optimizationGroups, coalesce(optimizationGroups#5546200, []), supplier, _extract_supplier#5546949, supplyingPlant, _extract_supplyingPlant#5546950, orderDateTime, _extract_orderDateTime#5546951, itemGroups, _extract_itemGroups#5546952, previousOrderProposals, _extract_previousOrderProposals#5546953, parentItems, _extract_parentItems#5546954) AS orderProposal#5546307]
Input [14]: [shardId#5543988, _extract_orderProposalId#5546946L, _extract_originalReplenishmentRunId#5546947L, _extract_supplierGroup#5546948, _extract_supplier#5546949, _extract_supplyingPlant#5546950, _extract_orderDateTime#5546951, _extract_itemGroups#5546952, _extract_previousOrderProposals#5546953, _extract_parentItems#5546954, _extract_orderProposalId#5546955L, orderProposalId#5546204L, shardId#5546203, optimizationGroups#5546200]
(91) Filter
Input [1]: [orderProposal#5546307]
Condition : (size(orderProposal#5546307.parentItems.deliveryDateTime, true) > 0)
(92) Project
Output [1]: [orderProposal#5546307.parentItems.deliveryDateTime AS _extract_deliveryDateTime#5547710]
Input [1]: [orderProposal#5546307]
(93) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#5547710]
Arguments: explode(_extract_deliveryDateTime#5547710), false, [numberOfOrderProposalItems#5547682]
(94) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#5547682]
(95) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#5547721L]
Results [1]: [count#5547722L]
(96) Exchange
Input [1]: [count#5547722L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=2877465]
(97) HashAggregate [codegen id : 2]
Input [1]: [count#5547722L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#5547687L]
Results [1]: [count(1)#5547687L AS count#5547683L]