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: 669.0 B<br>merged fetch fallback count: 0<br>local blocks read: 9<br>remote merged chunks fetched: 0<br>remote blocks read: 11<br>data size total (min, med, max (stageId: taskId))<br>320.0 B (16.0 B, 16.0 B, 16.0 B (stage 66945.0: task 166978))<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 66945.0: task 166982))<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: 825.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>1494.0 B (72.0 B, 75.0 B, 75.0 B (stage 66945.0: task 166978))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=316471]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n25 ms (0 ms, 2 ms, 3 ms (stage 66945.0: task 166979))";
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>18 ms (0 ms, 1 ms, 2 ms (stage 66945.0: task 166978))<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: 980" tooltip="Generate explode(_extract_deliveryDateTime#806588), false, [numberOfOrderProposalItems#806560]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#805169.parentItems.deliveryDateTime AS _extract_deliveryDateTime#806588]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter (size(orderProposal#805169.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 59" tooltip="InMemoryTableScan [orderProposal#805169], [(size(orderProposal#805169.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, named_struct(orderProposalId, _extract_orderProposalId#805817L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#805809L, supplierGroup, _extract_supplierGroup#805810, optimizationGroups, coalesce(optimizationGroups#805062, []), supplier, _extract_supplier#805811, supplyingPlant, _extract_supplyingPlant#805812, orderDateTime, _extract_orderDateTime#805813, itemGroups, _extract_itemGroups#805814, previousOrderProposals, _extract_previousOrderProposals#805815, parentItems, _extract_parentItems#805816) AS orderProposal#805169]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 59<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66945.0: task 166978))" tooltip="SortMergeJoin [coalesce(shardId#803008, ), isnull(shardId#803008), coalesce(_extract_orderProposalId#805817L, 0), isnull(_extract_orderProposalId#805817L)], [coalesce(shardId#805065, ), isnull(shardId#805065), coalesce(orderProposalId#805066L, 0), isnull(orderProposalId#805066L)], LeftOuter"];
12 [id="node12" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 66945.0: task 166978))<br>peak memory total (min, med, max (stageId: taskId))<br>37.3 MiB (64.0 KiB, 2.1 MiB, 2.1 MiB (stage 66945.0: task 166978))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66945.0: task 166978))" tooltip="Sort [coalesce(shardId#803008, ) ASC NULLS FIRST, isnull(shardId#803008) ASC NULLS FIRST, coalesce(_extract_orderProposalId#805817L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#805817L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 59<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 59<br>local bytes read total (min, med, max (stageId: taskId))<br>203.0 KiB (1188.0 B, 5.8 KiB, 40.3 KiB (stage 66945.0: task 166976))<br>merged fetch fallback count: 0<br>local blocks read: 35<br>remote merged chunks fetched: 0<br>remote blocks read: 20<br>data size total (min, med, max (stageId: taskId))<br>1966.2 KiB (18.1 KiB, 70.0 KiB, 301.4 KiB (stage 66944.0: task 166966))<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>10 ms (0 ms, 0 ms, 0 ms (stage 66944.0: task 166966))<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 66945.0: task 166978))<br>remote bytes read total (min, med, max (stageId: taskId))<br>84.9 KiB (1120.0 B, 3.9 KiB, 22.1 KiB (stage 66945.0: task 166987))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 1 ms (stage 66945.0: task 166987))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>287.9 KiB (2.9 KiB, 10.6 KiB, 40.0 KiB (stage 66944.0: task 166966))" tooltip="Exchange hashpartitioning(coalesce(shardId#803008, ), isnull(shardId#803008), coalesce(_extract_orderProposalId#805817L, 0), isnull(_extract_orderProposalId#805817L), 20), ENSURE_REQUIREMENTS, [plan_id=316320]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, orderProposal#805042.orderProposalId AS _extract_orderProposalId#805808L, orderProposal#805042.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#805809L, orderProposal#805042.supplierGroup AS _extract_supplierGroup#805810, orderProposal#805042.supplier AS _extract_supplier#805811, orderProposal#805042.supplyingPlant AS _extract_supplyingPlant#805812, orderProposal#805042.orderDateTime AS _extract_orderDateTime#805813, orderProposal#805042.itemGroups AS _extract_itemGroups#805814, orderProposal#805042.previousOrderProposals AS _extract_previousOrderProposals#805815, orderProposal#805042.parentItems AS _extract_parentItems#805816, orderProposal#805042.orderProposalId AS _extract_orderProposalId#805817L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, struct(orderProposalId, orderProposalId#803678L, originalReplenishmentRunId, originalReplenishmentRunId#805010L, supplierGroup, supplierGroup#805011, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#805011) THEN supplier#805012 END, supplyingPlant, supplyingPlant#805013, orderDateTime, orderDateTime#805014, itemGroups, itemGroups#805015, previousOrderProposals, array_distinct(previousOrderProposals#805017), parentItems, parentItems#805016) AS orderProposal#805042]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 59<br>time in aggregation build total (min, med, max (stageId: taskId))<br>478 ms (0 ms, 36 ms, 43 ms (stage 66944.0: task 166960))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66944.0: task 166955))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#803008, orderProposalId#803678L], functions=[max(originalReplenishmentRunId#804948L), max(supplierGroup#804949), max(supplier#804950), max(supplyingPlant#804951), max(orderDateTime#804952), collect_list(itemGroup#805009, 0, 0), collect_list(parentItems#804953, 0, 0), collect_set(previousOrderProposals#804955, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 77<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 77<br>local bytes read total (min, med, max (stageId: taskId))<br>194.0 KiB (2.2 KiB, 6.7 KiB, 33.9 KiB (stage 66944.0: task 166966))<br>merged fetch fallback count: 0<br>local blocks read: 47<br>remote merged chunks fetched: 0<br>remote blocks read: 27<br>data size total (min, med, max (stageId: taskId))<br>1978.3 KiB (2.4 KiB, 99.4 KiB, 247.2 KiB (stage 66940.0: task 166943))<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>10 ms (0 ms, 0 ms, 0 ms (stage 66940.0: task 166941))<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 66944.0: task 166955))<br>remote bytes read total (min, med, max (stageId: taskId))<br>94.8 KiB (1234.0 B, 6.0 KiB, 24.9 KiB (stage 66944.0: task 166958))<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 66944.0: task 166965))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>288.8 KiB (1234.0 B, 16.5 KiB, 34.3 KiB (stage 66940.0: task 166944))" tooltip="Exchange hashpartitioning(shardId#803008, orderProposalId#803678L, 20), ENSURE_REQUIREMENTS, [plan_id=316316]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 77<br>time in aggregation build total (min, med, max (stageId: taskId))<br>264 ms (0 ms, 23 ms, 26 ms (stage 66940.0: task 166940))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66940.0: task 166937))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#803008, orderProposalId#803678L], functions=[partial_max(originalReplenishmentRunId#804948L), partial_max(supplierGroup#804949), partial_max(supplier#804950), partial_max(supplyingPlant#804951), partial_max(orderDateTime#804952), partial_collect_list(itemGroup#805009, 0, 0), partial_collect_list(parentItems#804953, 0, 0), partial_collect_set(previousOrderProposals#804955, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 78<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.1 s (0 ms, 97 ms, 105 ms (stage 66940.0: task 166936))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66940.0: task 166937))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#803008, orderProposalId#803678L, splitIndicator#803683L, orderProposalItemGroupId#803680], functions=[max(originalReplenishmentRunId#803681L), max(supplierGroup#803688), max(supplier#803689), max(supplyingPlant#803719), max(orderDateTime#803696), collect_list(parentItem#804900, 0, 0), collect_set(previousOrderProposal#803684L, 0, 0), collect_list(item#804931, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 659<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 659<br>local bytes read total (min, med, max (stageId: taskId))<br>277.8 KiB (1199.0 B, 16.2 KiB, 28.4 KiB (stage 66940.0: task 166944))<br>merged fetch fallback count: 0<br>local blocks read: 138<br>remote merged chunks fetched: 0<br>remote blocks read: 149<br>data size total (min, med, max (stageId: taskId))<br>2.1 MiB (80.5 KiB, 108.3 KiB, 124.2 KiB (stage 66939.0: task 166920))<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>19 ms (0 ms, 0 ms, 1 ms (stage 66939.0: task 166904))<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 66940.0: task 166937))<br>remote bytes read total (min, med, max (stageId: taskId))<br>308.1 KiB (4.1 KiB, 17.1 KiB, 33.9 KiB (stage 66940.0: task 166943))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>14 ms (0 ms, 1 ms, 2 ms (stage 66940.0: task 166935))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>585.9 KiB (23.5 KiB, 29.7 KiB, 34.4 KiB (stage 66939.0: task 166920))" tooltip="Exchange hashpartitioning(shardId#803008, orderProposalId#803678L, splitIndicator#803683L, orderProposalItemGroupId#803680, 20), ENSURE_REQUIREMENTS, [plan_id=316313]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 659<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.4 s (7 ms, 115 ms, 141 ms (stage 66939.0: task 166908))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66939.0: task 166908))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#803008, orderProposalId#803678L, splitIndicator#803683L, orderProposalItemGroupId#803680], functions=[partial_max(originalReplenishmentRunId#803681L), partial_max(supplierGroup#803688), partial_max(supplier#803689), partial_max(supplyingPlant#803719), partial_max(orderDateTime#803696), partial_collect_list(parentItem#804900, 0, 0), partial_collect_set(previousOrderProposal#803684L, 0, 0), partial_collect_list(item#804931, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, orderDateTime#803696, splitIndicator#803683L, orderProposalItemGroupId#803680, previousOrderProposal#803684L, parentItem#804900, struct(itemId, orderProposalItemId#803679, supplier, supplier#803689, supplyingPlant, supplyingPlant#803719, productGroup, productGroup#803720, product, product#803691, plant, plant#803692, supplierSubRange, subrange#803690, deliveryDateTime, deliveryDateTime#803697, orderQuantity, coalesce((qty#803522 * (cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2128#804934.isOrderUnit, lambda x_2128#804934, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2128#804935.isOrderUnit, lambda x_2128#804935, false)), 1, None, false).numerator as double))), qty#803522), orderQuantityUom, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2128#804936.isOrderUnit, lambda x_2128#804936, false)), 1, None, false).uom, orderQuantityBaseUom#803701), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2128#804937.isOrderUnit, lambda x_2128#804937, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#803702), orderQuantityInBaseUnit, qty#803522, orderQuantityBaseUom, ... 13 more fields) AS item#804931]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, qty#803522, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, productGroup#803720, product#803691, plant#803692, subrange#803690, orderDateTime#803696, deliveryDateTime#803697, logisticUnits#803715, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, splitIndicator#803683L, orderProposalItemId#803679, orderProposalItemGroupId#803680, previousOrderProposal#803684L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#803689, supplyingPlant, supplyingPlant#803719, productGroup, productGroup#803720, product, product#803691, plant, plant#803692, supplierSubRange, subrange#803690, sourceOfSupplyUuid, sourceOfSupplyUuid#803687, deliveryDateTime, deliveryDateTime#803697, unitPrice, netPriceAmount#803706, unitPriceCurrency, netPriceCurrencyCode#803707, unitPriceQuantity, ... 37 more fields) AS parentItem#804900]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, qty#803522, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, productGroup#803720, product#803691, plant#803692, subrange#803690, orderDateTime#803696, deliveryDateTime#803697, availabilityDateTime#803698, nextAvailabilityDateTime#803699, logisticUnits#803715, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, splitIndicator#803683L, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, sourceOfSupplyUuid#803687, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n3.6 s (35 ms, 306 ms, 318 ms (stage 66939.0: task 166906))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, productGroup#803720, product#803691, plant#803692, subrange#803690, orderDateTime#803696, deliveryDateTime#803697, availabilityDateTime#803698, nextAvailabilityDateTime#803699, logisticUnits#803715, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, splitIndicator#803683L, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter NOT (isFallbackOrderOnly#803700 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 980" tooltip="InMemoryTableScan [availabilityDateTime#803698, channelStreamSpecificKpis#804262, constraintLabels#803710, constraintOperators#803711, constraintValues#803713, deliveryDateTime#803697, isFallbackOrderOnly#803700, logisticUnits#803715, measurements#803708, minimumOrderQuantity#803709, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, nextAvailabilityDateTime#803699, optimizationGroups#803716, orderDateTime#803696, orderProposalId#803678L, orderProposalItemGroupId#803680, orderProposalItemId#803679, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, originalReplenishmentRunId#803681L, plant#803692, ... 14 more fields], [NOT (isFallbackOrderOnly#803700 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n685 ms (11 ms, 46 ms, 65 ms (stage 66939.0: task 166920))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 980<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66939.0: task 166908))" tooltip="SortMergeJoin [shardId#803008, worklistShardItemId#803520L], [shardId#804269, worklistShardItemId#804270L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n2.8 s (17 ms, 240 ms, 279 ms (stage 66939.0: task 166920))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 980<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66939.0: task 166908))" tooltip="SortMergeJoin [shardId#803008, worklistShardItemId#803520L], [shardId#804256, worklistShardItemId#804257L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n4.7 s (24 ms, 422 ms, 461 ms (stage 66939.0: task 166920))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 980<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66939.0: task 166908))" tooltip="SortMergeJoin [shardId#803008, worklistShardItemId#803520L], [shardId#804240, worklistShardItemId#804241L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n7.0 s (25 ms, 637 ms, 691 ms (stage 66939.0: task 166908))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 66939.0: task 166908))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 66939.0: task 166908))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66939.0: task 166908))" tooltip="Sort [shardId#803008 ASC NULLS FIRST, worklistShardItemId#803520L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>307.3 KiB (6.3 KiB, 10.1 KiB, 27.3 KiB (stage 66939.0: task 166931))<br>merged fetch fallback count: 0<br>local blocks read: 181<br>remote merged chunks fetched: 0<br>remote blocks read: 189<br>data size total (min, med, max (stageId: taskId))<br>1282.4 KiB (50.5 KiB, 63.9 KiB, 84.5 KiB (stage 66936.0: task 166890))<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>23 ms (0 ms, 1 ms, 1 ms (stage 66936.0: task 166868))<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 66939.0: task 166908))<br>remote bytes read total (min, med, max (stageId: taskId))<br>311.0 KiB (3.9 KiB, 20.3 KiB, 26.6 KiB (stage 66939.0: task 166926))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>12 ms (0 ms, 1 ms, 1 ms (stage 66939.0: task 166908))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>618.3 KiB (25.9 KiB, 31.2 KiB, 38.5 KiB (stage 66936.0: task 166890))" tooltip="Exchange hashpartitioning(shardId#803008, worklistShardItemId#803520L, 20), ENSURE_REQUIREMENTS, [plan_id=316032]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n199 ms (5 ms, 12 ms, 15 ms (stage 66936.0: task 166881))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 980<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66936.0: task 166867))" tooltip="SortMergeJoin [worklistShardItemId#803520L], [worklistShardItemId#803744L], LeftOuter, (shardId#803008 = 0_1_10000002108)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (6 ms, 218 ms, 258 ms (stage 66936.0: task 166881))";
tooltip="WholeStageCodegen (2)";
45 [id="node45" 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 66936.0: task 166867))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 66936.0: task 166867))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66936.0: task 166867))" tooltip="Sort [worklistShardItemId#803520L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>17.3 KiB (663.0 B, 888.0 B, 1093.0 B (stage 66936.0: task 166890))<br>merged fetch fallback count: 0<br>local blocks read: 136<br>remote merged chunks fetched: 0<br>remote blocks read: 162<br>data size total (min, med, max (stageId: taskId))<br>53.6 KiB (56.0 B, 2.7 KiB, 6.8 KiB (stage 66934.0: task 166752))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>15 ms (0 ms, 0 ms, 1 ms (stage 66934.0: task 166744))<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 66936.0: task 166867))<br>remote bytes read total (min, med, max (stageId: taskId))<br>19.7 KiB (732.0 B, 1004.0 B, 1271.0 B (stage 66936.0: task 166898))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>16 ms (0 ms, 1 ms, 2 ms (stage 66936.0: task 166893))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>37.0 KiB (100.0 B, 2.0 KiB, 3.1 KiB (stage 66934.0: task 166752))" tooltip="Exchange hashpartitioning(worklistShardItemId#803520L, 20), ENSURE_REQUIREMENTS, [plan_id=316013]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n34 ms (0 ms, 1 ms, 6 ms (stage 66934.0: task 166740))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#803008, item#803519.worklistShardItemId AS worklistShardItemId#803520L, item#803519.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#803521, item#803519.qty AS qty#803522]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 980" tooltip="Generate explode(items#803010), [shardId#803008], false, [item#803519]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter ((size(items#803010, true) > 0) AND isnotnull(items#803010))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 59" tooltip="InMemoryTableScan [shardId#803008, items#803010], [(size(items#803010, true) > 0), isnotnull(items#803010)]"];
subgraph cluster52 {
isCluster="true";
id="cluster52";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
53 [id="node53" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#803008) AND (shardId#803008 = 0_1_10000002108))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, optimizationInsights#803014], [isnotnull(shardId#803008), (shardId#803008 = 0_1_10000002108)]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
56 [id="node56" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#803008) AND (shardId#803008 = 0_1_10000002108))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#803008,orderProposalId#803009L,items#803010,optimizationGroups#803011,isOptimal#803012,lastModified#803013,optimizationInsights#803014]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (5 ms, 111 ms, 150 ms (stage 66936.0: task 166882))";
tooltip="WholeStageCodegen (4)";
59 [id="node59" 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 66936.0: task 166867))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 66936.0: task 166867))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66936.0: task 166867))" tooltip="Sort [worklistShardItemId#803744L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#803744L, orderProposalId#803721L, orderProposalItemId#803722, orderProposalItemGroupId#803745, originalReplenishmentRunId#803763L, splitIndicator#803740L, previousOrderProposal#803741L, sourceOfSupplyUuid#803735, supplierGroup#803723, supplier#803724, subrange#803727, product#803730, plant#803725, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, isFallbackOrderOnly#803738, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, netPriceAmount#803757, netPriceCurrencyCode#803758, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>302.3 KiB (9.2 KiB, 15.0 KiB, 20.1 KiB (stage 66936.0: task 166865))<br>merged fetch fallback count: 0<br>local blocks read: 206<br>remote merged chunks fetched: 0<br>remote blocks read: 232<br>data size total (min, med, max (stageId: taskId))<br>1244.1 KiB (33.9 KiB, 49.8 KiB, 61.0 KiB (stage 66933.0: task 166776))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>24 ms (0 ms, 0 ms, 1 ms (stage 66933.0: task 166776))<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 66936.0: task 166867))<br>remote bytes read total (min, med, max (stageId: taskId))<br>336.8 KiB (12.1 KiB, 16.9 KiB, 22.8 KiB (stage 66936.0: task 166894))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>22 ms (0 ms, 1 ms, 3 ms (stage 66936.0: task 166890))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>639.1 KiB (18.4 KiB, 25.4 KiB, 30.8 KiB (stage 66933.0: task 166734))" tooltip="Exchange hashpartitioning(worklistShardItemId#803744L, 20), REPARTITION_BY_NUM, [plan_id=316023]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (77 ms, 87 ms, 153 ms (stage 66933.0: task 166739))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#803721L, orderProposalItemId#803722, supplierGroup#803723, supplier#803724, plant#803725, deliveryDateTime#803726, subrange#803727, supplyingPlant#803728, productGroup#803729, product#803730, orderDateTime#803731, availabilityDateTime#803732, nextAvailabilityDateTime#803733, sourceOfSupplyUuid#803735, isFallbackOrderOnly#803738, splitIndicator#803740L, previousOrderProposal#803741L, worklistShardItemId#803744L, orderProposalItemGroupId#803745, externalProductId#803746, externalPlantId#803747, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, minimumOrderQuantity#803751, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter isnotnull(worklistShardItemId#803744L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 980<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
66 [id="node66" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 25<br>scan time total (min, med, max (stageId: taskId))<br>2.2 s (75 ms, 85 ms, 112 ms (stage 66933.0: task 166807))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 674.1 KiB<br>number of output rows: 980<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#803721L,orderProposalItemId#803722,supplierGroup#803723,supplier#803724,plant#803725,deliveryDateTime#803726,subrange#803727,supplyingPlant#803728,productGroup#803729,product#803730,orderDateTime#803731,availabilityDateTime#803732,nextAvailabilityDateTime#803733,sourceOfSupplyUuid#803735,isFallbackOrderOnly#803738,splitIndicator#803740L,previousOrderProposal#803741L,worklistShardItemId#803744L,orderProposalItemGroupId#803745,externalProductId#803746,externalPlantId#803747,logisticUnits#803748,orderQuantityBaseUom#803749,orderQuantityBaseUomUuid#803750,minimumOrderQuantity#803751,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#803744L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#803765), isnotnull(sequenceId#803743), (shardId#803765 = 0_1_10000002108), (se..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster67 {
isCluster="true";
id="cluster67";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n2.9 s (12 ms, 267 ms, 291 ms (stage 66939.0: task 166908))";
tooltip="WholeStageCodegen (8)";
68 [id="node68" 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 66939.0: task 166908))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 66939.0: task 166908))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66939.0: task 166908))" tooltip="Sort [shardId#804240 ASC NULLS FIRST, worklistShardItemId#804241L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>156.6 KiB (13.8 KiB, 14.1 KiB, 15.2 KiB (stage 66939.0: task 166925))<br>merged fetch fallback count: 0<br>local blocks read: 209<br>remote merged chunks fetched: 0<br>remote blocks read: 170<br>data size total (min, med, max (stageId: taskId))<br>1025.9 KiB (42.9 KiB, 50.3 KiB, 61.8 KiB (stage 66938.0: task 166766))<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>21 ms (0 ms, 1 ms, 1 ms (stage 66938.0: task 166768))<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 66939.0: task 166908))<br>remote bytes read total (min, med, max (stageId: taskId))<br>124.7 KiB (12.7 KiB, 13.8 KiB, 15.4 KiB (stage 66939.0: task 166920))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>11 ms (0 ms, 1 ms, 2 ms (stage 66939.0: task 166919))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>281.2 KiB (13.0 KiB, 13.9 KiB, 16.2 KiB (stage 66938.0: task 166766))" tooltip="Exchange hashpartitioning(shardId#804240, worklistShardItemId#804241L, 20), ENSURE_REQUIREMENTS, [plan_id=316038]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n273 ms (5 ms, 7 ms, 103 ms (stage 66938.0: task 166738))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#804240, worklistShardItemId#804241L, coalesce(kpis#804245, []) AS prodLocSpecificKpis#804246]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter (((isnull(qty#804242) AND isnull(demandChannel#804243)) AND isnull(demandStream#804244)) AND (isnotnull(shardId#804240) AND isnotnull(worklistShardItemId#804241L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 4,129" tooltip="Scan ExistingRDD[shardId#804240,worklistShardItemId#804241L,qty#804242,demandChannel#804243,demandStream#804244,kpis#804245]"];
}
subgraph cluster74 {
isCluster="true";
id="cluster74";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n2.0 s (9 ms, 159 ms, 358 ms (stage 66939.0: task 166920))";
tooltip="WholeStageCodegen (11)";
75 [id="node75" 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 66939.0: task 166908))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 66939.0: task 166908))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66939.0: task 166908))" tooltip="Sort [shardId#804256 ASC NULLS FIRST, worklistShardItemId#804257L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 966<br>time in aggregation build total (min, med, max (stageId: taskId))<br>280 ms (2 ms, 25 ms, 26 ms (stage 66939.0: task 166906))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66939.0: task 166908))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#804256, worklistShardItemId#804257L], functions=[collect_list(struct(demandChannel, demandChannel#804259, demandStream, demandStream#804260, kpis, kpis#804261), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 966<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 966<br>local bytes read total (min, med, max (stageId: taskId))<br>72.3 KiB (2.4 KiB, 4.1 KiB, 4.9 KiB (stage 66939.0: task 166906))<br>merged fetch fallback count: 0<br>local blocks read: 194<br>remote merged chunks fetched: 0<br>remote blocks read: 176<br>data size total (min, med, max (stageId: taskId))<br>392.4 KiB (16.3 KiB, 19.5 KiB, 23.2 KiB (stage 66935.0: task 166781))<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>19 ms (0 ms, 0 ms, 1 ms (stage 66935.0: task 166816))<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 66939.0: task 166908))<br>remote bytes read total (min, med, max (stageId: taskId))<br>65.1 KiB (1685.0 B, 2.8 KiB, 4.9 KiB (stage 66939.0: task 166931))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>16 ms (0 ms, 1 ms, 1 ms (stage 66939.0: task 166908))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>137.3 KiB (5.9 KiB, 6.9 KiB, 7.6 KiB (stage 66935.0: task 166789))" tooltip="Exchange hashpartitioning(shardId#804256, worklistShardItemId#804257L, 20), ENSURE_REQUIREMENTS, [plan_id=316049]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 966<br>time in aggregation build total (min, med, max (stageId: taskId))<br>272 ms (4 ms, 5 ms, 105 ms (stage 66935.0: task 166736))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66935.0: task 166736))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#804256, worklistShardItemId#804257L], functions=[partial_collect_list(struct(demandChannel, demandChannel#804259, demandStream, demandStream#804260, kpis, kpis#804261), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n273 ms (4 ms, 5 ms, 105 ms (stage 66935.0: task 166736))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#804256, worklistShardItemId#804257L, demandChannel#804259, demandStream#804260, kpis#804261]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 966" tooltip="Filter ((((isnull(qty#804258) AND isnotnull(demandChannel#804259)) AND isnotnull(demandStream#804260)) AND (size(kpis#804261, true) > 0)) AND (isnotnull(shardId#804256) AND isnotnull(worklistShardItemId#804257L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 4,129" tooltip="Scan ExistingRDD[shardId#804256,worklistShardItemId#804257L,qty#804258,demandChannel#804259,demandStream#804260,kpis#804261]"];
}
subgraph cluster83 {
isCluster="true";
id="cluster83";
label="WholeStageCodegen (14)\n \nduration: total (min, med, max (stageId: taskId))\n781 ms (5 ms, 64 ms, 79 ms (stage 66939.0: task 166922))";
tooltip="WholeStageCodegen (14)";
84 [id="node84" 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 66939.0: task 166908))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 66939.0: task 166908))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66939.0: task 166908))" tooltip="Sort [shardId#804269 ASC NULLS FIRST, worklistShardItemId#804270L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 980<br>time in aggregation build total (min, med, max (stageId: taskId))<br>324 ms (2 ms, 26 ms, 32 ms (stage 66939.0: task 166919))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66939.0: task 166908))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#804269, worklistShardItemId#804270L], functions=[collect_list(struct(qty, qty#804271, kpis, kpis#804274), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,113<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,113<br>local bytes read total (min, med, max (stageId: taskId))<br>122.8 KiB (535.0 B, 780.0 B, 13.8 KiB (stage 66939.0: task 166920))<br>merged fetch fallback count: 0<br>local blocks read: 182<br>remote merged chunks fetched: 0<br>remote blocks read: 216<br>data size total (min, med, max (stageId: taskId))<br>1358.9 KiB (57.9 KiB, 69.7 KiB, 74.2 KiB (stage 66937.0: task 166813))<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>19 ms (0 ms, 0 ms, 1 ms (stage 66937.0: task 166818))<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 66939.0: task 166908))<br>remote bytes read total (min, med, max (stageId: taskId))<br>147.4 KiB (459.0 B, 12.4 KiB, 13.5 KiB (stage 66939.0: task 166926))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>19 ms (0 ms, 1 ms, 2 ms (stage 66939.0: task 166906))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>270.1 KiB (12.4 KiB, 13.7 KiB, 14.0 KiB (stage 66937.0: task 166794))" tooltip="Exchange hashpartitioning(shardId#804269, worklistShardItemId#804270L, 20), ENSURE_REQUIREMENTS, [plan_id=316061]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,113<br>time in aggregation build total (min, med, max (stageId: taskId))<br>304 ms (4 ms, 5 ms, 101 ms (stage 66937.0: task 166737))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66937.0: task 166737))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#804269, worklistShardItemId#804270L], functions=[partial_collect_list(struct(qty, qty#804271, kpis, kpis#804274), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n306 ms (4 ms, 5 ms, 101 ms (stage 66937.0: task 166737))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#804269, worklistShardItemId#804270L, qty#804271, kpis#804274]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,183" tooltip="Filter ((isnotnull(qty#804271) AND isnotnull(kpis#804274)) AND (isnotnull(shardId#804269) AND isnotnull(worklistShardItemId#804270L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 4,129" tooltip="Scan ExistingRDD[shardId#804269,worklistShardItemId#804270L,qty#804271,demandChannel#804272,demandStream#804273,kpis#804274]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n2.7 s (5 ms, 258 ms, 265 ms (stage 66945.0: task 166977))";
tooltip="WholeStageCodegen (7)";
93 [id="node93" 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 66945.0: task 166978))<br>peak memory total (min, med, max (stageId: taskId))<br>37.3 MiB (64.0 KiB, 2.1 MiB, 2.1 MiB (stage 66945.0: task 166978))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 66945.0: task 166978))" tooltip="Sort [coalesce(shardId#805065, ) ASC NULLS FIRST, isnull(shardId#805065) ASC NULLS FIRST, coalesce(orderProposalId#805066L, 0) ASC NULLS FIRST, isnull(orderProposalId#805066L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 59<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 59<br>local bytes read total (min, med, max (stageId: taskId))<br>6.6 KiB (113.0 B, 513.0 B, 737.0 B (stage 66945.0: task 166993))<br>merged fetch fallback count: 0<br>local blocks read: 32<br>remote merged chunks fetched: 0<br>remote blocks read: 23<br>data size total (min, med, max (stageId: taskId))<br>12.7 KiB (56.0 B, 648.0 B, 2.2 KiB (stage 66943.0: task 166912))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>9 ms (0 ms, 0 ms, 0 ms (stage 66943.0: task 166884))<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 66945.0: task 166978))<br>remote bytes read total (min, med, max (stageId: taskId))<br>6.9 KiB (113.0 B, 511.0 B, 1621.0 B (stage 66945.0: task 166989))<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 66945.0: task 166978))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>13.4 KiB (113.0 B, 735.0 B, 1963.0 B (stage 66943.0: task 166912))" tooltip="Exchange hashpartitioning(coalesce(shardId#805065, ), isnull(shardId#805065), coalesce(orderProposalId#805066L, 0), isnull(orderProposalId#805066L), 20), ENSURE_REQUIREMENTS, [plan_id=316353]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#805066L, shardId#805065, coalesce(transform(optimizationGroups#805068, lambdafunction(struct(optGroupId, lambda x_2132#805063.optGroupId, minOrderProfile, lambda x_2132#805063.minOrderProfile, assignmentDetails, lambda x_2132#805063.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2132#805063.minOrderGoal.dimensionType, unit, lambda x_2132#805063.minOrderGoal.unit, unitUuid, lambda x_2132#805063.minOrderGoal.unitUuid, goalValue, lambda x_2132#805063.minOrderGoal.minOrderValue, calcValue, lambda x_2132#805063.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2132#805063, false)), []) AS optimizationGroups#805062]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n751 ms (2 ms, 68 ms, 74 ms (stage 66943.0: task 166903))";
tooltip="WholeStageCodegen (6)";
97 [id="node97" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 59" tooltip="BroadcastHashJoin [orderProposalId#805066L], [orderProposalId#805121L], Inner, BuildLeft, false"];
108 [id="node108" 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>31 ms (0 ms, 2 ms, 2 ms (stage 66943.0: task 166886))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 66943.0: task 166886))<br>number of output rows: 59<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#805121L], functions=[])"];
}
98 [id="node98" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 4 ms<br>time to collect: 194 ms<br>number of output rows: 59<br>data size: 1026.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=316325]"];
subgraph cluster99 {
isCluster="true";
id="cluster99";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n20 ms (0 ms, 2 ms, 2 ms (stage 66884.0: task 166712))";
tooltip="WholeStageCodegen (2)";
100 [id="node100" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter isnotnull(orderProposalId#805066L)"];
}
101 [id="node101" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 59" tooltip="InMemoryTableScan [shardId#805065, orderProposalId#805066L, optimizationGroups#805068], [isnotnull(orderProposalId#805066L)]"];
subgraph cluster102 {
isCluster="true";
id="cluster102";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
103 [id="node103" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#803008) AND (shardId#803008 = 0_1_10000002108))"];
}
104 [id="node104" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, optimizationInsights#803014], [isnotnull(shardId#803008), (shardId#803008 = 0_1_10000002108)]"];
subgraph cluster105 {
isCluster="true";
id="cluster105";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
106 [id="node106" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#803008) AND (shardId#803008 = 0_1_10000002108))"];
107 [id="node107" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#803008,orderProposalId#803009L,items#803010,optimizationGroups#803011,isOptimal#803012,lastModified#803013,optimizationInsights#803014]"];
}
109 [id="node109" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 523<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 523<br>local bytes read total (min, med, max (stageId: taskId))<br>15.6 KiB (247.0 B, 902.0 B, 1356.0 B (stage 66943.0: task 166902))<br>merged fetch fallback count: 0<br>local blocks read: 192<br>remote merged chunks fetched: 0<br>remote blocks read: 114<br>data size total (min, med, max (stageId: taskId))<br>8.2 KiB (304.0 B, 416.0 B, 528.0 B (stage 66942.0: task 166870))<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>20 ms (0 ms, 1 ms, 1 ms (stage 66942.0: task 166861))<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 66943.0: task 166886))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.2 KiB (75.0 B, 419.0 B, 1279.0 B (stage 66943.0: task 166887))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>96 ms (0 ms, 1 ms, 19 ms (stage 66943.0: task 166886))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>24.7 KiB (1041.0 B, 1257.0 B, 1515.0 B (stage 66942.0: task 166870))" tooltip="Exchange hashpartitioning(orderProposalId#805121L, 20), ENSURE_REQUIREMENTS, [plan_id=316347]"];
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n463 ms (3 ms, 29 ms, 46 ms (stage 66942.0: task 166860))";
tooltip="WholeStageCodegen (5)";
111 [id="node111" 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>42 ms (1 ms, 2 ms, 3 ms (stage 66942.0: task 166859))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 66942.0: task 166860))<br>number of output rows: 523<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#805121L], functions=[])"];
112 [id="node112" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#805121L]"];
113 [id="node113" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 980" tooltip="BroadcastHashJoin [worklistShardItemId#805073L], [worklistShardItemId#805144L], Inner, BuildLeft, false"];
127 [id="node127" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#805144L, orderProposalId#805121L]"];
}
114 [id="node114" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 113 ms<br>number of output rows: 980<br>data size: 1047.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=316333]"];
subgraph cluster115 {
isCluster="true";
id="cluster115";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n16 ms (0 ms, 1 ms, 2 ms (stage 66883.0: task 166690))";
tooltip="WholeStageCodegen (3)";
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#805072L AS worklistShardItemId#805073L]"];
117 [id="node117" labelType="html" label="<b>Generate</b><br><br>number of output rows: 980" tooltip="Generate explode(_extract_worklistShardItemId#805713), false, [item#805072L]"];
118 [id="node118" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#804684.worklistShardItemId AS _extract_worklistShardItemId#805713]"];
119 [id="node119" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter (((size(items#804684.worklistShardItemId, true) > 0) AND isnotnull(items#804684.worklistShardItemId)) AND (shardId#804682 = 0_1_10000002108))"];
}
120 [id="node120" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 59" tooltip="InMemoryTableScan [items#804684, shardId#804682], [(size(items#804684.worklistShardItemId, true) > 0), isnotnull(items#804684.worklistShardItemId), (shardId#804682 = 0_1_10000002108)]"];
subgraph cluster121 {
isCluster="true";
id="cluster121";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
122 [id="node122" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#803008) AND (shardId#803008 = 0_1_10000002108))"];
}
123 [id="node123" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, optimizationInsights#803014], [isnotnull(shardId#803008), (shardId#803008 = 0_1_10000002108)]"];
subgraph cluster124 {
isCluster="true";
id="cluster124";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
125 [id="node125" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#803008) AND (shardId#803008 = 0_1_10000002108))"];
126 [id="node126" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#803008,orderProposalId#803009L,items#803010,optimizationGroups#803011,isOptimal#803012,lastModified#803013,optimizationInsights#803014]"];
}
128 [id="node128" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>22.8 KiB (963.0 B, 1167.0 B, 1430.0 B (stage 66942.0: task 166874))<br>merged fetch fallback count: 0<br>local blocks read: 225<br>remote merged chunks fetched: 0<br>remote blocks read: 213<br>data size total (min, med, max (stageId: taskId))<br>23.0 KiB (648.0 B, 960.0 B, 1152.0 B (stage 66941.0: task 166727))<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>22 ms (0 ms, 0 ms, 1 ms (stage 66941.0: task 166764))<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 66942.0: task 166860))<br>remote bytes read total (min, med, max (stageId: taskId))<br>21.8 KiB (836.0 B, 1137.0 B, 1351.0 B (stage 66942.0: task 166860))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>9 ms (0 ms, 0 ms, 2 ms (stage 66942.0: task 166873))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>44.6 KiB (1367.0 B, 1819.0 B, 2.1 KiB (stage 66941.0: task 166726))" tooltip="Exchange hashpartitioning(worklistShardItemId#805144L, 20), REPARTITION_BY_NUM, [plan_id=316340]"];
subgraph cluster129 {
isCluster="true";
id="cluster129";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n3.0 s (91 ms, 112 ms, 157 ms (stage 66941.0: task 166730))";
tooltip="WholeStageCodegen (4)";
130 [id="node130" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#805121L, worklistShardItemId#805144L]"];
131 [id="node131" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter ((isnotnull(worklistShardItemId#805144L) AND NOT (isFallbackOrderOnly#805138 <=> true)) AND isnotnull(orderProposalId#805121L))"];
132 [id="node132" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 980<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
133 [id="node133" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 25<br>scan time total (min, med, max (stageId: taskId))<br>2.7 s (89 ms, 108 ms, 127 ms (stage 66941.0: task 166730))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 674.1 KiB<br>number of output rows: 980<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#805121L,isFallbackOrderOnly#805138,worklistShardItemId#805144L,shardId#805165,sequenceId#805143] Batched: true, DataFilters: [isnotnull(worklistShardItemId#805144L), NOT (isFallbackOrderOnly#805138 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#805165), isnotnull(sequenceId#805143), (shardId#805165 = 0_1_10000002108), (se..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
23->22;
24->23;
26->24;
27->26;
28->27;
30->28;
31->30;
33->31;
34->33;
36->34;
37->36;
39->37;
40->39;
42->40;
43->42;
45->43;
46->45;
48->46;
49->48;
50->49;
51->50;
53->51;
54->53;
56->54;
57->56;
59->43;
60->59;
61->60;
63->61;
64->63;
65->64;
66->65;
68->37;
69->68;
71->69;
72->71;
73->72;
75->34;
76->75;
77->76;
78->77;
80->78;
81->80;
82->81;
84->31;
85->84;
86->85;
87->86;
89->87;
90->89;
91->90;
93->11;
94->93;
95->94;
97->95;
98->97;
100->98;
101->100;
103->101;
104->103;
106->104;
107->106;
108->97;
109->108;
111->109;
112->111;
113->112;
114->113;
116->114;
117->116;
118->117;
119->118;
120->119;
122->120;
123->122;
125->123;
126->125;
127->113;
128->127;
130->128;
131->130;
132->131;
133->132;
}
== Physical Plan ==
* HashAggregate (102)
+- Exchange (101)
+- * HashAggregate (100)
+- * Project (99)
+- * Generate (98)
+- Project (97)
+- Filter (96)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (95)
+- SortMergeJoin LeftOuter (94)
:- Sort (67)
: +- Exchange (66)
: +- Project (65)
: +- Project (64)
: +- ObjectHashAggregate (63)
: +- Exchange (62)
: +- ObjectHashAggregate (61)
: +- ObjectHashAggregate (60)
: +- Exchange (59)
: +- ObjectHashAggregate (58)
: +- Project (57)
: +- Project (56)
: +- Project (55)
: +- * Project (54)
: +- * Filter (53)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (52)
: +- * SortMergeJoin LeftOuter (51)
: :- * Project (43)
: : +- * SortMergeJoin LeftOuter (42)
: : :- * Project (34)
: : : +- * SortMergeJoin LeftOuter (33)
: : : :- * Sort (27)
: : : : +- Exchange (26)
: : : : +- * Project (25)
: : : : +- * SortMergeJoin LeftOuter (24)
: : : : :- * Sort (16)
: : : : : +- Exchange (15)
: : : : : +- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- * Sort (23)
: : : : +- * Project (22)
: : : : +- Exchange (21)
: : : : +- * Project (20)
: : : : +- * Filter (19)
: : : : +- * ColumnarToRow (18)
: : : : +- Scan parquet (17)
: : : +- * Sort (32)
: : : +- Exchange (31)
: : : +- * Project (30)
: : : +- * Filter (29)
: : : +- * Scan ExistingRDD (28)
: : +- * Sort (41)
: : +- ObjectHashAggregate (40)
: : +- Exchange (39)
: : +- ObjectHashAggregate (38)
: : +- * Project (37)
: : +- * Filter (36)
: : +- * Scan ExistingRDD (35)
: +- * Sort (50)
: +- ObjectHashAggregate (49)
: +- Exchange (48)
: +- ObjectHashAggregate (47)
: +- * Project (46)
: +- * Filter (45)
: +- * Scan ExistingRDD (44)
+- * Sort (93)
+- Exchange (92)
+- Project (91)
+- * BroadcastHashJoin Inner BuildLeft (90)
:- BroadcastExchange (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * HashAggregate (89)
+- Exchange (88)
+- * HashAggregate (87)
+- * Project (86)
+- * BroadcastHashJoin Inner BuildLeft (85)
:- BroadcastExchange (78)
: +- * Project (77)
: +- * Generate (76)
: +- * Project (75)
: +- * Filter (74)
: +- InMemoryTableScan (72)
: +- InMemoryRelation (73)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (84)
+- Exchange (83)
+- * Project (82)
+- * Filter (81)
+- * ColumnarToRow (80)
+- Scan parquet (79)
(1) InMemoryTableScan
Output [1]: [orderProposal#805169]
Arguments: [orderProposal#805169], [(size(orderProposal#805169.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#803008, orderProposal#805169], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#803698, channelStreamSpecificKpis#804262, constraintLabels#803710, constraintOperators#803711, constraintValues#803713, deliveryDateTime#803697, isFallbackOrderOnly#803700, logisticUnits#803715, measurements#803708, minimumOrderQuantity#803709, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, nextAvailabilityDateTime#803699, optimizationGroups#803716, orderDateTime#803696, orderProposalId#803678L, orderProposalItemGroupId#803680, orderProposalItemId#803679, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, originalReplenishmentRunId#803681L, plant#803692, previousOrderProposal#803684L, prodLocSpecificKpis#804247, product#803691, productGroup#803720, qty#803522, quantityAfterProdPlantOptimization#803521, quantityKpis#804275, shardId#803008, sourceOfSupplyUuid#803687, splitIndicator#803683L, subrange#803690, supplier#803689, supplierGroup#803688, supplyingPlant#803719]
Arguments: [availabilityDateTime#803698, channelStreamSpecificKpis#804262, constraintLabels#803710, constraintOperators#803711, constraintValues#803713, deliveryDateTime#803697, isFallbackOrderOnly#803700, logisticUnits#803715, measurements#803708, minimumOrderQuantity#803709, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, nextAvailabilityDateTime#803699, optimizationGroups#803716, orderDateTime#803696, orderProposalId#803678L, orderProposalItemGroupId#803680, orderProposalItemId#803679, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, originalReplenishmentRunId#803681L, plant#803692, ... 14 more fields], [NOT (isFallbackOrderOnly#803700 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, productGroup#803720, product#803691, plant#803692, subrange#803690, orderDateTime#803696, deliveryDateTime#803697, availabilityDateTime#803698, nextAvailabilityDateTime#803699, constraintValues#803713, constraintOperators#803711, constraintLabels#803710, logisticUnits#803715, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, splitIndicator#803683L, netPriceAmount#803706, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#803008, items#803010]
Arguments: [shardId#803008, items#803010], [(size(items#803010, true) > 0), isnotnull(items#803010)]
(6) InMemoryRelation
Arguments: [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, optimizationInsights#803014], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, optimizationInsights#803014]
Arguments: [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, optimizationInsights#803014], [isnotnull(shardId#803008), (shardId#803008 = 0_1_10000002108)]
(8) InMemoryRelation
Arguments: [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, lastModified#803013, optimizationInsights#803014], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, lastModified#803013, optimizationInsights#803014]
Arguments: [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, lastModified#803013, optimizationInsights#803014], MapPartitionsRDD[37720] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, lastModified#803013, optimizationInsights#803014]
Condition : (isnotnull(shardId#803008) AND (shardId#803008 = 0_1_10000002108))
(11) Filter [codegen id : 1]
Input [6]: [shardId#803008, orderProposalId#803009L, items#803010, optimizationGroups#803011, isOptimal#803012, optimizationInsights#803014]
Condition : (isnotnull(shardId#803008) AND (shardId#803008 = 0_1_10000002108))
(12) Filter [codegen id : 1]
Input [2]: [shardId#803008, items#803010]
Condition : ((size(items#803010, true) > 0) AND isnotnull(items#803010))
(13) Generate [codegen id : 1]
Input [2]: [shardId#803008, items#803010]
Arguments: explode(items#803010), [shardId#803008], false, [item#803519]
(14) Project [codegen id : 1]
Output [4]: [shardId#803008, item#803519.worklistShardItemId AS worklistShardItemId#803520L, item#803519.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#803521, item#803519.qty AS qty#803522]
Input [2]: [shardId#803008, item#803519]
(15) Exchange
Input [4]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522]
Arguments: hashpartitioning(worklistShardItemId#803520L, 20), ENSURE_REQUIREMENTS, [plan_id=316013]
(16) Sort [codegen id : 2]
Input [4]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522]
Arguments: [worklistShardItemId#803520L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#803721L, orderProposalItemId#803722, supplierGroup#803723, supplier#803724, plant#803725, deliveryDateTime#803726, subrange#803727, supplyingPlant#803728, productGroup#803729, product#803730, orderDateTime#803731, availabilityDateTime#803732, nextAvailabilityDateTime#803733, sourceOfSupplyUuid#803735, isFallbackOrderOnly#803738, splitIndicator#803740L, previousOrderProposal#803741L, worklistShardItemId#803744L, orderProposalItemGroupId#803745, externalProductId#803746, externalPlantId#803747, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, minimumOrderQuantity#803751, constraintLabels#803752, constraintOperators#803753, constraintValues#803754, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, measurements#803762, originalReplenishmentRunId#803763L, optimizationGroups#803764, shardId#803765, sequenceId#803743]
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/10000002108]
PartitionFilters: [isnotnull(shardId#803765), isnotnull(sequenceId#803743), (shardId#803765 = 0_1_10000002108), (sequenceId#803743 = 2)]
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>>
(18) ColumnarToRow [codegen id : 3]
Input [38]: [orderProposalId#803721L, orderProposalItemId#803722, supplierGroup#803723, supplier#803724, plant#803725, deliveryDateTime#803726, subrange#803727, supplyingPlant#803728, productGroup#803729, product#803730, orderDateTime#803731, availabilityDateTime#803732, nextAvailabilityDateTime#803733, sourceOfSupplyUuid#803735, isFallbackOrderOnly#803738, splitIndicator#803740L, previousOrderProposal#803741L, worklistShardItemId#803744L, orderProposalItemGroupId#803745, externalProductId#803746, externalPlantId#803747, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, minimumOrderQuantity#803751, constraintLabels#803752, constraintOperators#803753, constraintValues#803754, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, measurements#803762, originalReplenishmentRunId#803763L, optimizationGroups#803764, shardId#803765, sequenceId#803743]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#803721L, orderProposalItemId#803722, supplierGroup#803723, supplier#803724, plant#803725, deliveryDateTime#803726, subrange#803727, supplyingPlant#803728, productGroup#803729, product#803730, orderDateTime#803731, availabilityDateTime#803732, nextAvailabilityDateTime#803733, sourceOfSupplyUuid#803735, isFallbackOrderOnly#803738, splitIndicator#803740L, previousOrderProposal#803741L, worklistShardItemId#803744L, orderProposalItemGroupId#803745, externalProductId#803746, externalPlantId#803747, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, minimumOrderQuantity#803751, constraintLabels#803752, constraintOperators#803753, constraintValues#803754, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, measurements#803762, originalReplenishmentRunId#803763L, optimizationGroups#803764, shardId#803765, sequenceId#803743]
Condition : isnotnull(worklistShardItemId#803744L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#803721L, orderProposalItemId#803722, supplierGroup#803723, supplier#803724, plant#803725, deliveryDateTime#803726, subrange#803727, supplyingPlant#803728, productGroup#803729, product#803730, orderDateTime#803731, availabilityDateTime#803732, nextAvailabilityDateTime#803733, sourceOfSupplyUuid#803735, isFallbackOrderOnly#803738, splitIndicator#803740L, previousOrderProposal#803741L, worklistShardItemId#803744L, orderProposalItemGroupId#803745, externalProductId#803746, externalPlantId#803747, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, minimumOrderQuantity#803751, constraintLabels#803752, constraintOperators#803753, constraintValues#803754, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, measurements#803762, originalReplenishmentRunId#803763L, optimizationGroups#803764]
Input [38]: [orderProposalId#803721L, orderProposalItemId#803722, supplierGroup#803723, supplier#803724, plant#803725, deliveryDateTime#803726, subrange#803727, supplyingPlant#803728, productGroup#803729, product#803730, orderDateTime#803731, availabilityDateTime#803732, nextAvailabilityDateTime#803733, sourceOfSupplyUuid#803735, isFallbackOrderOnly#803738, splitIndicator#803740L, previousOrderProposal#803741L, worklistShardItemId#803744L, orderProposalItemGroupId#803745, externalProductId#803746, externalPlantId#803747, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, minimumOrderQuantity#803751, constraintLabels#803752, constraintOperators#803753, constraintValues#803754, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, measurements#803762, originalReplenishmentRunId#803763L, optimizationGroups#803764, shardId#803765, sequenceId#803743]
(21) Exchange
Input [36]: [orderProposalId#803721L, orderProposalItemId#803722, supplierGroup#803723, supplier#803724, plant#803725, deliveryDateTime#803726, subrange#803727, supplyingPlant#803728, productGroup#803729, product#803730, orderDateTime#803731, availabilityDateTime#803732, nextAvailabilityDateTime#803733, sourceOfSupplyUuid#803735, isFallbackOrderOnly#803738, splitIndicator#803740L, previousOrderProposal#803741L, worklistShardItemId#803744L, orderProposalItemGroupId#803745, externalProductId#803746, externalPlantId#803747, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, minimumOrderQuantity#803751, constraintLabels#803752, constraintOperators#803753, constraintValues#803754, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, measurements#803762, originalReplenishmentRunId#803763L, optimizationGroups#803764]
Arguments: hashpartitioning(worklistShardItemId#803744L, 20), REPARTITION_BY_NUM, [plan_id=316023]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#803744L, orderProposalId#803721L, orderProposalItemId#803722, orderProposalItemGroupId#803745, originalReplenishmentRunId#803763L, splitIndicator#803740L, previousOrderProposal#803741L, sourceOfSupplyUuid#803735, supplierGroup#803723, supplier#803724, subrange#803727, product#803730, plant#803725, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, isFallbackOrderOnly#803738, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, netPriceAmount#803757, netPriceCurrencyCode#803758, measurements#803762, minimumOrderQuantity#803751, constraintLabels#803752, constraintOperators#803753, constraintValues#803754, logisticUnits#803748, optimizationGroups#803764, externalProductId#803746, externalPlantId#803747, supplyingPlant#803728, productGroup#803729]
Input [36]: [orderProposalId#803721L, orderProposalItemId#803722, supplierGroup#803723, supplier#803724, plant#803725, deliveryDateTime#803726, subrange#803727, supplyingPlant#803728, productGroup#803729, product#803730, orderDateTime#803731, availabilityDateTime#803732, nextAvailabilityDateTime#803733, sourceOfSupplyUuid#803735, isFallbackOrderOnly#803738, splitIndicator#803740L, previousOrderProposal#803741L, worklistShardItemId#803744L, orderProposalItemGroupId#803745, externalProductId#803746, externalPlantId#803747, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, minimumOrderQuantity#803751, constraintLabels#803752, constraintOperators#803753, constraintValues#803754, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, measurements#803762, originalReplenishmentRunId#803763L, optimizationGroups#803764]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#803744L, orderProposalId#803721L, orderProposalItemId#803722, orderProposalItemGroupId#803745, originalReplenishmentRunId#803763L, splitIndicator#803740L, previousOrderProposal#803741L, sourceOfSupplyUuid#803735, supplierGroup#803723, supplier#803724, subrange#803727, product#803730, plant#803725, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, isFallbackOrderOnly#803738, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, netPriceAmount#803757, netPriceCurrencyCode#803758, measurements#803762, minimumOrderQuantity#803751, constraintLabels#803752, constraintOperators#803753, constraintValues#803754, logisticUnits#803748, optimizationGroups#803764, externalProductId#803746, externalPlantId#803747, supplyingPlant#803728, productGroup#803729]
Arguments: [worklistShardItemId#803744L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#803520L]
Right keys [1]: [worklistShardItemId#803744L]
Join type: LeftOuter
Join condition: (shardId#803008 = 0_1_10000002108)
(25) Project [codegen id : 5]
Output [39]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, sourceOfSupplyUuid#803735, minimumOrderQuantity#803751, orderProposalItemId#803722, orderProposalItemGroupId#803745, optimizationGroups#803764, measurements#803762, externalProductId#803746, externalPlantId#803747, previousOrderProposal#803741L, isFallbackOrderOnly#803738]
Input [40]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, worklistShardItemId#803744L, orderProposalId#803721L, orderProposalItemId#803722, orderProposalItemGroupId#803745, originalReplenishmentRunId#803763L, splitIndicator#803740L, previousOrderProposal#803741L, sourceOfSupplyUuid#803735, supplierGroup#803723, supplier#803724, subrange#803727, product#803730, plant#803725, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, isFallbackOrderOnly#803738, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, netPriceAmount#803757, netPriceCurrencyCode#803758, measurements#803762, minimumOrderQuantity#803751, constraintLabels#803752, constraintOperators#803753, constraintValues#803754, logisticUnits#803748, optimizationGroups#803764, externalProductId#803746, externalPlantId#803747, supplyingPlant#803728, productGroup#803729]
(26) Exchange
Input [39]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, sourceOfSupplyUuid#803735, minimumOrderQuantity#803751, orderProposalItemId#803722, orderProposalItemGroupId#803745, optimizationGroups#803764, measurements#803762, externalProductId#803746, externalPlantId#803747, previousOrderProposal#803741L, isFallbackOrderOnly#803738]
Arguments: hashpartitioning(shardId#803008, worklistShardItemId#803520L, 20), ENSURE_REQUIREMENTS, [plan_id=316032]
(27) Sort [codegen id : 6]
Input [39]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, sourceOfSupplyUuid#803735, minimumOrderQuantity#803751, orderProposalItemId#803722, orderProposalItemGroupId#803745, optimizationGroups#803764, measurements#803762, externalProductId#803746, externalPlantId#803747, previousOrderProposal#803741L, isFallbackOrderOnly#803738]
Arguments: [shardId#803008 ASC NULLS FIRST, worklistShardItemId#803520L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#804240, worklistShardItemId#804241L, qty#804242, demandChannel#804243, demandStream#804244, kpis#804245]
Arguments: [shardId#804240, worklistShardItemId#804241L, qty#804242, demandChannel#804243, demandStream#804244, kpis#804245], MapPartitionsRDD[37780] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#804240, worklistShardItemId#804241L, qty#804242, demandChannel#804243, demandStream#804244, kpis#804245]
Condition : (((isnull(qty#804242) AND isnull(demandChannel#804243)) AND isnull(demandStream#804244)) AND (isnotnull(shardId#804240) AND isnotnull(worklistShardItemId#804241L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#804240, worklistShardItemId#804241L, coalesce(kpis#804245, []) AS prodLocSpecificKpis#804246]
Input [6]: [shardId#804240, worklistShardItemId#804241L, qty#804242, demandChannel#804243, demandStream#804244, kpis#804245]
(31) Exchange
Input [3]: [shardId#804240, worklistShardItemId#804241L, prodLocSpecificKpis#804246]
Arguments: hashpartitioning(shardId#804240, worklistShardItemId#804241L, 20), ENSURE_REQUIREMENTS, [plan_id=316038]
(32) Sort [codegen id : 8]
Input [3]: [shardId#804240, worklistShardItemId#804241L, prodLocSpecificKpis#804246]
Arguments: [shardId#804240 ASC NULLS FIRST, worklistShardItemId#804241L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#803008, worklistShardItemId#803520L]
Right keys [2]: [shardId#804240, worklistShardItemId#804241L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, sourceOfSupplyUuid#803735, minimumOrderQuantity#803751, orderProposalItemId#803722, orderProposalItemGroupId#803745, optimizationGroups#803764, measurements#803762, externalProductId#803746, externalPlantId#803747, previousOrderProposal#803741L, isFallbackOrderOnly#803738, coalesce(prodLocSpecificKpis#804246, []) AS prodLocSpecificKpis#804247]
Input [42]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, sourceOfSupplyUuid#803735, minimumOrderQuantity#803751, orderProposalItemId#803722, orderProposalItemGroupId#803745, optimizationGroups#803764, measurements#803762, externalProductId#803746, externalPlantId#803747, previousOrderProposal#803741L, isFallbackOrderOnly#803738, shardId#804240, worklistShardItemId#804241L, prodLocSpecificKpis#804246]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#804256, worklistShardItemId#804257L, qty#804258, demandChannel#804259, demandStream#804260, kpis#804261]
Arguments: [shardId#804256, worklistShardItemId#804257L, qty#804258, demandChannel#804259, demandStream#804260, kpis#804261], MapPartitionsRDD[37780] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#804256, worklistShardItemId#804257L, qty#804258, demandChannel#804259, demandStream#804260, kpis#804261]
Condition : ((((isnull(qty#804258) AND isnotnull(demandChannel#804259)) AND isnotnull(demandStream#804260)) AND (size(kpis#804261, true) > 0)) AND (isnotnull(shardId#804256) AND isnotnull(worklistShardItemId#804257L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#804256, worklistShardItemId#804257L, demandChannel#804259, demandStream#804260, kpis#804261]
Input [6]: [shardId#804256, worklistShardItemId#804257L, qty#804258, demandChannel#804259, demandStream#804260, kpis#804261]
(38) ObjectHashAggregate
Input [5]: [shardId#804256, worklistShardItemId#804257L, demandChannel#804259, demandStream#804260, kpis#804261]
Keys [2]: [shardId#804256, worklistShardItemId#804257L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#804259, demandStream, demandStream#804260, kpis, kpis#804261), 0, 0)]
Aggregate Attributes [1]: [buf#804436]
Results [3]: [shardId#804256, worklistShardItemId#804257L, buf#804437]
(39) Exchange
Input [3]: [shardId#804256, worklistShardItemId#804257L, buf#804437]
Arguments: hashpartitioning(shardId#804256, worklistShardItemId#804257L, 20), ENSURE_REQUIREMENTS, [plan_id=316049]
(40) ObjectHashAggregate
Input [3]: [shardId#804256, worklistShardItemId#804257L, buf#804437]
Keys [2]: [shardId#804256, worklistShardItemId#804257L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#804259, demandStream, demandStream#804260, kpis, kpis#804261), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#804259, demandStream, demandStream#804260, kpis, kpis#804261), 0, 0)#804255]
Results [3]: [shardId#804256, worklistShardItemId#804257L, collect_list(struct(demandChannel, demandChannel#804259, demandStream, demandStream#804260, kpis, kpis#804261), 0, 0)#804255 AS channelStreamSpecificKpis#804248]
(41) Sort [codegen id : 11]
Input [3]: [shardId#804256, worklistShardItemId#804257L, channelStreamSpecificKpis#804248]
Arguments: [shardId#804256 ASC NULLS FIRST, worklistShardItemId#804257L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#803008, worklistShardItemId#803520L]
Right keys [2]: [shardId#804256, worklistShardItemId#804257L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, sourceOfSupplyUuid#803735, minimumOrderQuantity#803751, orderProposalItemId#803722, orderProposalItemGroupId#803745, optimizationGroups#803764, measurements#803762, externalProductId#803746, externalPlantId#803747, previousOrderProposal#803741L, isFallbackOrderOnly#803738, prodLocSpecificKpis#804247, coalesce(channelStreamSpecificKpis#804248, []) AS channelStreamSpecificKpis#804262]
Input [43]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, sourceOfSupplyUuid#803735, minimumOrderQuantity#803751, orderProposalItemId#803722, orderProposalItemGroupId#803745, optimizationGroups#803764, measurements#803762, externalProductId#803746, externalPlantId#803747, previousOrderProposal#803741L, isFallbackOrderOnly#803738, prodLocSpecificKpis#804247, shardId#804256, worklistShardItemId#804257L, channelStreamSpecificKpis#804248]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#804269, worklistShardItemId#804270L, qty#804271, demandChannel#804272, demandStream#804273, kpis#804274]
Arguments: [shardId#804269, worklistShardItemId#804270L, qty#804271, demandChannel#804272, demandStream#804273, kpis#804274], MapPartitionsRDD[37780] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#804269, worklistShardItemId#804270L, qty#804271, demandChannel#804272, demandStream#804273, kpis#804274]
Condition : ((isnotnull(qty#804271) AND isnotnull(kpis#804274)) AND (isnotnull(shardId#804269) AND isnotnull(worklistShardItemId#804270L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#804269, worklistShardItemId#804270L, qty#804271, kpis#804274]
Input [6]: [shardId#804269, worklistShardItemId#804270L, qty#804271, demandChannel#804272, demandStream#804273, kpis#804274]
(47) ObjectHashAggregate
Input [4]: [shardId#804269, worklistShardItemId#804270L, qty#804271, kpis#804274]
Keys [2]: [shardId#804269, worklistShardItemId#804270L]
Functions [1]: [partial_collect_list(struct(qty, qty#804271, kpis, kpis#804274), 0, 0)]
Aggregate Attributes [1]: [buf#804438]
Results [3]: [shardId#804269, worklistShardItemId#804270L, buf#804439]
(48) Exchange
Input [3]: [shardId#804269, worklistShardItemId#804270L, buf#804439]
Arguments: hashpartitioning(shardId#804269, worklistShardItemId#804270L, 20), ENSURE_REQUIREMENTS, [plan_id=316061]
(49) ObjectHashAggregate
Input [3]: [shardId#804269, worklistShardItemId#804270L, buf#804439]
Keys [2]: [shardId#804269, worklistShardItemId#804270L]
Functions [1]: [collect_list(struct(qty, qty#804271, kpis, kpis#804274), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#804271, kpis, kpis#804274), 0, 0)#804268]
Results [3]: [shardId#804269, worklistShardItemId#804270L, map_from_entries(collect_list(struct(qty, qty#804271, kpis, kpis#804274), 0, 0)#804268) AS quantityKpis#804263]
(50) Sort [codegen id : 14]
Input [3]: [shardId#804269, worklistShardItemId#804270L, quantityKpis#804263]
Arguments: [shardId#804269 ASC NULLS FIRST, worklistShardItemId#804270L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#803008, worklistShardItemId#803520L]
Right keys [2]: [shardId#804269, worklistShardItemId#804270L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, sourceOfSupplyUuid#803735, minimumOrderQuantity#803751, orderProposalItemId#803722, orderProposalItemGroupId#803745, optimizationGroups#803764, measurements#803762, externalProductId#803746, externalPlantId#803747, previousOrderProposal#803741L, isFallbackOrderOnly#803738, prodLocSpecificKpis#804247, channelStreamSpecificKpis#804262, coalesce(quantityKpis#804263, map(keys: [], values: [])) AS quantityKpis#804275]
Input [44]: [shardId#803008, worklistShardItemId#803520L, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803721L, originalReplenishmentRunId#803763L, supplierGroup#803723, supplier#803724, supplyingPlant#803728, productGroup#803729, product#803730, plant#803725, subrange#803727, orderDateTime#803731, deliveryDateTime#803726, availabilityDateTime#803732, nextAvailabilityDateTime#803733, constraintValues#803754, constraintOperators#803753, constraintLabels#803752, logisticUnits#803748, orderQuantityBaseUom#803749, orderQuantityBaseUomUuid#803750, splitIndicator#803740L, netPriceAmount#803757, netPriceCurrencyCode#803758, netPriceQuantity#803759, netPriceQuantityUom#803760, netPriceQuantityUomUuid#803761, sourceOfSupplyUuid#803735, minimumOrderQuantity#803751, orderProposalItemId#803722, orderProposalItemGroupId#803745, optimizationGroups#803764, measurements#803762, externalProductId#803746, externalPlantId#803747, previousOrderProposal#803741L, isFallbackOrderOnly#803738, prodLocSpecificKpis#804247, channelStreamSpecificKpis#804262, shardId#804269, worklistShardItemId#804270L, quantityKpis#804263]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#803698, channelStreamSpecificKpis#804262, constraintLabels#803710, constraintOperators#803711, constraintValues#803713, deliveryDateTime#803697, isFallbackOrderOnly#803700, logisticUnits#803715, measurements#803708, minimumOrderQuantity#803709, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, nextAvailabilityDateTime#803699, optimizationGroups#803716, orderDateTime#803696, orderProposalId#803678L, orderProposalItemGroupId#803680, orderProposalItemId#803679, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, originalReplenishmentRunId#803681L, plant#803692, previousOrderProposal#803684L, prodLocSpecificKpis#804247, product#803691, productGroup#803720, qty#803522, quantityAfterProdPlantOptimization#803521, quantityKpis#804275, shardId#803008, sourceOfSupplyUuid#803687, splitIndicator#803683L, subrange#803690, supplier#803689, supplierGroup#803688, supplyingPlant#803719]
Condition : NOT (isFallbackOrderOnly#803700 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#803008, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, productGroup#803720, product#803691, plant#803692, subrange#803690, orderDateTime#803696, deliveryDateTime#803697, availabilityDateTime#803698, nextAvailabilityDateTime#803699, logisticUnits#803715, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, splitIndicator#803683L, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, sourceOfSupplyUuid#803687, minimumOrderQuantity#803709, orderProposalItemId#803679, orderProposalItemGroupId#803680, optimizationGroups#803716, measurements#803708, previousOrderProposal#803684L, prodLocSpecificKpis#804247, channelStreamSpecificKpis#804262, quantityKpis#804275, arrays_zip(constraintLabels#803710, constraintOperators#803711, constraintValues#803713, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#804689]
Input [39]: [availabilityDateTime#803698, channelStreamSpecificKpis#804262, constraintLabels#803710, constraintOperators#803711, constraintValues#803713, deliveryDateTime#803697, isFallbackOrderOnly#803700, logisticUnits#803715, measurements#803708, minimumOrderQuantity#803709, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, nextAvailabilityDateTime#803699, optimizationGroups#803716, orderDateTime#803696, orderProposalId#803678L, orderProposalItemGroupId#803680, orderProposalItemId#803679, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, originalReplenishmentRunId#803681L, plant#803692, previousOrderProposal#803684L, prodLocSpecificKpis#804247, product#803691, productGroup#803720, qty#803522, quantityAfterProdPlantOptimization#803521, quantityKpis#804275, shardId#803008, sourceOfSupplyUuid#803687, splitIndicator#803683L, subrange#803690, supplier#803689, supplierGroup#803688, supplyingPlant#803719]
(55) Project
Output [37]: [shardId#803008, qty#803522, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, productGroup#803720, product#803691, plant#803692, subrange#803690, orderDateTime#803696, deliveryDateTime#803697, availabilityDateTime#803698, nextAvailabilityDateTime#803699, logisticUnits#803715, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, splitIndicator#803683L, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, sourceOfSupplyUuid#803687, orderProposalItemId#803679, orderProposalItemGroupId#803680, optimizationGroups#803716, measurements#803708, previousOrderProposal#803684L, prodLocSpecificKpis#804247, channelStreamSpecificKpis#804262, quantityKpis#804275, struct(minServiceLevel, array_min(filter(constraintStructArray#804689, lambdafunction((lambda x_2082#804696.constraintLabels = ServiceLevel), lambda x_2082#804696, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#804689, lambdafunction((lambda x_2083#804697.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_2083#804697, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#804689, lambdafunction((lambda x_2084#804698.constraintLabels = RangeOfCoverage), lambda x_2084#804698, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#803709, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#804247, lambdafunction((lambda x_2085#804699.label = NonListingStartTimestamp), lambda x_2085#804699, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#804695, CASE WHEN (qty#803522 <=> quantityAfterProdPlantOptimization#803521) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#803522 * (cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2086#804767.isOrderUnit, lambda x_2086#804767, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2086#804768.isOrderUnit, lambda x_2086#804768, false)), 1, None, false).numerator as double))), qty#803522), orderQuantityUom, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2086#804769.isOrderUnit, lambda x_2086#804769, false)), 1, None, false).uom, orderQuantityBaseUom#803701), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2086#804770.isOrderUnit, lambda x_2086#804770, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#803702), candidateOrderQuantityInBaseUnit, qty#803522, orderQuantityBaseUom, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#803702, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#803715, lambdafunction((lambda x_2088#804771.isPreferred AND (((qty#803522 * cast(lambda x_2088#804771.denominator as double)) % cast(lambda x_2088#804771.numerator as double)) = 0.0)), lambda x_2088#804771, false)), lambdafunction(struct(inPreferredQuantity, ((qty#803522 * cast(lambda x_2089#804809.denominator as double)) / cast(lambda x_2089#804809.numerator as double)), uom, lambda x_2089#804809.uom, uomUuid, lambda x_2089#804809.uomUuid), lambda x_2089#804809, false))).inPreferredQuantity, coalesce((qty#803522 * (cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2087#804772.isOrderUnit, lambda x_2087#804772, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2087#804773.isOrderUnit, lambda x_2087#804773, false)), 1, None, false).numerator as double))), qty#803522)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#803715, lambdafunction((lambda x_2088#804774.isPreferred AND (((qty#803522 * cast(lambda x_2088#804774.denominator as double)) % cast(lambda x_2088#804774.numerator as double)) = 0.0)), lambda x_2088#804774, false)), lambdafunction(struct(inPreferredQuantity, ((qty#803522 * cast(lambda x_2089#804810.denominator as double)) / cast(lambda x_2089#804810.numerator as double)), uom, lambda x_2089#804810.uom, uomUuid, lambda x_2089#804810.uomUuid), lambda x_2089#804810, false))).uom, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2087#804775.isOrderUnit, lambda x_2087#804775, false)), 1, None, false).uom, orderQuantityBaseUom#803701)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#803715, lambdafunction((lambda x_2088#804776.isPreferred AND (((qty#803522 * cast(lambda x_2088#804776.denominator as double)) % cast(lambda x_2088#804776.numerator as double)) = 0.0)), lambda x_2088#804776, false)), lambdafunction(struct(inPreferredQuantity, ((qty#803522 * cast(lambda x_2089#804811.denominator as double)) / cast(lambda x_2089#804811.numerator as double)), uom, lambda x_2089#804811.uom, uomUuid, lambda x_2089#804811.uomUuid), lambda x_2089#804811, false))).uomUuid, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2087#804777.isOrderUnit, lambda x_2087#804777, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#803702)), serviceLevel, coalesce(filter(element_at(quantityKpis#804275, qty#803522, None, false), lambdafunction((lambda x_2094#804778.label = ServiceLevel), lambda x_2094#804778, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#803522 * (cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2086#804781.isOrderUnit, lambda x_2086#804781, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2086#804782.isOrderUnit, lambda x_2086#804782, false)), 1, None, false).numerator as double))), qty#803522), orderQuantityUom, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2086#804783.isOrderUnit, lambda x_2086#804783, false)), 1, None, false).uom, orderQuantityBaseUom#803701), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2086#804784.isOrderUnit, lambda x_2086#804784, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#803702), candidateOrderQuantityInBaseUnit, qty#803522, orderQuantityBaseUom, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#803702, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#803715, lambdafunction((lambda x_2088#804785.isPreferred AND (((qty#803522 * cast(lambda x_2088#804785.denominator as double)) % cast(lambda x_2088#804785.numerator as double)) = 0.0)), lambda x_2088#804785, false)), lambdafunction(struct(inPreferredQuantity, ((qty#803522 * cast(lambda x_2089#804812.denominator as double)) / cast(lambda x_2089#804812.numerator as double)), uom, lambda x_2089#804812.uom, uomUuid, lambda x_2089#804812.uomUuid), lambda x_2089#804812, false))).inPreferredQuantity, coalesce((qty#803522 * (cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2087#804786.isOrderUnit, lambda x_2087#804786, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2087#804787.isOrderUnit, lambda x_2087#804787, false)), 1, None, false).numerator as double))), qty#803522)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#803715, lambdafunction((lambda x_2088#804788.isPreferred AND (((qty#803522 * cast(lambda x_2088#804788.denominator as double)) % cast(lambda x_2088#804788.numerator as double)) = 0.0)), lambda x_2088#804788, false)), lambdafunction(struct(inPreferredQuantity, ((qty#803522 * cast(lambda x_2089#804813.denominator as double)) / cast(lambda x_2089#804813.numerator as double)), uom, lambda x_2089#804813.uom, uomUuid, lambda x_2089#804813.uomUuid), lambda x_2089#804813, false))).uom, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2087#804789.isOrderUnit, lambda x_2087#804789, false)), 1, None, false).uom, orderQuantityBaseUom#803701)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#803715, lambdafunction((lambda x_2088#804790.isPreferred AND (((qty#803522 * cast(lambda x_2088#804790.denominator as double)) % cast(lambda x_2088#804790.numerator as double)) = 0.0)), lambda x_2088#804790, false)), lambdafunction(struct(inPreferredQuantity, ((qty#803522 * cast(lambda x_2089#804814.denominator as double)) / cast(lambda x_2089#804814.numerator as double)), uom, lambda x_2089#804814.uom, uomUuid, lambda x_2089#804814.uomUuid), lambda x_2089#804814, false))).uomUuid, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2087#804791.isOrderUnit, lambda x_2087#804791, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#803702)), serviceLevel, coalesce(filter(element_at(quantityKpis#804275, qty#803522, None, false), lambdafunction((lambda x_2097#804792.label = ServiceLevel), lambda x_2097#804792, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#803521 * (cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2090#804795.isOrderUnit, lambda x_2090#804795, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2090#804796.isOrderUnit, lambda x_2090#804796, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#803521), orderQuantityUom, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2090#804797.isOrderUnit, lambda x_2090#804797, false)), 1, None, false).uom, orderQuantityBaseUom#803701), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2090#804798.isOrderUnit, lambda x_2090#804798, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#803702), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#803521, orderQuantityBaseUom, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#803702, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#803715, lambdafunction((lambda x_2092#804799.isPreferred AND (((quantityAfterProdPlantOptimization#803521 * cast(lambda x_2092#804799.denominator as double)) % cast(lambda x_2092#804799.numerator as double)) = 0.0)), lambda x_2092#804799, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#803521 * cast(lambda x_2093#804815.denominator as double)) / cast(lambda x_2093#804815.numerator as double)), uom, lambda x_2093#804815.uom, uomUuid, lambda x_2093#804815.uomUuid), lambda x_2093#804815, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#803521 * (cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2091#804800.isOrderUnit, lambda x_2091#804800, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2091#804801.isOrderUnit, lambda x_2091#804801, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#803521)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#803715, lambdafunction((lambda x_2092#804802.isPreferred AND (((quantityAfterProdPlantOptimization#803521 * cast(lambda x_2092#804802.denominator as double)) % cast(lambda x_2092#804802.numerator as double)) = 0.0)), lambda x_2092#804802, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#803521 * cast(lambda x_2093#804816.denominator as double)) / cast(lambda x_2093#804816.numerator as double)), uom, lambda x_2093#804816.uom, uomUuid, lambda x_2093#804816.uomUuid), lambda x_2093#804816, false))).uom, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2091#804803.isOrderUnit, lambda x_2091#804803, false)), 1, None, false).uom, orderQuantityBaseUom#803701)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#803715, lambdafunction((lambda x_2092#804804.isPreferred AND (((quantityAfterProdPlantOptimization#803521 * cast(lambda x_2092#804804.denominator as double)) % cast(lambda x_2092#804804.numerator as double)) = 0.0)), lambda x_2092#804804, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#803521 * cast(lambda x_2093#804817.denominator as double)) / cast(lambda x_2093#804817.numerator as double)), uom, lambda x_2093#804817.uom, uomUuid, lambda x_2093#804817.uomUuid), lambda x_2093#804817, false))).uomUuid, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2091#804805.isOrderUnit, lambda x_2091#804805, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#803702)), serviceLevel, coalesce(filter(element_at(quantityKpis#804275, quantityAfterProdPlantOptimization#803521, None, false), lambdafunction((lambda x_2100#804806.label = ServiceLevel), lambda x_2100#804806, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#804766, coalesce(filter(prodLocSpecificKpis#804247, lambdafunction((lambda x_2103#804819.label = InitialStockQty), lambda x_2103#804819, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#804818, coalesce(filter(prodLocSpecificKpis#804247, lambdafunction((lambda x_2104#804821.label = DemandPeriodEndTimestamp), lambda x_2104#804821, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#804820]
Input [36]: [shardId#803008, quantityAfterProdPlantOptimization#803521, qty#803522, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, productGroup#803720, product#803691, plant#803692, subrange#803690, orderDateTime#803696, deliveryDateTime#803697, availabilityDateTime#803698, nextAvailabilityDateTime#803699, logisticUnits#803715, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, splitIndicator#803683L, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, sourceOfSupplyUuid#803687, minimumOrderQuantity#803709, orderProposalItemId#803679, orderProposalItemGroupId#803680, optimizationGroups#803716, measurements#803708, previousOrderProposal#803684L, prodLocSpecificKpis#804247, channelStreamSpecificKpis#804262, quantityKpis#804275, constraintStructArray#804689]
(56) Project
Output [21]: [shardId#803008, qty#803522, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, productGroup#803720, product#803691, plant#803692, subrange#803690, orderDateTime#803696, deliveryDateTime#803697, logisticUnits#803715, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, splitIndicator#803683L, orderProposalItemId#803679, orderProposalItemGroupId#803680, previousOrderProposal#803684L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#803689, supplyingPlant, supplyingPlant#803719, productGroup, productGroup#803720, product, product#803691, plant, plant#803692, supplierSubRange, subrange#803690, sourceOfSupplyUuid, sourceOfSupplyUuid#803687, deliveryDateTime, deliveryDateTime#803697, unitPrice, netPriceAmount#803706, unitPriceCurrency, netPriceCurrencyCode#803707, unitPriceQuantity, ... 37 more fields) AS parentItem#804900]
Input [37]: [shardId#803008, qty#803522, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, productGroup#803720, product#803691, plant#803692, subrange#803690, orderDateTime#803696, deliveryDateTime#803697, availabilityDateTime#803698, nextAvailabilityDateTime#803699, logisticUnits#803715, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, splitIndicator#803683L, netPriceAmount#803706, netPriceCurrencyCode#803707, netPriceQuantity#803703, netPriceQuantityUom#803704, netPriceQuantityUomUuid#803705, sourceOfSupplyUuid#803687, orderProposalItemId#803679, orderProposalItemGroupId#803680, optimizationGroups#803716, measurements#803708, previousOrderProposal#803684L, prodLocSpecificKpis#804247, channelStreamSpecificKpis#804262, quantityKpis#804275, constraintBenchmark#804695, calculationAnalysis#804766, inventoryDateTime#804818, demandPeriodEndDateTime#804820]
(57) Project
Output [12]: [shardId#803008, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, orderDateTime#803696, splitIndicator#803683L, orderProposalItemGroupId#803680, previousOrderProposal#803684L, parentItem#804900, struct(itemId, orderProposalItemId#803679, supplier, supplier#803689, supplyingPlant, supplyingPlant#803719, productGroup, productGroup#803720, product, product#803691, plant, plant#803692, supplierSubRange, subrange#803690, deliveryDateTime, deliveryDateTime#803697, orderQuantity, coalesce((qty#803522 * (cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2128#804934.isOrderUnit, lambda x_2128#804934, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2128#804935.isOrderUnit, lambda x_2128#804935, false)), 1, None, false).numerator as double))), qty#803522), orderQuantityUom, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2128#804936.isOrderUnit, lambda x_2128#804936, false)), 1, None, false).uom, orderQuantityBaseUom#803701), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#803715, lambdafunction(lambda x_2128#804937.isOrderUnit, lambda x_2128#804937, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#803702), orderQuantityInBaseUnit, qty#803522, orderQuantityBaseUom, ... 13 more fields) AS item#804931]
Input [21]: [shardId#803008, qty#803522, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, productGroup#803720, product#803691, plant#803692, subrange#803690, orderDateTime#803696, deliveryDateTime#803697, logisticUnits#803715, orderQuantityBaseUom#803701, orderQuantityBaseUomUuid#803702, splitIndicator#803683L, orderProposalItemId#803679, orderProposalItemGroupId#803680, previousOrderProposal#803684L, parentItem#804900]
(58) ObjectHashAggregate
Input [12]: [shardId#803008, orderProposalId#803678L, originalReplenishmentRunId#803681L, supplierGroup#803688, supplier#803689, supplyingPlant#803719, orderDateTime#803696, splitIndicator#803683L, orderProposalItemGroupId#803680, previousOrderProposal#803684L, parentItem#804900, item#804931]
Keys [4]: [shardId#803008, orderProposalId#803678L, splitIndicator#803683L, orderProposalItemGroupId#803680]
Functions [8]: [partial_max(originalReplenishmentRunId#803681L), partial_max(supplierGroup#803688), partial_max(supplier#803689), partial_max(supplyingPlant#803719), partial_max(orderDateTime#803696), partial_collect_list(parentItem#804900, 0, 0), partial_collect_set(previousOrderProposal#803684L, 0, 0), partial_collect_list(item#804931, 0, 0)]
Aggregate Attributes [8]: [max#806192L, max#806193, max#806194, max#806195, max#806196, buf#806197, buf#806198, buf#806199]
Results [12]: [shardId#803008, orderProposalId#803678L, splitIndicator#803683L, orderProposalItemGroupId#803680, max#806200L, max#806201, max#806202, max#806203, max#806204, buf#806205, buf#806206, buf#806207]
(59) Exchange
Input [12]: [shardId#803008, orderProposalId#803678L, splitIndicator#803683L, orderProposalItemGroupId#803680, max#806200L, max#806201, max#806202, max#806203, max#806204, buf#806205, buf#806206, buf#806207]
Arguments: hashpartitioning(shardId#803008, orderProposalId#803678L, splitIndicator#803683L, orderProposalItemGroupId#803680, 20), ENSURE_REQUIREMENTS, [plan_id=316313]
(60) ObjectHashAggregate
Input [12]: [shardId#803008, orderProposalId#803678L, splitIndicator#803683L, orderProposalItemGroupId#803680, max#806200L, max#806201, max#806202, max#806203, max#806204, buf#806205, buf#806206, buf#806207]
Keys [4]: [shardId#803008, orderProposalId#803678L, splitIndicator#803683L, orderProposalItemGroupId#803680]
Functions [8]: [max(originalReplenishmentRunId#803681L), max(supplierGroup#803688), max(supplier#803689), max(supplyingPlant#803719), max(orderDateTime#803696), collect_list(parentItem#804900, 0, 0), collect_set(previousOrderProposal#803684L, 0, 0), collect_list(item#804931, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#803681L)#805000L, max(supplierGroup#803688)#805001, max(supplier#803689)#805002, max(supplyingPlant#803719)#805003, max(orderDateTime#803696)#805004, collect_list(parentItem#804900, 0, 0)#805005, collect_set(previousOrderProposal#803684L, 0, 0)#805007, collect_list(item#804931, 0, 0)#805006]
Results [10]: [shardId#803008, orderProposalId#803678L, max(originalReplenishmentRunId#803681L)#805000L AS originalReplenishmentRunId#804948L, max(supplierGroup#803688)#805001 AS supplierGroup#804949, max(supplier#803689)#805002 AS supplier#804950, max(supplyingPlant#803719)#805003 AS supplyingPlant#804951, max(orderDateTime#803696)#805004 AS orderDateTime#804952, collect_list(parentItem#804900, 0, 0)#805005 AS parentItems#804953, collect_set(previousOrderProposal#803684L, 0, 0)#805007 AS previousOrderProposals#804955, struct(itemGroupId, coalesce(orderProposalItemGroupId#803680, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#804931, 0, 0)#805006) AS itemGroup#805009]
(61) ObjectHashAggregate
Input [10]: [shardId#803008, orderProposalId#803678L, originalReplenishmentRunId#804948L, supplierGroup#804949, supplier#804950, supplyingPlant#804951, orderDateTime#804952, parentItems#804953, previousOrderProposals#804955, itemGroup#805009]
Keys [2]: [shardId#803008, orderProposalId#803678L]
Functions [8]: [partial_max(originalReplenishmentRunId#804948L), partial_max(supplierGroup#804949), partial_max(supplier#804950), partial_max(supplyingPlant#804951), partial_max(orderDateTime#804952), partial_collect_list(itemGroup#805009, 0, 0), partial_collect_list(parentItems#804953, 0, 0), partial_collect_set(previousOrderProposals#804955, 0, 0)]
Aggregate Attributes [8]: [max#806176L, max#806177, max#806178, max#806179, max#806180, buf#806181, buf#806182, buf#806183]
Results [10]: [shardId#803008, orderProposalId#803678L, max#806184L, max#806185, max#806186, max#806187, max#806188, buf#806189, buf#806190, buf#806191]
(62) Exchange
Input [10]: [shardId#803008, orderProposalId#803678L, max#806184L, max#806185, max#806186, max#806187, max#806188, buf#806189, buf#806190, buf#806191]
Arguments: hashpartitioning(shardId#803008, orderProposalId#803678L, 20), ENSURE_REQUIREMENTS, [plan_id=316316]
(63) ObjectHashAggregate
Input [10]: [shardId#803008, orderProposalId#803678L, max#806184L, max#806185, max#806186, max#806187, max#806188, buf#806189, buf#806190, buf#806191]
Keys [2]: [shardId#803008, orderProposalId#803678L]
Functions [8]: [max(originalReplenishmentRunId#804948L), max(supplierGroup#804949), max(supplier#804950), max(supplyingPlant#804951), max(orderDateTime#804952), collect_list(itemGroup#805009, 0, 0), collect_list(parentItems#804953, 0, 0), collect_set(previousOrderProposals#804955, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#804948L)#805031L, max(supplierGroup#804949)#805032, max(supplier#804950)#805033, max(supplyingPlant#804951)#805034, max(orderDateTime#804952)#805035, collect_list(itemGroup#805009, 0, 0)#805036, collect_list(parentItems#804953, 0, 0)#805037, collect_set(previousOrderProposals#804955, 0, 0)#805038]
Results [10]: [shardId#803008, orderProposalId#803678L, max(originalReplenishmentRunId#804948L)#805031L AS originalReplenishmentRunId#805010L, max(supplierGroup#804949)#805032 AS supplierGroup#805011, max(supplier#804950)#805033 AS supplier#805012, max(supplyingPlant#804951)#805034 AS supplyingPlant#805013, max(orderDateTime#804952)#805035 AS orderDateTime#805014, collect_list(itemGroup#805009, 0, 0)#805036 AS itemGroups#805015, flatten(collect_list(parentItems#804953, 0, 0)#805037) AS parentItems#805016, flatten(collect_set(previousOrderProposals#804955, 0, 0)#805038) AS previousOrderProposals#805017]
(64) Project
Output [2]: [shardId#803008, struct(orderProposalId, orderProposalId#803678L, originalReplenishmentRunId, originalReplenishmentRunId#805010L, supplierGroup, supplierGroup#805011, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#805011) THEN supplier#805012 END, supplyingPlant, supplyingPlant#805013, orderDateTime, orderDateTime#805014, itemGroups, itemGroups#805015, previousOrderProposals, array_distinct(previousOrderProposals#805017), parentItems, parentItems#805016) AS orderProposal#805042]
Input [10]: [shardId#803008, orderProposalId#803678L, originalReplenishmentRunId#805010L, supplierGroup#805011, supplier#805012, supplyingPlant#805013, orderDateTime#805014, itemGroups#805015, parentItems#805016, previousOrderProposals#805017]
(65) Project
Output [11]: [shardId#803008, orderProposal#805042.orderProposalId AS _extract_orderProposalId#805808L, orderProposal#805042.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#805809L, orderProposal#805042.supplierGroup AS _extract_supplierGroup#805810, orderProposal#805042.supplier AS _extract_supplier#805811, orderProposal#805042.supplyingPlant AS _extract_supplyingPlant#805812, orderProposal#805042.orderDateTime AS _extract_orderDateTime#805813, orderProposal#805042.itemGroups AS _extract_itemGroups#805814, orderProposal#805042.previousOrderProposals AS _extract_previousOrderProposals#805815, orderProposal#805042.parentItems AS _extract_parentItems#805816, orderProposal#805042.orderProposalId AS _extract_orderProposalId#805817L]
Input [2]: [shardId#803008, orderProposal#805042]
(66) Exchange
Input [11]: [shardId#803008, _extract_orderProposalId#805808L, _extract_originalReplenishmentRunId#805809L, _extract_supplierGroup#805810, _extract_supplier#805811, _extract_supplyingPlant#805812, _extract_orderDateTime#805813, _extract_itemGroups#805814, _extract_previousOrderProposals#805815, _extract_parentItems#805816, _extract_orderProposalId#805817L]
Arguments: hashpartitioning(coalesce(shardId#803008, ), isnull(shardId#803008), coalesce(_extract_orderProposalId#805817L, 0), isnull(_extract_orderProposalId#805817L), 20), ENSURE_REQUIREMENTS, [plan_id=316320]
(67) Sort
Input [11]: [shardId#803008, _extract_orderProposalId#805808L, _extract_originalReplenishmentRunId#805809L, _extract_supplierGroup#805810, _extract_supplier#805811, _extract_supplyingPlant#805812, _extract_orderDateTime#805813, _extract_itemGroups#805814, _extract_previousOrderProposals#805815, _extract_parentItems#805816, _extract_orderProposalId#805817L]
Arguments: [coalesce(shardId#803008, ) ASC NULLS FIRST, isnull(shardId#803008) ASC NULLS FIRST, coalesce(_extract_orderProposalId#805817L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#805817L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#805065, orderProposalId#805066L, optimizationGroups#805068]
Arguments: [shardId#805065, orderProposalId#805066L, optimizationGroups#805068], [isnotnull(orderProposalId#805066L)]
(69) InMemoryRelation
Arguments: [shardId#805065, orderProposalId#805066L, items#805067, optimizationGroups#805068, isOptimal#805069, optimizationInsights#805071], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#805065, orderProposalId#805066L, optimizationGroups#805068]
Condition : isnotnull(orderProposalId#805066L)
(71) BroadcastExchange
Input [3]: [shardId#805065, orderProposalId#805066L, optimizationGroups#805068]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=316325]
(72) InMemoryTableScan
Output [2]: [items#804684, shardId#804682]
Arguments: [items#804684, shardId#804682], [(size(items#804684.worklistShardItemId, true) > 0), isnotnull(items#804684.worklistShardItemId), (shardId#804682 = 0_1_10000002108)]
(73) InMemoryRelation
Arguments: [shardId#804682, orderProposalId#804683L, items#804684, optimizationGroups#804685, isOptimal#804686, optimizationInsights#804688], StorageLevel(disk, memory, 2 replicas)
(74) Filter [codegen id : 3]
Input [2]: [items#804684, shardId#804682]
Condition : (((size(items#804684.worklistShardItemId, true) > 0) AND isnotnull(items#804684.worklistShardItemId)) AND (shardId#804682 = 0_1_10000002108))
(75) Project [codegen id : 3]
Output [1]: [items#804684.worklistShardItemId AS _extract_worklistShardItemId#805713]
Input [2]: [items#804684, shardId#804682]
(76) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#805713]
Arguments: explode(_extract_worklistShardItemId#805713), false, [item#805072L]
(77) Project [codegen id : 3]
Output [1]: [item#805072L AS worklistShardItemId#805073L]
Input [1]: [item#805072L]
(78) BroadcastExchange
Input [1]: [worklistShardItemId#805073L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=316333]
(79) Scan parquet
Output [5]: [orderProposalId#805121L, isFallbackOrderOnly#805138, worklistShardItemId#805144L, shardId#805165, sequenceId#805143]
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/10000002108]
PartitionFilters: [isnotnull(shardId#805165), isnotnull(sequenceId#805143), (shardId#805165 = 0_1_10000002108), (sequenceId#805143 = 2)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(80) ColumnarToRow [codegen id : 4]
Input [5]: [orderProposalId#805121L, isFallbackOrderOnly#805138, worklistShardItemId#805144L, shardId#805165, sequenceId#805143]
(81) Filter [codegen id : 4]
Input [5]: [orderProposalId#805121L, isFallbackOrderOnly#805138, worklistShardItemId#805144L, shardId#805165, sequenceId#805143]
Condition : ((isnotnull(worklistShardItemId#805144L) AND NOT (isFallbackOrderOnly#805138 <=> true)) AND isnotnull(orderProposalId#805121L))
(82) Project [codegen id : 4]
Output [2]: [orderProposalId#805121L, worklistShardItemId#805144L]
Input [5]: [orderProposalId#805121L, isFallbackOrderOnly#805138, worklistShardItemId#805144L, shardId#805165, sequenceId#805143]
(83) Exchange
Input [2]: [orderProposalId#805121L, worklistShardItemId#805144L]
Arguments: hashpartitioning(worklistShardItemId#805144L, 20), REPARTITION_BY_NUM, [plan_id=316340]
(84) Project
Output [2]: [worklistShardItemId#805144L, orderProposalId#805121L]
Input [2]: [orderProposalId#805121L, worklistShardItemId#805144L]
(85) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#805073L]
Right keys [1]: [worklistShardItemId#805144L]
Join type: Inner
Join condition: None
(86) Project [codegen id : 5]
Output [1]: [orderProposalId#805121L]
Input [3]: [worklistShardItemId#805073L, worklistShardItemId#805144L, orderProposalId#805121L]
(87) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#805121L]
Keys [1]: [orderProposalId#805121L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#805121L]
(88) Exchange
Input [1]: [orderProposalId#805121L]
Arguments: hashpartitioning(orderProposalId#805121L, 20), ENSURE_REQUIREMENTS, [plan_id=316347]
(89) HashAggregate
Input [1]: [orderProposalId#805121L]
Keys [1]: [orderProposalId#805121L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#805121L]
(90) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#805066L]
Right keys [1]: [orderProposalId#805121L]
Join type: Inner
Join condition: None
(91) Project
Output [3]: [orderProposalId#805066L, shardId#805065, coalesce(transform(optimizationGroups#805068, lambdafunction(struct(optGroupId, lambda x_2132#805063.optGroupId, minOrderProfile, lambda x_2132#805063.minOrderProfile, assignmentDetails, lambda x_2132#805063.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2132#805063.minOrderGoal.dimensionType, unit, lambda x_2132#805063.minOrderGoal.unit, unitUuid, lambda x_2132#805063.minOrderGoal.unitUuid, goalValue, lambda x_2132#805063.minOrderGoal.minOrderValue, calcValue, lambda x_2132#805063.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2132#805063, false)), []) AS optimizationGroups#805062]
Input [4]: [shardId#805065, orderProposalId#805066L, optimizationGroups#805068, orderProposalId#805121L]
(92) Exchange
Input [3]: [orderProposalId#805066L, shardId#805065, optimizationGroups#805062]
Arguments: hashpartitioning(coalesce(shardId#805065, ), isnull(shardId#805065), coalesce(orderProposalId#805066L, 0), isnull(orderProposalId#805066L), 20), ENSURE_REQUIREMENTS, [plan_id=316353]
(93) Sort [codegen id : 7]
Input [3]: [orderProposalId#805066L, shardId#805065, optimizationGroups#805062]
Arguments: [coalesce(shardId#805065, ) ASC NULLS FIRST, isnull(shardId#805065) ASC NULLS FIRST, coalesce(orderProposalId#805066L, 0) ASC NULLS FIRST, isnull(orderProposalId#805066L) ASC NULLS FIRST], false, 0
(94) SortMergeJoin
Left keys [4]: [coalesce(shardId#803008, ), isnull(shardId#803008), coalesce(_extract_orderProposalId#805817L, 0), isnull(_extract_orderProposalId#805817L)]
Right keys [4]: [coalesce(shardId#805065, ), isnull(shardId#805065), coalesce(orderProposalId#805066L, 0), isnull(orderProposalId#805066L)]
Join type: LeftOuter
Join condition: None
(95) Project
Output [2]: [shardId#803008, named_struct(orderProposalId, _extract_orderProposalId#805817L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#805809L, supplierGroup, _extract_supplierGroup#805810, optimizationGroups, coalesce(optimizationGroups#805062, []), supplier, _extract_supplier#805811, supplyingPlant, _extract_supplyingPlant#805812, orderDateTime, _extract_orderDateTime#805813, itemGroups, _extract_itemGroups#805814, previousOrderProposals, _extract_previousOrderProposals#805815, parentItems, _extract_parentItems#805816) AS orderProposal#805169]
Input [14]: [shardId#803008, _extract_orderProposalId#805808L, _extract_originalReplenishmentRunId#805809L, _extract_supplierGroup#805810, _extract_supplier#805811, _extract_supplyingPlant#805812, _extract_orderDateTime#805813, _extract_itemGroups#805814, _extract_previousOrderProposals#805815, _extract_parentItems#805816, _extract_orderProposalId#805817L, orderProposalId#805066L, shardId#805065, optimizationGroups#805062]
(96) Filter
Input [1]: [orderProposal#805169]
Condition : (size(orderProposal#805169.parentItems.deliveryDateTime, true) > 0)
(97) Project
Output [1]: [orderProposal#805169.parentItems.deliveryDateTime AS _extract_deliveryDateTime#806588]
Input [1]: [orderProposal#805169]
(98) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#806588]
Arguments: explode(_extract_deliveryDateTime#806588), false, [numberOfOrderProposalItems#806560]
(99) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#806560]
(100) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#806599L]
Results [1]: [count#806600L]
(101) Exchange
Input [1]: [count#806600L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=316471]
(102) HashAggregate [codegen id : 2]
Input [1]: [count#806600L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#806565L]
Results [1]: [count(1)#806565L AS count#806561L]