digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 1 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 20<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 20<br>local bytes read: 723.0 B<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>320.0 B (16.0 B, 16.0 B, 16.0 B (stage 79332.0: task 195398))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 79332.0: task 195399))<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: 732.0 B<br>number of partitions: 1<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1455.0 B (72.0 B, 72.0 B, 75.0 B (stage 79332.0: task 195397))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=375637]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n15 ms (0 ms, 1 ms, 2 ms (stage 79332.0: task 195397))";
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>13 ms (0 ms, 0 ms, 2 ms (stage 79332.0: task 195397))<br>number of output rows: 20" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 8" tooltip="Generate explode(_extract_deliveryDateTime#961777), false, [numberOfOrderProposalItems#961749]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#960374.parentItems.deliveryDateTime AS _extract_deliveryDateTime#961777]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 5" tooltip="Filter (size(orderProposal#960374.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 5" tooltip="InMemoryTableScan [orderProposal#960374], [(size(orderProposal#960374.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, named_struct(orderProposalId, _extract_orderProposalId#961022L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#961014L, supplierGroup, _extract_supplierGroup#961015, optimizationGroups, coalesce(optimizationGroups#960267, []), supplier, _extract_supplier#961016, supplyingPlant, _extract_supplyingPlant#961017, orderDateTime, _extract_orderDateTime#961018, itemGroups, _extract_itemGroups#961019, previousOrderProposals, _extract_previousOrderProposals#961020, parentItems, _extract_parentItems#961021) AS orderProposal#960374]"];
11 [id="node11" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 5" tooltip="BroadcastHashJoin [coalesce(shardId#958036, ), isnull(shardId#958036), coalesce(_extract_orderProposalId#961022L, 0), isnull(_extract_orderProposalId#961022L)], [coalesce(shardId#960270, ), isnull(shardId#960270), coalesce(orderProposalId#960271L, 0), isnull(orderProposalId#960271L)], LeftOuter, BuildRight, false"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, orderProposal#960247.orderProposalId AS _extract_orderProposalId#961013L, orderProposal#960247.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#961014L, orderProposal#960247.supplierGroup AS _extract_supplierGroup#961015, orderProposal#960247.supplier AS _extract_supplier#961016, orderProposal#960247.supplyingPlant AS _extract_supplyingPlant#961017, orderProposal#960247.orderDateTime AS _extract_orderDateTime#961018, orderProposal#960247.itemGroups AS _extract_itemGroups#961019, orderProposal#960247.previousOrderProposals AS _extract_previousOrderProposals#961020, orderProposal#960247.parentItems AS _extract_parentItems#961021, orderProposal#960247.orderProposalId AS _extract_orderProposalId#961022L]"];
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, struct(orderProposalId, orderProposalId#958706L, originalReplenishmentRunId, originalReplenishmentRunId#960215L, supplierGroup, supplierGroup#960216, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#960216) THEN supplier#960217 END, supplyingPlant, supplyingPlant#960218, orderDateTime, orderDateTime#960219, itemGroups, itemGroups#960220, previousOrderProposals, array_distinct(previousOrderProposals#960222), parentItems, parentItems#960221) AS orderProposal#960247]"];
14 [id="node14" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 5<br>time in aggregation build total (min, med, max (stageId: taskId))<br>292 ms (0 ms, 0 ms, 61 ms (stage 79332.0: task 195397))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79332.0: task 195397))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#958036, orderProposalId#958706L], functions=[max(originalReplenishmentRunId#960153L), max(supplierGroup#960154), max(supplier#960155), max(supplyingPlant#960156), max(orderDateTime#960157), collect_list(itemGroup#960214, 0, 0), collect_list(parentItems#960158, 0, 0), collect_set(previousOrderProposals#960160, 0, 0)])"];
15 [id="node15" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 5<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 5<br>local bytes read total (min, med, max (stageId: taskId))<br>7.5 KiB (1298.0 B, 1553.0 B, 1841.0 B (stage 79332.0: task 195396))<br>merged fetch fallback count: 0<br>local blocks read: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>18.7 KiB (2.4 KiB, 4.6 KiB, 7.1 KiB (stage 79331.0: task 195374))<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 79331.0: task 195375))<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 79332.0: task 195397))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>7.5 KiB (1298.0 B, 1841.0 B, 2.9 KiB (stage 79331.0: task 195374))" tooltip="Exchange hashpartitioning(shardId#958036, orderProposalId#958706L, 20), ENSURE_REQUIREMENTS, [plan_id=375496]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 5<br>time in aggregation build total (min, med, max (stageId: taskId))<br>95 ms (0 ms, 0 ms, 24 ms (stage 79331.0: task 195375))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79331.0: task 195373))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#958036, orderProposalId#958706L], functions=[partial_max(originalReplenishmentRunId#960153L), partial_max(supplierGroup#960154), partial_max(supplier#960155), partial_max(supplyingPlant#960156), partial_max(orderDateTime#960157), partial_collect_list(itemGroup#960214, 0, 0), partial_collect_list(parentItems#960158, 0, 0), partial_collect_set(previousOrderProposals#960160, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 5<br>time in aggregation build total (min, med, max (stageId: taskId))<br>415 ms (0 ms, 0 ms, 105 ms (stage 79331.0: task 195375))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79331.0: task 195373))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#958036, orderProposalId#958706L, splitIndicator#958711L, orderProposalItemGroupId#958708], functions=[max(originalReplenishmentRunId#958709L), max(supplierGroup#958716), max(supplier#958717), max(supplyingPlant#958747), max(orderDateTime#958724), collect_list(parentItem#960105, 0, 0), collect_set(previousOrderProposal#958712L, 0, 0), collect_list(item#960136, 0, 0)])"];
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>9.9 KiB (1258.0 B, 2.6 KiB, 3.4 KiB (stage 79331.0: task 195374))<br>merged fetch fallback count: 0<br>local blocks read: 7<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>19.0 KiB (2.3 KiB, 2.4 KiB, 4.8 KiB (stage 79330.0: task 195357))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 79330.0: task 195357))<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 79331.0: task 195373))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>9.9 KiB (1258.0 B, 1332.0 B, 2.1 KiB (stage 79330.0: task 195357))" tooltip="Exchange hashpartitioning(shardId#958036, orderProposalId#958706L, splitIndicator#958711L, orderProposalItemGroupId#958708, 20), ENSURE_REQUIREMENTS, [plan_id=375493]"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 8<br>time in aggregation build total (min, med, max (stageId: taskId))<br>696 ms (0 ms, 1 ms, 140 ms (stage 79330.0: task 195354))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79330.0: task 195354))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#958036, orderProposalId#958706L, splitIndicator#958711L, orderProposalItemGroupId#958708], functions=[partial_max(originalReplenishmentRunId#958709L), partial_max(supplierGroup#958716), partial_max(supplier#958717), partial_max(supplyingPlant#958747), partial_max(orderDateTime#958724), partial_collect_list(parentItem#960105, 0, 0), partial_collect_set(previousOrderProposal#958712L, 0, 0), partial_collect_list(item#960136, 0, 0)])"];
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, orderDateTime#958724, splitIndicator#958711L, orderProposalItemGroupId#958708, previousOrderProposal#958712L, parentItem#960105, struct(itemId, orderProposalItemId#958707, supplier, supplier#958717, supplyingPlant, supplyingPlant#958747, productGroup, productGroup#958748, product, product#958719, plant, plant#958720, supplierSubRange, subrange#958718, deliveryDateTime, deliveryDateTime#958725, orderQuantity, coalesce((qty#958550 * (cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2515#960139.isOrderUnit, lambda x_2515#960139, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2515#960140.isOrderUnit, lambda x_2515#960140, false)), 1, None, false).numerator as double))), qty#958550), orderQuantityUom, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2515#960141.isOrderUnit, lambda x_2515#960141, false)), 1, None, false).uom, orderQuantityBaseUom#958729), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2515#960142.isOrderUnit, lambda x_2515#960142, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#958730), orderQuantityInBaseUnit, qty#958550, orderQuantityBaseUom, ... 13 more fields) AS item#960136]"];
21 [id="node21" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, qty#958550, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, productGroup#958748, product#958719, plant#958720, subrange#958718, orderDateTime#958724, deliveryDateTime#958725, logisticUnits#958743, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, splitIndicator#958711L, orderProposalItemId#958707, orderProposalItemGroupId#958708, previousOrderProposal#958712L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#958717, supplyingPlant, supplyingPlant#958747, productGroup, productGroup#958748, product, product#958719, plant, plant#958720, supplierSubRange, subrange#958718, sourceOfSupplyUuid, sourceOfSupplyUuid#958715, deliveryDateTime, deliveryDateTime#958725, unitPrice, netPriceAmount#958734, unitPriceCurrency, netPriceCurrencyCode#958735, unitPriceQuantity, ... 37 more fields) AS parentItem#960105]"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, qty#958550, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, productGroup#958748, product#958719, plant#958720, subrange#958718, orderDateTime#958724, deliveryDateTime#958725, availabilityDateTime#958726, nextAvailabilityDateTime#958727, logisticUnits#958743, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, splitIndicator#958711L, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, sourceOfSupplyUuid#958715, ... 12 more fields]"];
subgraph cluster23 {
isCluster="true";
id="cluster23";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (25 ms, 166 ms, 306 ms (stage 79330.0: task 195354))";
tooltip="WholeStageCodegen (1)";
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, productGroup#958748, product#958719, plant#958720, subrange#958718, orderDateTime#958724, deliveryDateTime#958725, availabilityDateTime#958726, nextAvailabilityDateTime#958727, logisticUnits#958743, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, splitIndicator#958711L, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, ... 11 more fields]"];
25 [id="node25" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter NOT (isFallbackOrderOnly#958728 <=> true)"];
}
26 [id="node26" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 8" tooltip="InMemoryTableScan [availabilityDateTime#958726, channelStreamSpecificKpis#959467, constraintLabels#958738, constraintOperators#958739, constraintValues#958741, deliveryDateTime#958725, isFallbackOrderOnly#958728, logisticUnits#958743, measurements#958736, minimumOrderQuantity#958737, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, nextAvailabilityDateTime#958727, optimizationGroups#958744, orderDateTime#958724, orderProposalId#958706L, orderProposalItemGroupId#958708, orderProposalItemId#958707, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, originalReplenishmentRunId#958709L, plant#958720, ... 14 more fields], [NOT (isFallbackOrderOnly#958728 <=> true)]"];
subgraph cluster27 {
isCluster="true";
id="cluster27";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n279 ms (0 ms, 7 ms, 49 ms (stage 79330.0: task 195354))";
tooltip="WholeStageCodegen (13)";
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, ... 17 more fields]"];
29 [id="node29" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 8<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79330.0: task 195360))" tooltip="SortMergeJoin [shardId#958036, worklistShardItemId#958548L], [shardId#959474, worklistShardItemId#959475L], LeftOuter"];
}
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (0 ms, 98 ms, 232 ms (stage 79330.0: task 195354))";
tooltip="WholeStageCodegen (10)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, ... 16 more fields]"];
32 [id="node32" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 8<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79330.0: task 195360))" tooltip="SortMergeJoin [shardId#958036, worklistShardItemId#958548L], [shardId#959461, worklistShardItemId#959462L], LeftOuter"];
}
subgraph cluster33 {
isCluster="true";
id="cluster33";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n3.2 s (0 ms, 187 ms, 410 ms (stage 79330.0: task 195354))";
tooltip="WholeStageCodegen (7)";
34 [id="node34" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, ... 15 more fields]"];
35 [id="node35" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 8<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79330.0: task 195360))" tooltip="SortMergeJoin [shardId#958036, worklistShardItemId#958548L], [shardId#959445, worklistShardItemId#959446L], LeftOuter"];
}
subgraph cluster36 {
isCluster="true";
id="cluster36";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n4.4 s (1 ms, 260 ms, 563 ms (stage 79330.0: task 195355))";
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 79330.0: task 195360))<br>peak memory total (min, med, max (stageId: taskId))<br>15.3 MiB (64.0 KiB, 64.0 KiB, 2.1 MiB (stage 79330.0: task 195354))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79330.0: task 195360))" tooltip="Sort [shardId#958036 ASC NULLS FIRST, worklistShardItemId#958548L ASC NULLS FIRST], false, 0"];
}
38 [id="node38" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>8.8 KiB (1039.0 B, 1089.0 B, 2.3 KiB (stage 79330.0: task 195357))<br>merged fetch fallback count: 0<br>local blocks read: 8<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>12.1 KiB (1448.0 B, 3.2 KiB, 5.8 KiB (stage 79326.0: task 195277))<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 79326.0: task 195290))<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 79330.0: task 195354))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>8.8 KiB (1039.0 B, 2.3 KiB, 4.3 KiB (stage 79326.0: task 195277))" tooltip="Exchange hashpartitioning(shardId#958036, worklistShardItemId#958548L, 20), ENSURE_REQUIREMENTS, [plan_id=375226]"];
subgraph cluster39 {
isCluster="true";
id="cluster39";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n52 ms (0 ms, 5 ms, 6 ms (stage 79326.0: task 195277))";
tooltip="WholeStageCodegen (3)";
40 [id="node40" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, ... 14 more fields]"];
41 [id="node41" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 8" tooltip="BroadcastHashJoin [worklistShardItemId#958548L], [worklistShardItemId#958772L], LeftOuter, BuildRight, (shardId#958036 = 0_1_10000002110), false"];
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#958036, item#958547.worklistShardItemId AS worklistShardItemId#958548L, item#958547.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#958549, item#958547.qty AS qty#958550]"];
43 [id="node43" labelType="html" label="<b>Generate</b><br><br>number of output rows: 8" tooltip="Generate explode(items#958038), [shardId#958036], false, [item#958547]"];
44 [id="node44" labelType="html" label="<b>Filter</b><br><br>number of output rows: 5" tooltip="Filter ((size(items#958038, true) > 0) AND isnotnull(items#958038))"];
}
45 [id="node45" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 5" tooltip="InMemoryTableScan [shardId#958036, items#958038], [(size(items#958038, true) > 0), isnotnull(items#958038)]"];
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#958036) AND (shardId#958036 = 0_1_10000002110))"];
}
48 [id="node48" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, optimizationInsights#958042], [isnotnull(shardId#958036), (shardId#958036 = 0_1_10000002110)]"];
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#958036) AND (shardId#958036 = 0_1_10000002110))"];
51 [id="node51" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#958036,orderProposalId#958037L,items#958038,optimizationGroups#958039,isOptimal#958040,lastModified#958041,optimizationInsights#958042]"];
}
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: 287 ms<br>number of output rows: 8<br>data size: 1024.2 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=375221]"];
subgraph cluster53 {
isCluster="true";
id="cluster53";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n7 ms (0 ms, 0 ms, 1 ms (stage 79269.0: task 195254))";
tooltip="WholeStageCodegen (2)";
54 [id="node54" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#958772L, orderProposalId#958749L, orderProposalItemId#958750, orderProposalItemGroupId#958773, originalReplenishmentRunId#958791L, splitIndicator#958768L, previousOrderProposal#958769L, sourceOfSupplyUuid#958763, supplierGroup#958751, supplier#958752, subrange#958755, product#958758, plant#958753, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, isFallbackOrderOnly#958766, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, netPriceAmount#958785, netPriceCurrencyCode#958786, ... 11 more fields]"];
}
55 [id="node55" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>7.6 KiB (1023.0 B, 1075.0 B, 1246.0 B (stage 79269.0: task 195254))<br>merged fetch fallback count: 0<br>local blocks read: 7<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>11.8 KiB (1408.0 B, 1736.0 B, 3.0 KiB (stage 79268.0: task 195248))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 0 ms (stage 79268.0: task 195247))<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 79269.0: task 195254))<br>remote bytes read: 1039.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>8.6 KiB (1023.0 B, 1238.0 B, 2.2 KiB (stage 79268.0: task 195248))" tooltip="Exchange hashpartitioning(worklistShardItemId#958772L, 20), REPARTITION_BY_NUM, [plan_id=375217]"];
subgraph cluster56 {
isCluster="true";
id="cluster56";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n789 ms (117 ms, 129 ms, 151 ms (stage 79268.0: task 195248))";
tooltip="WholeStageCodegen (1)";
57 [id="node57" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#958749L, orderProposalItemId#958750, supplierGroup#958751, supplier#958752, plant#958753, deliveryDateTime#958754, subrange#958755, supplyingPlant#958756, productGroup#958757, product#958758, orderDateTime#958759, availabilityDateTime#958760, nextAvailabilityDateTime#958761, sourceOfSupplyUuid#958763, isFallbackOrderOnly#958766, splitIndicator#958768L, previousOrderProposal#958769L, worklistShardItemId#958772L, orderProposalItemGroupId#958773, externalProductId#958774, externalPlantId#958775, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, minimumOrderQuantity#958779, ... 11 more fields]"];
58 [id="node58" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter isnotnull(worklistShardItemId#958772L)"];
59 [id="node59" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 8<br>number of input batches: 6" tooltip="ColumnarToRow"];
}
60 [id="node60" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 6<br>scan time total (min, med, max (stageId: taskId))<br>623 ms (87 ms, 101 ms, 125 ms (stage 79268.0: task 195248))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 113.9 KiB<br>number of output rows: 8<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#958749L,orderProposalItemId#958750,supplierGroup#958751,supplier#958752,plant#958753,deliveryDateTime#958754,subrange#958755,supplyingPlant#958756,productGroup#958757,product#958758,orderDateTime#958759,availabilityDateTime#958760,nextAvailabilityDateTime#958761,sourceOfSupplyUuid#958763,isFallbackOrderOnly#958766,splitIndicator#958768L,previousOrderProposal#958769L,worklistShardItemId#958772L,orderProposalItemGroupId#958773,externalProductId#958774,externalPlantId#958775,logisticUnits#958776,orderQuantityBaseUom#958777,orderQuantityBaseUomUuid#958778,minimumOrderQuantity#958779,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#958772L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#958793), isnotnull(sequenceId#958771), (shardId#958793 = 0_1_10000002110), (se..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster61 {
isCluster="true";
id="cluster61";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (3 ms, 235 ms, 244 ms (stage 79330.0: task 195357))";
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 79330.0: task 195354))<br>peak memory total (min, med, max (stageId: taskId))<br>14.4 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 79330.0: task 195354))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79330.0: task 195354))" tooltip="Sort [shardId#959445 ASC NULLS FIRST, worklistShardItemId#959446L ASC NULLS FIRST], false, 0"];
}
63 [id="node63" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>1712.0 B (555.0 B, 574.0 B, 583.0 B (stage 79330.0: task 195353))<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 5<br>data size total (min, med, max (stageId: taskId))<br>8.4 KiB (1072.0 B, 1072.0 B, 2.1 KiB (stage 79329.0: task 195317))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 0 ms (stage 79329.0: task 195322))<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 79330.0: task 195354))<br>remote bytes read total (min, med, max (stageId: taskId))<br>2.7 KiB (554.0 B, 555.0 B, 576.0 B (stage 79330.0: task 195358))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 79330.0: task 195355))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>4.4 KiB (555.0 B, 574.0 B, 1109.0 B (stage 79329.0: task 195317))" tooltip="Exchange hashpartitioning(shardId#959445, worklistShardItemId#959446L, 20), ENSURE_REQUIREMENTS, [plan_id=375232]"];
subgraph cluster64 {
isCluster="true";
id="cluster64";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n176 ms (0 ms, 2 ms, 72 ms (stage 79329.0: task 195288))";
tooltip="WholeStageCodegen (5)";
65 [id="node65" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#959445, worklistShardItemId#959446L, coalesce(kpis#959450, []) AS prodLocSpecificKpis#959451]"];
66 [id="node66" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter (((isnull(qty#959447) AND isnull(demandChannel#959448)) AND isnull(demandStream#959449)) AND (isnotnull(shardId#959445) AND isnotnull(worklistShardItemId#959446L)))"];
67 [id="node67" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 34" tooltip="Scan ExistingRDD[shardId#959445,worklistShardItemId#959446L,qty#959447,demandChannel#959448,demandStream#959449,kpis#959450]"];
}
subgraph cluster68 {
isCluster="true";
id="cluster68";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n879 ms (2 ms, 146 ms, 152 ms (stage 79330.0: task 195357))";
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 79330.0: task 195354))<br>peak memory total (min, med, max (stageId: taskId))<br>14.4 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 79330.0: task 195354))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79330.0: task 195354))" tooltip="Sort [shardId#959461 ASC NULLS FIRST, worklistShardItemId#959462L ASC NULLS FIRST], false, 0"];
}
70 [id="node70" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 8<br>time in aggregation build total (min, med, max (stageId: taskId))<br>166 ms (0 ms, 0 ms, 45 ms (stage 79330.0: task 195354))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79330.0: task 195354))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#959461, worklistShardItemId#959462L], functions=[collect_list(struct(demandChannel, demandChannel#959464, demandStream, demandStream#959465, kpis, kpis#959466), 0, 0)])"];
71 [id="node71" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>933.0 B (311.0 B, 311.0 B, 311.0 B (stage 79330.0: task 195354))<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 5<br>data size total (min, med, max (stageId: taskId))<br>3.2 KiB (408.0 B, 408.0 B, 408.0 B (stage 79328.0: task 195329))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 79328.0: task 195287))<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 79330.0: task 195354))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1550.0 B (309.0 B, 311.0 B, 619.0 B (stage 79330.0: task 195357))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 79330.0: task 195355))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.4 KiB (308.0 B, 311.0 B, 311.0 B (stage 79328.0: task 195329))" tooltip="Exchange hashpartitioning(shardId#959461, worklistShardItemId#959462L, 20), ENSURE_REQUIREMENTS, [plan_id=375243]"];
72 [id="node72" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 8<br>time in aggregation build total (min, med, max (stageId: taskId))<br>174 ms (0 ms, 2 ms, 60 ms (stage 79328.0: task 195312))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79328.0: task 195329))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#959461, worklistShardItemId#959462L], functions=[partial_collect_list(struct(demandChannel, demandChannel#959464, demandStream, demandStream#959465, kpis, kpis#959466), 0, 0)])"];
subgraph cluster73 {
isCluster="true";
id="cluster73";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n174 ms (0 ms, 2 ms, 60 ms (stage 79328.0: task 195312))";
tooltip="WholeStageCodegen (8)";
74 [id="node74" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#959461, worklistShardItemId#959462L, demandChannel#959464, demandStream#959465, kpis#959466]"];
75 [id="node75" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter ((((isnull(qty#959463) AND isnotnull(demandChannel#959464)) AND isnotnull(demandStream#959465)) AND (size(kpis#959466, true) > 0)) AND (isnotnull(shardId#959461) AND isnotnull(worklistShardItemId#959462L)))"];
76 [id="node76" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 34" tooltip="Scan ExistingRDD[shardId#959461,worklistShardItemId#959462L,qty#959463,demandChannel#959464,demandStream#959465,kpis#959466]"];
}
subgraph cluster77 {
isCluster="true";
id="cluster77";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n344 ms (0 ms, 57 ms, 59 ms (stage 79330.0: task 195357))";
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 79330.0: task 195354))<br>peak memory total (min, med, max (stageId: taskId))<br>14.4 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 79330.0: task 195354))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79330.0: task 195354))" tooltip="Sort [shardId#959474 ASC NULLS FIRST, worklistShardItemId#959475L ASC NULLS FIRST], false, 0"];
}
79 [id="node79" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 8<br>time in aggregation build total (min, med, max (stageId: taskId))<br>203 ms (0 ms, 0 ms, 52 ms (stage 79330.0: task 195354))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79330.0: task 195354))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#959474, worklistShardItemId#959475L], functions=[collect_list(struct(qty, qty#959476, kpis, kpis#959479), 0, 0)])"];
80 [id="node80" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 18<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 18<br>local bytes read total (min, med, max (stageId: taskId))<br>1370.0 B (452.0 B, 455.0 B, 463.0 B (stage 79330.0: task 195356))<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 15<br>data size total (min, med, max (stageId: taskId))<br>11.3 KiB (640.0 B, 640.0 B, 1920.0 B (stage 79327.0: task 195337))<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>5 ms (0 ms, 0 ms, 0 ms (stage 79327.0: task 195283))<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 79330.0: task 195354))<br>remote bytes read total (min, med, max (stageId: taskId))<br>6.7 KiB (456.0 B, 921.0 B, 2.2 KiB (stage 79330.0: task 195357))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 1 ms (stage 79330.0: task 195354))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>8.1 KiB (452.0 B, 461.0 B, 1376.0 B (stage 79327.0: task 195337))" tooltip="Exchange hashpartitioning(shardId#959474, worklistShardItemId#959475L, 20), ENSURE_REQUIREMENTS, [plan_id=375255]"];
81 [id="node81" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 18<br>time in aggregation build total (min, med, max (stageId: taskId))<br>259 ms (0 ms, 2 ms, 66 ms (stage 79327.0: task 195309))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 79327.0: task 195286))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#959474, worklistShardItemId#959475L], functions=[partial_collect_list(struct(qty, qty#959476, kpis, kpis#959479), 0, 0)])"];
subgraph cluster82 {
isCluster="true";
id="cluster82";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n259 ms (0 ms, 2 ms, 66 ms (stage 79327.0: task 195309))";
tooltip="WholeStageCodegen (11)";
83 [id="node83" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#959474, worklistShardItemId#959475L, qty#959476, kpis#959479]"];
84 [id="node84" labelType="html" label="<b>Filter</b><br><br>number of output rows: 18" tooltip="Filter ((isnotnull(qty#959476) AND isnotnull(kpis#959479)) AND (isnotnull(shardId#959474) AND isnotnull(worklistShardItemId#959475L)))"];
85 [id="node85" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 34" tooltip="Scan ExistingRDD[shardId#959474,worklistShardItemId#959475L,qty#959476,demandChannel#959477,demandStream#959478,kpis#959479]"];
}
86 [id="node86" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 5 ms<br>time to collect: 660 ms<br>number of output rows: 5<br>data size: 2.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[0, bigint, true], 0), isnull(input[0, bigint, true])),false), [plan_id=375531]"];
87 [id="node87" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#960271L, shardId#960270, coalesce(transform(optimizationGroups#960273, lambdafunction(struct(optGroupId, lambda x_2519#960268.optGroupId, minOrderProfile, lambda x_2519#960268.minOrderProfile, assignmentDetails, lambda x_2519#960268.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2519#960268.minOrderGoal.dimensionType, unit, lambda x_2519#960268.minOrderGoal.unit, unitUuid, lambda x_2519#960268.minOrderGoal.unitUuid, goalValue, lambda x_2519#960268.minOrderGoal.minOrderValue, calcValue, lambda x_2519#960268.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2519#960268, false)), []) AS optimizationGroups#960267]"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n390 ms (1 ms, 37 ms, 39 ms (stage 79267.0: task 195230))";
tooltip="WholeStageCodegen (6)";
89 [id="node89" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 5" tooltip="BroadcastHashJoin [orderProposalId#960271L], [orderProposalId#960326L], 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>4 ms (0 ms, 0 ms, 1 ms (stage 79267.0: task 195236))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 79267.0: task 195233))<br>number of output rows: 5<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#960326L], 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: 113 ms<br>number of output rows: 5<br>data size: 1024.3 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=375503]"];
subgraph cluster91 {
isCluster="true";
id="cluster91";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n12 ms (0 ms, 1 ms, 2 ms (stage 79263.0: task 195165))";
tooltip="WholeStageCodegen (2)";
92 [id="node92" labelType="html" label="<b>Filter</b><br><br>number of output rows: 5" tooltip="Filter isnotnull(orderProposalId#960271L)"];
}
93 [id="node93" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 5" tooltip="InMemoryTableScan [shardId#960270, orderProposalId#960271L, optimizationGroups#960273], [isnotnull(orderProposalId#960271L)]"];
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#958036) AND (shardId#958036 = 0_1_10000002110))"];
}
96 [id="node96" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, optimizationInsights#958042], [isnotnull(shardId#958036), (shardId#958036 = 0_1_10000002110)]"];
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#958036) AND (shardId#958036 = 0_1_10000002110))"];
99 [id="node99" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#958036,orderProposalId#958037L,items#958038,optimizationGroups#958039,isOptimal#958040,lastModified#958041,optimizationInsights#958042]"];
}
101 [id="node101" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>525.0 B (75.0 B, 75.0 B, 150.0 B (stage 79267.0: task 195228))<br>merged fetch fallback count: 0<br>local blocks read: 7<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>128.0 B (16.0 B, 16.0 B, 32.0 B (stage 79266.0: task 195210))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 0 ms (stage 79266.0: task 195210))<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 79267.0: task 195228))<br>remote bytes read: 75.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>600.0 B (75.0 B, 75.0 B, 150.0 B (stage 79266.0: task 195210))" tooltip="Exchange hashpartitioning(orderProposalId#960326L, 20), ENSURE_REQUIREMENTS, [plan_id=375525]"];
subgraph cluster102 {
isCluster="true";
id="cluster102";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n242 ms (0 ms, 9 ms, 39 ms (stage 79266.0: task 195207))";
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>1 ms (0 ms, 0 ms, 1 ms (stage 79266.0: task 195210))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 79266.0: task 195215))<br>number of output rows: 8<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#960326L], functions=[])"];
104 [id="node104" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#960326L]"];
105 [id="node105" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 8" tooltip="BroadcastHashJoin [worklistShardItemId#960278L], [worklistShardItemId#960349L], Inner, BuildLeft, false"];
119 [id="node119" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#960349L, orderProposalId#960326L]"];
}
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: 193 ms<br>number of output rows: 8<br>data size: 1024.2 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=375511]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n12 ms (0 ms, 1 ms, 2 ms (stage 79264.0: task 195175))";
tooltip="WholeStageCodegen (3)";
108 [id="node108" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#960277L AS worklistShardItemId#960278L]"];
109 [id="node109" labelType="html" label="<b>Generate</b><br><br>number of output rows: 8" tooltip="Generate explode(_extract_worklistShardItemId#960918), false, [item#960277L]"];
110 [id="node110" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#959889.worklistShardItemId AS _extract_worklistShardItemId#960918]"];
111 [id="node111" labelType="html" label="<b>Filter</b><br><br>number of output rows: 5" tooltip="Filter (((size(items#959889.worklistShardItemId, true) > 0) AND isnotnull(items#959889.worklistShardItemId)) AND (shardId#959887 = 0_1_10000002110))"];
}
112 [id="node112" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 5" tooltip="InMemoryTableScan [items#959889, shardId#959887], [(size(items#959889.worklistShardItemId, true) > 0), isnotnull(items#959889.worklistShardItemId), (shardId#959887 = 0_1_10000002110)]"];
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#958036) AND (shardId#958036 = 0_1_10000002110))"];
}
115 [id="node115" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, optimizationInsights#958042], [isnotnull(shardId#958036), (shardId#958036 = 0_1_10000002110)]"];
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#958036) AND (shardId#958036 = 0_1_10000002110))"];
118 [id="node118" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#958036,orderProposalId#958037L,items#958038,optimizationGroups#958039,isOptimal#958040,lastModified#958041,optimizationInsights#958042]"];
}
120 [id="node120" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>588.0 B (84.0 B, 84.0 B, 84.0 B (stage 79266.0: task 195212))<br>merged fetch fallback count: 0<br>local blocks read: 7<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>192.0 B (24.0 B, 24.0 B, 48.0 B (stage 79265.0: task 195202))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 0 ms (stage 79265.0: task 195204))<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 79266.0: task 195212))<br>remote bytes read: 84.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>672.0 B (84.0 B, 84.0 B, 168.0 B (stage 79265.0: task 195202))" tooltip="Exchange hashpartitioning(worklistShardItemId#960349L, 20), REPARTITION_BY_NUM, [plan_id=375518]"];
subgraph cluster121 {
isCluster="true";
id="cluster121";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n823 ms (99 ms, 167 ms, 183 ms (stage 79265.0: task 195205))";
tooltip="WholeStageCodegen (4)";
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#960326L, worklistShardItemId#960349L]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter ((isnotnull(worklistShardItemId#960349L) AND NOT (isFallbackOrderOnly#960343 <=> true)) AND isnotnull(orderProposalId#960326L))"];
124 [id="node124" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 8<br>number of input batches: 6" tooltip="ColumnarToRow"];
}
125 [id="node125" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 6<br>scan time total (min, med, max (stageId: taskId))<br>731 ms (96 ms, 138 ms, 156 ms (stage 79265.0: task 195205))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 113.9 KiB<br>number of output rows: 8<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#960326L,isFallbackOrderOnly#960343,worklistShardItemId#960349L,shardId#960370,sequenceId#960348] Batched: true, DataFilters: [isnotnull(worklistShardItemId#960349L), NOT (isFallbackOrderOnly#960343 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#960370), isnotnull(sequenceId#960348), (shardId#960370 = 0_1_10000002110), (se..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
24->22;
25->24;
26->25;
28->26;
29->28;
31->29;
32->31;
34->32;
35->34;
37->35;
38->37;
40->38;
41->40;
42->41;
43->42;
44->43;
45->44;
47->45;
48->47;
50->48;
51->50;
52->41;
54->52;
55->54;
57->55;
58->57;
59->58;
60->59;
62->35;
63->62;
65->63;
66->65;
67->66;
69->32;
70->69;
71->70;
72->71;
74->72;
75->74;
76->75;
78->29;
79->78;
80->79;
81->80;
83->81;
84->83;
85->84;
86->11;
87->86;
89->87;
90->89;
92->90;
93->92;
95->93;
96->95;
98->96;
99->98;
100->89;
101->100;
103->101;
104->103;
105->104;
106->105;
108->106;
109->108;
110->109;
111->110;
112->111;
114->112;
115->114;
117->115;
118->117;
119->105;
120->119;
122->120;
123->122;
124->123;
125->124;
}
== Physical Plan ==
* HashAggregate (97)
+- Exchange (96)
+- * HashAggregate (95)
+- * Project (94)
+- * Generate (93)
+- Project (92)
+- Filter (91)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (90)
+- BroadcastHashJoin LeftOuter BuildRight (89)
:- Project (63)
: +- Project (62)
: +- ObjectHashAggregate (61)
: +- Exchange (60)
: +- ObjectHashAggregate (59)
: +- ObjectHashAggregate (58)
: +- Exchange (57)
: +- ObjectHashAggregate (56)
: +- Project (55)
: +- Project (54)
: +- Project (53)
: +- * Project (52)
: +- * Filter (51)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (50)
: +- * SortMergeJoin LeftOuter (49)
: :- * Project (41)
: : +- * SortMergeJoin LeftOuter (40)
: : :- * Project (32)
: : : +- * SortMergeJoin LeftOuter (31)
: : : :- * Sort (25)
: : : : +- Exchange (24)
: : : : +- * Project (23)
: : : : +- * BroadcastHashJoin LeftOuter BuildRight (22)
: : : : :- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- BroadcastExchange (21)
: : : : +- * Project (20)
: : : : +- Exchange (19)
: : : : +- * Project (18)
: : : : +- * Filter (17)
: : : : +- * ColumnarToRow (16)
: : : : +- Scan parquet (15)
: : : +- * Sort (30)
: : : +- Exchange (29)
: : : +- * Project (28)
: : : +- * Filter (27)
: : : +- * Scan ExistingRDD (26)
: : +- * Sort (39)
: : +- ObjectHashAggregate (38)
: : +- Exchange (37)
: : +- ObjectHashAggregate (36)
: : +- * Project (35)
: : +- * Filter (34)
: : +- * Scan ExistingRDD (33)
: +- * Sort (48)
: +- ObjectHashAggregate (47)
: +- Exchange (46)
: +- ObjectHashAggregate (45)
: +- * Project (44)
: +- * Filter (43)
: +- * Scan ExistingRDD (42)
+- BroadcastExchange (88)
+- Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (67)
: +- * Filter (66)
: +- InMemoryTableScan (64)
: +- InMemoryRelation (65)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * HashAggregate (85)
+- Exchange (84)
+- * HashAggregate (83)
+- * Project (82)
+- * BroadcastHashJoin Inner BuildLeft (81)
:- BroadcastExchange (74)
: +- * Project (73)
: +- * Generate (72)
: +- * Project (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (80)
+- Exchange (79)
+- * Project (78)
+- * Filter (77)
+- * ColumnarToRow (76)
+- Scan parquet (75)
(1) InMemoryTableScan
Output [1]: [orderProposal#960374]
Arguments: [orderProposal#960374], [(size(orderProposal#960374.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#958036, orderProposal#960374], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#958726, channelStreamSpecificKpis#959467, constraintLabels#958738, constraintOperators#958739, constraintValues#958741, deliveryDateTime#958725, isFallbackOrderOnly#958728, logisticUnits#958743, measurements#958736, minimumOrderQuantity#958737, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, nextAvailabilityDateTime#958727, optimizationGroups#958744, orderDateTime#958724, orderProposalId#958706L, orderProposalItemGroupId#958708, orderProposalItemId#958707, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, originalReplenishmentRunId#958709L, plant#958720, previousOrderProposal#958712L, prodLocSpecificKpis#959452, product#958719, productGroup#958748, qty#958550, quantityAfterProdPlantOptimization#958549, quantityKpis#959480, shardId#958036, sourceOfSupplyUuid#958715, splitIndicator#958711L, subrange#958718, supplier#958717, supplierGroup#958716, supplyingPlant#958747]
Arguments: [availabilityDateTime#958726, channelStreamSpecificKpis#959467, constraintLabels#958738, constraintOperators#958739, constraintValues#958741, deliveryDateTime#958725, isFallbackOrderOnly#958728, logisticUnits#958743, measurements#958736, minimumOrderQuantity#958737, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, nextAvailabilityDateTime#958727, optimizationGroups#958744, orderDateTime#958724, orderProposalId#958706L, orderProposalItemGroupId#958708, orderProposalItemId#958707, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, originalReplenishmentRunId#958709L, plant#958720, ... 14 more fields], [NOT (isFallbackOrderOnly#958728 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, productGroup#958748, product#958719, plant#958720, subrange#958718, orderDateTime#958724, deliveryDateTime#958725, availabilityDateTime#958726, nextAvailabilityDateTime#958727, constraintValues#958741, constraintOperators#958739, constraintLabels#958738, logisticUnits#958743, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, splitIndicator#958711L, netPriceAmount#958734, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#958036, items#958038]
Arguments: [shardId#958036, items#958038], [(size(items#958038, true) > 0), isnotnull(items#958038)]
(6) InMemoryRelation
Arguments: [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, optimizationInsights#958042], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, optimizationInsights#958042]
Arguments: [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, optimizationInsights#958042], [isnotnull(shardId#958036), (shardId#958036 = 0_1_10000002110)]
(8) InMemoryRelation
Arguments: [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, lastModified#958041, optimizationInsights#958042], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, lastModified#958041, optimizationInsights#958042]
Arguments: [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, lastModified#958041, optimizationInsights#958042], MapPartitionsRDD[44956] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, lastModified#958041, optimizationInsights#958042]
Condition : (isnotnull(shardId#958036) AND (shardId#958036 = 0_1_10000002110))
(11) Filter [codegen id : 1]
Input [6]: [shardId#958036, orderProposalId#958037L, items#958038, optimizationGroups#958039, isOptimal#958040, optimizationInsights#958042]
Condition : (isnotnull(shardId#958036) AND (shardId#958036 = 0_1_10000002110))
(12) Filter [codegen id : 3]
Input [2]: [shardId#958036, items#958038]
Condition : ((size(items#958038, true) > 0) AND isnotnull(items#958038))
(13) Generate [codegen id : 3]
Input [2]: [shardId#958036, items#958038]
Arguments: explode(items#958038), [shardId#958036], false, [item#958547]
(14) Project [codegen id : 3]
Output [4]: [shardId#958036, item#958547.worklistShardItemId AS worklistShardItemId#958548L, item#958547.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#958549, item#958547.qty AS qty#958550]
Input [2]: [shardId#958036, item#958547]
(15) Scan parquet
Output [38]: [orderProposalId#958749L, orderProposalItemId#958750, supplierGroup#958751, supplier#958752, plant#958753, deliveryDateTime#958754, subrange#958755, supplyingPlant#958756, productGroup#958757, product#958758, orderDateTime#958759, availabilityDateTime#958760, nextAvailabilityDateTime#958761, sourceOfSupplyUuid#958763, isFallbackOrderOnly#958766, splitIndicator#958768L, previousOrderProposal#958769L, worklistShardItemId#958772L, orderProposalItemGroupId#958773, externalProductId#958774, externalPlantId#958775, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, minimumOrderQuantity#958779, constraintLabels#958780, constraintOperators#958781, constraintValues#958782, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, measurements#958790, originalReplenishmentRunId#958791L, optimizationGroups#958792, shardId#958793, sequenceId#958771]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002110]
PartitionFilters: [isnotnull(shardId#958793), isnotnull(sequenceId#958771), (shardId#958793 = 0_1_10000002110), (sequenceId#958771 = 1)]
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#958749L, orderProposalItemId#958750, supplierGroup#958751, supplier#958752, plant#958753, deliveryDateTime#958754, subrange#958755, supplyingPlant#958756, productGroup#958757, product#958758, orderDateTime#958759, availabilityDateTime#958760, nextAvailabilityDateTime#958761, sourceOfSupplyUuid#958763, isFallbackOrderOnly#958766, splitIndicator#958768L, previousOrderProposal#958769L, worklistShardItemId#958772L, orderProposalItemGroupId#958773, externalProductId#958774, externalPlantId#958775, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, minimumOrderQuantity#958779, constraintLabels#958780, constraintOperators#958781, constraintValues#958782, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, measurements#958790, originalReplenishmentRunId#958791L, optimizationGroups#958792, shardId#958793, sequenceId#958771]
(17) Filter [codegen id : 1]
Input [38]: [orderProposalId#958749L, orderProposalItemId#958750, supplierGroup#958751, supplier#958752, plant#958753, deliveryDateTime#958754, subrange#958755, supplyingPlant#958756, productGroup#958757, product#958758, orderDateTime#958759, availabilityDateTime#958760, nextAvailabilityDateTime#958761, sourceOfSupplyUuid#958763, isFallbackOrderOnly#958766, splitIndicator#958768L, previousOrderProposal#958769L, worklistShardItemId#958772L, orderProposalItemGroupId#958773, externalProductId#958774, externalPlantId#958775, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, minimumOrderQuantity#958779, constraintLabels#958780, constraintOperators#958781, constraintValues#958782, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, measurements#958790, originalReplenishmentRunId#958791L, optimizationGroups#958792, shardId#958793, sequenceId#958771]
Condition : isnotnull(worklistShardItemId#958772L)
(18) Project [codegen id : 1]
Output [36]: [orderProposalId#958749L, orderProposalItemId#958750, supplierGroup#958751, supplier#958752, plant#958753, deliveryDateTime#958754, subrange#958755, supplyingPlant#958756, productGroup#958757, product#958758, orderDateTime#958759, availabilityDateTime#958760, nextAvailabilityDateTime#958761, sourceOfSupplyUuid#958763, isFallbackOrderOnly#958766, splitIndicator#958768L, previousOrderProposal#958769L, worklistShardItemId#958772L, orderProposalItemGroupId#958773, externalProductId#958774, externalPlantId#958775, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, minimumOrderQuantity#958779, constraintLabels#958780, constraintOperators#958781, constraintValues#958782, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, measurements#958790, originalReplenishmentRunId#958791L, optimizationGroups#958792]
Input [38]: [orderProposalId#958749L, orderProposalItemId#958750, supplierGroup#958751, supplier#958752, plant#958753, deliveryDateTime#958754, subrange#958755, supplyingPlant#958756, productGroup#958757, product#958758, orderDateTime#958759, availabilityDateTime#958760, nextAvailabilityDateTime#958761, sourceOfSupplyUuid#958763, isFallbackOrderOnly#958766, splitIndicator#958768L, previousOrderProposal#958769L, worklistShardItemId#958772L, orderProposalItemGroupId#958773, externalProductId#958774, externalPlantId#958775, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, minimumOrderQuantity#958779, constraintLabels#958780, constraintOperators#958781, constraintValues#958782, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, measurements#958790, originalReplenishmentRunId#958791L, optimizationGroups#958792, shardId#958793, sequenceId#958771]
(19) Exchange
Input [36]: [orderProposalId#958749L, orderProposalItemId#958750, supplierGroup#958751, supplier#958752, plant#958753, deliveryDateTime#958754, subrange#958755, supplyingPlant#958756, productGroup#958757, product#958758, orderDateTime#958759, availabilityDateTime#958760, nextAvailabilityDateTime#958761, sourceOfSupplyUuid#958763, isFallbackOrderOnly#958766, splitIndicator#958768L, previousOrderProposal#958769L, worklistShardItemId#958772L, orderProposalItemGroupId#958773, externalProductId#958774, externalPlantId#958775, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, minimumOrderQuantity#958779, constraintLabels#958780, constraintOperators#958781, constraintValues#958782, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, measurements#958790, originalReplenishmentRunId#958791L, optimizationGroups#958792]
Arguments: hashpartitioning(worklistShardItemId#958772L, 20), REPARTITION_BY_NUM, [plan_id=375217]
(20) Project [codegen id : 2]
Output [36]: [worklistShardItemId#958772L, orderProposalId#958749L, orderProposalItemId#958750, orderProposalItemGroupId#958773, originalReplenishmentRunId#958791L, splitIndicator#958768L, previousOrderProposal#958769L, sourceOfSupplyUuid#958763, supplierGroup#958751, supplier#958752, subrange#958755, product#958758, plant#958753, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, isFallbackOrderOnly#958766, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, netPriceAmount#958785, netPriceCurrencyCode#958786, measurements#958790, minimumOrderQuantity#958779, constraintLabels#958780, constraintOperators#958781, constraintValues#958782, logisticUnits#958776, optimizationGroups#958792, externalProductId#958774, externalPlantId#958775, supplyingPlant#958756, productGroup#958757]
Input [36]: [orderProposalId#958749L, orderProposalItemId#958750, supplierGroup#958751, supplier#958752, plant#958753, deliveryDateTime#958754, subrange#958755, supplyingPlant#958756, productGroup#958757, product#958758, orderDateTime#958759, availabilityDateTime#958760, nextAvailabilityDateTime#958761, sourceOfSupplyUuid#958763, isFallbackOrderOnly#958766, splitIndicator#958768L, previousOrderProposal#958769L, worklistShardItemId#958772L, orderProposalItemGroupId#958773, externalProductId#958774, externalPlantId#958775, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, minimumOrderQuantity#958779, constraintLabels#958780, constraintOperators#958781, constraintValues#958782, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, measurements#958790, originalReplenishmentRunId#958791L, optimizationGroups#958792]
(21) BroadcastExchange
Input [36]: [worklistShardItemId#958772L, orderProposalId#958749L, orderProposalItemId#958750, orderProposalItemGroupId#958773, originalReplenishmentRunId#958791L, splitIndicator#958768L, previousOrderProposal#958769L, sourceOfSupplyUuid#958763, supplierGroup#958751, supplier#958752, subrange#958755, product#958758, plant#958753, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, isFallbackOrderOnly#958766, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, netPriceAmount#958785, netPriceCurrencyCode#958786, measurements#958790, minimumOrderQuantity#958779, constraintLabels#958780, constraintOperators#958781, constraintValues#958782, logisticUnits#958776, optimizationGroups#958792, externalProductId#958774, externalPlantId#958775, supplyingPlant#958756, productGroup#958757]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=375221]
(22) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#958548L]
Right keys [1]: [worklistShardItemId#958772L]
Join type: LeftOuter
Join condition: (shardId#958036 = 0_1_10000002110)
(23) Project [codegen id : 3]
Output [39]: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, sourceOfSupplyUuid#958763, minimumOrderQuantity#958779, orderProposalItemId#958750, orderProposalItemGroupId#958773, optimizationGroups#958792, measurements#958790, externalProductId#958774, externalPlantId#958775, previousOrderProposal#958769L, isFallbackOrderOnly#958766]
Input [40]: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, worklistShardItemId#958772L, orderProposalId#958749L, orderProposalItemId#958750, orderProposalItemGroupId#958773, originalReplenishmentRunId#958791L, splitIndicator#958768L, previousOrderProposal#958769L, sourceOfSupplyUuid#958763, supplierGroup#958751, supplier#958752, subrange#958755, product#958758, plant#958753, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, isFallbackOrderOnly#958766, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, netPriceAmount#958785, netPriceCurrencyCode#958786, measurements#958790, minimumOrderQuantity#958779, constraintLabels#958780, constraintOperators#958781, constraintValues#958782, logisticUnits#958776, optimizationGroups#958792, externalProductId#958774, externalPlantId#958775, supplyingPlant#958756, productGroup#958757]
(24) Exchange
Input [39]: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, sourceOfSupplyUuid#958763, minimumOrderQuantity#958779, orderProposalItemId#958750, orderProposalItemGroupId#958773, optimizationGroups#958792, measurements#958790, externalProductId#958774, externalPlantId#958775, previousOrderProposal#958769L, isFallbackOrderOnly#958766]
Arguments: hashpartitioning(shardId#958036, worklistShardItemId#958548L, 20), ENSURE_REQUIREMENTS, [plan_id=375226]
(25) Sort [codegen id : 4]
Input [39]: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, sourceOfSupplyUuid#958763, minimumOrderQuantity#958779, orderProposalItemId#958750, orderProposalItemGroupId#958773, optimizationGroups#958792, measurements#958790, externalProductId#958774, externalPlantId#958775, previousOrderProposal#958769L, isFallbackOrderOnly#958766]
Arguments: [shardId#958036 ASC NULLS FIRST, worklistShardItemId#958548L ASC NULLS FIRST], false, 0
(26) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#959445, worklistShardItemId#959446L, qty#959447, demandChannel#959448, demandStream#959449, kpis#959450]
Arguments: [shardId#959445, worklistShardItemId#959446L, qty#959447, demandChannel#959448, demandStream#959449, kpis#959450], MapPartitionsRDD[45030] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(27) Filter [codegen id : 5]
Input [6]: [shardId#959445, worklistShardItemId#959446L, qty#959447, demandChannel#959448, demandStream#959449, kpis#959450]
Condition : (((isnull(qty#959447) AND isnull(demandChannel#959448)) AND isnull(demandStream#959449)) AND (isnotnull(shardId#959445) AND isnotnull(worklistShardItemId#959446L)))
(28) Project [codegen id : 5]
Output [3]: [shardId#959445, worklistShardItemId#959446L, coalesce(kpis#959450, []) AS prodLocSpecificKpis#959451]
Input [6]: [shardId#959445, worklistShardItemId#959446L, qty#959447, demandChannel#959448, demandStream#959449, kpis#959450]
(29) Exchange
Input [3]: [shardId#959445, worklistShardItemId#959446L, prodLocSpecificKpis#959451]
Arguments: hashpartitioning(shardId#959445, worklistShardItemId#959446L, 20), ENSURE_REQUIREMENTS, [plan_id=375232]
(30) Sort [codegen id : 6]
Input [3]: [shardId#959445, worklistShardItemId#959446L, prodLocSpecificKpis#959451]
Arguments: [shardId#959445 ASC NULLS FIRST, worklistShardItemId#959446L ASC NULLS FIRST], false, 0
(31) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#958036, worklistShardItemId#958548L]
Right keys [2]: [shardId#959445, worklistShardItemId#959446L]
Join type: LeftOuter
Join condition: None
(32) Project [codegen id : 7]
Output [40]: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, sourceOfSupplyUuid#958763, minimumOrderQuantity#958779, orderProposalItemId#958750, orderProposalItemGroupId#958773, optimizationGroups#958792, measurements#958790, externalProductId#958774, externalPlantId#958775, previousOrderProposal#958769L, isFallbackOrderOnly#958766, coalesce(prodLocSpecificKpis#959451, []) AS prodLocSpecificKpis#959452]
Input [42]: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, sourceOfSupplyUuid#958763, minimumOrderQuantity#958779, orderProposalItemId#958750, orderProposalItemGroupId#958773, optimizationGroups#958792, measurements#958790, externalProductId#958774, externalPlantId#958775, previousOrderProposal#958769L, isFallbackOrderOnly#958766, shardId#959445, worklistShardItemId#959446L, prodLocSpecificKpis#959451]
(33) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#959461, worklistShardItemId#959462L, qty#959463, demandChannel#959464, demandStream#959465, kpis#959466]
Arguments: [shardId#959461, worklistShardItemId#959462L, qty#959463, demandChannel#959464, demandStream#959465, kpis#959466], MapPartitionsRDD[45030] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(34) Filter [codegen id : 8]
Input [6]: [shardId#959461, worklistShardItemId#959462L, qty#959463, demandChannel#959464, demandStream#959465, kpis#959466]
Condition : ((((isnull(qty#959463) AND isnotnull(demandChannel#959464)) AND isnotnull(demandStream#959465)) AND (size(kpis#959466, true) > 0)) AND (isnotnull(shardId#959461) AND isnotnull(worklistShardItemId#959462L)))
(35) Project [codegen id : 8]
Output [5]: [shardId#959461, worklistShardItemId#959462L, demandChannel#959464, demandStream#959465, kpis#959466]
Input [6]: [shardId#959461, worklistShardItemId#959462L, qty#959463, demandChannel#959464, demandStream#959465, kpis#959466]
(36) ObjectHashAggregate
Input [5]: [shardId#959461, worklistShardItemId#959462L, demandChannel#959464, demandStream#959465, kpis#959466]
Keys [2]: [shardId#959461, worklistShardItemId#959462L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#959464, demandStream, demandStream#959465, kpis, kpis#959466), 0, 0)]
Aggregate Attributes [1]: [buf#959641]
Results [3]: [shardId#959461, worklistShardItemId#959462L, buf#959642]
(37) Exchange
Input [3]: [shardId#959461, worklistShardItemId#959462L, buf#959642]
Arguments: hashpartitioning(shardId#959461, worklistShardItemId#959462L, 20), ENSURE_REQUIREMENTS, [plan_id=375243]
(38) ObjectHashAggregate
Input [3]: [shardId#959461, worklistShardItemId#959462L, buf#959642]
Keys [2]: [shardId#959461, worklistShardItemId#959462L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#959464, demandStream, demandStream#959465, kpis, kpis#959466), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#959464, demandStream, demandStream#959465, kpis, kpis#959466), 0, 0)#959460]
Results [3]: [shardId#959461, worklistShardItemId#959462L, collect_list(struct(demandChannel, demandChannel#959464, demandStream, demandStream#959465, kpis, kpis#959466), 0, 0)#959460 AS channelStreamSpecificKpis#959453]
(39) Sort [codegen id : 9]
Input [3]: [shardId#959461, worklistShardItemId#959462L, channelStreamSpecificKpis#959453]
Arguments: [shardId#959461 ASC NULLS FIRST, worklistShardItemId#959462L ASC NULLS FIRST], false, 0
(40) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#958036, worklistShardItemId#958548L]
Right keys [2]: [shardId#959461, worklistShardItemId#959462L]
Join type: LeftOuter
Join condition: None
(41) Project [codegen id : 10]
Output [41]: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, sourceOfSupplyUuid#958763, minimumOrderQuantity#958779, orderProposalItemId#958750, orderProposalItemGroupId#958773, optimizationGroups#958792, measurements#958790, externalProductId#958774, externalPlantId#958775, previousOrderProposal#958769L, isFallbackOrderOnly#958766, prodLocSpecificKpis#959452, coalesce(channelStreamSpecificKpis#959453, []) AS channelStreamSpecificKpis#959467]
Input [43]: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, sourceOfSupplyUuid#958763, minimumOrderQuantity#958779, orderProposalItemId#958750, orderProposalItemGroupId#958773, optimizationGroups#958792, measurements#958790, externalProductId#958774, externalPlantId#958775, previousOrderProposal#958769L, isFallbackOrderOnly#958766, prodLocSpecificKpis#959452, shardId#959461, worklistShardItemId#959462L, channelStreamSpecificKpis#959453]
(42) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#959474, worklistShardItemId#959475L, qty#959476, demandChannel#959477, demandStream#959478, kpis#959479]
Arguments: [shardId#959474, worklistShardItemId#959475L, qty#959476, demandChannel#959477, demandStream#959478, kpis#959479], MapPartitionsRDD[45030] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(43) Filter [codegen id : 11]
Input [6]: [shardId#959474, worklistShardItemId#959475L, qty#959476, demandChannel#959477, demandStream#959478, kpis#959479]
Condition : ((isnotnull(qty#959476) AND isnotnull(kpis#959479)) AND (isnotnull(shardId#959474) AND isnotnull(worklistShardItemId#959475L)))
(44) Project [codegen id : 11]
Output [4]: [shardId#959474, worklistShardItemId#959475L, qty#959476, kpis#959479]
Input [6]: [shardId#959474, worklistShardItemId#959475L, qty#959476, demandChannel#959477, demandStream#959478, kpis#959479]
(45) ObjectHashAggregate
Input [4]: [shardId#959474, worklistShardItemId#959475L, qty#959476, kpis#959479]
Keys [2]: [shardId#959474, worklistShardItemId#959475L]
Functions [1]: [partial_collect_list(struct(qty, qty#959476, kpis, kpis#959479), 0, 0)]
Aggregate Attributes [1]: [buf#959643]
Results [3]: [shardId#959474, worklistShardItemId#959475L, buf#959644]
(46) Exchange
Input [3]: [shardId#959474, worklistShardItemId#959475L, buf#959644]
Arguments: hashpartitioning(shardId#959474, worklistShardItemId#959475L, 20), ENSURE_REQUIREMENTS, [plan_id=375255]
(47) ObjectHashAggregate
Input [3]: [shardId#959474, worklistShardItemId#959475L, buf#959644]
Keys [2]: [shardId#959474, worklistShardItemId#959475L]
Functions [1]: [collect_list(struct(qty, qty#959476, kpis, kpis#959479), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#959476, kpis, kpis#959479), 0, 0)#959473]
Results [3]: [shardId#959474, worklistShardItemId#959475L, map_from_entries(collect_list(struct(qty, qty#959476, kpis, kpis#959479), 0, 0)#959473) AS quantityKpis#959468]
(48) Sort [codegen id : 12]
Input [3]: [shardId#959474, worklistShardItemId#959475L, quantityKpis#959468]
Arguments: [shardId#959474 ASC NULLS FIRST, worklistShardItemId#959475L ASC NULLS FIRST], false, 0
(49) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#958036, worklistShardItemId#958548L]
Right keys [2]: [shardId#959474, worklistShardItemId#959475L]
Join type: LeftOuter
Join condition: None
(50) Project [codegen id : 13]
Output [42]: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, sourceOfSupplyUuid#958763, minimumOrderQuantity#958779, orderProposalItemId#958750, orderProposalItemGroupId#958773, optimizationGroups#958792, measurements#958790, externalProductId#958774, externalPlantId#958775, previousOrderProposal#958769L, isFallbackOrderOnly#958766, prodLocSpecificKpis#959452, channelStreamSpecificKpis#959467, coalesce(quantityKpis#959468, map(keys: [], values: [])) AS quantityKpis#959480]
Input [44]: [shardId#958036, worklistShardItemId#958548L, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958749L, originalReplenishmentRunId#958791L, supplierGroup#958751, supplier#958752, supplyingPlant#958756, productGroup#958757, product#958758, plant#958753, subrange#958755, orderDateTime#958759, deliveryDateTime#958754, availabilityDateTime#958760, nextAvailabilityDateTime#958761, constraintValues#958782, constraintOperators#958781, constraintLabels#958780, logisticUnits#958776, orderQuantityBaseUom#958777, orderQuantityBaseUomUuid#958778, splitIndicator#958768L, netPriceAmount#958785, netPriceCurrencyCode#958786, netPriceQuantity#958787, netPriceQuantityUom#958788, netPriceQuantityUomUuid#958789, sourceOfSupplyUuid#958763, minimumOrderQuantity#958779, orderProposalItemId#958750, orderProposalItemGroupId#958773, optimizationGroups#958792, measurements#958790, externalProductId#958774, externalPlantId#958775, previousOrderProposal#958769L, isFallbackOrderOnly#958766, prodLocSpecificKpis#959452, channelStreamSpecificKpis#959467, shardId#959474, worklistShardItemId#959475L, quantityKpis#959468]
(51) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#958726, channelStreamSpecificKpis#959467, constraintLabels#958738, constraintOperators#958739, constraintValues#958741, deliveryDateTime#958725, isFallbackOrderOnly#958728, logisticUnits#958743, measurements#958736, minimumOrderQuantity#958737, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, nextAvailabilityDateTime#958727, optimizationGroups#958744, orderDateTime#958724, orderProposalId#958706L, orderProposalItemGroupId#958708, orderProposalItemId#958707, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, originalReplenishmentRunId#958709L, plant#958720, previousOrderProposal#958712L, prodLocSpecificKpis#959452, product#958719, productGroup#958748, qty#958550, quantityAfterProdPlantOptimization#958549, quantityKpis#959480, shardId#958036, sourceOfSupplyUuid#958715, splitIndicator#958711L, subrange#958718, supplier#958717, supplierGroup#958716, supplyingPlant#958747]
Condition : NOT (isFallbackOrderOnly#958728 <=> true)
(52) Project [codegen id : 1]
Output [36]: [shardId#958036, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, productGroup#958748, product#958719, plant#958720, subrange#958718, orderDateTime#958724, deliveryDateTime#958725, availabilityDateTime#958726, nextAvailabilityDateTime#958727, logisticUnits#958743, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, splitIndicator#958711L, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, sourceOfSupplyUuid#958715, minimumOrderQuantity#958737, orderProposalItemId#958707, orderProposalItemGroupId#958708, optimizationGroups#958744, measurements#958736, previousOrderProposal#958712L, prodLocSpecificKpis#959452, channelStreamSpecificKpis#959467, quantityKpis#959480, arrays_zip(constraintLabels#958738, constraintOperators#958739, constraintValues#958741, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#959894]
Input [39]: [availabilityDateTime#958726, channelStreamSpecificKpis#959467, constraintLabels#958738, constraintOperators#958739, constraintValues#958741, deliveryDateTime#958725, isFallbackOrderOnly#958728, logisticUnits#958743, measurements#958736, minimumOrderQuantity#958737, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, nextAvailabilityDateTime#958727, optimizationGroups#958744, orderDateTime#958724, orderProposalId#958706L, orderProposalItemGroupId#958708, orderProposalItemId#958707, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, originalReplenishmentRunId#958709L, plant#958720, previousOrderProposal#958712L, prodLocSpecificKpis#959452, product#958719, productGroup#958748, qty#958550, quantityAfterProdPlantOptimization#958549, quantityKpis#959480, shardId#958036, sourceOfSupplyUuid#958715, splitIndicator#958711L, subrange#958718, supplier#958717, supplierGroup#958716, supplyingPlant#958747]
(53) Project
Output [37]: [shardId#958036, qty#958550, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, productGroup#958748, product#958719, plant#958720, subrange#958718, orderDateTime#958724, deliveryDateTime#958725, availabilityDateTime#958726, nextAvailabilityDateTime#958727, logisticUnits#958743, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, splitIndicator#958711L, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, sourceOfSupplyUuid#958715, orderProposalItemId#958707, orderProposalItemGroupId#958708, optimizationGroups#958744, measurements#958736, previousOrderProposal#958712L, prodLocSpecificKpis#959452, channelStreamSpecificKpis#959467, quantityKpis#959480, struct(minServiceLevel, array_min(filter(constraintStructArray#959894, lambdafunction((lambda x_2469#959901.constraintLabels = ServiceLevel), lambda x_2469#959901, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#959894, lambdafunction((lambda x_2470#959902.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_2470#959902, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#959894, lambdafunction((lambda x_2471#959903.constraintLabels = RangeOfCoverage), lambda x_2471#959903, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#958737, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#959452, lambdafunction((lambda x_2472#959904.label = NonListingStartTimestamp), lambda x_2472#959904, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#959900, CASE WHEN (qty#958550 <=> quantityAfterProdPlantOptimization#958549) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#958550 * (cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2473#959972.isOrderUnit, lambda x_2473#959972, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2473#959973.isOrderUnit, lambda x_2473#959973, false)), 1, None, false).numerator as double))), qty#958550), orderQuantityUom, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2473#959974.isOrderUnit, lambda x_2473#959974, false)), 1, None, false).uom, orderQuantityBaseUom#958729), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2473#959975.isOrderUnit, lambda x_2473#959975, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#958730), candidateOrderQuantityInBaseUnit, qty#958550, orderQuantityBaseUom, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#958730, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#958743, lambdafunction((lambda x_2475#959976.isPreferred AND (((qty#958550 * cast(lambda x_2475#959976.denominator as double)) % cast(lambda x_2475#959976.numerator as double)) = 0.0)), lambda x_2475#959976, false)), lambdafunction(struct(inPreferredQuantity, ((qty#958550 * cast(lambda x_2476#960014.denominator as double)) / cast(lambda x_2476#960014.numerator as double)), uom, lambda x_2476#960014.uom, uomUuid, lambda x_2476#960014.uomUuid), lambda x_2476#960014, false))).inPreferredQuantity, coalesce((qty#958550 * (cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2474#959977.isOrderUnit, lambda x_2474#959977, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2474#959978.isOrderUnit, lambda x_2474#959978, false)), 1, None, false).numerator as double))), qty#958550)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#958743, lambdafunction((lambda x_2475#959979.isPreferred AND (((qty#958550 * cast(lambda x_2475#959979.denominator as double)) % cast(lambda x_2475#959979.numerator as double)) = 0.0)), lambda x_2475#959979, false)), lambdafunction(struct(inPreferredQuantity, ((qty#958550 * cast(lambda x_2476#960015.denominator as double)) / cast(lambda x_2476#960015.numerator as double)), uom, lambda x_2476#960015.uom, uomUuid, lambda x_2476#960015.uomUuid), lambda x_2476#960015, false))).uom, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2474#959980.isOrderUnit, lambda x_2474#959980, false)), 1, None, false).uom, orderQuantityBaseUom#958729)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#958743, lambdafunction((lambda x_2475#959981.isPreferred AND (((qty#958550 * cast(lambda x_2475#959981.denominator as double)) % cast(lambda x_2475#959981.numerator as double)) = 0.0)), lambda x_2475#959981, false)), lambdafunction(struct(inPreferredQuantity, ((qty#958550 * cast(lambda x_2476#960016.denominator as double)) / cast(lambda x_2476#960016.numerator as double)), uom, lambda x_2476#960016.uom, uomUuid, lambda x_2476#960016.uomUuid), lambda x_2476#960016, false))).uomUuid, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2474#959982.isOrderUnit, lambda x_2474#959982, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#958730)), serviceLevel, coalesce(filter(element_at(quantityKpis#959480, qty#958550, None, false), lambdafunction((lambda x_2481#959983.label = ServiceLevel), lambda x_2481#959983, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#958550 * (cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2473#959986.isOrderUnit, lambda x_2473#959986, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2473#959987.isOrderUnit, lambda x_2473#959987, false)), 1, None, false).numerator as double))), qty#958550), orderQuantityUom, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2473#959988.isOrderUnit, lambda x_2473#959988, false)), 1, None, false).uom, orderQuantityBaseUom#958729), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2473#959989.isOrderUnit, lambda x_2473#959989, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#958730), candidateOrderQuantityInBaseUnit, qty#958550, orderQuantityBaseUom, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#958730, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#958743, lambdafunction((lambda x_2475#959990.isPreferred AND (((qty#958550 * cast(lambda x_2475#959990.denominator as double)) % cast(lambda x_2475#959990.numerator as double)) = 0.0)), lambda x_2475#959990, false)), lambdafunction(struct(inPreferredQuantity, ((qty#958550 * cast(lambda x_2476#960017.denominator as double)) / cast(lambda x_2476#960017.numerator as double)), uom, lambda x_2476#960017.uom, uomUuid, lambda x_2476#960017.uomUuid), lambda x_2476#960017, false))).inPreferredQuantity, coalesce((qty#958550 * (cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2474#959991.isOrderUnit, lambda x_2474#959991, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2474#959992.isOrderUnit, lambda x_2474#959992, false)), 1, None, false).numerator as double))), qty#958550)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#958743, lambdafunction((lambda x_2475#959993.isPreferred AND (((qty#958550 * cast(lambda x_2475#959993.denominator as double)) % cast(lambda x_2475#959993.numerator as double)) = 0.0)), lambda x_2475#959993, false)), lambdafunction(struct(inPreferredQuantity, ((qty#958550 * cast(lambda x_2476#960018.denominator as double)) / cast(lambda x_2476#960018.numerator as double)), uom, lambda x_2476#960018.uom, uomUuid, lambda x_2476#960018.uomUuid), lambda x_2476#960018, false))).uom, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2474#959994.isOrderUnit, lambda x_2474#959994, false)), 1, None, false).uom, orderQuantityBaseUom#958729)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#958743, lambdafunction((lambda x_2475#959995.isPreferred AND (((qty#958550 * cast(lambda x_2475#959995.denominator as double)) % cast(lambda x_2475#959995.numerator as double)) = 0.0)), lambda x_2475#959995, false)), lambdafunction(struct(inPreferredQuantity, ((qty#958550 * cast(lambda x_2476#960019.denominator as double)) / cast(lambda x_2476#960019.numerator as double)), uom, lambda x_2476#960019.uom, uomUuid, lambda x_2476#960019.uomUuid), lambda x_2476#960019, false))).uomUuid, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2474#959996.isOrderUnit, lambda x_2474#959996, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#958730)), serviceLevel, coalesce(filter(element_at(quantityKpis#959480, qty#958550, None, false), lambdafunction((lambda x_2484#959997.label = ServiceLevel), lambda x_2484#959997, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#958549 * (cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2477#960000.isOrderUnit, lambda x_2477#960000, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2477#960001.isOrderUnit, lambda x_2477#960001, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#958549), orderQuantityUom, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2477#960002.isOrderUnit, lambda x_2477#960002, false)), 1, None, false).uom, orderQuantityBaseUom#958729), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2477#960003.isOrderUnit, lambda x_2477#960003, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#958730), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#958549, orderQuantityBaseUom, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#958730, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#958743, lambdafunction((lambda x_2479#960004.isPreferred AND (((quantityAfterProdPlantOptimization#958549 * cast(lambda x_2479#960004.denominator as double)) % cast(lambda x_2479#960004.numerator as double)) = 0.0)), lambda x_2479#960004, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#958549 * cast(lambda x_2480#960020.denominator as double)) / cast(lambda x_2480#960020.numerator as double)), uom, lambda x_2480#960020.uom, uomUuid, lambda x_2480#960020.uomUuid), lambda x_2480#960020, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#958549 * (cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2478#960005.isOrderUnit, lambda x_2478#960005, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2478#960006.isOrderUnit, lambda x_2478#960006, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#958549)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#958743, lambdafunction((lambda x_2479#960007.isPreferred AND (((quantityAfterProdPlantOptimization#958549 * cast(lambda x_2479#960007.denominator as double)) % cast(lambda x_2479#960007.numerator as double)) = 0.0)), lambda x_2479#960007, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#958549 * cast(lambda x_2480#960021.denominator as double)) / cast(lambda x_2480#960021.numerator as double)), uom, lambda x_2480#960021.uom, uomUuid, lambda x_2480#960021.uomUuid), lambda x_2480#960021, false))).uom, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2478#960008.isOrderUnit, lambda x_2478#960008, false)), 1, None, false).uom, orderQuantityBaseUom#958729)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#958743, lambdafunction((lambda x_2479#960009.isPreferred AND (((quantityAfterProdPlantOptimization#958549 * cast(lambda x_2479#960009.denominator as double)) % cast(lambda x_2479#960009.numerator as double)) = 0.0)), lambda x_2479#960009, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#958549 * cast(lambda x_2480#960022.denominator as double)) / cast(lambda x_2480#960022.numerator as double)), uom, lambda x_2480#960022.uom, uomUuid, lambda x_2480#960022.uomUuid), lambda x_2480#960022, false))).uomUuid, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2478#960010.isOrderUnit, lambda x_2478#960010, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#958730)), serviceLevel, coalesce(filter(element_at(quantityKpis#959480, quantityAfterProdPlantOptimization#958549, None, false), lambdafunction((lambda x_2487#960011.label = ServiceLevel), lambda x_2487#960011, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#959971, coalesce(filter(prodLocSpecificKpis#959452, lambdafunction((lambda x_2490#960024.label = InitialStockQty), lambda x_2490#960024, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#960023, coalesce(filter(prodLocSpecificKpis#959452, lambdafunction((lambda x_2491#960026.label = DemandPeriodEndTimestamp), lambda x_2491#960026, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#960025]
Input [36]: [shardId#958036, quantityAfterProdPlantOptimization#958549, qty#958550, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, productGroup#958748, product#958719, plant#958720, subrange#958718, orderDateTime#958724, deliveryDateTime#958725, availabilityDateTime#958726, nextAvailabilityDateTime#958727, logisticUnits#958743, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, splitIndicator#958711L, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, sourceOfSupplyUuid#958715, minimumOrderQuantity#958737, orderProposalItemId#958707, orderProposalItemGroupId#958708, optimizationGroups#958744, measurements#958736, previousOrderProposal#958712L, prodLocSpecificKpis#959452, channelStreamSpecificKpis#959467, quantityKpis#959480, constraintStructArray#959894]
(54) Project
Output [21]: [shardId#958036, qty#958550, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, productGroup#958748, product#958719, plant#958720, subrange#958718, orderDateTime#958724, deliveryDateTime#958725, logisticUnits#958743, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, splitIndicator#958711L, orderProposalItemId#958707, orderProposalItemGroupId#958708, previousOrderProposal#958712L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#958717, supplyingPlant, supplyingPlant#958747, productGroup, productGroup#958748, product, product#958719, plant, plant#958720, supplierSubRange, subrange#958718, sourceOfSupplyUuid, sourceOfSupplyUuid#958715, deliveryDateTime, deliveryDateTime#958725, unitPrice, netPriceAmount#958734, unitPriceCurrency, netPriceCurrencyCode#958735, unitPriceQuantity, ... 37 more fields) AS parentItem#960105]
Input [37]: [shardId#958036, qty#958550, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, productGroup#958748, product#958719, plant#958720, subrange#958718, orderDateTime#958724, deliveryDateTime#958725, availabilityDateTime#958726, nextAvailabilityDateTime#958727, logisticUnits#958743, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, splitIndicator#958711L, netPriceAmount#958734, netPriceCurrencyCode#958735, netPriceQuantity#958731, netPriceQuantityUom#958732, netPriceQuantityUomUuid#958733, sourceOfSupplyUuid#958715, orderProposalItemId#958707, orderProposalItemGroupId#958708, optimizationGroups#958744, measurements#958736, previousOrderProposal#958712L, prodLocSpecificKpis#959452, channelStreamSpecificKpis#959467, quantityKpis#959480, constraintBenchmark#959900, calculationAnalysis#959971, inventoryDateTime#960023, demandPeriodEndDateTime#960025]
(55) Project
Output [12]: [shardId#958036, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, orderDateTime#958724, splitIndicator#958711L, orderProposalItemGroupId#958708, previousOrderProposal#958712L, parentItem#960105, struct(itemId, orderProposalItemId#958707, supplier, supplier#958717, supplyingPlant, supplyingPlant#958747, productGroup, productGroup#958748, product, product#958719, plant, plant#958720, supplierSubRange, subrange#958718, deliveryDateTime, deliveryDateTime#958725, orderQuantity, coalesce((qty#958550 * (cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2515#960139.isOrderUnit, lambda x_2515#960139, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2515#960140.isOrderUnit, lambda x_2515#960140, false)), 1, None, false).numerator as double))), qty#958550), orderQuantityUom, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2515#960141.isOrderUnit, lambda x_2515#960141, false)), 1, None, false).uom, orderQuantityBaseUom#958729), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#958743, lambdafunction(lambda x_2515#960142.isOrderUnit, lambda x_2515#960142, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#958730), orderQuantityInBaseUnit, qty#958550, orderQuantityBaseUom, ... 13 more fields) AS item#960136]
Input [21]: [shardId#958036, qty#958550, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, productGroup#958748, product#958719, plant#958720, subrange#958718, orderDateTime#958724, deliveryDateTime#958725, logisticUnits#958743, orderQuantityBaseUom#958729, orderQuantityBaseUomUuid#958730, splitIndicator#958711L, orderProposalItemId#958707, orderProposalItemGroupId#958708, previousOrderProposal#958712L, parentItem#960105]
(56) ObjectHashAggregate
Input [12]: [shardId#958036, orderProposalId#958706L, originalReplenishmentRunId#958709L, supplierGroup#958716, supplier#958717, supplyingPlant#958747, orderDateTime#958724, splitIndicator#958711L, orderProposalItemGroupId#958708, previousOrderProposal#958712L, parentItem#960105, item#960136]
Keys [4]: [shardId#958036, orderProposalId#958706L, splitIndicator#958711L, orderProposalItemGroupId#958708]
Functions [8]: [partial_max(originalReplenishmentRunId#958709L), partial_max(supplierGroup#958716), partial_max(supplier#958717), partial_max(supplyingPlant#958747), partial_max(orderDateTime#958724), partial_collect_list(parentItem#960105, 0, 0), partial_collect_set(previousOrderProposal#958712L, 0, 0), partial_collect_list(item#960136, 0, 0)]
Aggregate Attributes [8]: [max#961397L, max#961398, max#961399, max#961400, max#961401, buf#961402, buf#961403, buf#961404]
Results [12]: [shardId#958036, orderProposalId#958706L, splitIndicator#958711L, orderProposalItemGroupId#958708, max#961405L, max#961406, max#961407, max#961408, max#961409, buf#961410, buf#961411, buf#961412]
(57) Exchange
Input [12]: [shardId#958036, orderProposalId#958706L, splitIndicator#958711L, orderProposalItemGroupId#958708, max#961405L, max#961406, max#961407, max#961408, max#961409, buf#961410, buf#961411, buf#961412]
Arguments: hashpartitioning(shardId#958036, orderProposalId#958706L, splitIndicator#958711L, orderProposalItemGroupId#958708, 20), ENSURE_REQUIREMENTS, [plan_id=375493]
(58) ObjectHashAggregate
Input [12]: [shardId#958036, orderProposalId#958706L, splitIndicator#958711L, orderProposalItemGroupId#958708, max#961405L, max#961406, max#961407, max#961408, max#961409, buf#961410, buf#961411, buf#961412]
Keys [4]: [shardId#958036, orderProposalId#958706L, splitIndicator#958711L, orderProposalItemGroupId#958708]
Functions [8]: [max(originalReplenishmentRunId#958709L), max(supplierGroup#958716), max(supplier#958717), max(supplyingPlant#958747), max(orderDateTime#958724), collect_list(parentItem#960105, 0, 0), collect_set(previousOrderProposal#958712L, 0, 0), collect_list(item#960136, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#958709L)#960205L, max(supplierGroup#958716)#960206, max(supplier#958717)#960207, max(supplyingPlant#958747)#960208, max(orderDateTime#958724)#960209, collect_list(parentItem#960105, 0, 0)#960210, collect_set(previousOrderProposal#958712L, 0, 0)#960212, collect_list(item#960136, 0, 0)#960211]
Results [10]: [shardId#958036, orderProposalId#958706L, max(originalReplenishmentRunId#958709L)#960205L AS originalReplenishmentRunId#960153L, max(supplierGroup#958716)#960206 AS supplierGroup#960154, max(supplier#958717)#960207 AS supplier#960155, max(supplyingPlant#958747)#960208 AS supplyingPlant#960156, max(orderDateTime#958724)#960209 AS orderDateTime#960157, collect_list(parentItem#960105, 0, 0)#960210 AS parentItems#960158, collect_set(previousOrderProposal#958712L, 0, 0)#960212 AS previousOrderProposals#960160, struct(itemGroupId, coalesce(orderProposalItemGroupId#958708, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#960136, 0, 0)#960211) AS itemGroup#960214]
(59) ObjectHashAggregate
Input [10]: [shardId#958036, orderProposalId#958706L, originalReplenishmentRunId#960153L, supplierGroup#960154, supplier#960155, supplyingPlant#960156, orderDateTime#960157, parentItems#960158, previousOrderProposals#960160, itemGroup#960214]
Keys [2]: [shardId#958036, orderProposalId#958706L]
Functions [8]: [partial_max(originalReplenishmentRunId#960153L), partial_max(supplierGroup#960154), partial_max(supplier#960155), partial_max(supplyingPlant#960156), partial_max(orderDateTime#960157), partial_collect_list(itemGroup#960214, 0, 0), partial_collect_list(parentItems#960158, 0, 0), partial_collect_set(previousOrderProposals#960160, 0, 0)]
Aggregate Attributes [8]: [max#961381L, max#961382, max#961383, max#961384, max#961385, buf#961386, buf#961387, buf#961388]
Results [10]: [shardId#958036, orderProposalId#958706L, max#961389L, max#961390, max#961391, max#961392, max#961393, buf#961394, buf#961395, buf#961396]
(60) Exchange
Input [10]: [shardId#958036, orderProposalId#958706L, max#961389L, max#961390, max#961391, max#961392, max#961393, buf#961394, buf#961395, buf#961396]
Arguments: hashpartitioning(shardId#958036, orderProposalId#958706L, 20), ENSURE_REQUIREMENTS, [plan_id=375496]
(61) ObjectHashAggregate
Input [10]: [shardId#958036, orderProposalId#958706L, max#961389L, max#961390, max#961391, max#961392, max#961393, buf#961394, buf#961395, buf#961396]
Keys [2]: [shardId#958036, orderProposalId#958706L]
Functions [8]: [max(originalReplenishmentRunId#960153L), max(supplierGroup#960154), max(supplier#960155), max(supplyingPlant#960156), max(orderDateTime#960157), collect_list(itemGroup#960214, 0, 0), collect_list(parentItems#960158, 0, 0), collect_set(previousOrderProposals#960160, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#960153L)#960236L, max(supplierGroup#960154)#960237, max(supplier#960155)#960238, max(supplyingPlant#960156)#960239, max(orderDateTime#960157)#960240, collect_list(itemGroup#960214, 0, 0)#960241, collect_list(parentItems#960158, 0, 0)#960242, collect_set(previousOrderProposals#960160, 0, 0)#960243]
Results [10]: [shardId#958036, orderProposalId#958706L, max(originalReplenishmentRunId#960153L)#960236L AS originalReplenishmentRunId#960215L, max(supplierGroup#960154)#960237 AS supplierGroup#960216, max(supplier#960155)#960238 AS supplier#960217, max(supplyingPlant#960156)#960239 AS supplyingPlant#960218, max(orderDateTime#960157)#960240 AS orderDateTime#960219, collect_list(itemGroup#960214, 0, 0)#960241 AS itemGroups#960220, flatten(collect_list(parentItems#960158, 0, 0)#960242) AS parentItems#960221, flatten(collect_set(previousOrderProposals#960160, 0, 0)#960243) AS previousOrderProposals#960222]
(62) Project
Output [2]: [shardId#958036, struct(orderProposalId, orderProposalId#958706L, originalReplenishmentRunId, originalReplenishmentRunId#960215L, supplierGroup, supplierGroup#960216, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#960216) THEN supplier#960217 END, supplyingPlant, supplyingPlant#960218, orderDateTime, orderDateTime#960219, itemGroups, itemGroups#960220, previousOrderProposals, array_distinct(previousOrderProposals#960222), parentItems, parentItems#960221) AS orderProposal#960247]
Input [10]: [shardId#958036, orderProposalId#958706L, originalReplenishmentRunId#960215L, supplierGroup#960216, supplier#960217, supplyingPlant#960218, orderDateTime#960219, itemGroups#960220, parentItems#960221, previousOrderProposals#960222]
(63) Project
Output [11]: [shardId#958036, orderProposal#960247.orderProposalId AS _extract_orderProposalId#961013L, orderProposal#960247.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#961014L, orderProposal#960247.supplierGroup AS _extract_supplierGroup#961015, orderProposal#960247.supplier AS _extract_supplier#961016, orderProposal#960247.supplyingPlant AS _extract_supplyingPlant#961017, orderProposal#960247.orderDateTime AS _extract_orderDateTime#961018, orderProposal#960247.itemGroups AS _extract_itemGroups#961019, orderProposal#960247.previousOrderProposals AS _extract_previousOrderProposals#961020, orderProposal#960247.parentItems AS _extract_parentItems#961021, orderProposal#960247.orderProposalId AS _extract_orderProposalId#961022L]
Input [2]: [shardId#958036, orderProposal#960247]
(64) InMemoryTableScan
Output [3]: [shardId#960270, orderProposalId#960271L, optimizationGroups#960273]
Arguments: [shardId#960270, orderProposalId#960271L, optimizationGroups#960273], [isnotnull(orderProposalId#960271L)]
(65) InMemoryRelation
Arguments: [shardId#960270, orderProposalId#960271L, items#960272, optimizationGroups#960273, isOptimal#960274, optimizationInsights#960276], StorageLevel(disk, memory, 2 replicas)
(66) Filter [codegen id : 2]
Input [3]: [shardId#960270, orderProposalId#960271L, optimizationGroups#960273]
Condition : isnotnull(orderProposalId#960271L)
(67) BroadcastExchange
Input [3]: [shardId#960270, orderProposalId#960271L, optimizationGroups#960273]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=375503]
(68) InMemoryTableScan
Output [2]: [items#959889, shardId#959887]
Arguments: [items#959889, shardId#959887], [(size(items#959889.worklistShardItemId, true) > 0), isnotnull(items#959889.worklistShardItemId), (shardId#959887 = 0_1_10000002110)]
(69) InMemoryRelation
Arguments: [shardId#959887, orderProposalId#959888L, items#959889, optimizationGroups#959890, isOptimal#959891, optimizationInsights#959893], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 3]
Input [2]: [items#959889, shardId#959887]
Condition : (((size(items#959889.worklistShardItemId, true) > 0) AND isnotnull(items#959889.worklistShardItemId)) AND (shardId#959887 = 0_1_10000002110))
(71) Project [codegen id : 3]
Output [1]: [items#959889.worklistShardItemId AS _extract_worklistShardItemId#960918]
Input [2]: [items#959889, shardId#959887]
(72) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#960918]
Arguments: explode(_extract_worklistShardItemId#960918), false, [item#960277L]
(73) Project [codegen id : 3]
Output [1]: [item#960277L AS worklistShardItemId#960278L]
Input [1]: [item#960277L]
(74) BroadcastExchange
Input [1]: [worklistShardItemId#960278L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=375511]
(75) Scan parquet
Output [5]: [orderProposalId#960326L, isFallbackOrderOnly#960343, worklistShardItemId#960349L, shardId#960370, sequenceId#960348]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002110]
PartitionFilters: [isnotnull(shardId#960370), isnotnull(sequenceId#960348), (shardId#960370 = 0_1_10000002110), (sequenceId#960348 = 1)]
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#960326L, isFallbackOrderOnly#960343, worklistShardItemId#960349L, shardId#960370, sequenceId#960348]
(77) Filter [codegen id : 4]
Input [5]: [orderProposalId#960326L, isFallbackOrderOnly#960343, worklistShardItemId#960349L, shardId#960370, sequenceId#960348]
Condition : ((isnotnull(worklistShardItemId#960349L) AND NOT (isFallbackOrderOnly#960343 <=> true)) AND isnotnull(orderProposalId#960326L))
(78) Project [codegen id : 4]
Output [2]: [orderProposalId#960326L, worklistShardItemId#960349L]
Input [5]: [orderProposalId#960326L, isFallbackOrderOnly#960343, worklistShardItemId#960349L, shardId#960370, sequenceId#960348]
(79) Exchange
Input [2]: [orderProposalId#960326L, worklistShardItemId#960349L]
Arguments: hashpartitioning(worklistShardItemId#960349L, 20), REPARTITION_BY_NUM, [plan_id=375518]
(80) Project
Output [2]: [worklistShardItemId#960349L, orderProposalId#960326L]
Input [2]: [orderProposalId#960326L, worklistShardItemId#960349L]
(81) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#960278L]
Right keys [1]: [worklistShardItemId#960349L]
Join type: Inner
Join condition: None
(82) Project [codegen id : 5]
Output [1]: [orderProposalId#960326L]
Input [3]: [worklistShardItemId#960278L, worklistShardItemId#960349L, orderProposalId#960326L]
(83) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#960326L]
Keys [1]: [orderProposalId#960326L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#960326L]
(84) Exchange
Input [1]: [orderProposalId#960326L]
Arguments: hashpartitioning(orderProposalId#960326L, 20), ENSURE_REQUIREMENTS, [plan_id=375525]
(85) HashAggregate
Input [1]: [orderProposalId#960326L]
Keys [1]: [orderProposalId#960326L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#960326L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#960271L]
Right keys [1]: [orderProposalId#960326L]
Join type: Inner
Join condition: None
(87) Project
Output [3]: [orderProposalId#960271L, shardId#960270, coalesce(transform(optimizationGroups#960273, lambdafunction(struct(optGroupId, lambda x_2519#960268.optGroupId, minOrderProfile, lambda x_2519#960268.minOrderProfile, assignmentDetails, lambda x_2519#960268.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2519#960268.minOrderGoal.dimensionType, unit, lambda x_2519#960268.minOrderGoal.unit, unitUuid, lambda x_2519#960268.minOrderGoal.unitUuid, goalValue, lambda x_2519#960268.minOrderGoal.minOrderValue, calcValue, lambda x_2519#960268.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2519#960268, false)), []) AS optimizationGroups#960267]
Input [4]: [shardId#960270, orderProposalId#960271L, optimizationGroups#960273, orderProposalId#960326L]
(88) BroadcastExchange
Input [3]: [orderProposalId#960271L, shardId#960270, optimizationGroups#960267]
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=375531]
(89) BroadcastHashJoin
Left keys [4]: [coalesce(shardId#958036, ), isnull(shardId#958036), coalesce(_extract_orderProposalId#961022L, 0), isnull(_extract_orderProposalId#961022L)]
Right keys [4]: [coalesce(shardId#960270, ), isnull(shardId#960270), coalesce(orderProposalId#960271L, 0), isnull(orderProposalId#960271L)]
Join type: LeftOuter
Join condition: None
(90) Project
Output [2]: [shardId#958036, named_struct(orderProposalId, _extract_orderProposalId#961022L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#961014L, supplierGroup, _extract_supplierGroup#961015, optimizationGroups, coalesce(optimizationGroups#960267, []), supplier, _extract_supplier#961016, supplyingPlant, _extract_supplyingPlant#961017, orderDateTime, _extract_orderDateTime#961018, itemGroups, _extract_itemGroups#961019, previousOrderProposals, _extract_previousOrderProposals#961020, parentItems, _extract_parentItems#961021) AS orderProposal#960374]
Input [14]: [shardId#958036, _extract_orderProposalId#961013L, _extract_originalReplenishmentRunId#961014L, _extract_supplierGroup#961015, _extract_supplier#961016, _extract_supplyingPlant#961017, _extract_orderDateTime#961018, _extract_itemGroups#961019, _extract_previousOrderProposals#961020, _extract_parentItems#961021, _extract_orderProposalId#961022L, orderProposalId#960271L, shardId#960270, optimizationGroups#960267]
(91) Filter
Input [1]: [orderProposal#960374]
Condition : (size(orderProposal#960374.parentItems.deliveryDateTime, true) > 0)
(92) Project
Output [1]: [orderProposal#960374.parentItems.deliveryDateTime AS _extract_deliveryDateTime#961777]
Input [1]: [orderProposal#960374]
(93) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#961777]
Arguments: explode(_extract_deliveryDateTime#961777), false, [numberOfOrderProposalItems#961749]
(94) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#961749]
(95) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#961788L]
Results [1]: [count#961789L]
(96) Exchange
Input [1]: [count#961789L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=375637]
(97) HashAggregate [codegen id : 2]
Input [1]: [count#961789L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#961754L]
Results [1]: [count(1)#961754L AS count#961750L]