digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 1 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 20<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 20<br>local bytes read: 750.0 B<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>320.0 B (16.0 B, 16.0 B, 16.0 B (stage 64626.0: task 161602))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 64626.0: task 161601))<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: 750.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>1500.0 B (75.0 B, 75.0 B, 75.0 B (stage 64626.0: task 161602))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=309272]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n30 ms (0 ms, 3 ms, 3 ms (stage 64626.0: task 161602))";
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>20 ms (0 ms, 2 ms, 2 ms (stage 64626.0: task 161602))<br>number of output rows: 20" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 980" tooltip="Generate explode(_extract_deliveryDateTime#781364), false, [numberOfOrderProposalItems#781336]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#779945.parentItems.deliveryDateTime AS _extract_deliveryDateTime#781364]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter (size(orderProposal#779945.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 59" tooltip="InMemoryTableScan [orderProposal#779945], [(size(orderProposal#779945.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, named_struct(orderProposalId, _extract_orderProposalId#780593L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#780585L, supplierGroup, _extract_supplierGroup#780586, optimizationGroups, coalesce(optimizationGroups#779838, []), supplier, _extract_supplier#780587, supplyingPlant, _extract_supplyingPlant#780588, orderDateTime, _extract_orderDateTime#780589, itemGroups, _extract_itemGroups#780590, previousOrderProposals, _extract_previousOrderProposals#780591, parentItems, _extract_parentItems#780592) AS orderProposal#779945]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 59<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64626.0: task 161602))" tooltip="SortMergeJoin [coalesce(shardId#777607, ), isnull(shardId#777607), coalesce(_extract_orderProposalId#780593L, 0), isnull(_extract_orderProposalId#780593L)], [coalesce(shardId#779841, ), isnull(shardId#779841), coalesce(orderProposalId#779842L, 0), isnull(orderProposalId#779842L)], 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 64626.0: task 161602))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 64626.0: task 161602))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64626.0: task 161602))" tooltip="Sort [coalesce(shardId#777607, ) ASC NULLS FIRST, isnull(shardId#777607) ASC NULLS FIRST, coalesce(_extract_orderProposalId#780593L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#780593L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 59<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 59<br>local bytes read total (min, med, max (stageId: taskId))<br>193.3 KiB (1143.0 B, 11.8 KiB, 25.6 KiB (stage 64626.0: task 161615))<br>merged fetch fallback count: 0<br>local blocks read: 35<br>remote merged chunks fetched: 0<br>remote blocks read: 21<br>data size total (min, med, max (stageId: taskId))<br>1966.2 KiB (2.2 KiB, 85.3 KiB, 297.1 KiB (stage 64624.0: task 161581))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>10 ms (0 ms, 0 ms, 0 ms (stage 64624.0: task 161581))<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 64626.0: task 161602))<br>remote bytes read total (min, med, max (stageId: taskId))<br>92.8 KiB (2.0 KiB, 6.6 KiB, 19.6 KiB (stage 64626.0: task 161612))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 1 ms (stage 64626.0: task 161614))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>286.1 KiB (1143.0 B, 13.6 KiB, 41.8 KiB (stage 64624.0: task 161581))" tooltip="Exchange hashpartitioning(coalesce(shardId#777607, ), isnull(shardId#777607), coalesce(_extract_orderProposalId#780593L, 0), isnull(_extract_orderProposalId#780593L), 20), ENSURE_REQUIREMENTS, [plan_id=309121]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, orderProposal#779818.orderProposalId AS _extract_orderProposalId#780584L, orderProposal#779818.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#780585L, orderProposal#779818.supplierGroup AS _extract_supplierGroup#780586, orderProposal#779818.supplier AS _extract_supplier#780587, orderProposal#779818.supplyingPlant AS _extract_supplyingPlant#780588, orderProposal#779818.orderDateTime AS _extract_orderDateTime#780589, orderProposal#779818.itemGroups AS _extract_itemGroups#780590, orderProposal#779818.previousOrderProposals AS _extract_previousOrderProposals#780591, orderProposal#779818.parentItems AS _extract_parentItems#780592, orderProposal#779818.orderProposalId AS _extract_orderProposalId#780593L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, struct(orderProposalId, orderProposalId#778277L, originalReplenishmentRunId, originalReplenishmentRunId#779786L, supplierGroup, supplierGroup#779787, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#779787) THEN supplier#779788 END, supplyingPlant, supplyingPlant#779789, orderDateTime, orderDateTime#779790, itemGroups, itemGroups#779791, previousOrderProposals, array_distinct(previousOrderProposals#779793), parentItems, parentItems#779792) AS orderProposal#779818]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 59<br>time in aggregation build total (min, med, max (stageId: taskId))<br>482 ms (0 ms, 37 ms, 43 ms (stage 64624.0: task 161585))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64624.0: task 161588))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#777607, orderProposalId#778277L], functions=[max(originalReplenishmentRunId#779724L), max(supplierGroup#779725), max(supplier#779726), max(supplyingPlant#779727), max(orderDateTime#779728), collect_list(itemGroup#779785, 0, 0), collect_list(parentItems#779729, 0, 0), collect_set(previousOrderProposals#779731, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 78<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 78<br>local bytes read total (min, med, max (stageId: taskId))<br>209.7 KiB (1204.0 B, 8.3 KiB, 26.2 KiB (stage 64624.0: task 161581))<br>merged fetch fallback count: 0<br>local blocks read: 49<br>remote merged chunks fetched: 0<br>remote blocks read: 24<br>data size total (min, med, max (stageId: taskId))<br>1978.5 KiB (24.4 KiB, 99.7 KiB, 189.1 KiB (stage 64623.0: task 161567))<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>11 ms (0 ms, 0 ms, 0 ms (stage 64623.0: task 161567))<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 64624.0: task 161588))<br>remote bytes read total (min, med, max (stageId: taskId))<br>80.9 KiB (1185.0 B, 5.8 KiB, 13.9 KiB (stage 64624.0: task 161581))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 1 ms (stage 64624.0: task 161580))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>290.6 KiB (3.8 KiB, 15.3 KiB, 29.0 KiB (stage 64623.0: task 161575))" tooltip="Exchange hashpartitioning(shardId#777607, orderProposalId#778277L, 20), ENSURE_REQUIREMENTS, [plan_id=309117]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 78<br>time in aggregation build total (min, med, max (stageId: taskId))<br>274 ms (2 ms, 24 ms, 26 ms (stage 64623.0: task 161551))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64623.0: task 161551))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#777607, orderProposalId#778277L], functions=[partial_max(originalReplenishmentRunId#779724L), partial_max(supplierGroup#779725), partial_max(supplier#779726), partial_max(supplyingPlant#779727), partial_max(orderDateTime#779728), partial_collect_list(itemGroup#779785, 0, 0), partial_collect_list(parentItems#779729, 0, 0), partial_collect_set(previousOrderProposals#779731, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 78<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.2 s (7 ms, 98 ms, 111 ms (stage 64623.0: task 161552))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64623.0: task 161551))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#777607, orderProposalId#778277L, splitIndicator#778282L, orderProposalItemGroupId#778279], functions=[max(originalReplenishmentRunId#778280L), max(supplierGroup#778287), max(supplier#778288), max(supplyingPlant#778318), max(orderDateTime#778295), collect_list(parentItem#779676, 0, 0), collect_set(previousOrderProposal#778283L, 0, 0), collect_list(item#779707, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 649<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 649<br>local bytes read total (min, med, max (stageId: taskId))<br>317.3 KiB (3.0 KiB, 17.7 KiB, 25.1 KiB (stage 64623.0: task 161575))<br>merged fetch fallback count: 0<br>local blocks read: 163<br>remote merged chunks fetched: 0<br>remote blocks read: 169<br>data size total (min, med, max (stageId: taskId))<br>2.1 MiB (85.6 KiB, 108.4 KiB, 129.3 KiB (stage 64622.0: task 161520))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>21 ms (0 ms, 1 ms, 1 ms (stage 64622.0: task 161523))<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 64623.0: task 161551))<br>remote bytes read total (min, med, max (stageId: taskId))<br>313.9 KiB (6.4 KiB, 15.6 KiB, 28.4 KiB (stage 64623.0: task 161567))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>21 ms (1 ms, 1 ms, 2 ms (stage 64623.0: task 161566))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>631.2 KiB (26.7 KiB, 32.0 KiB, 36.6 KiB (stage 64622.0: task 161520))" tooltip="Exchange hashpartitioning(shardId#777607, orderProposalId#778277L, splitIndicator#778282L, orderProposalItemGroupId#778279, 20), ENSURE_REQUIREMENTS, [plan_id=309114]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 649<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.3 s (7 ms, 112 ms, 125 ms (stage 64622.0: task 161520))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64622.0: task 161512))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#777607, orderProposalId#778277L, splitIndicator#778282L, orderProposalItemGroupId#778279], functions=[partial_max(originalReplenishmentRunId#778280L), partial_max(supplierGroup#778287), partial_max(supplier#778288), partial_max(supplyingPlant#778318), partial_max(orderDateTime#778295), partial_collect_list(parentItem#779676, 0, 0), partial_collect_set(previousOrderProposal#778283L, 0, 0), partial_collect_list(item#779707, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, orderDateTime#778295, splitIndicator#778282L, orderProposalItemGroupId#778279, previousOrderProposal#778283L, parentItem#779676, struct(itemId, orderProposalItemId#778278, supplier, supplier#778288, supplyingPlant, supplyingPlant#778318, productGroup, productGroup#778319, product, product#778290, plant, plant#778291, supplierSubRange, subrange#778289, deliveryDateTime, deliveryDateTime#778296, orderQuantity, coalesce((qty#778121 * (cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2061#779710.isOrderUnit, lambda x_2061#779710, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2061#779711.isOrderUnit, lambda x_2061#779711, false)), 1, None, false).numerator as double))), qty#778121), orderQuantityUom, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2061#779712.isOrderUnit, lambda x_2061#779712, false)), 1, None, false).uom, orderQuantityBaseUom#778300), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2061#779713.isOrderUnit, lambda x_2061#779713, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#778301), orderQuantityInBaseUnit, qty#778121, orderQuantityBaseUom, ... 13 more fields) AS item#779707]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, qty#778121, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, productGroup#778319, product#778290, plant#778291, subrange#778289, orderDateTime#778295, deliveryDateTime#778296, logisticUnits#778314, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, splitIndicator#778282L, orderProposalItemId#778278, orderProposalItemGroupId#778279, previousOrderProposal#778283L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#778288, supplyingPlant, supplyingPlant#778318, productGroup, productGroup#778319, product, product#778290, plant, plant#778291, supplierSubRange, subrange#778289, sourceOfSupplyUuid, sourceOfSupplyUuid#778286, deliveryDateTime, deliveryDateTime#778296, unitPrice, netPriceAmount#778305, unitPriceCurrency, netPriceCurrencyCode#778306, unitPriceQuantity, ... 37 more fields) AS parentItem#779676]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, qty#778121, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, productGroup#778319, product#778290, plant#778291, subrange#778289, orderDateTime#778295, deliveryDateTime#778296, availabilityDateTime#778297, nextAvailabilityDateTime#778298, logisticUnits#778314, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, splitIndicator#778282L, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, sourceOfSupplyUuid#778286, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n3.4 s (40 ms, 285 ms, 293 ms (stage 64622.0: task 161520))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, productGroup#778319, product#778290, plant#778291, subrange#778289, orderDateTime#778295, deliveryDateTime#778296, availabilityDateTime#778297, nextAvailabilityDateTime#778298, logisticUnits#778314, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, splitIndicator#778282L, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter NOT (isFallbackOrderOnly#778299 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 980" tooltip="InMemoryTableScan [availabilityDateTime#778297, channelStreamSpecificKpis#779038, constraintLabels#778309, constraintOperators#778310, constraintValues#778312, deliveryDateTime#778296, isFallbackOrderOnly#778299, logisticUnits#778314, measurements#778307, minimumOrderQuantity#778308, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, nextAvailabilityDateTime#778298, optimizationGroups#778315, orderDateTime#778295, orderProposalId#778277L, orderProposalItemGroupId#778279, orderProposalItemId#778278, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, originalReplenishmentRunId#778280L, plant#778291, ... 14 more fields], [NOT (isFallbackOrderOnly#778299 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n630 ms (14 ms, 42 ms, 45 ms (stage 64622.0: task 161520))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 980<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64622.0: task 161512))" tooltip="SortMergeJoin [shardId#777607, worklistShardItemId#778119L], [shardId#779045, worklistShardItemId#779046L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (23 ms, 225 ms, 237 ms (stage 64622.0: task 161520))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 980<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64622.0: task 161512))" tooltip="SortMergeJoin [shardId#777607, worklistShardItemId#778119L], [shardId#779032, worklistShardItemId#779033L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n4.5 s (32 ms, 411 ms, 423 ms (stage 64622.0: task 161520))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 980<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64622.0: task 161512))" tooltip="SortMergeJoin [shardId#777607, worklistShardItemId#778119L], [shardId#779016, worklistShardItemId#779017L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n6.3 s (35 ms, 589 ms, 596 ms (stage 64622.0: task 161520))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 64622.0: task 161522))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 64622.0: task 161522))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64622.0: task 161522))" tooltip="Sort [shardId#777607 ASC NULLS FIRST, worklistShardItemId#778119L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>314.5 KiB (6.9 KiB, 18.5 KiB, 27.9 KiB (stage 64622.0: task 161520))<br>merged fetch fallback count: 0<br>local blocks read: 178<br>remote merged chunks fetched: 0<br>remote blocks read: 180<br>data size total (min, med, max (stageId: taskId))<br>1282.4 KiB (45.1 KiB, 67.8 KiB, 88.2 KiB (stage 64619.0: task 161481))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>21 ms (0 ms, 1 ms, 1 ms (stage 64619.0: task 161485))<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 64622.0: task 161522))<br>remote bytes read total (min, med, max (stageId: taskId))<br>296.6 KiB (3.9 KiB, 20.8 KiB, 25.9 KiB (stage 64622.0: task 161511))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>22 ms (0 ms, 1 ms, 3 ms (stage 64622.0: task 161530))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>611.1 KiB (23.4 KiB, 31.2 KiB, 39.0 KiB (stage 64619.0: task 161481))" tooltip="Exchange hashpartitioning(shardId#777607, worklistShardItemId#778119L, 20), ENSURE_REQUIREMENTS, [plan_id=308833]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n216 ms (4 ms, 13 ms, 19 ms (stage 64619.0: task 161480))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 980<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64619.0: task 161482))" tooltip="SortMergeJoin [worklistShardItemId#778119L], [worklistShardItemId#778343L], LeftOuter, (shardId#777607 = 0_1_10000002108)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (5 ms, 239 ms, 254 ms (stage 64619.0: task 161481))";
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 64619.0: task 161482))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 64619.0: task 161482))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64619.0: task 161482))" tooltip="Sort [worklistShardItemId#778119L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>19.2 KiB (777.0 B, 1001.0 B, 1256.0 B (stage 64619.0: task 161504))<br>merged fetch fallback count: 0<br>local blocks read: 162<br>remote merged chunks fetched: 0<br>remote blocks read: 170<br>data size total (min, med, max (stageId: taskId))<br>53.6 KiB (392.0 B, 2.6 KiB, 6.8 KiB (stage 64616.0: task 161391))<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>18 ms (0 ms, 0 ms, 1 ms (stage 64616.0: task 161391))<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 64619.0: task 161482))<br>remote bytes read total (min, med, max (stageId: taskId))<br>20.8 KiB (826.0 B, 1098.0 B, 1278.0 B (stage 64619.0: task 161481))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>15 ms (0 ms, 1 ms, 2 ms (stage 64619.0: task 161498))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>40.0 KiB (700.0 B, 2.0 KiB, 2.9 KiB (stage 64616.0: task 161391))" tooltip="Exchange hashpartitioning(worklistShardItemId#778119L, 20), ENSURE_REQUIREMENTS, [plan_id=308814]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n161 ms (1 ms, 2 ms, 84 ms (stage 64616.0: task 161361))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#777607, item#778118.worklistShardItemId AS worklistShardItemId#778119L, item#778118.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#778120, item#778118.qty AS qty#778121]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 980" tooltip="Generate explode(items#777609), [shardId#777607], false, [item#778118]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter ((size(items#777609, true) > 0) AND isnotnull(items#777609))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 59" tooltip="InMemoryTableScan [shardId#777607, items#777609], [(size(items#777609, true) > 0), isnotnull(items#777609)]"];
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#777607) AND (shardId#777607 = 0_1_10000002108))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, optimizationInsights#777613], [isnotnull(shardId#777607), (shardId#777607 = 0_1_10000002108)]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
56 [id="node56" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#777607) AND (shardId#777607 = 0_1_10000002108))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#777607,orderProposalId#777608L,items#777609,optimizationGroups#777610,isOptimal#777611,lastModified#777612,optimizationInsights#777613]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (5 ms, 130 ms, 136 ms (stage 64619.0: task 161481))";
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 64619.0: task 161482))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 64619.0: task 161482))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64619.0: task 161482))" tooltip="Sort [worklistShardItemId#778343L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#778343L, orderProposalId#778320L, orderProposalItemId#778321, orderProposalItemGroupId#778344, originalReplenishmentRunId#778362L, splitIndicator#778339L, previousOrderProposal#778340L, sourceOfSupplyUuid#778334, supplierGroup#778322, supplier#778323, subrange#778326, product#778329, plant#778324, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, isFallbackOrderOnly#778337, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, netPriceAmount#778356, netPriceCurrencyCode#778357, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>397.2 KiB (3.6 KiB, 25.1 KiB, 29.9 KiB (stage 64619.0: task 161481))<br>merged fetch fallback count: 0<br>local blocks read: 267<br>remote merged chunks fetched: 0<br>remote blocks read: 158<br>data size total (min, med, max (stageId: taskId))<br>1244.1 KiB (33.9 KiB, 49.8 KiB, 61.0 KiB (stage 64617.0: task 161406))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>22 ms (0 ms, 0 ms, 1 ms (stage 64617.0: task 161367))<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 64619.0: task 161482))<br>remote bytes read total (min, med, max (stageId: taskId))<br>239.1 KiB (6.8 KiB, 8.6 KiB, 25.0 KiB (stage 64619.0: task 161480))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>17 ms (0 ms, 1 ms, 2 ms (stage 64619.0: task 161482))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>636.4 KiB (18.5 KiB, 25.9 KiB, 31.1 KiB (stage 64617.0: task 161362))" tooltip="Exchange hashpartitioning(worklistShardItemId#778343L, 20), REPARTITION_BY_NUM, [plan_id=308824]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (78 ms, 92 ms, 201 ms (stage 64617.0: task 161367))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#778320L, orderProposalItemId#778321, supplierGroup#778322, supplier#778323, plant#778324, deliveryDateTime#778325, subrange#778326, supplyingPlant#778327, productGroup#778328, product#778329, orderDateTime#778330, availabilityDateTime#778331, nextAvailabilityDateTime#778332, sourceOfSupplyUuid#778334, isFallbackOrderOnly#778337, splitIndicator#778339L, previousOrderProposal#778340L, worklistShardItemId#778343L, orderProposalItemGroupId#778344, externalProductId#778345, externalPlantId#778346, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, minimumOrderQuantity#778350, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter isnotnull(worklistShardItemId#778343L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 980<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
66 [id="node66" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 25<br>scan time total (min, med, max (stageId: taskId))<br>2.2 s (76 ms, 89 ms, 103 ms (stage 64617.0: task 161367))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 674.0 KiB<br>number of output rows: 980<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#778320L,orderProposalItemId#778321,supplierGroup#778322,supplier#778323,plant#778324,deliveryDateTime#778325,subrange#778326,supplyingPlant#778327,productGroup#778328,product#778329,orderDateTime#778330,availabilityDateTime#778331,nextAvailabilityDateTime#778332,sourceOfSupplyUuid#778334,isFallbackOrderOnly#778337,splitIndicator#778339L,previousOrderProposal#778340L,worklistShardItemId#778343L,orderProposalItemGroupId#778344,externalProductId#778345,externalPlantId#778346,logisticUnits#778347,orderQuantityBaseUom#778348,orderQuantityBaseUomUuid#778349,minimumOrderQuantity#778350,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#778343L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#778364), isnotnull(sequenceId#778342), (shardId#778364 = 0_1_10000002108), (se..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster67 {
isCluster="true";
id="cluster67";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (16 ms, 242 ms, 247 ms (stage 64622.0: task 161522))";
tooltip="WholeStageCodegen (8)";
68 [id="node68" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 64622.0: task 161522))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 64622.0: task 161522))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64622.0: task 161522))" tooltip="Sort [shardId#779016 ASC NULLS FIRST, worklistShardItemId#779017L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>137.6 KiB (2.9 KiB, 8.8 KiB, 11.6 KiB (stage 64622.0: task 161535))<br>merged fetch fallback count: 0<br>local blocks read: 184<br>remote merged chunks fetched: 0<br>remote blocks read: 182<br>data size total (min, med, max (stageId: taskId))<br>1025.9 KiB (41.9 KiB, 52.3 KiB, 63.9 KiB (stage 64618.0: task 161356))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>22 ms (0 ms, 1 ms, 1 ms (stage 64618.0: task 161353))<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 64622.0: task 161522))<br>remote bytes read total (min, med, max (stageId: taskId))<br>140.4 KiB (1781.0 B, 9.2 KiB, 11.7 KiB (stage 64622.0: task 161513))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>28 ms (1 ms, 1 ms, 3 ms (stage 64622.0: task 161533))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>278.0 KiB (11.9 KiB, 13.9 KiB, 15.4 KiB (stage 64618.0: task 161352))" tooltip="Exchange hashpartitioning(shardId#779016, worklistShardItemId#779017L, 20), ENSURE_REQUIREMENTS, [plan_id=308839]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n497 ms (6 ms, 8 ms, 77 ms (stage 64618.0: task 161359))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#779016, worklistShardItemId#779017L, coalesce(kpis#779021, []) AS prodLocSpecificKpis#779022]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter (((isnull(qty#779018) AND isnull(demandChannel#779019)) AND isnull(demandStream#779020)) AND (isnotnull(shardId#779016) AND isnotnull(worklistShardItemId#779017L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 4,129" tooltip="Scan ExistingRDD[shardId#779016,worklistShardItemId#779017L,qty#779018,demandChannel#779019,demandStream#779020,kpis#779021]"];
}
subgraph cluster74 {
isCluster="true";
id="cluster74";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n1.7 s (13 ms, 152 ms, 158 ms (stage 64622.0: task 161520))";
tooltip="WholeStageCodegen (11)";
75 [id="node75" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 64622.0: task 161522))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 64622.0: task 161522))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64622.0: task 161522))" tooltip="Sort [shardId#779032 ASC NULLS FIRST, worklistShardItemId#779033L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 966<br>time in aggregation build total (min, med, max (stageId: taskId))<br>291 ms (3 ms, 25 ms, 27 ms (stage 64622.0: task 161522))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64622.0: task 161512))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#779032, worklistShardItemId#779033L], functions=[collect_list(struct(demandChannel, demandChannel#779035, demandStream, demandStream#779036, kpis, kpis#779037), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 966<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 966<br>local bytes read total (min, med, max (stageId: taskId))<br>66.1 KiB (2.1 KiB, 3.2 KiB, 4.4 KiB (stage 64622.0: task 161531))<br>merged fetch fallback count: 0<br>local blocks read: 180<br>remote merged chunks fetched: 0<br>remote blocks read: 176<br>data size total (min, med, max (stageId: taskId))<br>392.4 KiB (14.6 KiB, 19.9 KiB, 22.8 KiB (stage 64620.0: task 161424))<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>18 ms (0 ms, 0 ms, 1 ms (stage 64620.0: task 161387))<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 64622.0: task 161522))<br>remote bytes read total (min, med, max (stageId: taskId))<br>64.7 KiB (1938.0 B, 3.1 KiB, 4.5 KiB (stage 64622.0: task 161535))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>31 ms (1 ms, 1 ms, 3 ms (stage 64622.0: task 161533))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>130.9 KiB (5.9 KiB, 6.5 KiB, 7.3 KiB (stage 64620.0: task 161387))" tooltip="Exchange hashpartitioning(shardId#779032, worklistShardItemId#779033L, 20), ENSURE_REQUIREMENTS, [plan_id=308850]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 966<br>time in aggregation build total (min, med, max (stageId: taskId))<br>112 ms (4 ms, 4 ms, 21 ms (stage 64620.0: task 161363))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64620.0: task 161363))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#779032, worklistShardItemId#779033L], functions=[partial_collect_list(struct(demandChannel, demandChannel#779035, demandStream, demandStream#779036, kpis, kpis#779037), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n112 ms (4 ms, 4 ms, 21 ms (stage 64620.0: task 161363))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#779032, worklistShardItemId#779033L, demandChannel#779035, demandStream#779036, kpis#779037]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 966" tooltip="Filter ((((isnull(qty#779034) AND isnotnull(demandChannel#779035)) AND isnotnull(demandStream#779036)) AND (size(kpis#779037, true) > 0)) AND (isnotnull(shardId#779032) AND isnotnull(worklistShardItemId#779033L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 4,129" tooltip="Scan ExistingRDD[shardId#779032,worklistShardItemId#779033L,qty#779034,demandChannel#779035,demandStream#779036,kpis#779037]"];
}
subgraph cluster83 {
isCluster="true";
id="cluster83";
label="WholeStageCodegen (14)\n \nduration: total (min, med, max (stageId: taskId))\n727 ms (7 ms, 61 ms, 65 ms (stage 64622.0: task 161520))";
tooltip="WholeStageCodegen (14)";
84 [id="node84" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 64622.0: task 161522))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 64622.0: task 161522))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64622.0: task 161522))" tooltip="Sort [shardId#779045 ASC NULLS FIRST, worklistShardItemId#779046L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 980<br>time in aggregation build total (min, med, max (stageId: taskId))<br>297 ms (3 ms, 25 ms, 27 ms (stage 64622.0: task 161522))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64622.0: task 161512))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#779045, worklistShardItemId#779046L], functions=[collect_list(struct(qty, qty#779047, kpis, kpis#779050), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,091<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,091<br>local bytes read total (min, med, max (stageId: taskId))<br>138.3 KiB (4.6 KiB, 7.8 KiB, 9.0 KiB (stage 64622.0: task 161511))<br>merged fetch fallback count: 0<br>local blocks read: 200<br>remote merged chunks fetched: 0<br>remote blocks read: 198<br>data size total (min, med, max (stageId: taskId))<br>1357.2 KiB (60.7 KiB, 67.0 KiB, 74.0 KiB (stage 64621.0: task 161432))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>20 ms (0 ms, 1 ms, 1 ms (stage 64621.0: task 161400))<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 64622.0: task 161522))<br>remote bytes read total (min, med, max (stageId: taskId))<br>134.9 KiB (4.9 KiB, 7.2 KiB, 8.8 KiB (stage 64622.0: task 161522))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>26 ms (1 ms, 1 ms, 2 ms (stage 64622.0: task 161523))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>273.3 KiB (13.0 KiB, 13.7 KiB, 14.3 KiB (stage 64621.0: task 161432))" tooltip="Exchange hashpartitioning(shardId#779045, worklistShardItemId#779046L, 20), ENSURE_REQUIREMENTS, [plan_id=308862]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,091<br>time in aggregation build total (min, med, max (stageId: taskId))<br>119 ms (4 ms, 4 ms, 20 ms (stage 64621.0: task 161364))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64621.0: task 161364))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#779045, worklistShardItemId#779046L], functions=[partial_collect_list(struct(qty, qty#779047, kpis, kpis#779050), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n119 ms (4 ms, 4 ms, 20 ms (stage 64621.0: task 161364))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#779045, worklistShardItemId#779046L, qty#779047, kpis#779050]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,183" tooltip="Filter ((isnotnull(qty#779047) AND isnotnull(kpis#779050)) AND (isnotnull(shardId#779045) AND isnotnull(worklistShardItemId#779046L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 4,129" tooltip="Scan ExistingRDD[shardId#779045,worklistShardItemId#779046L,qty#779047,demandChannel#779048,demandStream#779049,kpis#779050]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (12 ms, 236 ms, 243 ms (stage 64626.0: task 161605))";
tooltip="WholeStageCodegen (7)";
93 [id="node93" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 64626.0: task 161602))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 64626.0: task 161602))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 64626.0: task 161602))" tooltip="Sort [coalesce(shardId#779841, ) ASC NULLS FIRST, isnull(shardId#779841) ASC NULLS FIRST, coalesce(orderProposalId#779842L, 0) ASC NULLS FIRST, isnull(orderProposalId#779842L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 59<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 59<br>local bytes read total (min, med, max (stageId: taskId))<br>6.0 KiB (113.0 B, 226.0 B, 2.0 KiB (stage 64626.0: task 161618))<br>merged fetch fallback count: 0<br>local blocks read: 24<br>remote merged chunks fetched: 0<br>remote blocks read: 31<br>data size total (min, med, max (stageId: taskId))<br>12.7 KiB (56.0 B, 656.0 B, 2.3 KiB (stage 64625.0: task 161546))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>8 ms (0 ms, 0 ms, 0 ms (stage 64625.0: task 161546))<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 64626.0: task 161602))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.4 KiB (113.0 B, 584.0 B, 1137.0 B (stage 64626.0: task 161604))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 1 ms (stage 64626.0: task 161602))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>13.5 KiB (113.0 B, 737.0 B, 2.0 KiB (stage 64625.0: task 161546))" tooltip="Exchange hashpartitioning(coalesce(shardId#779841, ), isnull(shardId#779841), coalesce(orderProposalId#779842L, 0), isnull(orderProposalId#779842L), 20), ENSURE_REQUIREMENTS, [plan_id=309154]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#779842L, shardId#779841, coalesce(transform(optimizationGroups#779844, lambdafunction(struct(optGroupId, lambda x_2065#779839.optGroupId, minOrderProfile, lambda x_2065#779839.minOrderProfile, assignmentDetails, lambda x_2065#779839.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2065#779839.minOrderGoal.dimensionType, unit, lambda x_2065#779839.minOrderGoal.unit, unitUuid, lambda x_2065#779839.minOrderGoal.unitUuid, goalValue, lambda x_2065#779839.minOrderGoal.minOrderValue, calcValue, lambda x_2065#779839.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2065#779839, false)), []) AS optimizationGroups#779838]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n692 ms (1 ms, 65 ms, 68 ms (stage 64625.0: task 161541))";
tooltip="WholeStageCodegen (6)";
97 [id="node97" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 59" tooltip="BroadcastHashJoin [orderProposalId#779842L], [orderProposalId#779897L], Inner, BuildLeft, false"];
108 [id="node108" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>24 ms (0 ms, 1 ms, 2 ms (stage 64625.0: task 161541))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 64625.0: task 161541))<br>number of output rows: 59<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#779897L], functions=[])"];
}
98 [id="node98" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 4 ms<br>time to collect: 113 ms<br>number of output rows: 59<br>data size: 1026.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=309126]"];
subgraph cluster99 {
isCluster="true";
id="cluster99";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n20 ms (0 ms, 2 ms, 2 ms (stage 64556.0: task 161317))";
tooltip="WholeStageCodegen (2)";
100 [id="node100" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter isnotnull(orderProposalId#779842L)"];
}
101 [id="node101" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 59" tooltip="InMemoryTableScan [shardId#779841, orderProposalId#779842L, optimizationGroups#779844], [isnotnull(orderProposalId#779842L)]"];
subgraph cluster102 {
isCluster="true";
id="cluster102";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
103 [id="node103" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#777607) AND (shardId#777607 = 0_1_10000002108))"];
}
104 [id="node104" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, optimizationInsights#777613], [isnotnull(shardId#777607), (shardId#777607 = 0_1_10000002108)]"];
subgraph cluster105 {
isCluster="true";
id="cluster105";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
106 [id="node106" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#777607) AND (shardId#777607 = 0_1_10000002108))"];
107 [id="node107" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#777607,orderProposalId#777608L,items#777609,optimizationGroups#777610,isOptimal#777611,lastModified#777612,optimizationInsights#777613]"];
}
109 [id="node109" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 528<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 528<br>local bytes read total (min, med, max (stageId: taskId))<br>11.7 KiB (75.0 B, 697.0 B, 1091.0 B (stage 64625.0: task 161546))<br>merged fetch fallback count: 0<br>local blocks read: 143<br>remote merged chunks fetched: 0<br>remote blocks read: 160<br>data size total (min, med, max (stageId: taskId))<br>8.3 KiB (336.0 B, 432.0 B, 496.0 B (stage 64559.0: task 161527))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>19 ms (0 ms, 0 ms, 1 ms (stage 64559.0: task 161507))<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 64625.0: task 161541))<br>remote bytes read total (min, med, max (stageId: taskId))<br>12.9 KiB (75.0 B, 774.0 B, 1034.0 B (stage 64625.0: task 161559))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>41 ms (0 ms, 1 ms, 11 ms (stage 64625.0: task 161541))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>24.7 KiB (1074.0 B, 1262.0 B, 1476.0 B (stage 64559.0: task 161518))" tooltip="Exchange hashpartitioning(orderProposalId#779897L, 20), ENSURE_REQUIREMENTS, [plan_id=309148]"];
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n442 ms (3 ms, 38 ms, 42 ms (stage 64559.0: task 161508))";
tooltip="WholeStageCodegen (5)";
111 [id="node111" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>39 ms (1 ms, 2 ms, 3 ms (stage 64559.0: task 161493))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 64559.0: task 161494))<br>number of output rows: 528<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#779897L], functions=[])"];
112 [id="node112" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#779897L]"];
113 [id="node113" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 980" tooltip="BroadcastHashJoin [worklistShardItemId#779849L], [worklistShardItemId#779920L], Inner, BuildLeft, false"];
127 [id="node127" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#779920L, orderProposalId#779897L]"];
}
114 [id="node114" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 201 ms<br>number of output rows: 980<br>data size: 1047.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=309134]"];
subgraph cluster115 {
isCluster="true";
id="cluster115";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n20 ms (0 ms, 2 ms, 2 ms (stage 64557.0: task 161337))";
tooltip="WholeStageCodegen (3)";
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#779848L AS worklistShardItemId#779849L]"];
117 [id="node117" labelType="html" label="<b>Generate</b><br><br>number of output rows: 980" tooltip="Generate explode(_extract_worklistShardItemId#780489), false, [item#779848L]"];
118 [id="node118" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#779460.worklistShardItemId AS _extract_worklistShardItemId#780489]"];
119 [id="node119" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter (((size(items#779460.worklistShardItemId, true) > 0) AND isnotnull(items#779460.worklistShardItemId)) AND (shardId#779458 = 0_1_10000002108))"];
}
120 [id="node120" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 59" tooltip="InMemoryTableScan [items#779460, shardId#779458], [(size(items#779460.worklistShardItemId, true) > 0), isnotnull(items#779460.worklistShardItemId), (shardId#779458 = 0_1_10000002108)]"];
subgraph cluster121 {
isCluster="true";
id="cluster121";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
122 [id="node122" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#777607) AND (shardId#777607 = 0_1_10000002108))"];
}
123 [id="node123" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, optimizationInsights#777613], [isnotnull(shardId#777607), (shardId#777607 = 0_1_10000002108)]"];
subgraph cluster124 {
isCluster="true";
id="cluster124";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
125 [id="node125" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#777607) AND (shardId#777607 = 0_1_10000002108))"];
126 [id="node126" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#777607,orderProposalId#777608L,items#777609,optimizationGroups#777610,isOptimal#777611,lastModified#777612,optimizationInsights#777613]"];
}
128 [id="node128" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>24.1 KiB (460.0 B, 1544.0 B, 2038.0 B (stage 64559.0: task 161527))<br>merged fetch fallback count: 0<br>local blocks read: 231<br>remote merged chunks fetched: 0<br>remote blocks read: 194<br>data size total (min, med, max (stageId: taskId))<br>23.0 KiB (648.0 B, 960.0 B, 1152.0 B (stage 64558.0: task 161405))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>22 ms (0 ms, 0 ms, 1 ms (stage 64558.0: task 161467))<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 64559.0: task 161494))<br>remote bytes read total (min, med, max (stageId: taskId))<br>19.7 KiB (303.0 B, 672.0 B, 1932.0 B (stage 64559.0: task 161516))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>20 ms (0 ms, 1 ms, 2 ms (stage 64559.0: task 161505))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>43.8 KiB (1442.0 B, 1817.0 B, 2.1 KiB (stage 64558.0: task 161360))" tooltip="Exchange hashpartitioning(worklistShardItemId#779920L, 20), REPARTITION_BY_NUM, [plan_id=309141]"];
subgraph cluster129 {
isCluster="true";
id="cluster129";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.8 s (92 ms, 107 ms, 208 ms (stage 64558.0: task 161360))";
tooltip="WholeStageCodegen (4)";
130 [id="node130" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#779897L, worklistShardItemId#779920L]"];
131 [id="node131" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter ((isnotnull(worklistShardItemId#779920L) AND NOT (isFallbackOrderOnly#779914 <=> true)) AND isnotnull(orderProposalId#779897L))"];
132 [id="node132" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 980<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
133 [id="node133" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 25<br>scan time total (min, med, max (stageId: taskId))<br>2.6 s (90 ms, 105 ms, 137 ms (stage 64558.0: task 161466))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 674.0 KiB<br>number of output rows: 980<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#779897L,isFallbackOrderOnly#779914,worklistShardItemId#779920L,shardId#779941,sequenceId#779919] Batched: true, DataFilters: [isnotnull(worklistShardItemId#779920L), NOT (isFallbackOrderOnly#779914 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#779941), isnotnull(sequenceId#779919), (shardId#779941 = 0_1_10000002108), (se..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
23->22;
24->23;
26->24;
27->26;
28->27;
30->28;
31->30;
33->31;
34->33;
36->34;
37->36;
39->37;
40->39;
42->40;
43->42;
45->43;
46->45;
48->46;
49->48;
50->49;
51->50;
53->51;
54->53;
56->54;
57->56;
59->43;
60->59;
61->60;
63->61;
64->63;
65->64;
66->65;
68->37;
69->68;
71->69;
72->71;
73->72;
75->34;
76->75;
77->76;
78->77;
80->78;
81->80;
82->81;
84->31;
85->84;
86->85;
87->86;
89->87;
90->89;
91->90;
93->11;
94->93;
95->94;
97->95;
98->97;
100->98;
101->100;
103->101;
104->103;
106->104;
107->106;
108->97;
109->108;
111->109;
112->111;
113->112;
114->113;
116->114;
117->116;
118->117;
119->118;
120->119;
122->120;
123->122;
125->123;
126->125;
127->113;
128->127;
130->128;
131->130;
132->131;
133->132;
}
== Physical Plan ==
* HashAggregate (102)
+- Exchange (101)
+- * HashAggregate (100)
+- * Project (99)
+- * Generate (98)
+- Project (97)
+- Filter (96)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (95)
+- SortMergeJoin LeftOuter (94)
:- Sort (67)
: +- Exchange (66)
: +- Project (65)
: +- Project (64)
: +- ObjectHashAggregate (63)
: +- Exchange (62)
: +- ObjectHashAggregate (61)
: +- ObjectHashAggregate (60)
: +- Exchange (59)
: +- ObjectHashAggregate (58)
: +- Project (57)
: +- Project (56)
: +- Project (55)
: +- * Project (54)
: +- * Filter (53)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (52)
: +- * SortMergeJoin LeftOuter (51)
: :- * Project (43)
: : +- * SortMergeJoin LeftOuter (42)
: : :- * Project (34)
: : : +- * SortMergeJoin LeftOuter (33)
: : : :- * Sort (27)
: : : : +- Exchange (26)
: : : : +- * Project (25)
: : : : +- * SortMergeJoin LeftOuter (24)
: : : : :- * Sort (16)
: : : : : +- Exchange (15)
: : : : : +- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- * Sort (23)
: : : : +- * Project (22)
: : : : +- Exchange (21)
: : : : +- * Project (20)
: : : : +- * Filter (19)
: : : : +- * ColumnarToRow (18)
: : : : +- Scan parquet (17)
: : : +- * Sort (32)
: : : +- Exchange (31)
: : : +- * Project (30)
: : : +- * Filter (29)
: : : +- * Scan ExistingRDD (28)
: : +- * Sort (41)
: : +- ObjectHashAggregate (40)
: : +- Exchange (39)
: : +- ObjectHashAggregate (38)
: : +- * Project (37)
: : +- * Filter (36)
: : +- * Scan ExistingRDD (35)
: +- * Sort (50)
: +- ObjectHashAggregate (49)
: +- Exchange (48)
: +- ObjectHashAggregate (47)
: +- * Project (46)
: +- * Filter (45)
: +- * Scan ExistingRDD (44)
+- * Sort (93)
+- Exchange (92)
+- Project (91)
+- * BroadcastHashJoin Inner BuildLeft (90)
:- BroadcastExchange (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * HashAggregate (89)
+- Exchange (88)
+- * HashAggregate (87)
+- * Project (86)
+- * BroadcastHashJoin Inner BuildLeft (85)
:- BroadcastExchange (78)
: +- * Project (77)
: +- * Generate (76)
: +- * Project (75)
: +- * Filter (74)
: +- InMemoryTableScan (72)
: +- InMemoryRelation (73)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (84)
+- Exchange (83)
+- * Project (82)
+- * Filter (81)
+- * ColumnarToRow (80)
+- Scan parquet (79)
(1) InMemoryTableScan
Output [1]: [orderProposal#779945]
Arguments: [orderProposal#779945], [(size(orderProposal#779945.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#777607, orderProposal#779945], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#778297, channelStreamSpecificKpis#779038, constraintLabels#778309, constraintOperators#778310, constraintValues#778312, deliveryDateTime#778296, isFallbackOrderOnly#778299, logisticUnits#778314, measurements#778307, minimumOrderQuantity#778308, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, nextAvailabilityDateTime#778298, optimizationGroups#778315, orderDateTime#778295, orderProposalId#778277L, orderProposalItemGroupId#778279, orderProposalItemId#778278, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, originalReplenishmentRunId#778280L, plant#778291, previousOrderProposal#778283L, prodLocSpecificKpis#779023, product#778290, productGroup#778319, qty#778121, quantityAfterProdPlantOptimization#778120, quantityKpis#779051, shardId#777607, sourceOfSupplyUuid#778286, splitIndicator#778282L, subrange#778289, supplier#778288, supplierGroup#778287, supplyingPlant#778318]
Arguments: [availabilityDateTime#778297, channelStreamSpecificKpis#779038, constraintLabels#778309, constraintOperators#778310, constraintValues#778312, deliveryDateTime#778296, isFallbackOrderOnly#778299, logisticUnits#778314, measurements#778307, minimumOrderQuantity#778308, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, nextAvailabilityDateTime#778298, optimizationGroups#778315, orderDateTime#778295, orderProposalId#778277L, orderProposalItemGroupId#778279, orderProposalItemId#778278, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, originalReplenishmentRunId#778280L, plant#778291, ... 14 more fields], [NOT (isFallbackOrderOnly#778299 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, productGroup#778319, product#778290, plant#778291, subrange#778289, orderDateTime#778295, deliveryDateTime#778296, availabilityDateTime#778297, nextAvailabilityDateTime#778298, constraintValues#778312, constraintOperators#778310, constraintLabels#778309, logisticUnits#778314, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, splitIndicator#778282L, netPriceAmount#778305, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#777607, items#777609]
Arguments: [shardId#777607, items#777609], [(size(items#777609, true) > 0), isnotnull(items#777609)]
(6) InMemoryRelation
Arguments: [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, optimizationInsights#777613], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, optimizationInsights#777613]
Arguments: [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, optimizationInsights#777613], [isnotnull(shardId#777607), (shardId#777607 = 0_1_10000002108)]
(8) InMemoryRelation
Arguments: [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, lastModified#777612, optimizationInsights#777613], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, lastModified#777612, optimizationInsights#777613]
Arguments: [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, lastModified#777612, optimizationInsights#777613], MapPartitionsRDD[36570] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, lastModified#777612, optimizationInsights#777613]
Condition : (isnotnull(shardId#777607) AND (shardId#777607 = 0_1_10000002108))
(11) Filter [codegen id : 1]
Input [6]: [shardId#777607, orderProposalId#777608L, items#777609, optimizationGroups#777610, isOptimal#777611, optimizationInsights#777613]
Condition : (isnotnull(shardId#777607) AND (shardId#777607 = 0_1_10000002108))
(12) Filter [codegen id : 1]
Input [2]: [shardId#777607, items#777609]
Condition : ((size(items#777609, true) > 0) AND isnotnull(items#777609))
(13) Generate [codegen id : 1]
Input [2]: [shardId#777607, items#777609]
Arguments: explode(items#777609), [shardId#777607], false, [item#778118]
(14) Project [codegen id : 1]
Output [4]: [shardId#777607, item#778118.worklistShardItemId AS worklistShardItemId#778119L, item#778118.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#778120, item#778118.qty AS qty#778121]
Input [2]: [shardId#777607, item#778118]
(15) Exchange
Input [4]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121]
Arguments: hashpartitioning(worklistShardItemId#778119L, 20), ENSURE_REQUIREMENTS, [plan_id=308814]
(16) Sort [codegen id : 2]
Input [4]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121]
Arguments: [worklistShardItemId#778119L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#778320L, orderProposalItemId#778321, supplierGroup#778322, supplier#778323, plant#778324, deliveryDateTime#778325, subrange#778326, supplyingPlant#778327, productGroup#778328, product#778329, orderDateTime#778330, availabilityDateTime#778331, nextAvailabilityDateTime#778332, sourceOfSupplyUuid#778334, isFallbackOrderOnly#778337, splitIndicator#778339L, previousOrderProposal#778340L, worklistShardItemId#778343L, orderProposalItemGroupId#778344, externalProductId#778345, externalPlantId#778346, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, minimumOrderQuantity#778350, constraintLabels#778351, constraintOperators#778352, constraintValues#778353, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, measurements#778361, originalReplenishmentRunId#778362L, optimizationGroups#778363, shardId#778364, sequenceId#778342]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002108]
PartitionFilters: [isnotnull(shardId#778364), isnotnull(sequenceId#778342), (shardId#778364 = 0_1_10000002108), (sequenceId#778342 = 1)]
PushedFilters: [IsNotNull(worklistShardItemId)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,sourceOfSupplyUuid:string,isFallbackOrderOnly:boolean,splitIndicator:bigint,previousOrderProposal:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(18) ColumnarToRow [codegen id : 3]
Input [38]: [orderProposalId#778320L, orderProposalItemId#778321, supplierGroup#778322, supplier#778323, plant#778324, deliveryDateTime#778325, subrange#778326, supplyingPlant#778327, productGroup#778328, product#778329, orderDateTime#778330, availabilityDateTime#778331, nextAvailabilityDateTime#778332, sourceOfSupplyUuid#778334, isFallbackOrderOnly#778337, splitIndicator#778339L, previousOrderProposal#778340L, worklistShardItemId#778343L, orderProposalItemGroupId#778344, externalProductId#778345, externalPlantId#778346, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, minimumOrderQuantity#778350, constraintLabels#778351, constraintOperators#778352, constraintValues#778353, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, measurements#778361, originalReplenishmentRunId#778362L, optimizationGroups#778363, shardId#778364, sequenceId#778342]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#778320L, orderProposalItemId#778321, supplierGroup#778322, supplier#778323, plant#778324, deliveryDateTime#778325, subrange#778326, supplyingPlant#778327, productGroup#778328, product#778329, orderDateTime#778330, availabilityDateTime#778331, nextAvailabilityDateTime#778332, sourceOfSupplyUuid#778334, isFallbackOrderOnly#778337, splitIndicator#778339L, previousOrderProposal#778340L, worklistShardItemId#778343L, orderProposalItemGroupId#778344, externalProductId#778345, externalPlantId#778346, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, minimumOrderQuantity#778350, constraintLabels#778351, constraintOperators#778352, constraintValues#778353, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, measurements#778361, originalReplenishmentRunId#778362L, optimizationGroups#778363, shardId#778364, sequenceId#778342]
Condition : isnotnull(worklistShardItemId#778343L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#778320L, orderProposalItemId#778321, supplierGroup#778322, supplier#778323, plant#778324, deliveryDateTime#778325, subrange#778326, supplyingPlant#778327, productGroup#778328, product#778329, orderDateTime#778330, availabilityDateTime#778331, nextAvailabilityDateTime#778332, sourceOfSupplyUuid#778334, isFallbackOrderOnly#778337, splitIndicator#778339L, previousOrderProposal#778340L, worklistShardItemId#778343L, orderProposalItemGroupId#778344, externalProductId#778345, externalPlantId#778346, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, minimumOrderQuantity#778350, constraintLabels#778351, constraintOperators#778352, constraintValues#778353, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, measurements#778361, originalReplenishmentRunId#778362L, optimizationGroups#778363]
Input [38]: [orderProposalId#778320L, orderProposalItemId#778321, supplierGroup#778322, supplier#778323, plant#778324, deliveryDateTime#778325, subrange#778326, supplyingPlant#778327, productGroup#778328, product#778329, orderDateTime#778330, availabilityDateTime#778331, nextAvailabilityDateTime#778332, sourceOfSupplyUuid#778334, isFallbackOrderOnly#778337, splitIndicator#778339L, previousOrderProposal#778340L, worklistShardItemId#778343L, orderProposalItemGroupId#778344, externalProductId#778345, externalPlantId#778346, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, minimumOrderQuantity#778350, constraintLabels#778351, constraintOperators#778352, constraintValues#778353, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, measurements#778361, originalReplenishmentRunId#778362L, optimizationGroups#778363, shardId#778364, sequenceId#778342]
(21) Exchange
Input [36]: [orderProposalId#778320L, orderProposalItemId#778321, supplierGroup#778322, supplier#778323, plant#778324, deliveryDateTime#778325, subrange#778326, supplyingPlant#778327, productGroup#778328, product#778329, orderDateTime#778330, availabilityDateTime#778331, nextAvailabilityDateTime#778332, sourceOfSupplyUuid#778334, isFallbackOrderOnly#778337, splitIndicator#778339L, previousOrderProposal#778340L, worklistShardItemId#778343L, orderProposalItemGroupId#778344, externalProductId#778345, externalPlantId#778346, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, minimumOrderQuantity#778350, constraintLabels#778351, constraintOperators#778352, constraintValues#778353, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, measurements#778361, originalReplenishmentRunId#778362L, optimizationGroups#778363]
Arguments: hashpartitioning(worklistShardItemId#778343L, 20), REPARTITION_BY_NUM, [plan_id=308824]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#778343L, orderProposalId#778320L, orderProposalItemId#778321, orderProposalItemGroupId#778344, originalReplenishmentRunId#778362L, splitIndicator#778339L, previousOrderProposal#778340L, sourceOfSupplyUuid#778334, supplierGroup#778322, supplier#778323, subrange#778326, product#778329, plant#778324, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, isFallbackOrderOnly#778337, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, netPriceAmount#778356, netPriceCurrencyCode#778357, measurements#778361, minimumOrderQuantity#778350, constraintLabels#778351, constraintOperators#778352, constraintValues#778353, logisticUnits#778347, optimizationGroups#778363, externalProductId#778345, externalPlantId#778346, supplyingPlant#778327, productGroup#778328]
Input [36]: [orderProposalId#778320L, orderProposalItemId#778321, supplierGroup#778322, supplier#778323, plant#778324, deliveryDateTime#778325, subrange#778326, supplyingPlant#778327, productGroup#778328, product#778329, orderDateTime#778330, availabilityDateTime#778331, nextAvailabilityDateTime#778332, sourceOfSupplyUuid#778334, isFallbackOrderOnly#778337, splitIndicator#778339L, previousOrderProposal#778340L, worklistShardItemId#778343L, orderProposalItemGroupId#778344, externalProductId#778345, externalPlantId#778346, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, minimumOrderQuantity#778350, constraintLabels#778351, constraintOperators#778352, constraintValues#778353, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, measurements#778361, originalReplenishmentRunId#778362L, optimizationGroups#778363]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#778343L, orderProposalId#778320L, orderProposalItemId#778321, orderProposalItemGroupId#778344, originalReplenishmentRunId#778362L, splitIndicator#778339L, previousOrderProposal#778340L, sourceOfSupplyUuid#778334, supplierGroup#778322, supplier#778323, subrange#778326, product#778329, plant#778324, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, isFallbackOrderOnly#778337, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, netPriceAmount#778356, netPriceCurrencyCode#778357, measurements#778361, minimumOrderQuantity#778350, constraintLabels#778351, constraintOperators#778352, constraintValues#778353, logisticUnits#778347, optimizationGroups#778363, externalProductId#778345, externalPlantId#778346, supplyingPlant#778327, productGroup#778328]
Arguments: [worklistShardItemId#778343L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#778119L]
Right keys [1]: [worklistShardItemId#778343L]
Join type: LeftOuter
Join condition: (shardId#777607 = 0_1_10000002108)
(25) Project [codegen id : 5]
Output [39]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, sourceOfSupplyUuid#778334, minimumOrderQuantity#778350, orderProposalItemId#778321, orderProposalItemGroupId#778344, optimizationGroups#778363, measurements#778361, externalProductId#778345, externalPlantId#778346, previousOrderProposal#778340L, isFallbackOrderOnly#778337]
Input [40]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, worklistShardItemId#778343L, orderProposalId#778320L, orderProposalItemId#778321, orderProposalItemGroupId#778344, originalReplenishmentRunId#778362L, splitIndicator#778339L, previousOrderProposal#778340L, sourceOfSupplyUuid#778334, supplierGroup#778322, supplier#778323, subrange#778326, product#778329, plant#778324, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, isFallbackOrderOnly#778337, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, netPriceAmount#778356, netPriceCurrencyCode#778357, measurements#778361, minimumOrderQuantity#778350, constraintLabels#778351, constraintOperators#778352, constraintValues#778353, logisticUnits#778347, optimizationGroups#778363, externalProductId#778345, externalPlantId#778346, supplyingPlant#778327, productGroup#778328]
(26) Exchange
Input [39]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, sourceOfSupplyUuid#778334, minimumOrderQuantity#778350, orderProposalItemId#778321, orderProposalItemGroupId#778344, optimizationGroups#778363, measurements#778361, externalProductId#778345, externalPlantId#778346, previousOrderProposal#778340L, isFallbackOrderOnly#778337]
Arguments: hashpartitioning(shardId#777607, worklistShardItemId#778119L, 20), ENSURE_REQUIREMENTS, [plan_id=308833]
(27) Sort [codegen id : 6]
Input [39]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, sourceOfSupplyUuid#778334, minimumOrderQuantity#778350, orderProposalItemId#778321, orderProposalItemGroupId#778344, optimizationGroups#778363, measurements#778361, externalProductId#778345, externalPlantId#778346, previousOrderProposal#778340L, isFallbackOrderOnly#778337]
Arguments: [shardId#777607 ASC NULLS FIRST, worklistShardItemId#778119L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#779016, worklistShardItemId#779017L, qty#779018, demandChannel#779019, demandStream#779020, kpis#779021]
Arguments: [shardId#779016, worklistShardItemId#779017L, qty#779018, demandChannel#779019, demandStream#779020, kpis#779021], MapPartitionsRDD[36645] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#779016, worklistShardItemId#779017L, qty#779018, demandChannel#779019, demandStream#779020, kpis#779021]
Condition : (((isnull(qty#779018) AND isnull(demandChannel#779019)) AND isnull(demandStream#779020)) AND (isnotnull(shardId#779016) AND isnotnull(worklistShardItemId#779017L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#779016, worklistShardItemId#779017L, coalesce(kpis#779021, []) AS prodLocSpecificKpis#779022]
Input [6]: [shardId#779016, worklistShardItemId#779017L, qty#779018, demandChannel#779019, demandStream#779020, kpis#779021]
(31) Exchange
Input [3]: [shardId#779016, worklistShardItemId#779017L, prodLocSpecificKpis#779022]
Arguments: hashpartitioning(shardId#779016, worklistShardItemId#779017L, 20), ENSURE_REQUIREMENTS, [plan_id=308839]
(32) Sort [codegen id : 8]
Input [3]: [shardId#779016, worklistShardItemId#779017L, prodLocSpecificKpis#779022]
Arguments: [shardId#779016 ASC NULLS FIRST, worklistShardItemId#779017L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#777607, worklistShardItemId#778119L]
Right keys [2]: [shardId#779016, worklistShardItemId#779017L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, sourceOfSupplyUuid#778334, minimumOrderQuantity#778350, orderProposalItemId#778321, orderProposalItemGroupId#778344, optimizationGroups#778363, measurements#778361, externalProductId#778345, externalPlantId#778346, previousOrderProposal#778340L, isFallbackOrderOnly#778337, coalesce(prodLocSpecificKpis#779022, []) AS prodLocSpecificKpis#779023]
Input [42]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, sourceOfSupplyUuid#778334, minimumOrderQuantity#778350, orderProposalItemId#778321, orderProposalItemGroupId#778344, optimizationGroups#778363, measurements#778361, externalProductId#778345, externalPlantId#778346, previousOrderProposal#778340L, isFallbackOrderOnly#778337, shardId#779016, worklistShardItemId#779017L, prodLocSpecificKpis#779022]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#779032, worklistShardItemId#779033L, qty#779034, demandChannel#779035, demandStream#779036, kpis#779037]
Arguments: [shardId#779032, worklistShardItemId#779033L, qty#779034, demandChannel#779035, demandStream#779036, kpis#779037], MapPartitionsRDD[36645] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#779032, worklistShardItemId#779033L, qty#779034, demandChannel#779035, demandStream#779036, kpis#779037]
Condition : ((((isnull(qty#779034) AND isnotnull(demandChannel#779035)) AND isnotnull(demandStream#779036)) AND (size(kpis#779037, true) > 0)) AND (isnotnull(shardId#779032) AND isnotnull(worklistShardItemId#779033L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#779032, worklistShardItemId#779033L, demandChannel#779035, demandStream#779036, kpis#779037]
Input [6]: [shardId#779032, worklistShardItemId#779033L, qty#779034, demandChannel#779035, demandStream#779036, kpis#779037]
(38) ObjectHashAggregate
Input [5]: [shardId#779032, worklistShardItemId#779033L, demandChannel#779035, demandStream#779036, kpis#779037]
Keys [2]: [shardId#779032, worklistShardItemId#779033L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#779035, demandStream, demandStream#779036, kpis, kpis#779037), 0, 0)]
Aggregate Attributes [1]: [buf#779212]
Results [3]: [shardId#779032, worklistShardItemId#779033L, buf#779213]
(39) Exchange
Input [3]: [shardId#779032, worklistShardItemId#779033L, buf#779213]
Arguments: hashpartitioning(shardId#779032, worklistShardItemId#779033L, 20), ENSURE_REQUIREMENTS, [plan_id=308850]
(40) ObjectHashAggregate
Input [3]: [shardId#779032, worklistShardItemId#779033L, buf#779213]
Keys [2]: [shardId#779032, worklistShardItemId#779033L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#779035, demandStream, demandStream#779036, kpis, kpis#779037), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#779035, demandStream, demandStream#779036, kpis, kpis#779037), 0, 0)#779031]
Results [3]: [shardId#779032, worklistShardItemId#779033L, collect_list(struct(demandChannel, demandChannel#779035, demandStream, demandStream#779036, kpis, kpis#779037), 0, 0)#779031 AS channelStreamSpecificKpis#779024]
(41) Sort [codegen id : 11]
Input [3]: [shardId#779032, worklistShardItemId#779033L, channelStreamSpecificKpis#779024]
Arguments: [shardId#779032 ASC NULLS FIRST, worklistShardItemId#779033L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#777607, worklistShardItemId#778119L]
Right keys [2]: [shardId#779032, worklistShardItemId#779033L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, sourceOfSupplyUuid#778334, minimumOrderQuantity#778350, orderProposalItemId#778321, orderProposalItemGroupId#778344, optimizationGroups#778363, measurements#778361, externalProductId#778345, externalPlantId#778346, previousOrderProposal#778340L, isFallbackOrderOnly#778337, prodLocSpecificKpis#779023, coalesce(channelStreamSpecificKpis#779024, []) AS channelStreamSpecificKpis#779038]
Input [43]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, sourceOfSupplyUuid#778334, minimumOrderQuantity#778350, orderProposalItemId#778321, orderProposalItemGroupId#778344, optimizationGroups#778363, measurements#778361, externalProductId#778345, externalPlantId#778346, previousOrderProposal#778340L, isFallbackOrderOnly#778337, prodLocSpecificKpis#779023, shardId#779032, worklistShardItemId#779033L, channelStreamSpecificKpis#779024]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#779045, worklistShardItemId#779046L, qty#779047, demandChannel#779048, demandStream#779049, kpis#779050]
Arguments: [shardId#779045, worklistShardItemId#779046L, qty#779047, demandChannel#779048, demandStream#779049, kpis#779050], MapPartitionsRDD[36645] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#779045, worklistShardItemId#779046L, qty#779047, demandChannel#779048, demandStream#779049, kpis#779050]
Condition : ((isnotnull(qty#779047) AND isnotnull(kpis#779050)) AND (isnotnull(shardId#779045) AND isnotnull(worklistShardItemId#779046L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#779045, worklistShardItemId#779046L, qty#779047, kpis#779050]
Input [6]: [shardId#779045, worklistShardItemId#779046L, qty#779047, demandChannel#779048, demandStream#779049, kpis#779050]
(47) ObjectHashAggregate
Input [4]: [shardId#779045, worklistShardItemId#779046L, qty#779047, kpis#779050]
Keys [2]: [shardId#779045, worklistShardItemId#779046L]
Functions [1]: [partial_collect_list(struct(qty, qty#779047, kpis, kpis#779050), 0, 0)]
Aggregate Attributes [1]: [buf#779214]
Results [3]: [shardId#779045, worklistShardItemId#779046L, buf#779215]
(48) Exchange
Input [3]: [shardId#779045, worklistShardItemId#779046L, buf#779215]
Arguments: hashpartitioning(shardId#779045, worklistShardItemId#779046L, 20), ENSURE_REQUIREMENTS, [plan_id=308862]
(49) ObjectHashAggregate
Input [3]: [shardId#779045, worklistShardItemId#779046L, buf#779215]
Keys [2]: [shardId#779045, worklistShardItemId#779046L]
Functions [1]: [collect_list(struct(qty, qty#779047, kpis, kpis#779050), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#779047, kpis, kpis#779050), 0, 0)#779044]
Results [3]: [shardId#779045, worklistShardItemId#779046L, map_from_entries(collect_list(struct(qty, qty#779047, kpis, kpis#779050), 0, 0)#779044) AS quantityKpis#779039]
(50) Sort [codegen id : 14]
Input [3]: [shardId#779045, worklistShardItemId#779046L, quantityKpis#779039]
Arguments: [shardId#779045 ASC NULLS FIRST, worklistShardItemId#779046L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#777607, worklistShardItemId#778119L]
Right keys [2]: [shardId#779045, worklistShardItemId#779046L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, sourceOfSupplyUuid#778334, minimumOrderQuantity#778350, orderProposalItemId#778321, orderProposalItemGroupId#778344, optimizationGroups#778363, measurements#778361, externalProductId#778345, externalPlantId#778346, previousOrderProposal#778340L, isFallbackOrderOnly#778337, prodLocSpecificKpis#779023, channelStreamSpecificKpis#779038, coalesce(quantityKpis#779039, map(keys: [], values: [])) AS quantityKpis#779051]
Input [44]: [shardId#777607, worklistShardItemId#778119L, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778320L, originalReplenishmentRunId#778362L, supplierGroup#778322, supplier#778323, supplyingPlant#778327, productGroup#778328, product#778329, plant#778324, subrange#778326, orderDateTime#778330, deliveryDateTime#778325, availabilityDateTime#778331, nextAvailabilityDateTime#778332, constraintValues#778353, constraintOperators#778352, constraintLabels#778351, logisticUnits#778347, orderQuantityBaseUom#778348, orderQuantityBaseUomUuid#778349, splitIndicator#778339L, netPriceAmount#778356, netPriceCurrencyCode#778357, netPriceQuantity#778358, netPriceQuantityUom#778359, netPriceQuantityUomUuid#778360, sourceOfSupplyUuid#778334, minimumOrderQuantity#778350, orderProposalItemId#778321, orderProposalItemGroupId#778344, optimizationGroups#778363, measurements#778361, externalProductId#778345, externalPlantId#778346, previousOrderProposal#778340L, isFallbackOrderOnly#778337, prodLocSpecificKpis#779023, channelStreamSpecificKpis#779038, shardId#779045, worklistShardItemId#779046L, quantityKpis#779039]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#778297, channelStreamSpecificKpis#779038, constraintLabels#778309, constraintOperators#778310, constraintValues#778312, deliveryDateTime#778296, isFallbackOrderOnly#778299, logisticUnits#778314, measurements#778307, minimumOrderQuantity#778308, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, nextAvailabilityDateTime#778298, optimizationGroups#778315, orderDateTime#778295, orderProposalId#778277L, orderProposalItemGroupId#778279, orderProposalItemId#778278, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, originalReplenishmentRunId#778280L, plant#778291, previousOrderProposal#778283L, prodLocSpecificKpis#779023, product#778290, productGroup#778319, qty#778121, quantityAfterProdPlantOptimization#778120, quantityKpis#779051, shardId#777607, sourceOfSupplyUuid#778286, splitIndicator#778282L, subrange#778289, supplier#778288, supplierGroup#778287, supplyingPlant#778318]
Condition : NOT (isFallbackOrderOnly#778299 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#777607, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, productGroup#778319, product#778290, plant#778291, subrange#778289, orderDateTime#778295, deliveryDateTime#778296, availabilityDateTime#778297, nextAvailabilityDateTime#778298, logisticUnits#778314, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, splitIndicator#778282L, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, sourceOfSupplyUuid#778286, minimumOrderQuantity#778308, orderProposalItemId#778278, orderProposalItemGroupId#778279, optimizationGroups#778315, measurements#778307, previousOrderProposal#778283L, prodLocSpecificKpis#779023, channelStreamSpecificKpis#779038, quantityKpis#779051, arrays_zip(constraintLabels#778309, constraintOperators#778310, constraintValues#778312, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#779465]
Input [39]: [availabilityDateTime#778297, channelStreamSpecificKpis#779038, constraintLabels#778309, constraintOperators#778310, constraintValues#778312, deliveryDateTime#778296, isFallbackOrderOnly#778299, logisticUnits#778314, measurements#778307, minimumOrderQuantity#778308, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, nextAvailabilityDateTime#778298, optimizationGroups#778315, orderDateTime#778295, orderProposalId#778277L, orderProposalItemGroupId#778279, orderProposalItemId#778278, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, originalReplenishmentRunId#778280L, plant#778291, previousOrderProposal#778283L, prodLocSpecificKpis#779023, product#778290, productGroup#778319, qty#778121, quantityAfterProdPlantOptimization#778120, quantityKpis#779051, shardId#777607, sourceOfSupplyUuid#778286, splitIndicator#778282L, subrange#778289, supplier#778288, supplierGroup#778287, supplyingPlant#778318]
(55) Project
Output [37]: [shardId#777607, qty#778121, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, productGroup#778319, product#778290, plant#778291, subrange#778289, orderDateTime#778295, deliveryDateTime#778296, availabilityDateTime#778297, nextAvailabilityDateTime#778298, logisticUnits#778314, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, splitIndicator#778282L, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, sourceOfSupplyUuid#778286, orderProposalItemId#778278, orderProposalItemGroupId#778279, optimizationGroups#778315, measurements#778307, previousOrderProposal#778283L, prodLocSpecificKpis#779023, channelStreamSpecificKpis#779038, quantityKpis#779051, struct(minServiceLevel, array_min(filter(constraintStructArray#779465, lambdafunction((lambda x_2015#779472.constraintLabels = ServiceLevel), lambda x_2015#779472, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#779465, lambdafunction((lambda x_2016#779473.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_2016#779473, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#779465, lambdafunction((lambda x_2017#779474.constraintLabels = RangeOfCoverage), lambda x_2017#779474, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#778308, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#779023, lambdafunction((lambda x_2018#779475.label = NonListingStartTimestamp), lambda x_2018#779475, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#779471, CASE WHEN (qty#778121 <=> quantityAfterProdPlantOptimization#778120) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#778121 * (cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2019#779543.isOrderUnit, lambda x_2019#779543, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2019#779544.isOrderUnit, lambda x_2019#779544, false)), 1, None, false).numerator as double))), qty#778121), orderQuantityUom, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2019#779545.isOrderUnit, lambda x_2019#779545, false)), 1, None, false).uom, orderQuantityBaseUom#778300), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2019#779546.isOrderUnit, lambda x_2019#779546, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#778301), candidateOrderQuantityInBaseUnit, qty#778121, orderQuantityBaseUom, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#778301, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#778314, lambdafunction((lambda x_2021#779547.isPreferred AND (((qty#778121 * cast(lambda x_2021#779547.denominator as double)) % cast(lambda x_2021#779547.numerator as double)) = 0.0)), lambda x_2021#779547, false)), lambdafunction(struct(inPreferredQuantity, ((qty#778121 * cast(lambda x_2022#779585.denominator as double)) / cast(lambda x_2022#779585.numerator as double)), uom, lambda x_2022#779585.uom, uomUuid, lambda x_2022#779585.uomUuid), lambda x_2022#779585, false))).inPreferredQuantity, coalesce((qty#778121 * (cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2020#779548.isOrderUnit, lambda x_2020#779548, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2020#779549.isOrderUnit, lambda x_2020#779549, false)), 1, None, false).numerator as double))), qty#778121)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#778314, lambdafunction((lambda x_2021#779550.isPreferred AND (((qty#778121 * cast(lambda x_2021#779550.denominator as double)) % cast(lambda x_2021#779550.numerator as double)) = 0.0)), lambda x_2021#779550, false)), lambdafunction(struct(inPreferredQuantity, ((qty#778121 * cast(lambda x_2022#779586.denominator as double)) / cast(lambda x_2022#779586.numerator as double)), uom, lambda x_2022#779586.uom, uomUuid, lambda x_2022#779586.uomUuid), lambda x_2022#779586, false))).uom, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2020#779551.isOrderUnit, lambda x_2020#779551, false)), 1, None, false).uom, orderQuantityBaseUom#778300)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#778314, lambdafunction((lambda x_2021#779552.isPreferred AND (((qty#778121 * cast(lambda x_2021#779552.denominator as double)) % cast(lambda x_2021#779552.numerator as double)) = 0.0)), lambda x_2021#779552, false)), lambdafunction(struct(inPreferredQuantity, ((qty#778121 * cast(lambda x_2022#779587.denominator as double)) / cast(lambda x_2022#779587.numerator as double)), uom, lambda x_2022#779587.uom, uomUuid, lambda x_2022#779587.uomUuid), lambda x_2022#779587, false))).uomUuid, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2020#779553.isOrderUnit, lambda x_2020#779553, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#778301)), serviceLevel, coalesce(filter(element_at(quantityKpis#779051, qty#778121, None, false), lambdafunction((lambda x_2027#779554.label = ServiceLevel), lambda x_2027#779554, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#778121 * (cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2019#779557.isOrderUnit, lambda x_2019#779557, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2019#779558.isOrderUnit, lambda x_2019#779558, false)), 1, None, false).numerator as double))), qty#778121), orderQuantityUom, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2019#779559.isOrderUnit, lambda x_2019#779559, false)), 1, None, false).uom, orderQuantityBaseUom#778300), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2019#779560.isOrderUnit, lambda x_2019#779560, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#778301), candidateOrderQuantityInBaseUnit, qty#778121, orderQuantityBaseUom, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#778301, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#778314, lambdafunction((lambda x_2021#779561.isPreferred AND (((qty#778121 * cast(lambda x_2021#779561.denominator as double)) % cast(lambda x_2021#779561.numerator as double)) = 0.0)), lambda x_2021#779561, false)), lambdafunction(struct(inPreferredQuantity, ((qty#778121 * cast(lambda x_2022#779588.denominator as double)) / cast(lambda x_2022#779588.numerator as double)), uom, lambda x_2022#779588.uom, uomUuid, lambda x_2022#779588.uomUuid), lambda x_2022#779588, false))).inPreferredQuantity, coalesce((qty#778121 * (cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2020#779562.isOrderUnit, lambda x_2020#779562, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2020#779563.isOrderUnit, lambda x_2020#779563, false)), 1, None, false).numerator as double))), qty#778121)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#778314, lambdafunction((lambda x_2021#779564.isPreferred AND (((qty#778121 * cast(lambda x_2021#779564.denominator as double)) % cast(lambda x_2021#779564.numerator as double)) = 0.0)), lambda x_2021#779564, false)), lambdafunction(struct(inPreferredQuantity, ((qty#778121 * cast(lambda x_2022#779589.denominator as double)) / cast(lambda x_2022#779589.numerator as double)), uom, lambda x_2022#779589.uom, uomUuid, lambda x_2022#779589.uomUuid), lambda x_2022#779589, false))).uom, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2020#779565.isOrderUnit, lambda x_2020#779565, false)), 1, None, false).uom, orderQuantityBaseUom#778300)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#778314, lambdafunction((lambda x_2021#779566.isPreferred AND (((qty#778121 * cast(lambda x_2021#779566.denominator as double)) % cast(lambda x_2021#779566.numerator as double)) = 0.0)), lambda x_2021#779566, false)), lambdafunction(struct(inPreferredQuantity, ((qty#778121 * cast(lambda x_2022#779590.denominator as double)) / cast(lambda x_2022#779590.numerator as double)), uom, lambda x_2022#779590.uom, uomUuid, lambda x_2022#779590.uomUuid), lambda x_2022#779590, false))).uomUuid, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2020#779567.isOrderUnit, lambda x_2020#779567, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#778301)), serviceLevel, coalesce(filter(element_at(quantityKpis#779051, qty#778121, None, false), lambdafunction((lambda x_2030#779568.label = ServiceLevel), lambda x_2030#779568, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#778120 * (cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2023#779571.isOrderUnit, lambda x_2023#779571, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2023#779572.isOrderUnit, lambda x_2023#779572, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#778120), orderQuantityUom, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2023#779573.isOrderUnit, lambda x_2023#779573, false)), 1, None, false).uom, orderQuantityBaseUom#778300), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2023#779574.isOrderUnit, lambda x_2023#779574, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#778301), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#778120, orderQuantityBaseUom, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#778301, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#778314, lambdafunction((lambda x_2025#779575.isPreferred AND (((quantityAfterProdPlantOptimization#778120 * cast(lambda x_2025#779575.denominator as double)) % cast(lambda x_2025#779575.numerator as double)) = 0.0)), lambda x_2025#779575, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#778120 * cast(lambda x_2026#779591.denominator as double)) / cast(lambda x_2026#779591.numerator as double)), uom, lambda x_2026#779591.uom, uomUuid, lambda x_2026#779591.uomUuid), lambda x_2026#779591, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#778120 * (cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2024#779576.isOrderUnit, lambda x_2024#779576, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2024#779577.isOrderUnit, lambda x_2024#779577, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#778120)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#778314, lambdafunction((lambda x_2025#779578.isPreferred AND (((quantityAfterProdPlantOptimization#778120 * cast(lambda x_2025#779578.denominator as double)) % cast(lambda x_2025#779578.numerator as double)) = 0.0)), lambda x_2025#779578, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#778120 * cast(lambda x_2026#779592.denominator as double)) / cast(lambda x_2026#779592.numerator as double)), uom, lambda x_2026#779592.uom, uomUuid, lambda x_2026#779592.uomUuid), lambda x_2026#779592, false))).uom, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2024#779579.isOrderUnit, lambda x_2024#779579, false)), 1, None, false).uom, orderQuantityBaseUom#778300)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#778314, lambdafunction((lambda x_2025#779580.isPreferred AND (((quantityAfterProdPlantOptimization#778120 * cast(lambda x_2025#779580.denominator as double)) % cast(lambda x_2025#779580.numerator as double)) = 0.0)), lambda x_2025#779580, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#778120 * cast(lambda x_2026#779593.denominator as double)) / cast(lambda x_2026#779593.numerator as double)), uom, lambda x_2026#779593.uom, uomUuid, lambda x_2026#779593.uomUuid), lambda x_2026#779593, false))).uomUuid, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2024#779581.isOrderUnit, lambda x_2024#779581, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#778301)), serviceLevel, coalesce(filter(element_at(quantityKpis#779051, quantityAfterProdPlantOptimization#778120, None, false), lambdafunction((lambda x_2033#779582.label = ServiceLevel), lambda x_2033#779582, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#779542, coalesce(filter(prodLocSpecificKpis#779023, lambdafunction((lambda x_2036#779595.label = InitialStockQty), lambda x_2036#779595, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#779594, coalesce(filter(prodLocSpecificKpis#779023, lambdafunction((lambda x_2037#779597.label = DemandPeriodEndTimestamp), lambda x_2037#779597, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#779596]
Input [36]: [shardId#777607, quantityAfterProdPlantOptimization#778120, qty#778121, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, productGroup#778319, product#778290, plant#778291, subrange#778289, orderDateTime#778295, deliveryDateTime#778296, availabilityDateTime#778297, nextAvailabilityDateTime#778298, logisticUnits#778314, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, splitIndicator#778282L, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, sourceOfSupplyUuid#778286, minimumOrderQuantity#778308, orderProposalItemId#778278, orderProposalItemGroupId#778279, optimizationGroups#778315, measurements#778307, previousOrderProposal#778283L, prodLocSpecificKpis#779023, channelStreamSpecificKpis#779038, quantityKpis#779051, constraintStructArray#779465]
(56) Project
Output [21]: [shardId#777607, qty#778121, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, productGroup#778319, product#778290, plant#778291, subrange#778289, orderDateTime#778295, deliveryDateTime#778296, logisticUnits#778314, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, splitIndicator#778282L, orderProposalItemId#778278, orderProposalItemGroupId#778279, previousOrderProposal#778283L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#778288, supplyingPlant, supplyingPlant#778318, productGroup, productGroup#778319, product, product#778290, plant, plant#778291, supplierSubRange, subrange#778289, sourceOfSupplyUuid, sourceOfSupplyUuid#778286, deliveryDateTime, deliveryDateTime#778296, unitPrice, netPriceAmount#778305, unitPriceCurrency, netPriceCurrencyCode#778306, unitPriceQuantity, ... 37 more fields) AS parentItem#779676]
Input [37]: [shardId#777607, qty#778121, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, productGroup#778319, product#778290, plant#778291, subrange#778289, orderDateTime#778295, deliveryDateTime#778296, availabilityDateTime#778297, nextAvailabilityDateTime#778298, logisticUnits#778314, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, splitIndicator#778282L, netPriceAmount#778305, netPriceCurrencyCode#778306, netPriceQuantity#778302, netPriceQuantityUom#778303, netPriceQuantityUomUuid#778304, sourceOfSupplyUuid#778286, orderProposalItemId#778278, orderProposalItemGroupId#778279, optimizationGroups#778315, measurements#778307, previousOrderProposal#778283L, prodLocSpecificKpis#779023, channelStreamSpecificKpis#779038, quantityKpis#779051, constraintBenchmark#779471, calculationAnalysis#779542, inventoryDateTime#779594, demandPeriodEndDateTime#779596]
(57) Project
Output [12]: [shardId#777607, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, orderDateTime#778295, splitIndicator#778282L, orderProposalItemGroupId#778279, previousOrderProposal#778283L, parentItem#779676, struct(itemId, orderProposalItemId#778278, supplier, supplier#778288, supplyingPlant, supplyingPlant#778318, productGroup, productGroup#778319, product, product#778290, plant, plant#778291, supplierSubRange, subrange#778289, deliveryDateTime, deliveryDateTime#778296, orderQuantity, coalesce((qty#778121 * (cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2061#779710.isOrderUnit, lambda x_2061#779710, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2061#779711.isOrderUnit, lambda x_2061#779711, false)), 1, None, false).numerator as double))), qty#778121), orderQuantityUom, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2061#779712.isOrderUnit, lambda x_2061#779712, false)), 1, None, false).uom, orderQuantityBaseUom#778300), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#778314, lambdafunction(lambda x_2061#779713.isOrderUnit, lambda x_2061#779713, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#778301), orderQuantityInBaseUnit, qty#778121, orderQuantityBaseUom, ... 13 more fields) AS item#779707]
Input [21]: [shardId#777607, qty#778121, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, productGroup#778319, product#778290, plant#778291, subrange#778289, orderDateTime#778295, deliveryDateTime#778296, logisticUnits#778314, orderQuantityBaseUom#778300, orderQuantityBaseUomUuid#778301, splitIndicator#778282L, orderProposalItemId#778278, orderProposalItemGroupId#778279, previousOrderProposal#778283L, parentItem#779676]
(58) ObjectHashAggregate
Input [12]: [shardId#777607, orderProposalId#778277L, originalReplenishmentRunId#778280L, supplierGroup#778287, supplier#778288, supplyingPlant#778318, orderDateTime#778295, splitIndicator#778282L, orderProposalItemGroupId#778279, previousOrderProposal#778283L, parentItem#779676, item#779707]
Keys [4]: [shardId#777607, orderProposalId#778277L, splitIndicator#778282L, orderProposalItemGroupId#778279]
Functions [8]: [partial_max(originalReplenishmentRunId#778280L), partial_max(supplierGroup#778287), partial_max(supplier#778288), partial_max(supplyingPlant#778318), partial_max(orderDateTime#778295), partial_collect_list(parentItem#779676, 0, 0), partial_collect_set(previousOrderProposal#778283L, 0, 0), partial_collect_list(item#779707, 0, 0)]
Aggregate Attributes [8]: [max#780968L, max#780969, max#780970, max#780971, max#780972, buf#780973, buf#780974, buf#780975]
Results [12]: [shardId#777607, orderProposalId#778277L, splitIndicator#778282L, orderProposalItemGroupId#778279, max#780976L, max#780977, max#780978, max#780979, max#780980, buf#780981, buf#780982, buf#780983]
(59) Exchange
Input [12]: [shardId#777607, orderProposalId#778277L, splitIndicator#778282L, orderProposalItemGroupId#778279, max#780976L, max#780977, max#780978, max#780979, max#780980, buf#780981, buf#780982, buf#780983]
Arguments: hashpartitioning(shardId#777607, orderProposalId#778277L, splitIndicator#778282L, orderProposalItemGroupId#778279, 20), ENSURE_REQUIREMENTS, [plan_id=309114]
(60) ObjectHashAggregate
Input [12]: [shardId#777607, orderProposalId#778277L, splitIndicator#778282L, orderProposalItemGroupId#778279, max#780976L, max#780977, max#780978, max#780979, max#780980, buf#780981, buf#780982, buf#780983]
Keys [4]: [shardId#777607, orderProposalId#778277L, splitIndicator#778282L, orderProposalItemGroupId#778279]
Functions [8]: [max(originalReplenishmentRunId#778280L), max(supplierGroup#778287), max(supplier#778288), max(supplyingPlant#778318), max(orderDateTime#778295), collect_list(parentItem#779676, 0, 0), collect_set(previousOrderProposal#778283L, 0, 0), collect_list(item#779707, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#778280L)#779776L, max(supplierGroup#778287)#779777, max(supplier#778288)#779778, max(supplyingPlant#778318)#779779, max(orderDateTime#778295)#779780, collect_list(parentItem#779676, 0, 0)#779781, collect_set(previousOrderProposal#778283L, 0, 0)#779783, collect_list(item#779707, 0, 0)#779782]
Results [10]: [shardId#777607, orderProposalId#778277L, max(originalReplenishmentRunId#778280L)#779776L AS originalReplenishmentRunId#779724L, max(supplierGroup#778287)#779777 AS supplierGroup#779725, max(supplier#778288)#779778 AS supplier#779726, max(supplyingPlant#778318)#779779 AS supplyingPlant#779727, max(orderDateTime#778295)#779780 AS orderDateTime#779728, collect_list(parentItem#779676, 0, 0)#779781 AS parentItems#779729, collect_set(previousOrderProposal#778283L, 0, 0)#779783 AS previousOrderProposals#779731, struct(itemGroupId, coalesce(orderProposalItemGroupId#778279, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#779707, 0, 0)#779782) AS itemGroup#779785]
(61) ObjectHashAggregate
Input [10]: [shardId#777607, orderProposalId#778277L, originalReplenishmentRunId#779724L, supplierGroup#779725, supplier#779726, supplyingPlant#779727, orderDateTime#779728, parentItems#779729, previousOrderProposals#779731, itemGroup#779785]
Keys [2]: [shardId#777607, orderProposalId#778277L]
Functions [8]: [partial_max(originalReplenishmentRunId#779724L), partial_max(supplierGroup#779725), partial_max(supplier#779726), partial_max(supplyingPlant#779727), partial_max(orderDateTime#779728), partial_collect_list(itemGroup#779785, 0, 0), partial_collect_list(parentItems#779729, 0, 0), partial_collect_set(previousOrderProposals#779731, 0, 0)]
Aggregate Attributes [8]: [max#780952L, max#780953, max#780954, max#780955, max#780956, buf#780957, buf#780958, buf#780959]
Results [10]: [shardId#777607, orderProposalId#778277L, max#780960L, max#780961, max#780962, max#780963, max#780964, buf#780965, buf#780966, buf#780967]
(62) Exchange
Input [10]: [shardId#777607, orderProposalId#778277L, max#780960L, max#780961, max#780962, max#780963, max#780964, buf#780965, buf#780966, buf#780967]
Arguments: hashpartitioning(shardId#777607, orderProposalId#778277L, 20), ENSURE_REQUIREMENTS, [plan_id=309117]
(63) ObjectHashAggregate
Input [10]: [shardId#777607, orderProposalId#778277L, max#780960L, max#780961, max#780962, max#780963, max#780964, buf#780965, buf#780966, buf#780967]
Keys [2]: [shardId#777607, orderProposalId#778277L]
Functions [8]: [max(originalReplenishmentRunId#779724L), max(supplierGroup#779725), max(supplier#779726), max(supplyingPlant#779727), max(orderDateTime#779728), collect_list(itemGroup#779785, 0, 0), collect_list(parentItems#779729, 0, 0), collect_set(previousOrderProposals#779731, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#779724L)#779807L, max(supplierGroup#779725)#779808, max(supplier#779726)#779809, max(supplyingPlant#779727)#779810, max(orderDateTime#779728)#779811, collect_list(itemGroup#779785, 0, 0)#779812, collect_list(parentItems#779729, 0, 0)#779813, collect_set(previousOrderProposals#779731, 0, 0)#779814]
Results [10]: [shardId#777607, orderProposalId#778277L, max(originalReplenishmentRunId#779724L)#779807L AS originalReplenishmentRunId#779786L, max(supplierGroup#779725)#779808 AS supplierGroup#779787, max(supplier#779726)#779809 AS supplier#779788, max(supplyingPlant#779727)#779810 AS supplyingPlant#779789, max(orderDateTime#779728)#779811 AS orderDateTime#779790, collect_list(itemGroup#779785, 0, 0)#779812 AS itemGroups#779791, flatten(collect_list(parentItems#779729, 0, 0)#779813) AS parentItems#779792, flatten(collect_set(previousOrderProposals#779731, 0, 0)#779814) AS previousOrderProposals#779793]
(64) Project
Output [2]: [shardId#777607, struct(orderProposalId, orderProposalId#778277L, originalReplenishmentRunId, originalReplenishmentRunId#779786L, supplierGroup, supplierGroup#779787, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#779787) THEN supplier#779788 END, supplyingPlant, supplyingPlant#779789, orderDateTime, orderDateTime#779790, itemGroups, itemGroups#779791, previousOrderProposals, array_distinct(previousOrderProposals#779793), parentItems, parentItems#779792) AS orderProposal#779818]
Input [10]: [shardId#777607, orderProposalId#778277L, originalReplenishmentRunId#779786L, supplierGroup#779787, supplier#779788, supplyingPlant#779789, orderDateTime#779790, itemGroups#779791, parentItems#779792, previousOrderProposals#779793]
(65) Project
Output [11]: [shardId#777607, orderProposal#779818.orderProposalId AS _extract_orderProposalId#780584L, orderProposal#779818.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#780585L, orderProposal#779818.supplierGroup AS _extract_supplierGroup#780586, orderProposal#779818.supplier AS _extract_supplier#780587, orderProposal#779818.supplyingPlant AS _extract_supplyingPlant#780588, orderProposal#779818.orderDateTime AS _extract_orderDateTime#780589, orderProposal#779818.itemGroups AS _extract_itemGroups#780590, orderProposal#779818.previousOrderProposals AS _extract_previousOrderProposals#780591, orderProposal#779818.parentItems AS _extract_parentItems#780592, orderProposal#779818.orderProposalId AS _extract_orderProposalId#780593L]
Input [2]: [shardId#777607, orderProposal#779818]
(66) Exchange
Input [11]: [shardId#777607, _extract_orderProposalId#780584L, _extract_originalReplenishmentRunId#780585L, _extract_supplierGroup#780586, _extract_supplier#780587, _extract_supplyingPlant#780588, _extract_orderDateTime#780589, _extract_itemGroups#780590, _extract_previousOrderProposals#780591, _extract_parentItems#780592, _extract_orderProposalId#780593L]
Arguments: hashpartitioning(coalesce(shardId#777607, ), isnull(shardId#777607), coalesce(_extract_orderProposalId#780593L, 0), isnull(_extract_orderProposalId#780593L), 20), ENSURE_REQUIREMENTS, [plan_id=309121]
(67) Sort
Input [11]: [shardId#777607, _extract_orderProposalId#780584L, _extract_originalReplenishmentRunId#780585L, _extract_supplierGroup#780586, _extract_supplier#780587, _extract_supplyingPlant#780588, _extract_orderDateTime#780589, _extract_itemGroups#780590, _extract_previousOrderProposals#780591, _extract_parentItems#780592, _extract_orderProposalId#780593L]
Arguments: [coalesce(shardId#777607, ) ASC NULLS FIRST, isnull(shardId#777607) ASC NULLS FIRST, coalesce(_extract_orderProposalId#780593L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#780593L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#779841, orderProposalId#779842L, optimizationGroups#779844]
Arguments: [shardId#779841, orderProposalId#779842L, optimizationGroups#779844], [isnotnull(orderProposalId#779842L)]
(69) InMemoryRelation
Arguments: [shardId#779841, orderProposalId#779842L, items#779843, optimizationGroups#779844, isOptimal#779845, optimizationInsights#779847], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#779841, orderProposalId#779842L, optimizationGroups#779844]
Condition : isnotnull(orderProposalId#779842L)
(71) BroadcastExchange
Input [3]: [shardId#779841, orderProposalId#779842L, optimizationGroups#779844]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=309126]
(72) InMemoryTableScan
Output [2]: [items#779460, shardId#779458]
Arguments: [items#779460, shardId#779458], [(size(items#779460.worklistShardItemId, true) > 0), isnotnull(items#779460.worklistShardItemId), (shardId#779458 = 0_1_10000002108)]
(73) InMemoryRelation
Arguments: [shardId#779458, orderProposalId#779459L, items#779460, optimizationGroups#779461, isOptimal#779462, optimizationInsights#779464], StorageLevel(disk, memory, 2 replicas)
(74) Filter [codegen id : 3]
Input [2]: [items#779460, shardId#779458]
Condition : (((size(items#779460.worklistShardItemId, true) > 0) AND isnotnull(items#779460.worklistShardItemId)) AND (shardId#779458 = 0_1_10000002108))
(75) Project [codegen id : 3]
Output [1]: [items#779460.worklistShardItemId AS _extract_worklistShardItemId#780489]
Input [2]: [items#779460, shardId#779458]
(76) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#780489]
Arguments: explode(_extract_worklistShardItemId#780489), false, [item#779848L]
(77) Project [codegen id : 3]
Output [1]: [item#779848L AS worklistShardItemId#779849L]
Input [1]: [item#779848L]
(78) BroadcastExchange
Input [1]: [worklistShardItemId#779849L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=309134]
(79) Scan parquet
Output [5]: [orderProposalId#779897L, isFallbackOrderOnly#779914, worklistShardItemId#779920L, shardId#779941, sequenceId#779919]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002108]
PartitionFilters: [isnotnull(shardId#779941), isnotnull(sequenceId#779919), (shardId#779941 = 0_1_10000002108), (sequenceId#779919 = 1)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(80) ColumnarToRow [codegen id : 4]
Input [5]: [orderProposalId#779897L, isFallbackOrderOnly#779914, worklistShardItemId#779920L, shardId#779941, sequenceId#779919]
(81) Filter [codegen id : 4]
Input [5]: [orderProposalId#779897L, isFallbackOrderOnly#779914, worklistShardItemId#779920L, shardId#779941, sequenceId#779919]
Condition : ((isnotnull(worklistShardItemId#779920L) AND NOT (isFallbackOrderOnly#779914 <=> true)) AND isnotnull(orderProposalId#779897L))
(82) Project [codegen id : 4]
Output [2]: [orderProposalId#779897L, worklistShardItemId#779920L]
Input [5]: [orderProposalId#779897L, isFallbackOrderOnly#779914, worklistShardItemId#779920L, shardId#779941, sequenceId#779919]
(83) Exchange
Input [2]: [orderProposalId#779897L, worklistShardItemId#779920L]
Arguments: hashpartitioning(worklistShardItemId#779920L, 20), REPARTITION_BY_NUM, [plan_id=309141]
(84) Project
Output [2]: [worklistShardItemId#779920L, orderProposalId#779897L]
Input [2]: [orderProposalId#779897L, worklistShardItemId#779920L]
(85) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#779849L]
Right keys [1]: [worklistShardItemId#779920L]
Join type: Inner
Join condition: None
(86) Project [codegen id : 5]
Output [1]: [orderProposalId#779897L]
Input [3]: [worklistShardItemId#779849L, worklistShardItemId#779920L, orderProposalId#779897L]
(87) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#779897L]
Keys [1]: [orderProposalId#779897L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#779897L]
(88) Exchange
Input [1]: [orderProposalId#779897L]
Arguments: hashpartitioning(orderProposalId#779897L, 20), ENSURE_REQUIREMENTS, [plan_id=309148]
(89) HashAggregate
Input [1]: [orderProposalId#779897L]
Keys [1]: [orderProposalId#779897L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#779897L]
(90) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#779842L]
Right keys [1]: [orderProposalId#779897L]
Join type: Inner
Join condition: None
(91) Project
Output [3]: [orderProposalId#779842L, shardId#779841, coalesce(transform(optimizationGroups#779844, lambdafunction(struct(optGroupId, lambda x_2065#779839.optGroupId, minOrderProfile, lambda x_2065#779839.minOrderProfile, assignmentDetails, lambda x_2065#779839.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2065#779839.minOrderGoal.dimensionType, unit, lambda x_2065#779839.minOrderGoal.unit, unitUuid, lambda x_2065#779839.minOrderGoal.unitUuid, goalValue, lambda x_2065#779839.minOrderGoal.minOrderValue, calcValue, lambda x_2065#779839.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2065#779839, false)), []) AS optimizationGroups#779838]
Input [4]: [shardId#779841, orderProposalId#779842L, optimizationGroups#779844, orderProposalId#779897L]
(92) Exchange
Input [3]: [orderProposalId#779842L, shardId#779841, optimizationGroups#779838]
Arguments: hashpartitioning(coalesce(shardId#779841, ), isnull(shardId#779841), coalesce(orderProposalId#779842L, 0), isnull(orderProposalId#779842L), 20), ENSURE_REQUIREMENTS, [plan_id=309154]
(93) Sort [codegen id : 7]
Input [3]: [orderProposalId#779842L, shardId#779841, optimizationGroups#779838]
Arguments: [coalesce(shardId#779841, ) ASC NULLS FIRST, isnull(shardId#779841) ASC NULLS FIRST, coalesce(orderProposalId#779842L, 0) ASC NULLS FIRST, isnull(orderProposalId#779842L) ASC NULLS FIRST], false, 0
(94) SortMergeJoin
Left keys [4]: [coalesce(shardId#777607, ), isnull(shardId#777607), coalesce(_extract_orderProposalId#780593L, 0), isnull(_extract_orderProposalId#780593L)]
Right keys [4]: [coalesce(shardId#779841, ), isnull(shardId#779841), coalesce(orderProposalId#779842L, 0), isnull(orderProposalId#779842L)]
Join type: LeftOuter
Join condition: None
(95) Project
Output [2]: [shardId#777607, named_struct(orderProposalId, _extract_orderProposalId#780593L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#780585L, supplierGroup, _extract_supplierGroup#780586, optimizationGroups, coalesce(optimizationGroups#779838, []), supplier, _extract_supplier#780587, supplyingPlant, _extract_supplyingPlant#780588, orderDateTime, _extract_orderDateTime#780589, itemGroups, _extract_itemGroups#780590, previousOrderProposals, _extract_previousOrderProposals#780591, parentItems, _extract_parentItems#780592) AS orderProposal#779945]
Input [14]: [shardId#777607, _extract_orderProposalId#780584L, _extract_originalReplenishmentRunId#780585L, _extract_supplierGroup#780586, _extract_supplier#780587, _extract_supplyingPlant#780588, _extract_orderDateTime#780589, _extract_itemGroups#780590, _extract_previousOrderProposals#780591, _extract_parentItems#780592, _extract_orderProposalId#780593L, orderProposalId#779842L, shardId#779841, optimizationGroups#779838]
(96) Filter
Input [1]: [orderProposal#779945]
Condition : (size(orderProposal#779945.parentItems.deliveryDateTime, true) > 0)
(97) Project
Output [1]: [orderProposal#779945.parentItems.deliveryDateTime AS _extract_deliveryDateTime#781364]
Input [1]: [orderProposal#779945]
(98) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#781364]
Arguments: explode(_extract_deliveryDateTime#781364), false, [numberOfOrderProposalItems#781336]
(99) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#781336]
(100) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#781375L]
Results [1]: [count#781376L]
(101) Exchange
Input [1]: [count#781376L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=309272]
(102) HashAggregate [codegen id : 2]
Input [1]: [count#781376L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#781341L]
Results [1]: [count(1)#781341L AS count#781337L]