digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 3 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 3 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 2.2 KiB<br>merged fetch fallback count: 0<br>local blocks read: 30<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 321201.0: task 905733))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>5 ms (0 ms, 0 ms, 0 ms (stage 321201.0: task 905740))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 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>2.2 KiB (75.0 B, 75.0 B, 75.0 B (stage 321201.0: task 905733))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=995495]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n232 ms (5 ms, 7 ms, 14 ms (stage 321201.0: task 905731))";
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>225 ms (5 ms, 7 ms, 13 ms (stage 321201.0: task 905731))<br>number of output rows: 30" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(_extract_deliveryDateTime#3465201), false, [numberOfOrderProposalItems#3465173]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3463782.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3465201]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (size(orderProposal#3463782.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [orderProposal#3463782], [(size(orderProposal#3463782.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, named_struct(orderProposalId, _extract_orderProposalId#3464430L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3464422L, supplierGroup, _extract_supplierGroup#3464423, optimizationGroups, coalesce(optimizationGroups#3463675, []), supplier, _extract_supplier#3464424, supplyingPlant, _extract_supplyingPlant#3464425, orderDateTime, _extract_orderDateTime#3464426, itemGroups, _extract_itemGroups#3464427, previousOrderProposals, _extract_previousOrderProposals#3464428, parentItems, _extract_parentItems#3464429) AS orderProposal#3463782]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,360<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321201.0: task 905733))" tooltip="SortMergeJoin [coalesce(shardId#3461394, ), isnull(shardId#3461394), coalesce(_extract_orderProposalId#3464430L, 0), isnull(_extract_orderProposalId#3464430L)], [coalesce(shardId#3463678, ), isnull(shardId#3463678), coalesce(orderProposalId#3463679L, 0), isnull(orderProposalId#3463679L)], 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 321201.0: task 905733))<br>peak memory total (min, med, max (stageId: taskId))<br>245.9 MiB (6.1 MiB, 8.1 MiB, 10.1 MiB (stage 321201.0: task 905731))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321201.0: task 905733))" tooltip="Sort [coalesce(shardId#3461394, ) ASC NULLS FIRST, isnull(shardId#3461394) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3464430L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3464430L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>20.7 MiB (542.6 KiB, 698.1 KiB, 912.8 KiB (stage 321201.0: task 905731))<br>merged fetch fallback count: 0<br>local blocks read: 821<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>217.2 MiB (5.8 MiB, 7.2 MiB, 8.9 MiB (stage 321200.0: task 905713))<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>135 ms (2 ms, 3 ms, 36 ms (stage 321200.0: task 905715))<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 321201.0: task 905733))<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.7 MiB (561.6 KiB, 700.3 KiB, 870.2 KiB (stage 321200.0: task 905713))" tooltip="Exchange hashpartitioning(coalesce(shardId#3461394, ), isnull(shardId#3461394), coalesce(_extract_orderProposalId#3464430L, 0), isnull(_extract_orderProposalId#3464430L), 30), ENSURE_REQUIREMENTS, [plan_id=995329]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, orderProposal#3463663.orderProposalId AS _extract_orderProposalId#3464421L, orderProposal#3463663.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3464422L, orderProposal#3463663.supplierGroup AS _extract_supplierGroup#3464423, orderProposal#3463663.supplier AS _extract_supplier#3464424, orderProposal#3463663.supplyingPlant AS _extract_supplyingPlant#3464425, orderProposal#3463663.orderDateTime AS _extract_orderDateTime#3464426, orderProposal#3463663.itemGroups AS _extract_itemGroups#3464427, orderProposal#3463663.previousOrderProposals AS _extract_previousOrderProposals#3464428, orderProposal#3463663.parentItems AS _extract_parentItems#3464429, orderProposal#3463663.orderProposalId AS _extract_orderProposalId#3464430L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, struct(orderProposalId, orderProposalId#3462064L, originalReplenishmentRunId, originalReplenishmentRunId#3463631L, supplierGroup, supplierGroup#3463632, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3463632) THEN supplier#3463633 END, supplyingPlant, supplyingPlant#3463634, orderDateTime, orderDateTime#3463635, itemGroups, itemGroups#3463636, previousOrderProposals, array_distinct(previousOrderProposals#3463638), parentItems, parentItems#3463637) AS orderProposal#3463663]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.2 s (16 ms, 43 ms, 84 ms (stage 321200.0: task 905715))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321200.0: task 905699))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3461394, orderProposalId#3462064L], functions=[max(originalReplenishmentRunId#3463569L), max(supplierGroup#3463570), max(supplier#3463571), max(supplyingPlant#3463572), max(orderDateTime#3463573), collect_list(itemGroup#3463630, 0, 0), collect_list(parentItems#3463574, 0, 0), collect_set(previousOrderProposals#3463576, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>20.7 MiB (562.5 KiB, 702.2 KiB, 873.7 KiB (stage 321200.0: task 905713))<br>merged fetch fallback count: 0<br>local blocks read: 827<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>217.4 MiB (5.8 MiB, 7.3 MiB, 9.0 MiB (stage 321195.0: task 905681))<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>103 ms (2 ms, 3 ms, 4 ms (stage 321195.0: task 905689))<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 321200.0: task 905699))<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.7 MiB (567.1 KiB, 710.4 KiB, 878.6 KiB (stage 321195.0: task 905681))" tooltip="Exchange hashpartitioning(shardId#3461394, orderProposalId#3462064L, 30), ENSURE_REQUIREMENTS, [plan_id=995325]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>245 ms (4 ms, 5 ms, 23 ms (stage 321195.0: task 905669))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321195.0: task 905673))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3461394, orderProposalId#3462064L], functions=[partial_max(originalReplenishmentRunId#3463569L), partial_max(supplierGroup#3463570), partial_max(supplier#3463571), partial_max(supplyingPlant#3463572), partial_max(orderDateTime#3463573), partial_collect_list(itemGroup#3463630, 0, 0), partial_collect_list(parentItems#3463574, 0, 0), partial_collect_set(previousOrderProposals#3463576, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.4 s (20 ms, 48 ms, 95 ms (stage 321195.0: task 905672))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321195.0: task 905673))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3461394, orderProposalId#3462064L, splitIndicator#3462069L, orderProposalItemGroupId#3462066], functions=[max(originalReplenishmentRunId#3462067L), max(supplierGroup#3462074), max(supplier#3462075), max(supplyingPlant#3462105), max(orderDateTime#3462082), collect_list(parentItem#3463521, 0, 0), collect_set(previousOrderProposal#3462070L, 0, 0), collect_list(item#3463552, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,034<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,034<br>local bytes read total (min, med, max (stageId: taskId))<br>18.9 MiB (507.7 KiB, 638.7 KiB, 798.9 KiB (stage 321195.0: task 905681))<br>merged fetch fallback count: 0<br>local blocks read: 600<br>remote merged chunks fetched: 0<br>remote blocks read: 300<br>data size total (min, med, max (stageId: taskId))<br>232.1 MiB (7.5 MiB, 7.7 MiB, 7.9 MiB (stage 321194.0: task 905666))<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>110 ms (3 ms, 3 ms, 5 ms (stage 321194.0: task 905659))<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 321195.0: task 905673))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.5 MiB (261.3 KiB, 325.5 KiB, 397.9 KiB (stage 321195.0: task 905681))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>178 ms (4 ms, 5 ms, 13 ms (stage 321195.0: task 905689))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.4 MiB (942.3 KiB, 973.0 KiB, 996.7 KiB (stage 321194.0: task 905666))" tooltip="Exchange hashpartitioning(shardId#3461394, orderProposalId#3462064L, splitIndicator#3462069L, orderProposalItemGroupId#3462066, 30), ENSURE_REQUIREMENTS, [plan_id=995322]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 58,034<br>time in aggregation build total (min, med, max (stageId: taskId))<br>18.7 s (301 ms, 641 ms, 1.2 s (stage 321194.0: task 905667))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321194.0: task 905643))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3461394, orderProposalId#3462064L, splitIndicator#3462069L, orderProposalItemGroupId#3462066], functions=[partial_max(originalReplenishmentRunId#3462067L), partial_max(supplierGroup#3462074), partial_max(supplier#3462075), partial_max(supplyingPlant#3462105), partial_max(orderDateTime#3462082), partial_collect_list(parentItem#3463521, 0, 0), partial_collect_set(previousOrderProposal#3462070L, 0, 0), partial_collect_list(item#3463552, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, orderDateTime#3462082, splitIndicator#3462069L, orderProposalItemGroupId#3462066, previousOrderProposal#3462070L, parentItem#3463521, struct(itemId, orderProposalItemId#3462065, supplier, supplier#3462075, supplyingPlant, supplyingPlant#3462105, productGroup, productGroup#3462106, product, product#3462077, plant, plant#3462078, supplierSubRange, subrange#3462076, deliveryDateTime, deliveryDateTime#3462083, orderQuantity, coalesce((qty#3461908 * (cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11520#3463555.isOrderUnit, lambda x_11520#3463555, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11520#3463556.isOrderUnit, lambda x_11520#3463556, false)), 1, None, false).numerator as double))), qty#3461908), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11520#3463557.isOrderUnit, lambda x_11520#3463557, false)), 1, None, false).uom, orderQuantityBaseUom#3462087), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11520#3463558.isOrderUnit, lambda x_11520#3463558, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3462088), orderQuantityInBaseUnit, qty#3461908, orderQuantityBaseUom, ... 13 more fields) AS item#3463552]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, qty#3461908, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, productGroup#3462106, product#3462077, plant#3462078, subrange#3462076, orderDateTime#3462082, deliveryDateTime#3462083, logisticUnits#3462101, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, splitIndicator#3462069L, orderProposalItemId#3462065, orderProposalItemGroupId#3462066, previousOrderProposal#3462070L, struct(itemId, orderProposalItemId#3462065, itemGroupId, orderProposalItemGroupId#3462066, supplier, supplier#3462075, supplyingPlant, supplyingPlant#3462105, productGroup, productGroup#3462106, product, product#3462077, plant, plant#3462078, supplierSubRange, subrange#3462076, sourceOfSupplyUuid, sourceOfSupplyUuid#3462073, deliveryDateTime, deliveryDateTime#3462083, unitPrice, netPriceAmount#3462092, unitPriceCurrency, netPriceCurrencyCode#3462093, unitPriceQuantity, ... 37 more fields) AS parentItem#3463521]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, qty#3461908, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, productGroup#3462106, product#3462077, plant#3462078, subrange#3462076, orderDateTime#3462082, deliveryDateTime#3462083, availabilityDateTime#3462084, nextAvailabilityDateTime#3462085, logisticUnits#3462101, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, splitIndicator#3462069L, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, sourceOfSupplyUuid#3462073, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n22.5 s (358 ms, 784 ms, 1.6 s (stage 321194.0: task 905667))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, productGroup#3462106, product#3462077, plant#3462078, subrange#3462076, orderDateTime#3462082, deliveryDateTime#3462083, availabilityDateTime#3462084, nextAvailabilityDateTime#3462085, logisticUnits#3462101, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, splitIndicator#3462069L, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter NOT (isFallbackOrderOnly#3462086 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 119,861" tooltip="InMemoryTableScan [availabilityDateTime#3462084, channelStreamSpecificKpis#3462885, constraintLabels#3462096, constraintOperators#3462097, constraintValues#3462099, deliveryDateTime#3462083, isFallbackOrderOnly#3462086, logisticUnits#3462101, measurements#3462094, minimumOrderQuantity#3462095, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, nextAvailabilityDateTime#3462085, optimizationGroups#3462102, orderDateTime#3462082, orderProposalId#3462064L, orderProposalItemGroupId#3462066, orderProposalItemId#3462065, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, originalReplenishmentRunId#3462067L, plant#3462078, ... 14 more fields], [NOT (isFallbackOrderOnly#3462086 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n22.0 s (459 ms, 795 ms, 992 ms (stage 321194.0: task 905640))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321194.0: task 905643))" tooltip="SortMergeJoin [shardId#3461394, worklistShardItemId#3461906L], [shardId#3462892, worklistShardItemId#3462893L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n29.7 s (611 ms, 1.1 s, 1.6 s (stage 321194.0: task 905663))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321194.0: task 905643))" tooltip="SortMergeJoin [shardId#3461394, worklistShardItemId#3461906L], [shardId#3462879, worklistShardItemId#3462880L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n35.6 s (658 ms, 1.3 s, 2.2 s (stage 321194.0: task 905663))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321194.0: task 905643))" tooltip="SortMergeJoin [shardId#3461394, worklistShardItemId#3461906L], [shardId#3462863, worklistShardItemId#3462864L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n38.4 s (660 ms, 1.3 s, 2.6 s (stage 321194.0: task 905663))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>38 ms (1 ms, 1 ms, 3 ms (stage 321194.0: task 905642))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 321194.0: task 905643))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321194.0: task 905643))" tooltip="Sort [shardId#3461394 ASC NULLS FIRST, worklistShardItemId#3461906L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>18.7 MiB (929.5 KiB, 958.8 KiB, 976.9 KiB (stage 321194.0: task 905641))<br>merged fetch fallback count: 0<br>local blocks read: 600<br>remote merged chunks fetched: 0<br>remote blocks read: 300<br>data size total (min, med, max (stageId: taskId))<br>138.2 MiB (4.3 MiB, 4.6 MiB, 4.8 MiB (stage 321191.0: task 905580))<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>189 ms (2 ms, 3 ms, 30 ms (stage 321191.0: task 905571))<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 321194.0: task 905643))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.4 MiB (944.1 KiB, 966.6 KiB, 985.2 KiB (stage 321194.0: task 905666))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>147 ms (4 ms, 12 ms, 54 ms (stage 321194.0: task 905667))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.1 MiB (907.1 KiB, 961.2 KiB, 998.4 KiB (stage 321191.0: task 905580))" tooltip="Exchange hashpartitioning(shardId#3461394, worklistShardItemId#3461906L, 30), ENSURE_REQUIREMENTS, [plan_id=995037]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (32 ms, 64 ms, 87 ms (stage 321191.0: task 905566))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321191.0: task 905546))" tooltip="SortMergeJoin [worklistShardItemId#3461906L], [worklistShardItemId#3462130L], LeftOuter, (shardId#3461394 = 0_5_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (33 ms, 65 ms, 147 ms (stage 321191.0: task 905546))";
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 321191.0: task 905546))<br>peak memory total (min, med, max (stageId: taskId))<br>64.0 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 321191.0: task 905550))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321191.0: task 905546))" tooltip="Sort [worklistShardItemId#3461906L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>762.0 KiB (24.4 KiB, 25.5 KiB, 26.1 KiB (stage 321191.0: task 905580))<br>merged fetch fallback count: 0<br>local blocks read: 750<br>remote merged chunks fetched: 0<br>remote blocks read: 150<br>data size total (min, med, max (stageId: taskId))<br>6.4 MiB (207.8 KiB, 220.3 KiB, 231.5 KiB (stage 321189.0: task 905369))<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>61 ms (1 ms, 1 ms, 9 ms (stage 321189.0: task 905385))<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>5 ms (0 ms, 0 ms, 4 ms (stage 321191.0: task 905586))<br>remote bytes read total (min, med, max (stageId: taskId))<br>151.7 KiB (4.7 KiB, 5.1 KiB, 5.4 KiB (stage 321191.0: task 905568))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>137 ms (3 ms, 4 ms, 13 ms (stage 321191.0: task 905586))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>913.6 KiB (28.2 KiB, 30.4 KiB, 32.0 KiB (stage 321189.0: task 905369))" tooltip="Exchange hashpartitioning(worklistShardItemId#3461906L, 30), ENSURE_REQUIREMENTS, [plan_id=995018]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n188 ms (3 ms, 5 ms, 30 ms (stage 321189.0: task 905381))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3461394, item#3461905.worklistShardItemId AS worklistShardItemId#3461906L, item#3461905.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3461907, item#3461905.qty AS qty#3461908]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(items#3461396), [shardId#3461394], false, [item#3461905]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter ((size(items#3461396, true) > 0) AND isnotnull(items#3461396))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3461394, items#3461396], [(size(items#3461396, true) > 0), isnotnull(items#3461396)]"];
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#3461394) AND (shardId#3461394 = 0_5_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, optimizationInsights#3461400], [isnotnull(shardId#3461394), (shardId#3461394 = 0_5_10000000532)]"];
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#3461394) AND (shardId#3461394 = 0_5_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3461394,orderProposalId#3461395L,items#3461396,optimizationGroups#3461397,isOptimal#3461398,lastModified#3461399,optimizationInsights#3461400]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (32 ms, 65 ms, 118 ms (stage 321191.0: task 905546))";
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 321191.0: task 905546))<br>peak memory total (min, med, max (stageId: taskId))<br>184.0 MiB (6.1 MiB, 6.1 MiB, 6.3 MiB (stage 321191.0: task 905550))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321191.0: task 905546))" tooltip="Sort [worklistShardItemId#3462130L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3462130L, orderProposalId#3462107L, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, originalReplenishmentRunId#3462149L, splitIndicator#3462126L, previousOrderProposal#3462127L, sourceOfSupplyUuid#3462121, supplierGroup#3462109, supplier#3462110, subrange#3462113, product#3462116, plant#3462111, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, isFallbackOrderOnly#3462124, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, netPriceAmount#3462143, netPriceCurrencyCode#3462144, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>1487.7 KiB (38.9 KiB, 50.6 KiB, 58.4 KiB (stage 321191.0: task 905560))<br>merged fetch fallback count: 0<br>local blocks read: 60<br>remote merged chunks fetched: 0<br>remote blocks read: 1,050<br>data size total (min, med, max (stageId: taskId))<br>133.6 MiB (3.5 MiB, 3.6 MiB, 3.7 MiB (stage 321188.0: task 905340))<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>124 ms (2 ms, 2 ms, 11 ms (stage 321188.0: task 905346))<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 321191.0: task 905546))<br>remote bytes read total (min, med, max (stageId: taskId))<br>25.2 MiB (820.9 KiB, 863.7 KiB, 898.0 KiB (stage 321191.0: task 905580))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>303 ms (5 ms, 6 ms, 57 ms (stage 321191.0: task 905568))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.7 MiB (713.9 KiB, 736.4 KiB, 765.0 KiB (stage 321188.0: task 905340))" tooltip="Exchange hashpartitioning(worklistShardItemId#3462130L, 30), REPARTITION_BY_NUM, [plan_id=995028]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n5.9 s (115 ms, 146 ms, 479 ms (stage 321188.0: task 905354))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3462107L, orderProposalItemId#3462108, supplierGroup#3462109, supplier#3462110, plant#3462111, deliveryDateTime#3462112, subrange#3462113, supplyingPlant#3462114, productGroup#3462115, product#3462116, orderDateTime#3462117, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, sourceOfSupplyUuid#3462121, isFallbackOrderOnly#3462124, splitIndicator#3462126L, previousOrderProposal#3462127L, worklistShardItemId#3462130L, orderProposalItemGroupId#3462131, externalProductId#3462132, externalPlantId#3462133, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, minimumOrderQuantity#3462137, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter isnotnull(worklistShardItemId#3462130L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,861<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
66 [id="node66" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>4.8 s (98 ms, 129 ms, 181 ms (stage 321188.0: task 905456))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.5 MiB<br>number of output rows: 119,861<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3462107L,orderProposalItemId#3462108,supplierGroup#3462109,supplier#3462110,plant#3462111,deliveryDateTime#3462112,subrange#3462113,supplyingPlant#3462114,productGroup#3462115,product#3462116,orderDateTime#3462117,availabilityDateTime#3462118,nextAvailabilityDateTime#3462119,sourceOfSupplyUuid#3462121,isFallbackOrderOnly#3462124,splitIndicator#3462126L,previousOrderProposal#3462127L,worklistShardItemId#3462130L,orderProposalItemGroupId#3462131,externalProductId#3462132,externalPlantId#3462133,logisticUnits#3462134,orderQuantityBaseUom#3462135,orderQuantityBaseUomUuid#3462136,minimumOrderQuantity#3462137,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3462130L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3462151), isnotnull(sequenceId#3462129), (shardId#3462151 = 0_5_10000000532), ..., 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: 0 ms";
tooltip="WholeStageCodegen (8)";
68 [id="node68" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>594 ms (15 ms, 17 ms, 44 ms (stage 321194.0: task 905653))<br>peak memory total (min, med, max (stageId: taskId))<br>675.0 MiB (22.5 MiB, 22.5 MiB, 22.5 MiB (stage 321194.0: task 905643))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321194.0: task 905643))" tooltip="Sort [shardId#3462863 ASC NULLS FIRST, worklistShardItemId#3462864L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>9.2 MiB (154.7 KiB, 313.5 KiB, 469.8 KiB (stage 321194.0: task 905666))<br>merged fetch fallback count: 0<br>local blocks read: 300<br>remote merged chunks fetched: 0<br>remote blocks read: 600<br>data size total (min, med, max (stageId: taskId))<br>610.4 MiB (20.1 MiB, 20.4 MiB, 20.6 MiB (stage 321192.0: task 905483))<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>102 ms (2 ms, 3 ms, 12 ms (stage 321192.0: task 905600))<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 321194.0: task 905643))<br>remote bytes read total (min, med, max (stageId: taskId))<br>18.4 MiB (467.7 KiB, 630.1 KiB, 787.9 KiB (stage 321194.0: task 905659))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>519 ms (5 ms, 13 ms, 56 ms (stage 321194.0: task 905666))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>27.6 MiB (930.7 KiB, 942.0 KiB, 954.7 KiB (stage 321192.0: task 905483))" tooltip="Exchange hashpartitioning(shardId#3462863, worklistShardItemId#3462864L, 30), ENSURE_REQUIREMENTS, [plan_id=995043]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n27.1 s (795 ms, 894 ms, 1.1 s (stage 321192.0: task 905617))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3462863, worklistShardItemId#3462864L, coalesce(kpis#3462868, []) AS prodLocSpecificKpis#3462869]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter (((isnull(qty#3462865) AND isnull(demandChannel#3462866)) AND isnull(demandStream#3462867)) AND (isnotnull(shardId#3462863) AND isnotnull(worklistShardItemId#3462864L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3462863,worklistShardItemId#3462864L,qty#3462865,demandChannel#3462866,demandStream#3462867,kpis#3462868]"];
}
subgraph cluster74 {
isCluster="true";
id="cluster74";
label="WholeStageCodegen (11)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (11)";
75 [id="node75" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>31 ms (1 ms, 1 ms, 2 ms (stage 321194.0: task 905655))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 321194.0: task 905643))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321194.0: task 905643))" tooltip="Sort [shardId#3462879 ASC NULLS FIRST, worklistShardItemId#3462880L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.4 s (22 ms, 46 ms, 98 ms (stage 321194.0: task 905663))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321194.0: task 905643))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3462879, worklistShardItemId#3462880L], functions=[collect_list(struct(demandChannel, demandChannel#3462882, demandStream, demandStream#3462883, kpis, kpis#3462884), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>2.8 MiB (53.8 KiB, 110.7 KiB, 112.9 KiB (stage 321194.0: task 905656))<br>merged fetch fallback count: 0<br>local blocks read: 360<br>remote merged chunks fetched: 0<br>remote blocks read: 540<br>data size total (min, med, max (stageId: taskId))<br>236.9 MiB (7.8 MiB, 7.9 MiB, 8.0 MiB (stage 321190.0: task 905500))<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>60 ms (1 ms, 1 ms, 2 ms (stage 321190.0: task 905599))<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 321194.0: task 905643))<br>remote bytes read total (min, med, max (stageId: taskId))<br>4.2 MiB (124.8 KiB, 128.0 KiB, 184.9 KiB (stage 321194.0: task 905664))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>255 ms (4 ms, 6 ms, 20 ms (stage 321194.0: task 905660))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>7.0 MiB (235.0 KiB, 238.2 KiB, 240.8 KiB (stage 321190.0: task 905579))" tooltip="Exchange hashpartitioning(shardId#3462879, worklistShardItemId#3462880L, 30), ENSURE_REQUIREMENTS, [plan_id=995054]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>27.6 s (828 ms, 901 ms, 1.1 s (stage 321190.0: task 905465))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321190.0: task 905378))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3462879, worklistShardItemId#3462880L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3462882, demandStream, demandStream#3462883, kpis, kpis#3462884), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n27.0 s (809 ms, 884 ms, 1.1 s (stage 321190.0: task 905465))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3462879, worklistShardItemId#3462880L, demandChannel#3462882, demandStream#3462883, kpis#3462884]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter ((((isnull(qty#3462881) AND isnotnull(demandChannel#3462882)) AND isnotnull(demandStream#3462883)) AND (size(kpis#3462884, true) > 0)) AND (isnotnull(shardId#3462879) AND isnotnull(worklistShardItemId#3462880L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3462879,worklistShardItemId#3462880L,qty#3462881,demandChannel#3462882,demandStream#3462883,kpis#3462884]"];
}
subgraph cluster83 {
isCluster="true";
id="cluster83";
label="WholeStageCodegen (14)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (14)";
84 [id="node84" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>32 ms (1 ms, 1 ms, 2 ms (stage 321194.0: task 905655))<br>peak memory total (min, med, max (stageId: taskId))<br>735.0 MiB (24.5 MiB, 24.5 MiB, 24.5 MiB (stage 321194.0: task 905643))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321194.0: task 905643))" tooltip="Sort [shardId#3462892 ASC NULLS FIRST, worklistShardItemId#3462893L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.4 s (47 ms, 74 ms, 154 ms (stage 321194.0: task 905667))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321194.0: task 905643))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3462892, worklistShardItemId#3462893L], functions=[collect_list(struct(qty, qty#3462894, kpis, kpis#3462897), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,174,229<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,174,229<br>local bytes read total (min, med, max (stageId: taskId))<br>6.5 MiB (180.0 KiB, 184.8 KiB, 342.1 KiB (stage 321194.0: task 905659))<br>merged fetch fallback count: 0<br>local blocks read: 255<br>remote merged chunks fetched: 0<br>remote blocks read: 645<br>data size total (min, med, max (stageId: taskId))<br>727.4 MiB (24.0 MiB, 24.2 MiB, 24.4 MiB (stage 321193.0: task 905638))<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>86 ms (2 ms, 2 ms, 3 ms (stage 321193.0: task 905555))<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 321194.0: task 905643))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.5 MiB (437.6 KiB, 598.0 KiB, 610.8 KiB (stage 321194.0: task 905641))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>288 ms (5 ms, 7 ms, 51 ms (stage 321194.0: task 905655))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>23.0 MiB (777.4 KiB, 783.9 KiB, 789.9 KiB (stage 321193.0: task 905638))" tooltip="Exchange hashpartitioning(shardId#3462892, worklistShardItemId#3462893L, 30), ENSURE_REQUIREMENTS, [plan_id=995066]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,174,229<br>time in aggregation build total (min, med, max (stageId: taskId))<br>28.4 s (808 ms, 906 ms, 1.4 s (stage 321193.0: task 905350))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321193.0: task 905344))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3462892, worklistShardItemId#3462893L], functions=[partial_collect_list(struct(qty, qty#3462894, kpis, kpis#3462897), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n27.0 s (759 ms, 871 ms, 1.4 s (stage 321193.0: task 905350))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3462892, worklistShardItemId#3462893L, qty#3462894, kpis#3462897]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter ((isnotnull(qty#3462894) AND isnotnull(kpis#3462897)) AND (isnotnull(shardId#3462892) AND isnotnull(worklistShardItemId#3462893L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3462892,worklistShardItemId#3462893L,qty#3462894,demandChannel#3462895,demandStream#3462896,kpis#3462897]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.7 s (24 ms, 31 ms, 198 ms (stage 321201.0: task 905731))";
tooltip="WholeStageCodegen (9)";
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 321201.0: task 905733))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 321201.0: task 905733))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321201.0: task 905733))" tooltip="Sort [coalesce(shardId#3463678, ) ASC NULLS FIRST, isnull(shardId#3463678) ASC NULLS FIRST, coalesce(orderProposalId#3463679L, 0) ASC NULLS FIRST, isnull(orderProposalId#3463679L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 836<br>data size total (min, med, max (stageId: taskId))<br>129.1 KiB (3.5 KiB, 4.3 KiB, 5.1 KiB (stage 321199.0: task 905544))<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>44 ms (1 ms, 1 ms, 2 ms (stage 321199.0: task 905522))<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 321201.0: task 905733))<br>remote bytes read total (min, med, max (stageId: taskId))<br>112.5 KiB (3.2 KiB, 3.8 KiB, 4.1 KiB (stage 321201.0: task 905738))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>119 ms (1 ms, 4 ms, 6 ms (stage 321201.0: task 905737))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>112.5 KiB (3.4 KiB, 3.8 KiB, 4.1 KiB (stage 321199.0: task 905545))" tooltip="Exchange hashpartitioning(coalesce(shardId#3463678, ), isnull(shardId#3463678), coalesce(orderProposalId#3463679L, 0), isnull(orderProposalId#3463679L), 30), ENSURE_REQUIREMENTS, [plan_id=995368]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3463679L, shardId#3463678, coalesce(transform(optimizationGroups#3463681, lambdafunction(struct(optGroupId, lambda x_11524#3463676.optGroupId, minOrderProfile, lambda x_11524#3463676.minOrderProfile, assignmentDetails, lambda x_11524#3463676.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11524#3463676.minOrderGoal.dimensionType, unit, lambda x_11524#3463676.minOrderGoal.unit, unitUuid, lambda x_11524#3463676.minOrderGoal.unitUuid, goalValue, lambda x_11524#3463676.minOrderGoal.minOrderValue, calcValue, lambda x_11524#3463676.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11524#3463676, false)), []) AS optimizationGroups#3463675]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n718 ms (9 ms, 11 ms, 228 ms (stage 321199.0: task 905514))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,360<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321199.0: task 905516))" tooltip="SortMergeJoin [orderProposalId#3463679L], [orderProposalId#3463734L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.6 s (9 ms, 12 ms, 833 ms (stage 321199.0: task 905514))";
tooltip="WholeStageCodegen (3)";
99 [id="node99" 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 321199.0: task 905516))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 321199.0: task 905516))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321199.0: task 905516))" tooltip="Sort [orderProposalId#3463679L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>70.1 KiB (1417.0 B, 2.4 KiB, 2.6 KiB (stage 321199.0: task 905544))<br>merged fetch fallback count: 0<br>local blocks read: 519<br>remote merged chunks fetched: 0<br>remote blocks read: 316<br>data size total (min, med, max (stageId: taskId))<br>129.1 KiB (4.1 KiB, 4.3 KiB, 4.5 KiB (stage 321198.0: task 905400))<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>42 ms (1 ms, 1 ms, 1 ms (stage 321198.0: task 905429))<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>34 ms (0 ms, 0 ms, 9 ms (stage 321199.0: task 905527))<br>remote bytes read total (min, med, max (stageId: taskId))<br>42.3 KiB (1117.0 B, 1452.0 B, 2.5 KiB (stage 321199.0: task 905514))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>150 ms (3 ms, 3 ms, 13 ms (stage 321199.0: task 905526))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>112.4 KiB (3.5 KiB, 3.7 KiB, 3.9 KiB (stage 321198.0: task 905403))" tooltip="Exchange hashpartitioning(orderProposalId#3463679L, 30), ENSURE_REQUIREMENTS, [plan_id=995334]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n363 ms (3 ms, 3 ms, 116 ms (stage 321198.0: task 905410))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter isnotnull(orderProposalId#3463679L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3463678, orderProposalId#3463679L, optimizationGroups#3463681], [isnotnull(orderProposalId#3463679L)]"];
subgraph cluster104 {
isCluster="true";
id="cluster104";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
105 [id="node105" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3461394) AND (shardId#3461394 = 0_5_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, optimizationInsights#3461400], [isnotnull(shardId#3461394), (shardId#3461394 = 0_5_10000000532)]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
108 [id="node108" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3461394) AND (shardId#3461394 = 0_5_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3461394,orderProposalId#3461395L,items#3461396,optimizationGroups#3461397,isOptimal#3461398,lastModified#3461399,optimizationInsights#3461400]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n911 ms (9 ms, 11 ms, 368 ms (stage 321199.0: task 905514))";
tooltip="WholeStageCodegen (7)";
111 [id="node111" 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 321199.0: task 905516))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 321199.0: task 905516))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 321199.0: task 905516))" tooltip="Sort [orderProposalId#3463734L ASC NULLS FIRST], false, 0"];
112 [id="node112" 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>122 ms (2 ms, 2 ms, 23 ms (stage 321199.0: task 905544))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 321199.0: task 905516))<br>number of output rows: 2,360<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3463734L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,096<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,096<br>local bytes read: 3.7 KiB<br>merged fetch fallback count: 0<br>local blocks read: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 895<br>data size total (min, med, max (stageId: taskId))<br>907.8 KiB (29.6 KiB, 30.3 KiB, 30.8 KiB (stage 321197.0: task 905477))<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>47 ms (1 ms, 1 ms, 2 ms (stage 321197.0: task 905499))<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>47 ms (0 ms, 0 ms, 19 ms (stage 321199.0: task 905544))<br>remote bytes read total (min, med, max (stageId: taskId))<br>671.2 KiB (18.3 KiB, 22.6 KiB, 26.3 KiB (stage 321199.0: task 905544))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>265 ms (4 ms, 5 ms, 35 ms (stage 321199.0: task 905537))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>674.9 KiB (22.0 KiB, 22.5 KiB, 22.8 KiB (stage 321197.0: task 905477))" tooltip="Exchange hashpartitioning(orderProposalId#3463734L, 30), ENSURE_REQUIREMENTS, [plan_id=995359]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n428 ms (7 ms, 9 ms, 67 ms (stage 321197.0: task 905468))";
tooltip="WholeStageCodegen (6)";
115 [id="node115" 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>167 ms (4 ms, 5 ms, 15 ms (stage 321197.0: task 905484))<br>peak memory total (min, med, max (stageId: taskId))<br>43.5 MiB (256.0 KiB, 2.3 MiB, 2.3 MiB (stage 321197.0: task 905474))<br>number of output rows: 58,096<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 321197.0: task 905474))" tooltip="HashAggregate(keys=[orderProposalId#3463734L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3463734L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 119,861" tooltip="BroadcastHashJoin [worklistShardItemId#3463686L], [worklistShardItemId#3463757L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3463757L, orderProposalId#3463734L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 9 ms<br>time to build: 21 ms<br>time to collect: 276 ms<br>number of output rows: 119,861<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=995345]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n206 ms (1 ms, 6 ms, 11 ms (stage 321021.0: task 905306))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3463685L AS worklistShardItemId#3463686L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(_extract_worklistShardItemId#3464326), false, [item#3463685L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3463307.worklistShardItemId AS _extract_worklistShardItemId#3464326]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (((size(items#3463307.worklistShardItemId, true) > 0) AND isnotnull(items#3463307.worklistShardItemId)) AND (shardId#3463305 = 0_5_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [items#3463307, shardId#3463305], [(size(items#3463307.worklistShardItemId, true) > 0), isnotnull(items#3463307.worklistShardItemId), (shardId#3463305 = 0_5_10000000532)]"];
subgraph cluster125 {
isCluster="true";
id="cluster125";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
126 [id="node126" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3461394) AND (shardId#3461394 = 0_5_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, optimizationInsights#3461400], [isnotnull(shardId#3461394), (shardId#3461394 = 0_5_10000000532)]"];
subgraph cluster128 {
isCluster="true";
id="cluster128";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
129 [id="node129" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3461394) AND (shardId#3461394 = 0_5_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3461394,orderProposalId#3461395L,items#3461396,optimizationGroups#3461397,isOptimal#3461398,lastModified#3461399,optimizationInsights#3461400]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>666.0 KiB (19.8 KiB, 20.9 KiB, 30.6 KiB (stage 321197.0: task 905503))<br>merged fetch fallback count: 0<br>local blocks read: 420<br>remote merged chunks fetched: 0<br>remote blocks read: 690<br>data size total (min, med, max (stageId: taskId))<br>2.7 MiB (73.3 KiB, 75.7 KiB, 78.8 KiB (stage 321196.0: task 905325))<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>65 ms (1 ms, 1 ms, 3 ms (stage 321196.0: task 905397))<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>19 ms (0 ms, 0 ms, 9 ms (stage 321197.0: task 905484))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1102.4 KiB (27.3 KiB, 38.2 KiB, 40.8 KiB (stage 321197.0: task 905502))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>167 ms (3 ms, 5 ms, 15 ms (stage 321197.0: task 905484))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1768.4 KiB (46.1 KiB, 47.7 KiB, 49.4 KiB (stage 321196.0: task 905325))" tooltip="Exchange hashpartitioning(worklistShardItemId#3463757L, 30), REPARTITION_BY_NUM, [plan_id=995352]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n6.2 s (142 ms, 168 ms, 202 ms (stage 321196.0: task 905325))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3463734L, worklistShardItemId#3463757L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter ((isnotnull(worklistShardItemId#3463757L) AND NOT (isFallbackOrderOnly#3463751 <=> true)) AND isnotnull(orderProposalId#3463734L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,861<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
137 [id="node137" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>6.0 s (138 ms, 162 ms, 197 ms (stage 321196.0: task 905325))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.5 MiB<br>number of output rows: 119,861<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3463734L,isFallbackOrderOnly#3463751,worklistShardItemId#3463757L,shardId#3463778,sequenceId#3463756] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3463757L), NOT (isFallbackOrderOnly#3463751 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3463778), isnotnull(sequenceId#3463756), (shardId#3463778 = 0_5_10000000532), ..., 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;
99->97;
100->99;
102->100;
103->102;
105->103;
106->105;
108->106;
109->108;
111->97;
112->111;
113->112;
115->113;
116->115;
117->116;
118->117;
120->118;
121->120;
122->121;
123->122;
124->123;
126->124;
127->126;
129->127;
130->129;
131->117;
132->131;
134->132;
135->134;
136->135;
137->136;
}
== Physical Plan ==
* HashAggregate (104)
+- Exchange (103)
+- * HashAggregate (102)
+- * Project (101)
+- * Generate (100)
+- Project (99)
+- Filter (98)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (97)
+- SortMergeJoin LeftOuter (96)
:- 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 (95)
+- Exchange (94)
+- Project (93)
+- * SortMergeJoin Inner (92)
:- * Sort (72)
: +- Exchange (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Sort (91)
+- * HashAggregate (90)
+- Exchange (89)
+- * HashAggregate (88)
+- * Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (79)
: +- * Project (78)
: +- * Generate (77)
: +- * Project (76)
: +- * Filter (75)
: +- InMemoryTableScan (73)
: +- InMemoryRelation (74)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (85)
+- Exchange (84)
+- * Project (83)
+- * Filter (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
(1) InMemoryTableScan
Output [1]: [orderProposal#3463782]
Arguments: [orderProposal#3463782], [(size(orderProposal#3463782.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3461394, orderProposal#3463782], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3462084, channelStreamSpecificKpis#3462885, constraintLabels#3462096, constraintOperators#3462097, constraintValues#3462099, deliveryDateTime#3462083, isFallbackOrderOnly#3462086, logisticUnits#3462101, measurements#3462094, minimumOrderQuantity#3462095, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, nextAvailabilityDateTime#3462085, optimizationGroups#3462102, orderDateTime#3462082, orderProposalId#3462064L, orderProposalItemGroupId#3462066, orderProposalItemId#3462065, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, originalReplenishmentRunId#3462067L, plant#3462078, previousOrderProposal#3462070L, prodLocSpecificKpis#3462870, product#3462077, productGroup#3462106, qty#3461908, quantityAfterProdPlantOptimization#3461907, quantityKpis#3462898, shardId#3461394, sourceOfSupplyUuid#3462073, splitIndicator#3462069L, subrange#3462076, supplier#3462075, supplierGroup#3462074, supplyingPlant#3462105]
Arguments: [availabilityDateTime#3462084, channelStreamSpecificKpis#3462885, constraintLabels#3462096, constraintOperators#3462097, constraintValues#3462099, deliveryDateTime#3462083, isFallbackOrderOnly#3462086, logisticUnits#3462101, measurements#3462094, minimumOrderQuantity#3462095, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, nextAvailabilityDateTime#3462085, optimizationGroups#3462102, orderDateTime#3462082, orderProposalId#3462064L, orderProposalItemGroupId#3462066, orderProposalItemId#3462065, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, originalReplenishmentRunId#3462067L, plant#3462078, ... 14 more fields], [NOT (isFallbackOrderOnly#3462086 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, productGroup#3462106, product#3462077, plant#3462078, subrange#3462076, orderDateTime#3462082, deliveryDateTime#3462083, availabilityDateTime#3462084, nextAvailabilityDateTime#3462085, constraintValues#3462099, constraintOperators#3462097, constraintLabels#3462096, logisticUnits#3462101, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, splitIndicator#3462069L, netPriceAmount#3462092, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3461394, items#3461396]
Arguments: [shardId#3461394, items#3461396], [(size(items#3461396, true) > 0), isnotnull(items#3461396)]
(6) InMemoryRelation
Arguments: [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, optimizationInsights#3461400], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, optimizationInsights#3461400]
Arguments: [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, optimizationInsights#3461400], [isnotnull(shardId#3461394), (shardId#3461394 = 0_5_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, lastModified#3461399, optimizationInsights#3461400], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, lastModified#3461399, optimizationInsights#3461400]
Arguments: [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, lastModified#3461399, optimizationInsights#3461400], MapPartitionsRDD[147226] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, lastModified#3461399, optimizationInsights#3461400]
Condition : (isnotnull(shardId#3461394) AND (shardId#3461394 = 0_5_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3461394, orderProposalId#3461395L, items#3461396, optimizationGroups#3461397, isOptimal#3461398, optimizationInsights#3461400]
Condition : (isnotnull(shardId#3461394) AND (shardId#3461394 = 0_5_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3461394, items#3461396]
Condition : ((size(items#3461396, true) > 0) AND isnotnull(items#3461396))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3461394, items#3461396]
Arguments: explode(items#3461396), [shardId#3461394], false, [item#3461905]
(14) Project [codegen id : 1]
Output [4]: [shardId#3461394, item#3461905.worklistShardItemId AS worklistShardItemId#3461906L, item#3461905.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3461907, item#3461905.qty AS qty#3461908]
Input [2]: [shardId#3461394, item#3461905]
(15) Exchange
Input [4]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908]
Arguments: hashpartitioning(worklistShardItemId#3461906L, 30), ENSURE_REQUIREMENTS, [plan_id=995018]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908]
Arguments: [worklistShardItemId#3461906L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3462107L, orderProposalItemId#3462108, supplierGroup#3462109, supplier#3462110, plant#3462111, deliveryDateTime#3462112, subrange#3462113, supplyingPlant#3462114, productGroup#3462115, product#3462116, orderDateTime#3462117, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, sourceOfSupplyUuid#3462121, isFallbackOrderOnly#3462124, splitIndicator#3462126L, previousOrderProposal#3462127L, worklistShardItemId#3462130L, orderProposalItemGroupId#3462131, externalProductId#3462132, externalPlantId#3462133, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, minimumOrderQuantity#3462137, constraintLabels#3462138, constraintOperators#3462139, constraintValues#3462140, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, measurements#3462148, originalReplenishmentRunId#3462149L, optimizationGroups#3462150, shardId#3462151, sequenceId#3462129]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000532]
PartitionFilters: [isnotnull(shardId#3462151), isnotnull(sequenceId#3462129), (shardId#3462151 = 0_5_10000000532), (sequenceId#3462129 = 4)]
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#3462107L, orderProposalItemId#3462108, supplierGroup#3462109, supplier#3462110, plant#3462111, deliveryDateTime#3462112, subrange#3462113, supplyingPlant#3462114, productGroup#3462115, product#3462116, orderDateTime#3462117, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, sourceOfSupplyUuid#3462121, isFallbackOrderOnly#3462124, splitIndicator#3462126L, previousOrderProposal#3462127L, worklistShardItemId#3462130L, orderProposalItemGroupId#3462131, externalProductId#3462132, externalPlantId#3462133, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, minimumOrderQuantity#3462137, constraintLabels#3462138, constraintOperators#3462139, constraintValues#3462140, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, measurements#3462148, originalReplenishmentRunId#3462149L, optimizationGroups#3462150, shardId#3462151, sequenceId#3462129]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3462107L, orderProposalItemId#3462108, supplierGroup#3462109, supplier#3462110, plant#3462111, deliveryDateTime#3462112, subrange#3462113, supplyingPlant#3462114, productGroup#3462115, product#3462116, orderDateTime#3462117, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, sourceOfSupplyUuid#3462121, isFallbackOrderOnly#3462124, splitIndicator#3462126L, previousOrderProposal#3462127L, worklistShardItemId#3462130L, orderProposalItemGroupId#3462131, externalProductId#3462132, externalPlantId#3462133, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, minimumOrderQuantity#3462137, constraintLabels#3462138, constraintOperators#3462139, constraintValues#3462140, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, measurements#3462148, originalReplenishmentRunId#3462149L, optimizationGroups#3462150, shardId#3462151, sequenceId#3462129]
Condition : isnotnull(worklistShardItemId#3462130L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3462107L, orderProposalItemId#3462108, supplierGroup#3462109, supplier#3462110, plant#3462111, deliveryDateTime#3462112, subrange#3462113, supplyingPlant#3462114, productGroup#3462115, product#3462116, orderDateTime#3462117, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, sourceOfSupplyUuid#3462121, isFallbackOrderOnly#3462124, splitIndicator#3462126L, previousOrderProposal#3462127L, worklistShardItemId#3462130L, orderProposalItemGroupId#3462131, externalProductId#3462132, externalPlantId#3462133, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, minimumOrderQuantity#3462137, constraintLabels#3462138, constraintOperators#3462139, constraintValues#3462140, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, measurements#3462148, originalReplenishmentRunId#3462149L, optimizationGroups#3462150]
Input [38]: [orderProposalId#3462107L, orderProposalItemId#3462108, supplierGroup#3462109, supplier#3462110, plant#3462111, deliveryDateTime#3462112, subrange#3462113, supplyingPlant#3462114, productGroup#3462115, product#3462116, orderDateTime#3462117, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, sourceOfSupplyUuid#3462121, isFallbackOrderOnly#3462124, splitIndicator#3462126L, previousOrderProposal#3462127L, worklistShardItemId#3462130L, orderProposalItemGroupId#3462131, externalProductId#3462132, externalPlantId#3462133, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, minimumOrderQuantity#3462137, constraintLabels#3462138, constraintOperators#3462139, constraintValues#3462140, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, measurements#3462148, originalReplenishmentRunId#3462149L, optimizationGroups#3462150, shardId#3462151, sequenceId#3462129]
(21) Exchange
Input [36]: [orderProposalId#3462107L, orderProposalItemId#3462108, supplierGroup#3462109, supplier#3462110, plant#3462111, deliveryDateTime#3462112, subrange#3462113, supplyingPlant#3462114, productGroup#3462115, product#3462116, orderDateTime#3462117, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, sourceOfSupplyUuid#3462121, isFallbackOrderOnly#3462124, splitIndicator#3462126L, previousOrderProposal#3462127L, worklistShardItemId#3462130L, orderProposalItemGroupId#3462131, externalProductId#3462132, externalPlantId#3462133, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, minimumOrderQuantity#3462137, constraintLabels#3462138, constraintOperators#3462139, constraintValues#3462140, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, measurements#3462148, originalReplenishmentRunId#3462149L, optimizationGroups#3462150]
Arguments: hashpartitioning(worklistShardItemId#3462130L, 30), REPARTITION_BY_NUM, [plan_id=995028]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3462130L, orderProposalId#3462107L, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, originalReplenishmentRunId#3462149L, splitIndicator#3462126L, previousOrderProposal#3462127L, sourceOfSupplyUuid#3462121, supplierGroup#3462109, supplier#3462110, subrange#3462113, product#3462116, plant#3462111, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, isFallbackOrderOnly#3462124, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, netPriceAmount#3462143, netPriceCurrencyCode#3462144, measurements#3462148, minimumOrderQuantity#3462137, constraintLabels#3462138, constraintOperators#3462139, constraintValues#3462140, logisticUnits#3462134, optimizationGroups#3462150, externalProductId#3462132, externalPlantId#3462133, supplyingPlant#3462114, productGroup#3462115]
Input [36]: [orderProposalId#3462107L, orderProposalItemId#3462108, supplierGroup#3462109, supplier#3462110, plant#3462111, deliveryDateTime#3462112, subrange#3462113, supplyingPlant#3462114, productGroup#3462115, product#3462116, orderDateTime#3462117, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, sourceOfSupplyUuid#3462121, isFallbackOrderOnly#3462124, splitIndicator#3462126L, previousOrderProposal#3462127L, worklistShardItemId#3462130L, orderProposalItemGroupId#3462131, externalProductId#3462132, externalPlantId#3462133, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, minimumOrderQuantity#3462137, constraintLabels#3462138, constraintOperators#3462139, constraintValues#3462140, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, measurements#3462148, originalReplenishmentRunId#3462149L, optimizationGroups#3462150]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3462130L, orderProposalId#3462107L, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, originalReplenishmentRunId#3462149L, splitIndicator#3462126L, previousOrderProposal#3462127L, sourceOfSupplyUuid#3462121, supplierGroup#3462109, supplier#3462110, subrange#3462113, product#3462116, plant#3462111, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, isFallbackOrderOnly#3462124, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, netPriceAmount#3462143, netPriceCurrencyCode#3462144, measurements#3462148, minimumOrderQuantity#3462137, constraintLabels#3462138, constraintOperators#3462139, constraintValues#3462140, logisticUnits#3462134, optimizationGroups#3462150, externalProductId#3462132, externalPlantId#3462133, supplyingPlant#3462114, productGroup#3462115]
Arguments: [worklistShardItemId#3462130L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3461906L]
Right keys [1]: [worklistShardItemId#3462130L]
Join type: LeftOuter
Join condition: (shardId#3461394 = 0_5_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, sourceOfSupplyUuid#3462121, minimumOrderQuantity#3462137, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, optimizationGroups#3462150, measurements#3462148, externalProductId#3462132, externalPlantId#3462133, previousOrderProposal#3462127L, isFallbackOrderOnly#3462124]
Input [40]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, worklistShardItemId#3462130L, orderProposalId#3462107L, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, originalReplenishmentRunId#3462149L, splitIndicator#3462126L, previousOrderProposal#3462127L, sourceOfSupplyUuid#3462121, supplierGroup#3462109, supplier#3462110, subrange#3462113, product#3462116, plant#3462111, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, isFallbackOrderOnly#3462124, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, netPriceAmount#3462143, netPriceCurrencyCode#3462144, measurements#3462148, minimumOrderQuantity#3462137, constraintLabels#3462138, constraintOperators#3462139, constraintValues#3462140, logisticUnits#3462134, optimizationGroups#3462150, externalProductId#3462132, externalPlantId#3462133, supplyingPlant#3462114, productGroup#3462115]
(26) Exchange
Input [39]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, sourceOfSupplyUuid#3462121, minimumOrderQuantity#3462137, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, optimizationGroups#3462150, measurements#3462148, externalProductId#3462132, externalPlantId#3462133, previousOrderProposal#3462127L, isFallbackOrderOnly#3462124]
Arguments: hashpartitioning(shardId#3461394, worklistShardItemId#3461906L, 30), ENSURE_REQUIREMENTS, [plan_id=995037]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, sourceOfSupplyUuid#3462121, minimumOrderQuantity#3462137, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, optimizationGroups#3462150, measurements#3462148, externalProductId#3462132, externalPlantId#3462133, previousOrderProposal#3462127L, isFallbackOrderOnly#3462124]
Arguments: [shardId#3461394 ASC NULLS FIRST, worklistShardItemId#3461906L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3462863, worklistShardItemId#3462864L, qty#3462865, demandChannel#3462866, demandStream#3462867, kpis#3462868]
Arguments: [shardId#3462863, worklistShardItemId#3462864L, qty#3462865, demandChannel#3462866, demandStream#3462867, kpis#3462868], MapPartitionsRDD[147310] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3462863, worklistShardItemId#3462864L, qty#3462865, demandChannel#3462866, demandStream#3462867, kpis#3462868]
Condition : (((isnull(qty#3462865) AND isnull(demandChannel#3462866)) AND isnull(demandStream#3462867)) AND (isnotnull(shardId#3462863) AND isnotnull(worklistShardItemId#3462864L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3462863, worklistShardItemId#3462864L, coalesce(kpis#3462868, []) AS prodLocSpecificKpis#3462869]
Input [6]: [shardId#3462863, worklistShardItemId#3462864L, qty#3462865, demandChannel#3462866, demandStream#3462867, kpis#3462868]
(31) Exchange
Input [3]: [shardId#3462863, worklistShardItemId#3462864L, prodLocSpecificKpis#3462869]
Arguments: hashpartitioning(shardId#3462863, worklistShardItemId#3462864L, 30), ENSURE_REQUIREMENTS, [plan_id=995043]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3462863, worklistShardItemId#3462864L, prodLocSpecificKpis#3462869]
Arguments: [shardId#3462863 ASC NULLS FIRST, worklistShardItemId#3462864L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3461394, worklistShardItemId#3461906L]
Right keys [2]: [shardId#3462863, worklistShardItemId#3462864L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, sourceOfSupplyUuid#3462121, minimumOrderQuantity#3462137, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, optimizationGroups#3462150, measurements#3462148, externalProductId#3462132, externalPlantId#3462133, previousOrderProposal#3462127L, isFallbackOrderOnly#3462124, coalesce(prodLocSpecificKpis#3462869, []) AS prodLocSpecificKpis#3462870]
Input [42]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, sourceOfSupplyUuid#3462121, minimumOrderQuantity#3462137, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, optimizationGroups#3462150, measurements#3462148, externalProductId#3462132, externalPlantId#3462133, previousOrderProposal#3462127L, isFallbackOrderOnly#3462124, shardId#3462863, worklistShardItemId#3462864L, prodLocSpecificKpis#3462869]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3462879, worklistShardItemId#3462880L, qty#3462881, demandChannel#3462882, demandStream#3462883, kpis#3462884]
Arguments: [shardId#3462879, worklistShardItemId#3462880L, qty#3462881, demandChannel#3462882, demandStream#3462883, kpis#3462884], MapPartitionsRDD[147310] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3462879, worklistShardItemId#3462880L, qty#3462881, demandChannel#3462882, demandStream#3462883, kpis#3462884]
Condition : ((((isnull(qty#3462881) AND isnotnull(demandChannel#3462882)) AND isnotnull(demandStream#3462883)) AND (size(kpis#3462884, true) > 0)) AND (isnotnull(shardId#3462879) AND isnotnull(worklistShardItemId#3462880L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3462879, worklistShardItemId#3462880L, demandChannel#3462882, demandStream#3462883, kpis#3462884]
Input [6]: [shardId#3462879, worklistShardItemId#3462880L, qty#3462881, demandChannel#3462882, demandStream#3462883, kpis#3462884]
(38) ObjectHashAggregate
Input [5]: [shardId#3462879, worklistShardItemId#3462880L, demandChannel#3462882, demandStream#3462883, kpis#3462884]
Keys [2]: [shardId#3462879, worklistShardItemId#3462880L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3462882, demandStream, demandStream#3462883, kpis, kpis#3462884), 0, 0)]
Aggregate Attributes [1]: [buf#3463059]
Results [3]: [shardId#3462879, worklistShardItemId#3462880L, buf#3463060]
(39) Exchange
Input [3]: [shardId#3462879, worklistShardItemId#3462880L, buf#3463060]
Arguments: hashpartitioning(shardId#3462879, worklistShardItemId#3462880L, 30), ENSURE_REQUIREMENTS, [plan_id=995054]
(40) ObjectHashAggregate
Input [3]: [shardId#3462879, worklistShardItemId#3462880L, buf#3463060]
Keys [2]: [shardId#3462879, worklistShardItemId#3462880L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3462882, demandStream, demandStream#3462883, kpis, kpis#3462884), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3462882, demandStream, demandStream#3462883, kpis, kpis#3462884), 0, 0)#3462878]
Results [3]: [shardId#3462879, worklistShardItemId#3462880L, collect_list(struct(demandChannel, demandChannel#3462882, demandStream, demandStream#3462883, kpis, kpis#3462884), 0, 0)#3462878 AS channelStreamSpecificKpis#3462871]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3462879, worklistShardItemId#3462880L, channelStreamSpecificKpis#3462871]
Arguments: [shardId#3462879 ASC NULLS FIRST, worklistShardItemId#3462880L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3461394, worklistShardItemId#3461906L]
Right keys [2]: [shardId#3462879, worklistShardItemId#3462880L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, sourceOfSupplyUuid#3462121, minimumOrderQuantity#3462137, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, optimizationGroups#3462150, measurements#3462148, externalProductId#3462132, externalPlantId#3462133, previousOrderProposal#3462127L, isFallbackOrderOnly#3462124, prodLocSpecificKpis#3462870, coalesce(channelStreamSpecificKpis#3462871, []) AS channelStreamSpecificKpis#3462885]
Input [43]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, sourceOfSupplyUuid#3462121, minimumOrderQuantity#3462137, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, optimizationGroups#3462150, measurements#3462148, externalProductId#3462132, externalPlantId#3462133, previousOrderProposal#3462127L, isFallbackOrderOnly#3462124, prodLocSpecificKpis#3462870, shardId#3462879, worklistShardItemId#3462880L, channelStreamSpecificKpis#3462871]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3462892, worklistShardItemId#3462893L, qty#3462894, demandChannel#3462895, demandStream#3462896, kpis#3462897]
Arguments: [shardId#3462892, worklistShardItemId#3462893L, qty#3462894, demandChannel#3462895, demandStream#3462896, kpis#3462897], MapPartitionsRDD[147310] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3462892, worklistShardItemId#3462893L, qty#3462894, demandChannel#3462895, demandStream#3462896, kpis#3462897]
Condition : ((isnotnull(qty#3462894) AND isnotnull(kpis#3462897)) AND (isnotnull(shardId#3462892) AND isnotnull(worklistShardItemId#3462893L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3462892, worklistShardItemId#3462893L, qty#3462894, kpis#3462897]
Input [6]: [shardId#3462892, worklistShardItemId#3462893L, qty#3462894, demandChannel#3462895, demandStream#3462896, kpis#3462897]
(47) ObjectHashAggregate
Input [4]: [shardId#3462892, worklistShardItemId#3462893L, qty#3462894, kpis#3462897]
Keys [2]: [shardId#3462892, worklistShardItemId#3462893L]
Functions [1]: [partial_collect_list(struct(qty, qty#3462894, kpis, kpis#3462897), 0, 0)]
Aggregate Attributes [1]: [buf#3463061]
Results [3]: [shardId#3462892, worklistShardItemId#3462893L, buf#3463062]
(48) Exchange
Input [3]: [shardId#3462892, worklistShardItemId#3462893L, buf#3463062]
Arguments: hashpartitioning(shardId#3462892, worklistShardItemId#3462893L, 30), ENSURE_REQUIREMENTS, [plan_id=995066]
(49) ObjectHashAggregate
Input [3]: [shardId#3462892, worklistShardItemId#3462893L, buf#3463062]
Keys [2]: [shardId#3462892, worklistShardItemId#3462893L]
Functions [1]: [collect_list(struct(qty, qty#3462894, kpis, kpis#3462897), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3462894, kpis, kpis#3462897), 0, 0)#3462891]
Results [3]: [shardId#3462892, worklistShardItemId#3462893L, map_from_entries(collect_list(struct(qty, qty#3462894, kpis, kpis#3462897), 0, 0)#3462891) AS quantityKpis#3462886]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3462892, worklistShardItemId#3462893L, quantityKpis#3462886]
Arguments: [shardId#3462892 ASC NULLS FIRST, worklistShardItemId#3462893L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3461394, worklistShardItemId#3461906L]
Right keys [2]: [shardId#3462892, worklistShardItemId#3462893L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, sourceOfSupplyUuid#3462121, minimumOrderQuantity#3462137, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, optimizationGroups#3462150, measurements#3462148, externalProductId#3462132, externalPlantId#3462133, previousOrderProposal#3462127L, isFallbackOrderOnly#3462124, prodLocSpecificKpis#3462870, channelStreamSpecificKpis#3462885, coalesce(quantityKpis#3462886, map(keys: [], values: [])) AS quantityKpis#3462898]
Input [44]: [shardId#3461394, worklistShardItemId#3461906L, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462107L, originalReplenishmentRunId#3462149L, supplierGroup#3462109, supplier#3462110, supplyingPlant#3462114, productGroup#3462115, product#3462116, plant#3462111, subrange#3462113, orderDateTime#3462117, deliveryDateTime#3462112, availabilityDateTime#3462118, nextAvailabilityDateTime#3462119, constraintValues#3462140, constraintOperators#3462139, constraintLabels#3462138, logisticUnits#3462134, orderQuantityBaseUom#3462135, orderQuantityBaseUomUuid#3462136, splitIndicator#3462126L, netPriceAmount#3462143, netPriceCurrencyCode#3462144, netPriceQuantity#3462145, netPriceQuantityUom#3462146, netPriceQuantityUomUuid#3462147, sourceOfSupplyUuid#3462121, minimumOrderQuantity#3462137, orderProposalItemId#3462108, orderProposalItemGroupId#3462131, optimizationGroups#3462150, measurements#3462148, externalProductId#3462132, externalPlantId#3462133, previousOrderProposal#3462127L, isFallbackOrderOnly#3462124, prodLocSpecificKpis#3462870, channelStreamSpecificKpis#3462885, shardId#3462892, worklistShardItemId#3462893L, quantityKpis#3462886]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3462084, channelStreamSpecificKpis#3462885, constraintLabels#3462096, constraintOperators#3462097, constraintValues#3462099, deliveryDateTime#3462083, isFallbackOrderOnly#3462086, logisticUnits#3462101, measurements#3462094, minimumOrderQuantity#3462095, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, nextAvailabilityDateTime#3462085, optimizationGroups#3462102, orderDateTime#3462082, orderProposalId#3462064L, orderProposalItemGroupId#3462066, orderProposalItemId#3462065, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, originalReplenishmentRunId#3462067L, plant#3462078, previousOrderProposal#3462070L, prodLocSpecificKpis#3462870, product#3462077, productGroup#3462106, qty#3461908, quantityAfterProdPlantOptimization#3461907, quantityKpis#3462898, shardId#3461394, sourceOfSupplyUuid#3462073, splitIndicator#3462069L, subrange#3462076, supplier#3462075, supplierGroup#3462074, supplyingPlant#3462105]
Condition : NOT (isFallbackOrderOnly#3462086 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3461394, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, productGroup#3462106, product#3462077, plant#3462078, subrange#3462076, orderDateTime#3462082, deliveryDateTime#3462083, availabilityDateTime#3462084, nextAvailabilityDateTime#3462085, logisticUnits#3462101, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, splitIndicator#3462069L, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, sourceOfSupplyUuid#3462073, minimumOrderQuantity#3462095, orderProposalItemId#3462065, orderProposalItemGroupId#3462066, optimizationGroups#3462102, measurements#3462094, previousOrderProposal#3462070L, prodLocSpecificKpis#3462870, channelStreamSpecificKpis#3462885, quantityKpis#3462898, arrays_zip(constraintLabels#3462096, constraintOperators#3462097, constraintValues#3462099, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3463312]
Input [39]: [availabilityDateTime#3462084, channelStreamSpecificKpis#3462885, constraintLabels#3462096, constraintOperators#3462097, constraintValues#3462099, deliveryDateTime#3462083, isFallbackOrderOnly#3462086, logisticUnits#3462101, measurements#3462094, minimumOrderQuantity#3462095, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, nextAvailabilityDateTime#3462085, optimizationGroups#3462102, orderDateTime#3462082, orderProposalId#3462064L, orderProposalItemGroupId#3462066, orderProposalItemId#3462065, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, originalReplenishmentRunId#3462067L, plant#3462078, previousOrderProposal#3462070L, prodLocSpecificKpis#3462870, product#3462077, productGroup#3462106, qty#3461908, quantityAfterProdPlantOptimization#3461907, quantityKpis#3462898, shardId#3461394, sourceOfSupplyUuid#3462073, splitIndicator#3462069L, subrange#3462076, supplier#3462075, supplierGroup#3462074, supplyingPlant#3462105]
(55) Project
Output [37]: [shardId#3461394, qty#3461908, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, productGroup#3462106, product#3462077, plant#3462078, subrange#3462076, orderDateTime#3462082, deliveryDateTime#3462083, availabilityDateTime#3462084, nextAvailabilityDateTime#3462085, logisticUnits#3462101, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, splitIndicator#3462069L, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, sourceOfSupplyUuid#3462073, orderProposalItemId#3462065, orderProposalItemGroupId#3462066, optimizationGroups#3462102, measurements#3462094, previousOrderProposal#3462070L, prodLocSpecificKpis#3462870, channelStreamSpecificKpis#3462885, quantityKpis#3462898, struct(minServiceLevel, array_min(filter(constraintStructArray#3463312, lambdafunction((lambda x_11470#3463319.constraintLabels = ServiceLevel), lambda x_11470#3463319, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3463312, lambdafunction((lambda x_11471#3463320.constraintLabels = ServiceLevelMinimumStock), lambda x_11471#3463320, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3463312, lambdafunction((lambda x_11472#3463321.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11472#3463321, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3463312, lambdafunction((lambda x_11473#3463322.constraintLabels = RangeOfCoverage), lambda x_11473#3463322, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3462095, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3462870, lambdafunction((lambda x_11474#3463323.label = NonListingStartTimestamp), lambda x_11474#3463323, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3463318, CASE WHEN (qty#3461908 <=> quantityAfterProdPlantOptimization#3461907) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3461908 * (cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11475#3463391.isOrderUnit, lambda x_11475#3463391, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11475#3463392.isOrderUnit, lambda x_11475#3463392, false)), 1, None, false).numerator as double))), qty#3461908), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11475#3463393.isOrderUnit, lambda x_11475#3463393, false)), 1, None, false).uom, orderQuantityBaseUom#3462087), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11475#3463394.isOrderUnit, lambda x_11475#3463394, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3462088), candidateOrderQuantityInBaseUnit, qty#3461908, orderQuantityBaseUom, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3462088, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3462101, lambdafunction((lambda x_11477#3463395.isPreferred AND (((qty#3461908 * cast(lambda x_11477#3463395.denominator as double)) % cast(lambda x_11477#3463395.numerator as double)) = 0.0)), lambda x_11477#3463395, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3461908 * cast(lambda x_11478#3463436.denominator as double)) / cast(lambda x_11478#3463436.numerator as double)), uom, lambda x_11478#3463436.uom, uomUuid, lambda x_11478#3463436.uomUuid), lambda x_11478#3463436, false))).inPreferredQuantity, coalesce((qty#3461908 * (cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11476#3463396.isOrderUnit, lambda x_11476#3463396, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11476#3463397.isOrderUnit, lambda x_11476#3463397, false)), 1, None, false).numerator as double))), qty#3461908)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3462101, lambdafunction((lambda x_11477#3463398.isPreferred AND (((qty#3461908 * cast(lambda x_11477#3463398.denominator as double)) % cast(lambda x_11477#3463398.numerator as double)) = 0.0)), lambda x_11477#3463398, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3461908 * cast(lambda x_11478#3463437.denominator as double)) / cast(lambda x_11478#3463437.numerator as double)), uom, lambda x_11478#3463437.uom, uomUuid, lambda x_11478#3463437.uomUuid), lambda x_11478#3463437, false))).uom, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11476#3463399.isOrderUnit, lambda x_11476#3463399, false)), 1, None, false).uom, orderQuantityBaseUom#3462087)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3462101, lambdafunction((lambda x_11477#3463400.isPreferred AND (((qty#3461908 * cast(lambda x_11477#3463400.denominator as double)) % cast(lambda x_11477#3463400.numerator as double)) = 0.0)), lambda x_11477#3463400, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3461908 * cast(lambda x_11478#3463438.denominator as double)) / cast(lambda x_11478#3463438.numerator as double)), uom, lambda x_11478#3463438.uom, uomUuid, lambda x_11478#3463438.uomUuid), lambda x_11478#3463438, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11476#3463401.isOrderUnit, lambda x_11476#3463401, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3462088)), serviceLevel, coalesce(filter(element_at(quantityKpis#3462898, qty#3461908, None, false), lambdafunction((lambda x_11483#3463402.label = ServiceLevel), lambda x_11483#3463402, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3461908 * (cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11475#3463406.isOrderUnit, lambda x_11475#3463406, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11475#3463407.isOrderUnit, lambda x_11475#3463407, false)), 1, None, false).numerator as double))), qty#3461908), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11475#3463408.isOrderUnit, lambda x_11475#3463408, false)), 1, None, false).uom, orderQuantityBaseUom#3462087), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11475#3463409.isOrderUnit, lambda x_11475#3463409, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3462088), candidateOrderQuantityInBaseUnit, qty#3461908, orderQuantityBaseUom, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3462088, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3462101, lambdafunction((lambda x_11477#3463410.isPreferred AND (((qty#3461908 * cast(lambda x_11477#3463410.denominator as double)) % cast(lambda x_11477#3463410.numerator as double)) = 0.0)), lambda x_11477#3463410, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3461908 * cast(lambda x_11478#3463439.denominator as double)) / cast(lambda x_11478#3463439.numerator as double)), uom, lambda x_11478#3463439.uom, uomUuid, lambda x_11478#3463439.uomUuid), lambda x_11478#3463439, false))).inPreferredQuantity, coalesce((qty#3461908 * (cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11476#3463411.isOrderUnit, lambda x_11476#3463411, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11476#3463412.isOrderUnit, lambda x_11476#3463412, false)), 1, None, false).numerator as double))), qty#3461908)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3462101, lambdafunction((lambda x_11477#3463413.isPreferred AND (((qty#3461908 * cast(lambda x_11477#3463413.denominator as double)) % cast(lambda x_11477#3463413.numerator as double)) = 0.0)), lambda x_11477#3463413, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3461908 * cast(lambda x_11478#3463440.denominator as double)) / cast(lambda x_11478#3463440.numerator as double)), uom, lambda x_11478#3463440.uom, uomUuid, lambda x_11478#3463440.uomUuid), lambda x_11478#3463440, false))).uom, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11476#3463414.isOrderUnit, lambda x_11476#3463414, false)), 1, None, false).uom, orderQuantityBaseUom#3462087)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3462101, lambdafunction((lambda x_11477#3463415.isPreferred AND (((qty#3461908 * cast(lambda x_11477#3463415.denominator as double)) % cast(lambda x_11477#3463415.numerator as double)) = 0.0)), lambda x_11477#3463415, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3461908 * cast(lambda x_11478#3463441.denominator as double)) / cast(lambda x_11478#3463441.numerator as double)), uom, lambda x_11478#3463441.uom, uomUuid, lambda x_11478#3463441.uomUuid), lambda x_11478#3463441, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11476#3463416.isOrderUnit, lambda x_11476#3463416, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3462088)), serviceLevel, coalesce(filter(element_at(quantityKpis#3462898, qty#3461908, None, false), lambdafunction((lambda x_11487#3463417.label = ServiceLevel), lambda x_11487#3463417, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3461907 * (cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11479#3463421.isOrderUnit, lambda x_11479#3463421, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11479#3463422.isOrderUnit, lambda x_11479#3463422, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3461907), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11479#3463423.isOrderUnit, lambda x_11479#3463423, false)), 1, None, false).uom, orderQuantityBaseUom#3462087), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11479#3463424.isOrderUnit, lambda x_11479#3463424, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3462088), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3461907, orderQuantityBaseUom, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3462088, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3462101, lambdafunction((lambda x_11481#3463425.isPreferred AND (((quantityAfterProdPlantOptimization#3461907 * cast(lambda x_11481#3463425.denominator as double)) % cast(lambda x_11481#3463425.numerator as double)) = 0.0)), lambda x_11481#3463425, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3461907 * cast(lambda x_11482#3463442.denominator as double)) / cast(lambda x_11482#3463442.numerator as double)), uom, lambda x_11482#3463442.uom, uomUuid, lambda x_11482#3463442.uomUuid), lambda x_11482#3463442, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3461907 * (cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11480#3463426.isOrderUnit, lambda x_11480#3463426, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11480#3463427.isOrderUnit, lambda x_11480#3463427, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3461907)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3462101, lambdafunction((lambda x_11481#3463428.isPreferred AND (((quantityAfterProdPlantOptimization#3461907 * cast(lambda x_11481#3463428.denominator as double)) % cast(lambda x_11481#3463428.numerator as double)) = 0.0)), lambda x_11481#3463428, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3461907 * cast(lambda x_11482#3463443.denominator as double)) / cast(lambda x_11482#3463443.numerator as double)), uom, lambda x_11482#3463443.uom, uomUuid, lambda x_11482#3463443.uomUuid), lambda x_11482#3463443, false))).uom, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11480#3463429.isOrderUnit, lambda x_11480#3463429, false)), 1, None, false).uom, orderQuantityBaseUom#3462087)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3462101, lambdafunction((lambda x_11481#3463430.isPreferred AND (((quantityAfterProdPlantOptimization#3461907 * cast(lambda x_11481#3463430.denominator as double)) % cast(lambda x_11481#3463430.numerator as double)) = 0.0)), lambda x_11481#3463430, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3461907 * cast(lambda x_11482#3463444.denominator as double)) / cast(lambda x_11482#3463444.numerator as double)), uom, lambda x_11482#3463444.uom, uomUuid, lambda x_11482#3463444.uomUuid), lambda x_11482#3463444, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11480#3463431.isOrderUnit, lambda x_11480#3463431, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3462088)), serviceLevel, coalesce(filter(element_at(quantityKpis#3462898, quantityAfterProdPlantOptimization#3461907, None, false), lambdafunction((lambda x_11491#3463432.label = ServiceLevel), lambda x_11491#3463432, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3463390, coalesce(filter(prodLocSpecificKpis#3462870, lambdafunction((lambda x_11495#3463446.label = InitialStockQty), lambda x_11495#3463446, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3463445, coalesce(filter(prodLocSpecificKpis#3462870, lambdafunction((lambda x_11496#3463448.label = DemandPeriodEndTimestamp), lambda x_11496#3463448, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3463447]
Input [36]: [shardId#3461394, quantityAfterProdPlantOptimization#3461907, qty#3461908, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, productGroup#3462106, product#3462077, plant#3462078, subrange#3462076, orderDateTime#3462082, deliveryDateTime#3462083, availabilityDateTime#3462084, nextAvailabilityDateTime#3462085, logisticUnits#3462101, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, splitIndicator#3462069L, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, sourceOfSupplyUuid#3462073, minimumOrderQuantity#3462095, orderProposalItemId#3462065, orderProposalItemGroupId#3462066, optimizationGroups#3462102, measurements#3462094, previousOrderProposal#3462070L, prodLocSpecificKpis#3462870, channelStreamSpecificKpis#3462885, quantityKpis#3462898, constraintStructArray#3463312]
(56) Project
Output [21]: [shardId#3461394, qty#3461908, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, productGroup#3462106, product#3462077, plant#3462078, subrange#3462076, orderDateTime#3462082, deliveryDateTime#3462083, logisticUnits#3462101, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, splitIndicator#3462069L, orderProposalItemId#3462065, orderProposalItemGroupId#3462066, previousOrderProposal#3462070L, struct(itemId, orderProposalItemId#3462065, itemGroupId, orderProposalItemGroupId#3462066, supplier, supplier#3462075, supplyingPlant, supplyingPlant#3462105, productGroup, productGroup#3462106, product, product#3462077, plant, plant#3462078, supplierSubRange, subrange#3462076, sourceOfSupplyUuid, sourceOfSupplyUuid#3462073, deliveryDateTime, deliveryDateTime#3462083, unitPrice, netPriceAmount#3462092, unitPriceCurrency, netPriceCurrencyCode#3462093, unitPriceQuantity, ... 37 more fields) AS parentItem#3463521]
Input [37]: [shardId#3461394, qty#3461908, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, productGroup#3462106, product#3462077, plant#3462078, subrange#3462076, orderDateTime#3462082, deliveryDateTime#3462083, availabilityDateTime#3462084, nextAvailabilityDateTime#3462085, logisticUnits#3462101, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, splitIndicator#3462069L, netPriceAmount#3462092, netPriceCurrencyCode#3462093, netPriceQuantity#3462089, netPriceQuantityUom#3462090, netPriceQuantityUomUuid#3462091, sourceOfSupplyUuid#3462073, orderProposalItemId#3462065, orderProposalItemGroupId#3462066, optimizationGroups#3462102, measurements#3462094, previousOrderProposal#3462070L, prodLocSpecificKpis#3462870, channelStreamSpecificKpis#3462885, quantityKpis#3462898, constraintBenchmark#3463318, calculationAnalysis#3463390, inventoryDateTime#3463445, demandPeriodEndDateTime#3463447]
(57) Project
Output [12]: [shardId#3461394, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, orderDateTime#3462082, splitIndicator#3462069L, orderProposalItemGroupId#3462066, previousOrderProposal#3462070L, parentItem#3463521, struct(itemId, orderProposalItemId#3462065, supplier, supplier#3462075, supplyingPlant, supplyingPlant#3462105, productGroup, productGroup#3462106, product, product#3462077, plant, plant#3462078, supplierSubRange, subrange#3462076, deliveryDateTime, deliveryDateTime#3462083, orderQuantity, coalesce((qty#3461908 * (cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11520#3463555.isOrderUnit, lambda x_11520#3463555, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11520#3463556.isOrderUnit, lambda x_11520#3463556, false)), 1, None, false).numerator as double))), qty#3461908), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11520#3463557.isOrderUnit, lambda x_11520#3463557, false)), 1, None, false).uom, orderQuantityBaseUom#3462087), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3462101, lambdafunction(lambda x_11520#3463558.isOrderUnit, lambda x_11520#3463558, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3462088), orderQuantityInBaseUnit, qty#3461908, orderQuantityBaseUom, ... 13 more fields) AS item#3463552]
Input [21]: [shardId#3461394, qty#3461908, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, productGroup#3462106, product#3462077, plant#3462078, subrange#3462076, orderDateTime#3462082, deliveryDateTime#3462083, logisticUnits#3462101, orderQuantityBaseUom#3462087, orderQuantityBaseUomUuid#3462088, splitIndicator#3462069L, orderProposalItemId#3462065, orderProposalItemGroupId#3462066, previousOrderProposal#3462070L, parentItem#3463521]
(58) ObjectHashAggregate
Input [12]: [shardId#3461394, orderProposalId#3462064L, originalReplenishmentRunId#3462067L, supplierGroup#3462074, supplier#3462075, supplyingPlant#3462105, orderDateTime#3462082, splitIndicator#3462069L, orderProposalItemGroupId#3462066, previousOrderProposal#3462070L, parentItem#3463521, item#3463552]
Keys [4]: [shardId#3461394, orderProposalId#3462064L, splitIndicator#3462069L, orderProposalItemGroupId#3462066]
Functions [8]: [partial_max(originalReplenishmentRunId#3462067L), partial_max(supplierGroup#3462074), partial_max(supplier#3462075), partial_max(supplyingPlant#3462105), partial_max(orderDateTime#3462082), partial_collect_list(parentItem#3463521, 0, 0), partial_collect_set(previousOrderProposal#3462070L, 0, 0), partial_collect_list(item#3463552, 0, 0)]
Aggregate Attributes [8]: [max#3464805L, max#3464806, max#3464807, max#3464808, max#3464809, buf#3464810, buf#3464811, buf#3464812]
Results [12]: [shardId#3461394, orderProposalId#3462064L, splitIndicator#3462069L, orderProposalItemGroupId#3462066, max#3464813L, max#3464814, max#3464815, max#3464816, max#3464817, buf#3464818, buf#3464819, buf#3464820]
(59) Exchange
Input [12]: [shardId#3461394, orderProposalId#3462064L, splitIndicator#3462069L, orderProposalItemGroupId#3462066, max#3464813L, max#3464814, max#3464815, max#3464816, max#3464817, buf#3464818, buf#3464819, buf#3464820]
Arguments: hashpartitioning(shardId#3461394, orderProposalId#3462064L, splitIndicator#3462069L, orderProposalItemGroupId#3462066, 30), ENSURE_REQUIREMENTS, [plan_id=995322]
(60) ObjectHashAggregate
Input [12]: [shardId#3461394, orderProposalId#3462064L, splitIndicator#3462069L, orderProposalItemGroupId#3462066, max#3464813L, max#3464814, max#3464815, max#3464816, max#3464817, buf#3464818, buf#3464819, buf#3464820]
Keys [4]: [shardId#3461394, orderProposalId#3462064L, splitIndicator#3462069L, orderProposalItemGroupId#3462066]
Functions [8]: [max(originalReplenishmentRunId#3462067L), max(supplierGroup#3462074), max(supplier#3462075), max(supplyingPlant#3462105), max(orderDateTime#3462082), collect_list(parentItem#3463521, 0, 0), collect_set(previousOrderProposal#3462070L, 0, 0), collect_list(item#3463552, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3462067L)#3463621L, max(supplierGroup#3462074)#3463622, max(supplier#3462075)#3463623, max(supplyingPlant#3462105)#3463624, max(orderDateTime#3462082)#3463625, collect_list(parentItem#3463521, 0, 0)#3463626, collect_set(previousOrderProposal#3462070L, 0, 0)#3463628, collect_list(item#3463552, 0, 0)#3463627]
Results [10]: [shardId#3461394, orderProposalId#3462064L, max(originalReplenishmentRunId#3462067L)#3463621L AS originalReplenishmentRunId#3463569L, max(supplierGroup#3462074)#3463622 AS supplierGroup#3463570, max(supplier#3462075)#3463623 AS supplier#3463571, max(supplyingPlant#3462105)#3463624 AS supplyingPlant#3463572, max(orderDateTime#3462082)#3463625 AS orderDateTime#3463573, collect_list(parentItem#3463521, 0, 0)#3463626 AS parentItems#3463574, collect_set(previousOrderProposal#3462070L, 0, 0)#3463628 AS previousOrderProposals#3463576, struct(itemGroupId, orderProposalItemGroupId#3462066, items, collect_list(item#3463552, 0, 0)#3463627) AS itemGroup#3463630]
(61) ObjectHashAggregate
Input [10]: [shardId#3461394, orderProposalId#3462064L, originalReplenishmentRunId#3463569L, supplierGroup#3463570, supplier#3463571, supplyingPlant#3463572, orderDateTime#3463573, parentItems#3463574, previousOrderProposals#3463576, itemGroup#3463630]
Keys [2]: [shardId#3461394, orderProposalId#3462064L]
Functions [8]: [partial_max(originalReplenishmentRunId#3463569L), partial_max(supplierGroup#3463570), partial_max(supplier#3463571), partial_max(supplyingPlant#3463572), partial_max(orderDateTime#3463573), partial_collect_list(itemGroup#3463630, 0, 0), partial_collect_list(parentItems#3463574, 0, 0), partial_collect_set(previousOrderProposals#3463576, 0, 0)]
Aggregate Attributes [8]: [max#3464789L, max#3464790, max#3464791, max#3464792, max#3464793, buf#3464794, buf#3464795, buf#3464796]
Results [10]: [shardId#3461394, orderProposalId#3462064L, max#3464797L, max#3464798, max#3464799, max#3464800, max#3464801, buf#3464802, buf#3464803, buf#3464804]
(62) Exchange
Input [10]: [shardId#3461394, orderProposalId#3462064L, max#3464797L, max#3464798, max#3464799, max#3464800, max#3464801, buf#3464802, buf#3464803, buf#3464804]
Arguments: hashpartitioning(shardId#3461394, orderProposalId#3462064L, 30), ENSURE_REQUIREMENTS, [plan_id=995325]
(63) ObjectHashAggregate
Input [10]: [shardId#3461394, orderProposalId#3462064L, max#3464797L, max#3464798, max#3464799, max#3464800, max#3464801, buf#3464802, buf#3464803, buf#3464804]
Keys [2]: [shardId#3461394, orderProposalId#3462064L]
Functions [8]: [max(originalReplenishmentRunId#3463569L), max(supplierGroup#3463570), max(supplier#3463571), max(supplyingPlant#3463572), max(orderDateTime#3463573), collect_list(itemGroup#3463630, 0, 0), collect_list(parentItems#3463574, 0, 0), collect_set(previousOrderProposals#3463576, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3463569L)#3463652L, max(supplierGroup#3463570)#3463653, max(supplier#3463571)#3463654, max(supplyingPlant#3463572)#3463655, max(orderDateTime#3463573)#3463656, collect_list(itemGroup#3463630, 0, 0)#3463657, collect_list(parentItems#3463574, 0, 0)#3463658, collect_set(previousOrderProposals#3463576, 0, 0)#3463659]
Results [10]: [shardId#3461394, orderProposalId#3462064L, max(originalReplenishmentRunId#3463569L)#3463652L AS originalReplenishmentRunId#3463631L, max(supplierGroup#3463570)#3463653 AS supplierGroup#3463632, max(supplier#3463571)#3463654 AS supplier#3463633, max(supplyingPlant#3463572)#3463655 AS supplyingPlant#3463634, max(orderDateTime#3463573)#3463656 AS orderDateTime#3463635, collect_list(itemGroup#3463630, 0, 0)#3463657 AS itemGroups#3463636, flatten(collect_list(parentItems#3463574, 0, 0)#3463658) AS parentItems#3463637, flatten(collect_set(previousOrderProposals#3463576, 0, 0)#3463659) AS previousOrderProposals#3463638]
(64) Project
Output [2]: [shardId#3461394, struct(orderProposalId, orderProposalId#3462064L, originalReplenishmentRunId, originalReplenishmentRunId#3463631L, supplierGroup, supplierGroup#3463632, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3463632) THEN supplier#3463633 END, supplyingPlant, supplyingPlant#3463634, orderDateTime, orderDateTime#3463635, itemGroups, itemGroups#3463636, previousOrderProposals, array_distinct(previousOrderProposals#3463638), parentItems, parentItems#3463637) AS orderProposal#3463663]
Input [10]: [shardId#3461394, orderProposalId#3462064L, originalReplenishmentRunId#3463631L, supplierGroup#3463632, supplier#3463633, supplyingPlant#3463634, orderDateTime#3463635, itemGroups#3463636, parentItems#3463637, previousOrderProposals#3463638]
(65) Project
Output [11]: [shardId#3461394, orderProposal#3463663.orderProposalId AS _extract_orderProposalId#3464421L, orderProposal#3463663.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3464422L, orderProposal#3463663.supplierGroup AS _extract_supplierGroup#3464423, orderProposal#3463663.supplier AS _extract_supplier#3464424, orderProposal#3463663.supplyingPlant AS _extract_supplyingPlant#3464425, orderProposal#3463663.orderDateTime AS _extract_orderDateTime#3464426, orderProposal#3463663.itemGroups AS _extract_itemGroups#3464427, orderProposal#3463663.previousOrderProposals AS _extract_previousOrderProposals#3464428, orderProposal#3463663.parentItems AS _extract_parentItems#3464429, orderProposal#3463663.orderProposalId AS _extract_orderProposalId#3464430L]
Input [2]: [shardId#3461394, orderProposal#3463663]
(66) Exchange
Input [11]: [shardId#3461394, _extract_orderProposalId#3464421L, _extract_originalReplenishmentRunId#3464422L, _extract_supplierGroup#3464423, _extract_supplier#3464424, _extract_supplyingPlant#3464425, _extract_orderDateTime#3464426, _extract_itemGroups#3464427, _extract_previousOrderProposals#3464428, _extract_parentItems#3464429, _extract_orderProposalId#3464430L]
Arguments: hashpartitioning(coalesce(shardId#3461394, ), isnull(shardId#3461394), coalesce(_extract_orderProposalId#3464430L, 0), isnull(_extract_orderProposalId#3464430L), 30), ENSURE_REQUIREMENTS, [plan_id=995329]
(67) Sort
Input [11]: [shardId#3461394, _extract_orderProposalId#3464421L, _extract_originalReplenishmentRunId#3464422L, _extract_supplierGroup#3464423, _extract_supplier#3464424, _extract_supplyingPlant#3464425, _extract_orderDateTime#3464426, _extract_itemGroups#3464427, _extract_previousOrderProposals#3464428, _extract_parentItems#3464429, _extract_orderProposalId#3464430L]
Arguments: [coalesce(shardId#3461394, ) ASC NULLS FIRST, isnull(shardId#3461394) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3464430L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3464430L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3463678, orderProposalId#3463679L, optimizationGroups#3463681]
Arguments: [shardId#3463678, orderProposalId#3463679L, optimizationGroups#3463681], [isnotnull(orderProposalId#3463679L)]
(69) InMemoryRelation
Arguments: [shardId#3463678, orderProposalId#3463679L, items#3463680, optimizationGroups#3463681, isOptimal#3463682, optimizationInsights#3463684], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3463678, orderProposalId#3463679L, optimizationGroups#3463681]
Condition : isnotnull(orderProposalId#3463679L)
(71) Exchange
Input [3]: [shardId#3463678, orderProposalId#3463679L, optimizationGroups#3463681]
Arguments: hashpartitioning(orderProposalId#3463679L, 30), ENSURE_REQUIREMENTS, [plan_id=995334]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3463678, orderProposalId#3463679L, optimizationGroups#3463681]
Arguments: [orderProposalId#3463679L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3463307, shardId#3463305]
Arguments: [items#3463307, shardId#3463305], [(size(items#3463307.worklistShardItemId, true) > 0), isnotnull(items#3463307.worklistShardItemId), (shardId#3463305 = 0_5_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3463305, orderProposalId#3463306L, items#3463307, optimizationGroups#3463308, isOptimal#3463309, optimizationInsights#3463311], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3463307, shardId#3463305]
Condition : (((size(items#3463307.worklistShardItemId, true) > 0) AND isnotnull(items#3463307.worklistShardItemId)) AND (shardId#3463305 = 0_5_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3463307.worklistShardItemId AS _extract_worklistShardItemId#3464326]
Input [2]: [items#3463307, shardId#3463305]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3464326]
Arguments: explode(_extract_worklistShardItemId#3464326), false, [item#3463685L]
(78) Project [codegen id : 4]
Output [1]: [item#3463685L AS worklistShardItemId#3463686L]
Input [1]: [item#3463685L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3463686L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=995345]
(80) Scan parquet
Output [5]: [orderProposalId#3463734L, isFallbackOrderOnly#3463751, worklistShardItemId#3463757L, shardId#3463778, sequenceId#3463756]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000532]
PartitionFilters: [isnotnull(shardId#3463778), isnotnull(sequenceId#3463756), (shardId#3463778 = 0_5_10000000532), (sequenceId#3463756 = 4)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(81) ColumnarToRow [codegen id : 5]
Input [5]: [orderProposalId#3463734L, isFallbackOrderOnly#3463751, worklistShardItemId#3463757L, shardId#3463778, sequenceId#3463756]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3463734L, isFallbackOrderOnly#3463751, worklistShardItemId#3463757L, shardId#3463778, sequenceId#3463756]
Condition : ((isnotnull(worklistShardItemId#3463757L) AND NOT (isFallbackOrderOnly#3463751 <=> true)) AND isnotnull(orderProposalId#3463734L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3463734L, worklistShardItemId#3463757L]
Input [5]: [orderProposalId#3463734L, isFallbackOrderOnly#3463751, worklistShardItemId#3463757L, shardId#3463778, sequenceId#3463756]
(84) Exchange
Input [2]: [orderProposalId#3463734L, worklistShardItemId#3463757L]
Arguments: hashpartitioning(worklistShardItemId#3463757L, 30), REPARTITION_BY_NUM, [plan_id=995352]
(85) Project
Output [2]: [worklistShardItemId#3463757L, orderProposalId#3463734L]
Input [2]: [orderProposalId#3463734L, worklistShardItemId#3463757L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3463686L]
Right keys [1]: [worklistShardItemId#3463757L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3463734L]
Input [3]: [worklistShardItemId#3463686L, worklistShardItemId#3463757L, orderProposalId#3463734L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3463734L]
Keys [1]: [orderProposalId#3463734L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3463734L]
(89) Exchange
Input [1]: [orderProposalId#3463734L]
Arguments: hashpartitioning(orderProposalId#3463734L, 30), ENSURE_REQUIREMENTS, [plan_id=995359]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3463734L]
Keys [1]: [orderProposalId#3463734L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3463734L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3463734L]
Arguments: [orderProposalId#3463734L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3463679L]
Right keys [1]: [orderProposalId#3463734L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3463679L, shardId#3463678, coalesce(transform(optimizationGroups#3463681, lambdafunction(struct(optGroupId, lambda x_11524#3463676.optGroupId, minOrderProfile, lambda x_11524#3463676.minOrderProfile, assignmentDetails, lambda x_11524#3463676.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11524#3463676.minOrderGoal.dimensionType, unit, lambda x_11524#3463676.minOrderGoal.unit, unitUuid, lambda x_11524#3463676.minOrderGoal.unitUuid, goalValue, lambda x_11524#3463676.minOrderGoal.minOrderValue, calcValue, lambda x_11524#3463676.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11524#3463676, false)), []) AS optimizationGroups#3463675]
Input [4]: [shardId#3463678, orderProposalId#3463679L, optimizationGroups#3463681, orderProposalId#3463734L]
(94) Exchange
Input [3]: [orderProposalId#3463679L, shardId#3463678, optimizationGroups#3463675]
Arguments: hashpartitioning(coalesce(shardId#3463678, ), isnull(shardId#3463678), coalesce(orderProposalId#3463679L, 0), isnull(orderProposalId#3463679L), 30), ENSURE_REQUIREMENTS, [plan_id=995368]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3463679L, shardId#3463678, optimizationGroups#3463675]
Arguments: [coalesce(shardId#3463678, ) ASC NULLS FIRST, isnull(shardId#3463678) ASC NULLS FIRST, coalesce(orderProposalId#3463679L, 0) ASC NULLS FIRST, isnull(orderProposalId#3463679L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3461394, ), isnull(shardId#3461394), coalesce(_extract_orderProposalId#3464430L, 0), isnull(_extract_orderProposalId#3464430L)]
Right keys [4]: [coalesce(shardId#3463678, ), isnull(shardId#3463678), coalesce(orderProposalId#3463679L, 0), isnull(orderProposalId#3463679L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3461394, named_struct(orderProposalId, _extract_orderProposalId#3464430L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3464422L, supplierGroup, _extract_supplierGroup#3464423, optimizationGroups, coalesce(optimizationGroups#3463675, []), supplier, _extract_supplier#3464424, supplyingPlant, _extract_supplyingPlant#3464425, orderDateTime, _extract_orderDateTime#3464426, itemGroups, _extract_itemGroups#3464427, previousOrderProposals, _extract_previousOrderProposals#3464428, parentItems, _extract_parentItems#3464429) AS orderProposal#3463782]
Input [14]: [shardId#3461394, _extract_orderProposalId#3464421L, _extract_originalReplenishmentRunId#3464422L, _extract_supplierGroup#3464423, _extract_supplier#3464424, _extract_supplyingPlant#3464425, _extract_orderDateTime#3464426, _extract_itemGroups#3464427, _extract_previousOrderProposals#3464428, _extract_parentItems#3464429, _extract_orderProposalId#3464430L, orderProposalId#3463679L, shardId#3463678, optimizationGroups#3463675]
(98) Filter
Input [1]: [orderProposal#3463782]
Condition : (size(orderProposal#3463782.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3463782.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3465201]
Input [1]: [orderProposal#3463782]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3465201]
Arguments: explode(_extract_deliveryDateTime#3465201), false, [numberOfOrderProposalItems#3465173]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3465173]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3465212L]
Results [1]: [count#3465213L]
(103) Exchange
Input [1]: [count#3465213L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=995495]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3465213L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3465178L]
Results [1]: [count(1)#3465178L AS count#3465174L]