digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 3 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 2 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 2.2 KiB<br>merged fetch fallback count: 0<br>local blocks read: 30<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 335783.0: task 941715))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>5 ms (0 ms, 0 ms, 0 ms (stage 335783.0: task 941738))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 1<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.2 KiB (75.0 B, 75.0 B, 75.0 B (stage 335783.0: task 941715))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1029876]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n112 ms (1 ms, 3 ms, 26 ms (stage 335783.0: task 941745))";
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>104 ms (1 ms, 2 ms, 26 ms (stage 335783.0: task 941745))<br>number of output rows: 30" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 39,968" tooltip="Generate explode(_extract_deliveryDateTime#3592114), false, [numberOfOrderProposalItems#3592086]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3590694.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3592114]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 792" tooltip="Filter (size(orderProposal#3590694.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 792" tooltip="InMemoryTableScan [orderProposal#3590694], [(size(orderProposal#3590694.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, named_struct(orderProposalId, _extract_orderProposalId#3591343L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3591335L, supplierGroup, _extract_supplierGroup#3591336, optimizationGroups, coalesce(optimizationGroups#3590587, []), supplier, _extract_supplier#3591337, supplyingPlant, _extract_supplyingPlant#3591338, orderDateTime, _extract_orderDateTime#3591339, itemGroups, _extract_itemGroups#3591340, previousOrderProposals, _extract_previousOrderProposals#3591341, parentItems, _extract_parentItems#3591342) AS orderProposal#3590694]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 792<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335783.0: task 941715))" tooltip="SortMergeJoin [coalesce(shardId#3579932, ), isnull(shardId#3579932), coalesce(_extract_orderProposalId#3591343L, 0), isnull(_extract_orderProposalId#3591343L)], [coalesce(shardId#3590590, ), isnull(shardId#3590590), coalesce(orderProposalId#3590591L, 0), isnull(orderProposalId#3590591L)], 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 335783.0: task 941715))<br>peak memory total (min, med, max (stageId: taskId))<br>115.9 MiB (2.1 MiB, 4.1 MiB, 4.1 MiB (stage 335783.0: task 941715))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335783.0: task 941715))" tooltip="Sort [coalesce(shardId#3579932, ) ASC NULLS FIRST, isnull(shardId#3579932) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3591343L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3591343L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 792<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 792<br>local bytes read total (min, med, max (stageId: taskId))<br>6.8 MiB (158.2 KiB, 229.5 KiB, 312.5 KiB (stage 335783.0: task 941743))<br>merged fetch fallback count: 0<br>local blocks read: 517<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>72.5 MiB (1394.5 KiB, 2.5 MiB, 3.7 MiB (stage 335782.0: task 941676))<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>63 ms (1 ms, 1 ms, 5 ms (stage 335782.0: task 941671))<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 335783.0: task 941715))<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.8 MiB (131.6 KiB, 241.5 KiB, 355.9 KiB (stage 335782.0: task 941676))" tooltip="Exchange hashpartitioning(coalesce(shardId#3579932, ), isnull(shardId#3579932), coalesce(_extract_orderProposalId#3591343L, 0), isnull(_extract_orderProposalId#3591343L), 30), ENSURE_REQUIREMENTS, [plan_id=1029710]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, orderProposal#3590575.orderProposalId AS _extract_orderProposalId#3591334L, orderProposal#3590575.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3591335L, orderProposal#3590575.supplierGroup AS _extract_supplierGroup#3591336, orderProposal#3590575.supplier AS _extract_supplier#3591337, orderProposal#3590575.supplyingPlant AS _extract_supplyingPlant#3591338, orderProposal#3590575.orderDateTime AS _extract_orderDateTime#3591339, orderProposal#3590575.itemGroups AS _extract_itemGroups#3591340, orderProposal#3590575.previousOrderProposals AS _extract_previousOrderProposals#3591341, orderProposal#3590575.parentItems AS _extract_parentItems#3591342, orderProposal#3590575.orderProposalId AS _extract_orderProposalId#3591343L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, struct(orderProposalId, orderProposalId#3581322L, originalReplenishmentRunId, originalReplenishmentRunId#3590543L, supplierGroup, supplierGroup#3590544, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3590544) THEN supplier#3590545 END, supplyingPlant, supplyingPlant#3590546, orderDateTime, orderDateTime#3590547, itemGroups, itemGroups#3590548, previousOrderProposals, array_distinct(previousOrderProposals#3590550), parentItems, parentItems#3590549) AS orderProposal#3590575]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 792<br>time in aggregation build total (min, med, max (stageId: taskId))<br>546 ms (10 ms, 12 ms, 40 ms (stage 335782.0: task 941660))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335782.0: task 941660))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3579932, orderProposalId#3581322L], functions=[max(originalReplenishmentRunId#3590481L), max(supplierGroup#3590482), max(supplier#3590483), max(supplyingPlant#3590484), max(orderDateTime#3590485), collect_list(itemGroup#3590542, 0, 0), collect_list(parentItems#3590486, 0, 0), collect_set(previousOrderProposals#3590488, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 792<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 792<br>local bytes read total (min, med, max (stageId: taskId))<br>6.9 MiB (131.8 KiB, 243.0 KiB, 355.8 KiB (stage 335782.0: task 941676))<br>merged fetch fallback count: 0<br>local blocks read: 513<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>72.5 MiB (1570.9 KiB, 2.3 MiB, 3.5 MiB (stage 335777.0: task 941645))<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>53 ms (1 ms, 1 ms, 2 ms (stage 335777.0: task 941633))<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 335782.0: task 941660))<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.9 MiB (148.5 KiB, 224.7 KiB, 341.6 KiB (stage 335777.0: task 941645))" tooltip="Exchange hashpartitioning(shardId#3579932, orderProposalId#3581322L, 30), ENSURE_REQUIREMENTS, [plan_id=1029706]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 792<br>time in aggregation build total (min, med, max (stageId: taskId))<br>187 ms (3 ms, 3 ms, 20 ms (stage 335777.0: task 941607))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335777.0: task 941608))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3579932, orderProposalId#3581322L], functions=[partial_max(originalReplenishmentRunId#3590481L), partial_max(supplierGroup#3590482), partial_max(supplier#3590483), partial_max(supplyingPlant#3590484), partial_max(orderDateTime#3590485), partial_collect_list(itemGroup#3590542, 0, 0), partial_collect_list(parentItems#3590486, 0, 0), partial_collect_set(previousOrderProposals#3590488, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 792<br>time in aggregation build total (min, med, max (stageId: taskId))<br>954 ms (14 ms, 22 ms, 96 ms (stage 335777.0: task 941605))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335777.0: task 941608))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3579932, orderProposalId#3581322L, splitIndicator#3581327L, orderProposalItemGroupId#3581324], functions=[max(originalReplenishmentRunId#3581325L), max(supplierGroup#3581332), max(supplier#3581333), max(supplyingPlant#3581363), max(orderDateTime#3581340), collect_list(parentItem#3590433, 0, 0), collect_set(previousOrderProposal#3581328L, 0, 0), collect_list(item#3590464, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 19,473<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 19,473<br>local bytes read total (min, med, max (stageId: taskId))<br>7.9 MiB (173.6 KiB, 260.6 KiB, 384.0 KiB (stage 335777.0: task 941645))<br>merged fetch fallback count: 0<br>local blocks read: 750<br>remote merged chunks fetched: 0<br>remote blocks read: 150<br>data size total (min, med, max (stageId: taskId))<br>77.5 MiB (2.5 MiB, 2.6 MiB, 2.7 MiB (stage 335776.0: task 941399))<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>70 ms (2 ms, 2 ms, 3 ms (stage 335776.0: task 941484))<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 335777.0: task 941608))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1576.6 KiB (33.0 KiB, 52.7 KiB, 75.8 KiB (stage 335777.0: task 941645))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>113 ms (3 ms, 4 ms, 8 ms (stage 335777.0: task 941638))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>9.4 MiB (307.8 KiB, 322.8 KiB, 331.4 KiB (stage 335776.0: task 941357))" tooltip="Exchange hashpartitioning(shardId#3579932, orderProposalId#3581322L, splitIndicator#3581327L, orderProposalItemGroupId#3581324, 30), ENSURE_REQUIREMENTS, [plan_id=1029703]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 19,473<br>time in aggregation build total (min, med, max (stageId: taskId))<br>7.9 s (103 ms, 160 ms, 965 ms (stage 335776.0: task 941482))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335776.0: task 941374))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3579932, orderProposalId#3581322L, splitIndicator#3581327L, orderProposalItemGroupId#3581324], functions=[partial_max(originalReplenishmentRunId#3581325L), partial_max(supplierGroup#3581332), partial_max(supplier#3581333), partial_max(supplyingPlant#3581363), partial_max(orderDateTime#3581340), partial_collect_list(parentItem#3590433, 0, 0), partial_collect_set(previousOrderProposal#3581328L, 0, 0), partial_collect_list(item#3590464, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, orderDateTime#3581340, splitIndicator#3581327L, orderProposalItemGroupId#3581324, previousOrderProposal#3581328L, parentItem#3590433, struct(itemId, orderProposalItemId#3581323, supplier, supplier#3581333, supplyingPlant, supplyingPlant#3581363, productGroup, productGroup#3581364, product, product#3581335, plant, plant#3581336, supplierSubRange, subrange#3581334, deliveryDateTime, deliveryDateTime#3581341, orderQuantity, coalesce((qty#3581121 * (cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11991#3590467.isOrderUnit, lambda x_11991#3590467, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11991#3590468.isOrderUnit, lambda x_11991#3590468, false)), 1, None, false).numerator as double))), qty#3581121), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11991#3590469.isOrderUnit, lambda x_11991#3590469, false)), 1, None, false).uom, orderQuantityBaseUom#3581345), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11991#3590470.isOrderUnit, lambda x_11991#3590470, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581346), orderQuantityInBaseUnit, qty#3581121, orderQuantityBaseUom, ... 13 more fields) AS item#3590464]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, qty#3581121, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, productGroup#3581364, product#3581335, plant#3581336, subrange#3581334, orderDateTime#3581340, deliveryDateTime#3581341, logisticUnits#3581359, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, splitIndicator#3581327L, orderProposalItemId#3581323, orderProposalItemGroupId#3581324, previousOrderProposal#3581328L, struct(itemId, orderProposalItemId#3581323, itemGroupId, orderProposalItemGroupId#3581324, supplier, supplier#3581333, supplyingPlant, supplyingPlant#3581363, productGroup, productGroup#3581364, product, product#3581335, plant, plant#3581336, supplierSubRange, subrange#3581334, sourceOfSupplyUuid, sourceOfSupplyUuid#3581331, deliveryDateTime, deliveryDateTime#3581341, unitPrice, netPriceAmount#3581350, unitPriceCurrency, netPriceCurrencyCode#3581351, unitPriceQuantity, ... 37 more fields) AS parentItem#3590433]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, qty#3581121, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, productGroup#3581364, product#3581335, plant#3581336, subrange#3581334, orderDateTime#3581340, deliveryDateTime#3581341, availabilityDateTime#3581342, nextAvailabilityDateTime#3581343, logisticUnits#3581359, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, splitIndicator#3581327L, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, sourceOfSupplyUuid#3581331, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n11.1 s (147 ms, 206 ms, 1.3 s (stage 335776.0: task 941482))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, productGroup#3581364, product#3581335, plant#3581336, subrange#3581334, orderDateTime#3581340, deliveryDateTime#3581341, availabilityDateTime#3581342, nextAvailabilityDateTime#3581343, logisticUnits#3581359, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, splitIndicator#3581327L, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 39,968" tooltip="Filter NOT (isFallbackOrderOnly#3581344 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 39,968" tooltip="InMemoryTableScan [availabilityDateTime#3581342, channelStreamSpecificKpis#3588673, constraintLabels#3581354, constraintOperators#3581355, constraintValues#3581357, deliveryDateTime#3581341, isFallbackOrderOnly#3581344, logisticUnits#3581359, measurements#3581352, minimumOrderQuantity#3581353, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, nextAvailabilityDateTime#3581343, optimizationGroups#3581360, orderDateTime#3581340, orderProposalId#3581322L, orderProposalItemGroupId#3581324, orderProposalItemId#3581323, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, originalReplenishmentRunId#3581325L, plant#3581336, ... 14 more fields], [NOT (isFallbackOrderOnly#3581344 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n13.2 s (251 ms, 395 ms, 763 ms (stage 335776.0: task 941335))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 39,968<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335776.0: task 941374))" tooltip="SortMergeJoin [shardId#3579932, worklistShardItemId#3581119L], [shardId#3588680, worklistShardItemId#3588681L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n19.9 s (348 ms, 552 ms, 1.3 s (stage 335776.0: task 941481))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 39,968<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335776.0: task 941374))" tooltip="SortMergeJoin [shardId#3579932, worklistShardItemId#3581119L], [shardId#3588667, worklistShardItemId#3588668L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n24.2 s (395 ms, 615 ms, 1.9 s (stage 335776.0: task 941481))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 39,968<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335776.0: task 941374))" tooltip="SortMergeJoin [shardId#3579932, worklistShardItemId#3581119L], [shardId#3588651, worklistShardItemId#3588652L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n25.7 s (397 ms, 617 ms, 2.3 s (stage 335776.0: task 941481))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 1 ms (stage 335776.0: task 941335))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335776.0: task 941374))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335776.0: task 941374))" tooltip="Sort [shardId#3579932 ASC NULLS FIRST, worklistShardItemId#3581119L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 39,968<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 39,968<br>local bytes read total (min, med, max (stageId: taskId))<br>8.0 MiB (313.4 KiB, 328.9 KiB, 339.2 KiB (stage 335776.0: task 941399))<br>merged fetch fallback count: 0<br>local blocks read: 750<br>remote merged chunks fetched: 0<br>remote blocks read: 150<br>data size total (min, med, max (stageId: taskId))<br>46.1 MiB (1506.9 KiB, 1570.5 KiB, 1651.1 KiB (stage 335773.0: task 940889))<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>74 ms (1 ms, 2 ms, 6 ms (stage 335773.0: task 940925))<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 335776.0: task 941374))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1586.2 KiB (312.1 KiB, 314.8 KiB, 325.1 KiB (stage 335776.0: task 941495))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>93 ms (2 ms, 28 ms, 30 ms (stage 335776.0: task 941482))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>9.5 MiB (313.5 KiB, 325.0 KiB, 340.5 KiB (stage 335773.0: task 940889))" tooltip="Exchange hashpartitioning(shardId#3579932, worklistShardItemId#3581119L, 30), ENSURE_REQUIREMENTS, [plan_id=1029409]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n917 ms (20 ms, 26 ms, 64 ms (stage 335773.0: task 940911))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 39,968<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335773.0: task 940871))" tooltip="SortMergeJoin [worklistShardItemId#3581119L], [worklistShardItemId#3581510L], LeftOuter, (shardId#3579932 = 0_7_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (21 ms, 27 ms, 195 ms (stage 335773.0: task 940871))";
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 335773.0: task 940871))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335773.0: task 940871))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335773.0: task 940871))" tooltip="Sort [worklistShardItemId#3581119L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 39,968<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 39,968<br>local bytes read total (min, med, max (stageId: taskId))<br>286.2 KiB (9.3 KiB, 9.5 KiB, 9.9 KiB (stage 335773.0: task 940924))<br>merged fetch fallback count: 0<br>local blocks read: 720<br>remote merged chunks fetched: 0<br>remote blocks read: 180<br>data size total (min, med, max (stageId: taskId))<br>2.1 MiB (63.3 KiB, 73.1 KiB, 80.9 KiB (stage 335771.0: task 940623))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>60 ms (1 ms, 1 ms, 12 ms (stage 335771.0: task 940601))<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>17 ms (0 ms, 0 ms, 9 ms (stage 335773.0: task 940935))<br>remote bytes read total (min, med, max (stageId: taskId))<br>74.7 KiB (2.2 KiB, 2.5 KiB, 2.7 KiB (stage 335773.0: task 940910))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>112 ms (3 ms, 3 ms, 13 ms (stage 335773.0: task 940935))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>360.9 KiB (10.9 KiB, 12.1 KiB, 13.0 KiB (stage 335771.0: task 940623))" tooltip="Exchange hashpartitioning(worklistShardItemId#3581119L, 30), ENSURE_REQUIREMENTS, [plan_id=1029390]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n222 ms (3 ms, 4 ms, 96 ms (stage 335771.0: task 940623))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579932, item#3581118.worklistShardItemId AS worklistShardItemId#3581119L, item#3581118.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3581120, item#3581118.qty AS qty#3581121]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 39,968" tooltip="Generate explode(items#3579934), [shardId#3579932], false, [item#3581118]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 792" tooltip="Filter ((size(items#3579934, true) > 0) AND isnotnull(items#3579934))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 792" tooltip="InMemoryTableScan [shardId#3579932, items#3579934], [(size(items#3579934, true) > 0), isnotnull(items#3579934)]"];
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#3579932) AND (shardId#3579932 = 0_7_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, optimizationInsights#3579938], [isnotnull(shardId#3579932), (shardId#3579932 = 0_7_10000000532)]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
56 [id="node56" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3579932) AND (shardId#3579932 = 0_7_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3579932,orderProposalId#3579933L,items#3579934,optimizationGroups#3579935,isOptimal#3579936,lastModified#3579937,optimizationInsights#3579938]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.0 s (20 ms, 26 ms, 116 ms (stage 335773.0: task 940871))";
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 335773.0: task 940871))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335773.0: task 940871))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335773.0: task 940871))" tooltip="Sort [worklistShardItemId#3581510L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3581510L, orderProposalId#3581487L, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, originalReplenishmentRunId#3581529L, splitIndicator#3581506L, previousOrderProposal#3581507L, sourceOfSupplyUuid#3581501, supplierGroup#3581489, supplier#3581490, subrange#3581493, product#3581496, plant#3581491, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, isFallbackOrderOnly#3581504, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, netPriceAmount#3581523, netPriceCurrencyCode#3581524, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 39,968<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 39,968<br>local bytes read total (min, med, max (stageId: taskId))<br>3.6 MiB (111.3 KiB, 121.6 KiB, 132.6 KiB (stage 335773.0: task 940879))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 660<br>data size total (min, med, max (stageId: taskId))<br>44.6 MiB (1175.0 KiB, 1232.2 KiB, 1301.6 KiB (stage 335770.0: task 940630))<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>159 ms (1 ms, 1 ms, 62 ms (stage 335770.0: task 940839))<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>13 ms (0 ms, 0 ms, 8 ms (stage 335773.0: task 940911))<br>remote bytes read total (min, med, max (stageId: taskId))<br>5.5 MiB (175.9 KiB, 186.7 KiB, 194.8 KiB (stage 335773.0: task 940909))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>195 ms (4 ms, 4 ms, 24 ms (stage 335773.0: task 940911))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>9.0 MiB (237.6 KiB, 250.1 KiB, 262.2 KiB (stage 335770.0: task 940630))" tooltip="Exchange hashpartitioning(worklistShardItemId#3581510L, 30), REPARTITION_BY_NUM, [plan_id=1029400]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n5.0 s (84 ms, 124 ms, 271 ms (stage 335770.0: task 940638))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3581487L, orderProposalItemId#3581488, supplierGroup#3581489, supplier#3581490, plant#3581491, deliveryDateTime#3581492, subrange#3581493, supplyingPlant#3581494, productGroup#3581495, product#3581496, orderDateTime#3581497, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, sourceOfSupplyUuid#3581501, isFallbackOrderOnly#3581504, splitIndicator#3581506L, previousOrderProposal#3581507L, worklistShardItemId#3581510L, orderProposalItemGroupId#3581511, externalProductId#3581512, externalPlantId#3581513, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, minimumOrderQuantity#3581517, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 39,968" tooltip="Filter isnotnull(worklistShardItemId#3581510L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 39,968<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
66 [id="node66" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>4.3 s (77 ms, 116 ms, 170 ms (stage 335770.0: task 940638))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 5.9 MiB<br>number of output rows: 39,968<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3581487L,orderProposalItemId#3581488,supplierGroup#3581489,supplier#3581490,plant#3581491,deliveryDateTime#3581492,subrange#3581493,supplyingPlant#3581494,productGroup#3581495,product#3581496,orderDateTime#3581497,availabilityDateTime#3581498,nextAvailabilityDateTime#3581499,sourceOfSupplyUuid#3581501,isFallbackOrderOnly#3581504,splitIndicator#3581506L,previousOrderProposal#3581507L,worklistShardItemId#3581510L,orderProposalItemGroupId#3581511,externalProductId#3581512,externalPlantId#3581513,logisticUnits#3581514,orderQuantityBaseUom#3581515,orderQuantityBaseUomUuid#3581516,minimumOrderQuantity#3581517,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3581510L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3581531), isnotnull(sequenceId#3581509), (shardId#3581531 = 0_7_10000000532), ..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster67 {
isCluster="true";
id="cluster67";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n12.5 s (197 ms, 307 ms, 1.1 s (stage 335776.0: task 941481))";
tooltip="WholeStageCodegen (8)";
68 [id="node68" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>739 ms (15 ms, 18 ms, 64 ms (stage 335776.0: task 941335))<br>peak memory total (min, med, max (stageId: taskId))<br>675.0 MiB (22.5 MiB, 22.5 MiB, 22.5 MiB (stage 335776.0: task 941374))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335776.0: task 941374))" tooltip="Sort [shardId#3588651 ASC NULLS FIRST, worklistShardItemId#3588652L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>11.8 MiB (83.7 KiB, 448.1 KiB, 463.0 KiB (stage 335776.0: task 941466))<br>merged fetch fallback count: 0<br>local blocks read: 431<br>remote merged chunks fetched: 0<br>remote blocks read: 469<br>data size total (min, med, max (stageId: taskId))<br>610.4 MiB (20.1 MiB, 20.3 MiB, 20.6 MiB (stage 335774.0: task 940908))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>103 ms (2 ms, 2 ms, 16 ms (stage 335774.0: task 941112))<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 335776.0: task 941374))<br>remote bytes read total (min, med, max (stageId: taskId))<br>12.8 MiB (382.8 KiB, 394.4 KiB, 758.3 KiB (stage 335776.0: task 941481))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>208 ms (4 ms, 6 ms, 20 ms (stage 335776.0: task 941484))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>24.6 MiB (828.8 KiB, 840.8 KiB, 855.3 KiB (stage 335774.0: task 940908))" tooltip="Exchange hashpartitioning(shardId#3588651, worklistShardItemId#3588652L, 30), ENSURE_REQUIREMENTS, [plan_id=1029415]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n28.1 s (804 ms, 919 ms, 1.2 s (stage 335774.0: task 940563))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3588651, worklistShardItemId#3588652L, coalesce(kpis#3588656, []) AS prodLocSpecificKpis#3588657]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter (((isnull(qty#3588653) AND isnull(demandChannel#3588654)) AND isnull(demandStream#3588655)) AND (isnotnull(shardId#3588651) AND isnotnull(worklistShardItemId#3588652L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3588651,worklistShardItemId#3588652L,qty#3588653,demandChannel#3588654,demandStream#3588655,kpis#3588656]"];
}
subgraph cluster74 {
isCluster="true";
id="cluster74";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n10.4 s (174 ms, 280 ms, 773 ms (stage 335776.0: task 941481))";
tooltip="WholeStageCodegen (11)";
75 [id="node75" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>33 ms (1 ms, 1 ms, 4 ms (stage 335776.0: task 941363))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 335776.0: task 941374))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335776.0: task 941374))" tooltip="Sort [shardId#3588667 ASC NULLS FIRST, worklistShardItemId#3588668L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.2 s (21 ms, 26 ms, 99 ms (stage 335776.0: task 941482))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335776.0: task 941374))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3588667, worklistShardItemId#3588668L], functions=[collect_list(struct(demandChannel, demandChannel#3588670, demandStream, demandStream#3588671, kpis, kpis#3588672), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>1447.1 KiB (37.6 KiB, 39.8 KiB, 133.7 KiB (stage 335776.0: task 941531))<br>merged fetch fallback count: 0<br>local blocks read: 183<br>remote merged chunks fetched: 0<br>remote blocks read: 717<br>data size total (min, med, max (stageId: taskId))<br>236.9 MiB (7.8 MiB, 7.9 MiB, 8.0 MiB (stage 335772.0: task 940743))<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>59 ms (1 ms, 1 ms, 2 ms (stage 335772.0: task 941155))<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 335776.0: task 941374))<br>remote bytes read total (min, med, max (stageId: taskId))<br>5.5 MiB (101.3 KiB, 197.5 KiB, 202.1 KiB (stage 335776.0: task 941466))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>230 ms (4 ms, 6 ms, 41 ms (stage 335776.0: task 941374))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>7.0 MiB (234.1 KiB, 237.5 KiB, 239.7 KiB (stage 335772.0: task 941266))" tooltip="Exchange hashpartitioning(shardId#3588667, worklistShardItemId#3588668L, 30), ENSURE_REQUIREMENTS, [plan_id=1029426]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>29.4 s (800 ms, 917 ms, 1.7 s (stage 335772.0: task 940743))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335772.0: task 940557))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3588667, worklistShardItemId#3588668L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3588670, demandStream, demandStream#3588671, kpis, kpis#3588672), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n28.8 s (784 ms, 899 ms, 1.7 s (stage 335772.0: task 940743))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3588667, worklistShardItemId#3588668L, demandChannel#3588670, demandStream#3588671, kpis#3588672]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter ((((isnull(qty#3588669) AND isnotnull(demandChannel#3588670)) AND isnotnull(demandStream#3588671)) AND (size(kpis#3588672, true) > 0)) AND (isnotnull(shardId#3588667) AND isnotnull(worklistShardItemId#3588668L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3588667,worklistShardItemId#3588668L,qty#3588669,demandChannel#3588670,demandStream#3588671,kpis#3588672]"];
}
subgraph cluster83 {
isCluster="true";
id="cluster83";
label="WholeStageCodegen (14)\n \nduration: total (min, med, max (stageId: taskId))\n7.1 s (126 ms, 198 ms, 442 ms (stage 335776.0: task 941481))";
tooltip="WholeStageCodegen (14)";
84 [id="node84" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>33 ms (1 ms, 1 ms, 2 ms (stage 335776.0: task 941531))<br>peak memory total (min, med, max (stageId: taskId))<br>735.0 MiB (24.5 MiB, 24.5 MiB, 24.5 MiB (stage 335776.0: task 941374))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335776.0: task 941374))" tooltip="Sort [shardId#3588680 ASC NULLS FIRST, worklistShardItemId#3588681L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.4 s (46 ms, 78 ms, 142 ms (stage 335776.0: task 941484))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335776.0: task 941374))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3588680, worklistShardItemId#3588681L], functions=[collect_list(struct(qty, qty#3588682, kpis, kpis#3588685), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,174,407<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,174,407<br>local bytes read total (min, med, max (stageId: taskId))<br>6.5 MiB (205.1 KiB, 208.8 KiB, 288.4 KiB (stage 335776.0: task 941482))<br>merged fetch fallback count: 0<br>local blocks read: 255<br>remote merged chunks fetched: 0<br>remote blocks read: 645<br>data size total (min, med, max (stageId: taskId))<br>727.4 MiB (24.1 MiB, 24.2 MiB, 24.4 MiB (stage 335775.0: task 940863))<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>109 ms (2 ms, 2 ms, 17 ms (stage 335775.0: task 940869))<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>39 ms (0 ms, 0 ms, 38 ms (stage 335776.0: task 941363))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.4 MiB (491.8 KiB, 571.8 KiB, 587.9 KiB (stage 335776.0: task 941466))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>317 ms (4 ms, 6 ms, 63 ms (stage 335776.0: task 941363))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>22.9 MiB (776.7 KiB, 782.1 KiB, 787.2 KiB (stage 335775.0: task 940863))" tooltip="Exchange hashpartitioning(shardId#3588680, worklistShardItemId#3588681L, 30), ENSURE_REQUIREMENTS, [plan_id=1029438]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,174,407<br>time in aggregation build total (min, med, max (stageId: taskId))<br>29.3 s (829 ms, 950 ms, 1.8 s (stage 335775.0: task 940564))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335775.0: task 940564))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3588680, worklistShardItemId#3588681L], functions=[partial_collect_list(struct(qty, qty#3588682, kpis, kpis#3588685), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n28.0 s (786 ms, 905 ms, 1.7 s (stage 335775.0: task 940564))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3588680, worklistShardItemId#3588681L, qty#3588682, kpis#3588685]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter ((isnotnull(qty#3588682) AND isnotnull(kpis#3588685)) AND (isnotnull(shardId#3588680) AND isnotnull(worklistShardItemId#3588681L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3588680,worklistShardItemId#3588681L,qty#3588682,demandChannel#3588683,demandStream#3588684,kpis#3588685]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.6 s (16 ms, 18 ms, 208 ms (stage 335783.0: task 941715))";
tooltip="WholeStageCodegen (9)";
93 [id="node93" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 335783.0: task 941715))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335783.0: task 941715))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335783.0: task 941715))" tooltip="Sort [coalesce(shardId#3590590, ) ASC NULLS FIRST, isnull(shardId#3590590) ASC NULLS FIRST, coalesce(orderProposalId#3590591L, 0) ASC NULLS FIRST, isnull(orderProposalId#3590591L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 792<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 792<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 534<br>data size total (min, med, max (stageId: taskId))<br>43.3 KiB (952.0 B, 1456.0 B, 2.1 KiB (stage 335781.0: task 941073))<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>34 ms (0 ms, 1 ms, 1 ms (stage 335781.0: task 941056))<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 335783.0: task 941715))<br>remote bytes read total (min, med, max (stageId: taskId))<br>62.4 KiB (1441.0 B, 2.1 KiB, 2.6 KiB (stage 335783.0: task 941745))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>107 ms (3 ms, 3 ms, 5 ms (stage 335783.0: task 941714))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>62.4 KiB (1424.0 B, 2.1 KiB, 2.8 KiB (stage 335781.0: task 941073))" tooltip="Exchange hashpartitioning(coalesce(shardId#3590590, ), isnull(shardId#3590590), coalesce(orderProposalId#3590591L, 0), isnull(orderProposalId#3590591L), 30), ENSURE_REQUIREMENTS, [plan_id=1029749]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3590591L, shardId#3590590, coalesce(transform(optimizationGroups#3590593, lambdafunction(struct(optGroupId, lambda x_11995#3590588.optGroupId, minOrderProfile, lambda x_11995#3590588.minOrderProfile, assignmentDetails, lambda x_11995#3590588.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11995#3590588.minOrderGoal.dimensionType, unit, lambda x_11995#3590588.minOrderGoal.unit, unitUuid, lambda x_11995#3590588.minOrderGoal.unitUuid, goalValue, lambda x_11995#3590588.minOrderGoal.minOrderValue, calcValue, lambda x_11995#3590588.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11995#3590588, false)), []) AS optimizationGroups#3590587]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (7 ms, 9 ms, 447 ms (stage 335781.0: task 940999))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 792<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335781.0: task 940999))" tooltip="SortMergeJoin [orderProposalId#3590591L], [orderProposalId#3590646L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.8 s (7 ms, 10 ms, 1.2 s (stage 335781.0: task 940999))";
tooltip="WholeStageCodegen (3)";
99 [id="node99" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 335781.0: task 940999))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335781.0: task 940999))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335781.0: task 940999))" tooltip="Sort [orderProposalId#3590591L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 792<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 792<br>local bytes read total (min, med, max (stageId: taskId))<br>28.8 KiB (577.0 B, 1000.0 B, 1473.0 B (stage 335781.0: task 941064))<br>merged fetch fallback count: 0<br>local blocks read: 250<br>remote merged chunks fetched: 0<br>remote blocks read: 299<br>data size total (min, med, max (stageId: taskId))<br>43.3 KiB (1288.0 B, 1512.0 B, 1624.0 B (stage 335779.0: task 940647))<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>37 ms (0 ms, 1 ms, 1 ms (stage 335779.0: task 940673))<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>16 ms (0 ms, 0 ms, 8 ms (stage 335781.0: task 941047))<br>remote bytes read total (min, med, max (stageId: taskId))<br>35.0 KiB (716.0 B, 1246.0 B, 1536.0 B (stage 335781.0: task 941070))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>110 ms (3 ms, 3 ms, 11 ms (stage 335781.0: task 941047))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>63.8 KiB (1791.0 B, 2.1 KiB, 2.5 KiB (stage 335779.0: task 940570))" tooltip="Exchange hashpartitioning(orderProposalId#3590591L, 30), ENSURE_REQUIREMENTS, [plan_id=1029715]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n201 ms (2 ms, 3 ms, 96 ms (stage 335779.0: task 940570))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 792" tooltip="Filter isnotnull(orderProposalId#3590591L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 792" tooltip="InMemoryTableScan [shardId#3590590, orderProposalId#3590591L, optimizationGroups#3590593], [isnotnull(orderProposalId#3590591L)]"];
subgraph cluster104 {
isCluster="true";
id="cluster104";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
105 [id="node105" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3579932) AND (shardId#3579932 = 0_7_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, optimizationInsights#3579938], [isnotnull(shardId#3579932), (shardId#3579932 = 0_7_10000000532)]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
108 [id="node108" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3579932) AND (shardId#3579932 = 0_7_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3579932,orderProposalId#3579933L,items#3579934,optimizationGroups#3579935,isOptimal#3579936,lastModified#3579937,optimizationInsights#3579938]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (7 ms, 10 ms, 810 ms (stage 335781.0: task 940999))";
tooltip="WholeStageCodegen (7)";
111 [id="node111" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 335781.0: task 940999))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335781.0: task 940999))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335781.0: task 940999))" tooltip="Sort [orderProposalId#3590646L ASC NULLS FIRST], false, 0"];
112 [id="node112" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>97 ms (1 ms, 2 ms, 13 ms (stage 335781.0: task 941064))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 335781.0: task 940999))<br>number of output rows: 792<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3590646L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 19,399<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 19,399<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 900<br>data size total (min, med, max (stageId: taskId))<br>303.1 KiB (9.9 KiB, 10.1 KiB, 10.4 KiB (stage 335780.0: task 940980))<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>48 ms (1 ms, 1 ms, 2 ms (stage 335780.0: task 940996))<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>30 ms (0 ms, 0 ms, 10 ms (stage 335781.0: task 941064))<br>remote bytes read total (min, med, max (stageId: taskId))<br>264.6 KiB (6.2 KiB, 8.7 KiB, 12.0 KiB (stage 335781.0: task 941073))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>160 ms (3 ms, 4 ms, 15 ms (stage 335781.0: task 941064))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>264.6 KiB (8.6 KiB, 8.8 KiB, 9.0 KiB (stage 335780.0: task 940980))" tooltip="Exchange hashpartitioning(orderProposalId#3590646L, 30), ENSURE_REQUIREMENTS, [plan_id=1029740]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n416 ms (7 ms, 8 ms, 99 ms (stage 335780.0: task 940955))";
tooltip="WholeStageCodegen (6)";
115 [id="node115" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>163 ms (3 ms, 4 ms, 29 ms (stage 335780.0: task 940983))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 335780.0: task 940955))<br>number of output rows: 19,399<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3590646L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3590646L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 39,968" tooltip="BroadcastHashJoin [worklistShardItemId#3590598L], [worklistShardItemId#3590669L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3590669L, orderProposalId#3590646L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 3 ms<br>time to build: 7 ms<br>time to collect: 745 ms<br>number of output rows: 39,968<br>data size: 3.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1029726]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n25 ms (0 ms, 0 ms, 6 ms (stage 335769.0: task 940494))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3590597L AS worklistShardItemId#3590598L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 39,968" tooltip="Generate explode(_extract_worklistShardItemId#3591238), false, [item#3590597L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3590219.worklistShardItemId AS _extract_worklistShardItemId#3591238]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 792" tooltip="Filter (((size(items#3590219.worklistShardItemId, true) > 0) AND isnotnull(items#3590219.worklistShardItemId)) AND (shardId#3590217 = 0_7_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 792" tooltip="InMemoryTableScan [items#3590219, shardId#3590217], [(size(items#3590219.worklistShardItemId, true) > 0), isnotnull(items#3590219.worklistShardItemId), (shardId#3590217 = 0_7_10000000532)]"];
subgraph cluster125 {
isCluster="true";
id="cluster125";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
126 [id="node126" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3579932) AND (shardId#3579932 = 0_7_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, optimizationInsights#3579938], [isnotnull(shardId#3579932), (shardId#3579932 = 0_7_10000000532)]"];
subgraph cluster128 {
isCluster="true";
id="cluster128";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
129 [id="node129" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3579932) AND (shardId#3579932 = 0_7_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3579932,orderProposalId#3579933L,items#3579934,optimizationGroups#3579935,isOptimal#3579936,lastModified#3579937,optimizationInsights#3579938]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 39,968<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 39,968<br>local bytes read total (min, med, max (stageId: taskId))<br>529.4 KiB (17.1 KiB, 17.6 KiB, 18.5 KiB (stage 335780.0: task 940986))<br>merged fetch fallback count: 0<br>local blocks read: 930<br>remote merged chunks fetched: 0<br>remote blocks read: 180<br>data size total (min, med, max (stageId: taskId))<br>936.8 KiB (24.1 KiB, 25.3 KiB, 26.7 KiB (stage 335778.0: task 940635))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>61 ms (1 ms, 1 ms, 2 ms (stage 335778.0: task 940706))<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>40 ms (0 ms, 0 ms, 24 ms (stage 335780.0: task 940983))<br>remote bytes read total (min, med, max (stageId: taskId))<br>99.1 KiB (3.1 KiB, 3.3 KiB, 3.6 KiB (stage 335780.0: task 940966))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>82 ms (0 ms, 1 ms, 29 ms (stage 335780.0: task 940983))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>628.5 KiB (16.3 KiB, 16.9 KiB, 17.8 KiB (stage 335778.0: task 940635))" tooltip="Exchange hashpartitioning(worklistShardItemId#3590669L, 30), REPARTITION_BY_NUM, [plan_id=1029733]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n5.9 s (126 ms, 155 ms, 275 ms (stage 335778.0: task 940556))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3590646L, worklistShardItemId#3590669L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 39,968" tooltip="Filter ((isnotnull(worklistShardItemId#3590669L) AND NOT (isFallbackOrderOnly#3590663 <=> true)) AND isnotnull(orderProposalId#3590646L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 39,968<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
137 [id="node137" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>5.6 s (122 ms, 151 ms, 245 ms (stage 335778.0: task 940556))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 5.9 MiB<br>number of output rows: 39,968<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3590646L,isFallbackOrderOnly#3590663,worklistShardItemId#3590669L,shardId#3590690,sequenceId#3590668] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3590669L), NOT (isFallbackOrderOnly#3590663 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3590690), isnotnull(sequenceId#3590668), (shardId#3590690 = 0_7_10000000532), ..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
23->22;
24->23;
26->24;
27->26;
28->27;
30->28;
31->30;
33->31;
34->33;
36->34;
37->36;
39->37;
40->39;
42->40;
43->42;
45->43;
46->45;
48->46;
49->48;
50->49;
51->50;
53->51;
54->53;
56->54;
57->56;
59->43;
60->59;
61->60;
63->61;
64->63;
65->64;
66->65;
68->37;
69->68;
71->69;
72->71;
73->72;
75->34;
76->75;
77->76;
78->77;
80->78;
81->80;
82->81;
84->31;
85->84;
86->85;
87->86;
89->87;
90->89;
91->90;
93->11;
94->93;
95->94;
97->95;
99->97;
100->99;
102->100;
103->102;
105->103;
106->105;
108->106;
109->108;
111->97;
112->111;
113->112;
115->113;
116->115;
117->116;
118->117;
120->118;
121->120;
122->121;
123->122;
124->123;
126->124;
127->126;
129->127;
130->129;
131->117;
132->131;
134->132;
135->134;
136->135;
137->136;
}
== Physical Plan ==
* HashAggregate (104)
+- Exchange (103)
+- * HashAggregate (102)
+- * Project (101)
+- * Generate (100)
+- Project (99)
+- Filter (98)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (97)
+- SortMergeJoin LeftOuter (96)
:- Sort (67)
: +- Exchange (66)
: +- Project (65)
: +- Project (64)
: +- ObjectHashAggregate (63)
: +- Exchange (62)
: +- ObjectHashAggregate (61)
: +- ObjectHashAggregate (60)
: +- Exchange (59)
: +- ObjectHashAggregate (58)
: +- Project (57)
: +- Project (56)
: +- Project (55)
: +- * Project (54)
: +- * Filter (53)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (52)
: +- * SortMergeJoin LeftOuter (51)
: :- * Project (43)
: : +- * SortMergeJoin LeftOuter (42)
: : :- * Project (34)
: : : +- * SortMergeJoin LeftOuter (33)
: : : :- * Sort (27)
: : : : +- Exchange (26)
: : : : +- * Project (25)
: : : : +- * SortMergeJoin LeftOuter (24)
: : : : :- * Sort (16)
: : : : : +- Exchange (15)
: : : : : +- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- * Sort (23)
: : : : +- * Project (22)
: : : : +- Exchange (21)
: : : : +- * Project (20)
: : : : +- * Filter (19)
: : : : +- * ColumnarToRow (18)
: : : : +- Scan parquet (17)
: : : +- * Sort (32)
: : : +- Exchange (31)
: : : +- * Project (30)
: : : +- * Filter (29)
: : : +- * Scan ExistingRDD (28)
: : +- * Sort (41)
: : +- ObjectHashAggregate (40)
: : +- Exchange (39)
: : +- ObjectHashAggregate (38)
: : +- * Project (37)
: : +- * Filter (36)
: : +- * Scan ExistingRDD (35)
: +- * Sort (50)
: +- ObjectHashAggregate (49)
: +- Exchange (48)
: +- ObjectHashAggregate (47)
: +- * Project (46)
: +- * Filter (45)
: +- * Scan ExistingRDD (44)
+- * Sort (95)
+- Exchange (94)
+- Project (93)
+- * SortMergeJoin Inner (92)
:- * Sort (72)
: +- Exchange (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Sort (91)
+- * HashAggregate (90)
+- Exchange (89)
+- * HashAggregate (88)
+- * Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (79)
: +- * Project (78)
: +- * Generate (77)
: +- * Project (76)
: +- * Filter (75)
: +- InMemoryTableScan (73)
: +- InMemoryRelation (74)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (85)
+- Exchange (84)
+- * Project (83)
+- * Filter (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
(1) InMemoryTableScan
Output [1]: [orderProposal#3590694]
Arguments: [orderProposal#3590694], [(size(orderProposal#3590694.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3579932, orderProposal#3590694], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3581342, channelStreamSpecificKpis#3588673, constraintLabels#3581354, constraintOperators#3581355, constraintValues#3581357, deliveryDateTime#3581341, isFallbackOrderOnly#3581344, logisticUnits#3581359, measurements#3581352, minimumOrderQuantity#3581353, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, nextAvailabilityDateTime#3581343, optimizationGroups#3581360, orderDateTime#3581340, orderProposalId#3581322L, orderProposalItemGroupId#3581324, orderProposalItemId#3581323, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, originalReplenishmentRunId#3581325L, plant#3581336, previousOrderProposal#3581328L, prodLocSpecificKpis#3588658, product#3581335, productGroup#3581364, qty#3581121, quantityAfterProdPlantOptimization#3581120, quantityKpis#3588686, shardId#3579932, sourceOfSupplyUuid#3581331, splitIndicator#3581327L, subrange#3581334, supplier#3581333, supplierGroup#3581332, supplyingPlant#3581363]
Arguments: [availabilityDateTime#3581342, channelStreamSpecificKpis#3588673, constraintLabels#3581354, constraintOperators#3581355, constraintValues#3581357, deliveryDateTime#3581341, isFallbackOrderOnly#3581344, logisticUnits#3581359, measurements#3581352, minimumOrderQuantity#3581353, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, nextAvailabilityDateTime#3581343, optimizationGroups#3581360, orderDateTime#3581340, orderProposalId#3581322L, orderProposalItemGroupId#3581324, orderProposalItemId#3581323, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, originalReplenishmentRunId#3581325L, plant#3581336, ... 14 more fields], [NOT (isFallbackOrderOnly#3581344 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, productGroup#3581364, product#3581335, plant#3581336, subrange#3581334, orderDateTime#3581340, deliveryDateTime#3581341, availabilityDateTime#3581342, nextAvailabilityDateTime#3581343, constraintValues#3581357, constraintOperators#3581355, constraintLabels#3581354, logisticUnits#3581359, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, splitIndicator#3581327L, netPriceAmount#3581350, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3579932, items#3579934]
Arguments: [shardId#3579932, items#3579934], [(size(items#3579934, true) > 0), isnotnull(items#3579934)]
(6) InMemoryRelation
Arguments: [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, optimizationInsights#3579938], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, optimizationInsights#3579938]
Arguments: [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, optimizationInsights#3579938], [isnotnull(shardId#3579932), (shardId#3579932 = 0_7_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, lastModified#3579937, optimizationInsights#3579938], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, lastModified#3579937, optimizationInsights#3579938]
Arguments: [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, lastModified#3579937, optimizationInsights#3579938], MapPartitionsRDD[152542] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, lastModified#3579937, optimizationInsights#3579938]
Condition : (isnotnull(shardId#3579932) AND (shardId#3579932 = 0_7_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3579932, orderProposalId#3579933L, items#3579934, optimizationGroups#3579935, isOptimal#3579936, optimizationInsights#3579938]
Condition : (isnotnull(shardId#3579932) AND (shardId#3579932 = 0_7_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3579932, items#3579934]
Condition : ((size(items#3579934, true) > 0) AND isnotnull(items#3579934))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3579932, items#3579934]
Arguments: explode(items#3579934), [shardId#3579932], false, [item#3581118]
(14) Project [codegen id : 1]
Output [4]: [shardId#3579932, item#3581118.worklistShardItemId AS worklistShardItemId#3581119L, item#3581118.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3581120, item#3581118.qty AS qty#3581121]
Input [2]: [shardId#3579932, item#3581118]
(15) Exchange
Input [4]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121]
Arguments: hashpartitioning(worklistShardItemId#3581119L, 30), ENSURE_REQUIREMENTS, [plan_id=1029390]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121]
Arguments: [worklistShardItemId#3581119L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3581487L, orderProposalItemId#3581488, supplierGroup#3581489, supplier#3581490, plant#3581491, deliveryDateTime#3581492, subrange#3581493, supplyingPlant#3581494, productGroup#3581495, product#3581496, orderDateTime#3581497, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, sourceOfSupplyUuid#3581501, isFallbackOrderOnly#3581504, splitIndicator#3581506L, previousOrderProposal#3581507L, worklistShardItemId#3581510L, orderProposalItemGroupId#3581511, externalProductId#3581512, externalPlantId#3581513, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, minimumOrderQuantity#3581517, constraintLabels#3581518, constraintOperators#3581519, constraintValues#3581520, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, measurements#3581528, originalReplenishmentRunId#3581529L, optimizationGroups#3581530, shardId#3581531, sequenceId#3581509]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000532]
PartitionFilters: [isnotnull(shardId#3581531), isnotnull(sequenceId#3581509), (shardId#3581531 = 0_7_10000000532), (sequenceId#3581509 = 6)]
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#3581487L, orderProposalItemId#3581488, supplierGroup#3581489, supplier#3581490, plant#3581491, deliveryDateTime#3581492, subrange#3581493, supplyingPlant#3581494, productGroup#3581495, product#3581496, orderDateTime#3581497, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, sourceOfSupplyUuid#3581501, isFallbackOrderOnly#3581504, splitIndicator#3581506L, previousOrderProposal#3581507L, worklistShardItemId#3581510L, orderProposalItemGroupId#3581511, externalProductId#3581512, externalPlantId#3581513, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, minimumOrderQuantity#3581517, constraintLabels#3581518, constraintOperators#3581519, constraintValues#3581520, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, measurements#3581528, originalReplenishmentRunId#3581529L, optimizationGroups#3581530, shardId#3581531, sequenceId#3581509]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3581487L, orderProposalItemId#3581488, supplierGroup#3581489, supplier#3581490, plant#3581491, deliveryDateTime#3581492, subrange#3581493, supplyingPlant#3581494, productGroup#3581495, product#3581496, orderDateTime#3581497, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, sourceOfSupplyUuid#3581501, isFallbackOrderOnly#3581504, splitIndicator#3581506L, previousOrderProposal#3581507L, worklistShardItemId#3581510L, orderProposalItemGroupId#3581511, externalProductId#3581512, externalPlantId#3581513, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, minimumOrderQuantity#3581517, constraintLabels#3581518, constraintOperators#3581519, constraintValues#3581520, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, measurements#3581528, originalReplenishmentRunId#3581529L, optimizationGroups#3581530, shardId#3581531, sequenceId#3581509]
Condition : isnotnull(worklistShardItemId#3581510L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3581487L, orderProposalItemId#3581488, supplierGroup#3581489, supplier#3581490, plant#3581491, deliveryDateTime#3581492, subrange#3581493, supplyingPlant#3581494, productGroup#3581495, product#3581496, orderDateTime#3581497, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, sourceOfSupplyUuid#3581501, isFallbackOrderOnly#3581504, splitIndicator#3581506L, previousOrderProposal#3581507L, worklistShardItemId#3581510L, orderProposalItemGroupId#3581511, externalProductId#3581512, externalPlantId#3581513, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, minimumOrderQuantity#3581517, constraintLabels#3581518, constraintOperators#3581519, constraintValues#3581520, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, measurements#3581528, originalReplenishmentRunId#3581529L, optimizationGroups#3581530]
Input [38]: [orderProposalId#3581487L, orderProposalItemId#3581488, supplierGroup#3581489, supplier#3581490, plant#3581491, deliveryDateTime#3581492, subrange#3581493, supplyingPlant#3581494, productGroup#3581495, product#3581496, orderDateTime#3581497, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, sourceOfSupplyUuid#3581501, isFallbackOrderOnly#3581504, splitIndicator#3581506L, previousOrderProposal#3581507L, worklistShardItemId#3581510L, orderProposalItemGroupId#3581511, externalProductId#3581512, externalPlantId#3581513, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, minimumOrderQuantity#3581517, constraintLabels#3581518, constraintOperators#3581519, constraintValues#3581520, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, measurements#3581528, originalReplenishmentRunId#3581529L, optimizationGroups#3581530, shardId#3581531, sequenceId#3581509]
(21) Exchange
Input [36]: [orderProposalId#3581487L, orderProposalItemId#3581488, supplierGroup#3581489, supplier#3581490, plant#3581491, deliveryDateTime#3581492, subrange#3581493, supplyingPlant#3581494, productGroup#3581495, product#3581496, orderDateTime#3581497, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, sourceOfSupplyUuid#3581501, isFallbackOrderOnly#3581504, splitIndicator#3581506L, previousOrderProposal#3581507L, worklistShardItemId#3581510L, orderProposalItemGroupId#3581511, externalProductId#3581512, externalPlantId#3581513, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, minimumOrderQuantity#3581517, constraintLabels#3581518, constraintOperators#3581519, constraintValues#3581520, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, measurements#3581528, originalReplenishmentRunId#3581529L, optimizationGroups#3581530]
Arguments: hashpartitioning(worklistShardItemId#3581510L, 30), REPARTITION_BY_NUM, [plan_id=1029400]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3581510L, orderProposalId#3581487L, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, originalReplenishmentRunId#3581529L, splitIndicator#3581506L, previousOrderProposal#3581507L, sourceOfSupplyUuid#3581501, supplierGroup#3581489, supplier#3581490, subrange#3581493, product#3581496, plant#3581491, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, isFallbackOrderOnly#3581504, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, netPriceAmount#3581523, netPriceCurrencyCode#3581524, measurements#3581528, minimumOrderQuantity#3581517, constraintLabels#3581518, constraintOperators#3581519, constraintValues#3581520, logisticUnits#3581514, optimizationGroups#3581530, externalProductId#3581512, externalPlantId#3581513, supplyingPlant#3581494, productGroup#3581495]
Input [36]: [orderProposalId#3581487L, orderProposalItemId#3581488, supplierGroup#3581489, supplier#3581490, plant#3581491, deliveryDateTime#3581492, subrange#3581493, supplyingPlant#3581494, productGroup#3581495, product#3581496, orderDateTime#3581497, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, sourceOfSupplyUuid#3581501, isFallbackOrderOnly#3581504, splitIndicator#3581506L, previousOrderProposal#3581507L, worklistShardItemId#3581510L, orderProposalItemGroupId#3581511, externalProductId#3581512, externalPlantId#3581513, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, minimumOrderQuantity#3581517, constraintLabels#3581518, constraintOperators#3581519, constraintValues#3581520, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, measurements#3581528, originalReplenishmentRunId#3581529L, optimizationGroups#3581530]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3581510L, orderProposalId#3581487L, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, originalReplenishmentRunId#3581529L, splitIndicator#3581506L, previousOrderProposal#3581507L, sourceOfSupplyUuid#3581501, supplierGroup#3581489, supplier#3581490, subrange#3581493, product#3581496, plant#3581491, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, isFallbackOrderOnly#3581504, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, netPriceAmount#3581523, netPriceCurrencyCode#3581524, measurements#3581528, minimumOrderQuantity#3581517, constraintLabels#3581518, constraintOperators#3581519, constraintValues#3581520, logisticUnits#3581514, optimizationGroups#3581530, externalProductId#3581512, externalPlantId#3581513, supplyingPlant#3581494, productGroup#3581495]
Arguments: [worklistShardItemId#3581510L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3581119L]
Right keys [1]: [worklistShardItemId#3581510L]
Join type: LeftOuter
Join condition: (shardId#3579932 = 0_7_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, sourceOfSupplyUuid#3581501, minimumOrderQuantity#3581517, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, optimizationGroups#3581530, measurements#3581528, externalProductId#3581512, externalPlantId#3581513, previousOrderProposal#3581507L, isFallbackOrderOnly#3581504]
Input [40]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, worklistShardItemId#3581510L, orderProposalId#3581487L, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, originalReplenishmentRunId#3581529L, splitIndicator#3581506L, previousOrderProposal#3581507L, sourceOfSupplyUuid#3581501, supplierGroup#3581489, supplier#3581490, subrange#3581493, product#3581496, plant#3581491, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, isFallbackOrderOnly#3581504, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, netPriceAmount#3581523, netPriceCurrencyCode#3581524, measurements#3581528, minimumOrderQuantity#3581517, constraintLabels#3581518, constraintOperators#3581519, constraintValues#3581520, logisticUnits#3581514, optimizationGroups#3581530, externalProductId#3581512, externalPlantId#3581513, supplyingPlant#3581494, productGroup#3581495]
(26) Exchange
Input [39]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, sourceOfSupplyUuid#3581501, minimumOrderQuantity#3581517, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, optimizationGroups#3581530, measurements#3581528, externalProductId#3581512, externalPlantId#3581513, previousOrderProposal#3581507L, isFallbackOrderOnly#3581504]
Arguments: hashpartitioning(shardId#3579932, worklistShardItemId#3581119L, 30), ENSURE_REQUIREMENTS, [plan_id=1029409]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, sourceOfSupplyUuid#3581501, minimumOrderQuantity#3581517, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, optimizationGroups#3581530, measurements#3581528, externalProductId#3581512, externalPlantId#3581513, previousOrderProposal#3581507L, isFallbackOrderOnly#3581504]
Arguments: [shardId#3579932 ASC NULLS FIRST, worklistShardItemId#3581119L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3588651, worklistShardItemId#3588652L, qty#3588653, demandChannel#3588654, demandStream#3588655, kpis#3588656]
Arguments: [shardId#3588651, worklistShardItemId#3588652L, qty#3588653, demandChannel#3588654, demandStream#3588655, kpis#3588656], MapPartitionsRDD[152923] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3588651, worklistShardItemId#3588652L, qty#3588653, demandChannel#3588654, demandStream#3588655, kpis#3588656]
Condition : (((isnull(qty#3588653) AND isnull(demandChannel#3588654)) AND isnull(demandStream#3588655)) AND (isnotnull(shardId#3588651) AND isnotnull(worklistShardItemId#3588652L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3588651, worklistShardItemId#3588652L, coalesce(kpis#3588656, []) AS prodLocSpecificKpis#3588657]
Input [6]: [shardId#3588651, worklistShardItemId#3588652L, qty#3588653, demandChannel#3588654, demandStream#3588655, kpis#3588656]
(31) Exchange
Input [3]: [shardId#3588651, worklistShardItemId#3588652L, prodLocSpecificKpis#3588657]
Arguments: hashpartitioning(shardId#3588651, worklistShardItemId#3588652L, 30), ENSURE_REQUIREMENTS, [plan_id=1029415]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3588651, worklistShardItemId#3588652L, prodLocSpecificKpis#3588657]
Arguments: [shardId#3588651 ASC NULLS FIRST, worklistShardItemId#3588652L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3579932, worklistShardItemId#3581119L]
Right keys [2]: [shardId#3588651, worklistShardItemId#3588652L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, sourceOfSupplyUuid#3581501, minimumOrderQuantity#3581517, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, optimizationGroups#3581530, measurements#3581528, externalProductId#3581512, externalPlantId#3581513, previousOrderProposal#3581507L, isFallbackOrderOnly#3581504, coalesce(prodLocSpecificKpis#3588657, []) AS prodLocSpecificKpis#3588658]
Input [42]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, sourceOfSupplyUuid#3581501, minimumOrderQuantity#3581517, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, optimizationGroups#3581530, measurements#3581528, externalProductId#3581512, externalPlantId#3581513, previousOrderProposal#3581507L, isFallbackOrderOnly#3581504, shardId#3588651, worklistShardItemId#3588652L, prodLocSpecificKpis#3588657]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3588667, worklistShardItemId#3588668L, qty#3588669, demandChannel#3588670, demandStream#3588671, kpis#3588672]
Arguments: [shardId#3588667, worklistShardItemId#3588668L, qty#3588669, demandChannel#3588670, demandStream#3588671, kpis#3588672], MapPartitionsRDD[152923] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3588667, worklistShardItemId#3588668L, qty#3588669, demandChannel#3588670, demandStream#3588671, kpis#3588672]
Condition : ((((isnull(qty#3588669) AND isnotnull(demandChannel#3588670)) AND isnotnull(demandStream#3588671)) AND (size(kpis#3588672, true) > 0)) AND (isnotnull(shardId#3588667) AND isnotnull(worklistShardItemId#3588668L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3588667, worklistShardItemId#3588668L, demandChannel#3588670, demandStream#3588671, kpis#3588672]
Input [6]: [shardId#3588667, worklistShardItemId#3588668L, qty#3588669, demandChannel#3588670, demandStream#3588671, kpis#3588672]
(38) ObjectHashAggregate
Input [5]: [shardId#3588667, worklistShardItemId#3588668L, demandChannel#3588670, demandStream#3588671, kpis#3588672]
Keys [2]: [shardId#3588667, worklistShardItemId#3588668L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3588670, demandStream, demandStream#3588671, kpis, kpis#3588672), 0, 0)]
Aggregate Attributes [1]: [buf#3589971]
Results [3]: [shardId#3588667, worklistShardItemId#3588668L, buf#3589972]
(39) Exchange
Input [3]: [shardId#3588667, worklistShardItemId#3588668L, buf#3589972]
Arguments: hashpartitioning(shardId#3588667, worklistShardItemId#3588668L, 30), ENSURE_REQUIREMENTS, [plan_id=1029426]
(40) ObjectHashAggregate
Input [3]: [shardId#3588667, worklistShardItemId#3588668L, buf#3589972]
Keys [2]: [shardId#3588667, worklistShardItemId#3588668L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3588670, demandStream, demandStream#3588671, kpis, kpis#3588672), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3588670, demandStream, demandStream#3588671, kpis, kpis#3588672), 0, 0)#3588666]
Results [3]: [shardId#3588667, worklistShardItemId#3588668L, collect_list(struct(demandChannel, demandChannel#3588670, demandStream, demandStream#3588671, kpis, kpis#3588672), 0, 0)#3588666 AS channelStreamSpecificKpis#3588659]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3588667, worklistShardItemId#3588668L, channelStreamSpecificKpis#3588659]
Arguments: [shardId#3588667 ASC NULLS FIRST, worklistShardItemId#3588668L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3579932, worklistShardItemId#3581119L]
Right keys [2]: [shardId#3588667, worklistShardItemId#3588668L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, sourceOfSupplyUuid#3581501, minimumOrderQuantity#3581517, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, optimizationGroups#3581530, measurements#3581528, externalProductId#3581512, externalPlantId#3581513, previousOrderProposal#3581507L, isFallbackOrderOnly#3581504, prodLocSpecificKpis#3588658, coalesce(channelStreamSpecificKpis#3588659, []) AS channelStreamSpecificKpis#3588673]
Input [43]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, sourceOfSupplyUuid#3581501, minimumOrderQuantity#3581517, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, optimizationGroups#3581530, measurements#3581528, externalProductId#3581512, externalPlantId#3581513, previousOrderProposal#3581507L, isFallbackOrderOnly#3581504, prodLocSpecificKpis#3588658, shardId#3588667, worklistShardItemId#3588668L, channelStreamSpecificKpis#3588659]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3588680, worklistShardItemId#3588681L, qty#3588682, demandChannel#3588683, demandStream#3588684, kpis#3588685]
Arguments: [shardId#3588680, worklistShardItemId#3588681L, qty#3588682, demandChannel#3588683, demandStream#3588684, kpis#3588685], MapPartitionsRDD[152923] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3588680, worklistShardItemId#3588681L, qty#3588682, demandChannel#3588683, demandStream#3588684, kpis#3588685]
Condition : ((isnotnull(qty#3588682) AND isnotnull(kpis#3588685)) AND (isnotnull(shardId#3588680) AND isnotnull(worklistShardItemId#3588681L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3588680, worklistShardItemId#3588681L, qty#3588682, kpis#3588685]
Input [6]: [shardId#3588680, worklistShardItemId#3588681L, qty#3588682, demandChannel#3588683, demandStream#3588684, kpis#3588685]
(47) ObjectHashAggregate
Input [4]: [shardId#3588680, worklistShardItemId#3588681L, qty#3588682, kpis#3588685]
Keys [2]: [shardId#3588680, worklistShardItemId#3588681L]
Functions [1]: [partial_collect_list(struct(qty, qty#3588682, kpis, kpis#3588685), 0, 0)]
Aggregate Attributes [1]: [buf#3589973]
Results [3]: [shardId#3588680, worklistShardItemId#3588681L, buf#3589974]
(48) Exchange
Input [3]: [shardId#3588680, worklistShardItemId#3588681L, buf#3589974]
Arguments: hashpartitioning(shardId#3588680, worklistShardItemId#3588681L, 30), ENSURE_REQUIREMENTS, [plan_id=1029438]
(49) ObjectHashAggregate
Input [3]: [shardId#3588680, worklistShardItemId#3588681L, buf#3589974]
Keys [2]: [shardId#3588680, worklistShardItemId#3588681L]
Functions [1]: [collect_list(struct(qty, qty#3588682, kpis, kpis#3588685), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3588682, kpis, kpis#3588685), 0, 0)#3588679]
Results [3]: [shardId#3588680, worklistShardItemId#3588681L, map_from_entries(collect_list(struct(qty, qty#3588682, kpis, kpis#3588685), 0, 0)#3588679) AS quantityKpis#3588674]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3588680, worklistShardItemId#3588681L, quantityKpis#3588674]
Arguments: [shardId#3588680 ASC NULLS FIRST, worklistShardItemId#3588681L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3579932, worklistShardItemId#3581119L]
Right keys [2]: [shardId#3588680, worklistShardItemId#3588681L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, sourceOfSupplyUuid#3581501, minimumOrderQuantity#3581517, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, optimizationGroups#3581530, measurements#3581528, externalProductId#3581512, externalPlantId#3581513, previousOrderProposal#3581507L, isFallbackOrderOnly#3581504, prodLocSpecificKpis#3588658, channelStreamSpecificKpis#3588673, coalesce(quantityKpis#3588674, map(keys: [], values: [])) AS quantityKpis#3588686]
Input [44]: [shardId#3579932, worklistShardItemId#3581119L, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581487L, originalReplenishmentRunId#3581529L, supplierGroup#3581489, supplier#3581490, supplyingPlant#3581494, productGroup#3581495, product#3581496, plant#3581491, subrange#3581493, orderDateTime#3581497, deliveryDateTime#3581492, availabilityDateTime#3581498, nextAvailabilityDateTime#3581499, constraintValues#3581520, constraintOperators#3581519, constraintLabels#3581518, logisticUnits#3581514, orderQuantityBaseUom#3581515, orderQuantityBaseUomUuid#3581516, splitIndicator#3581506L, netPriceAmount#3581523, netPriceCurrencyCode#3581524, netPriceQuantity#3581525, netPriceQuantityUom#3581526, netPriceQuantityUomUuid#3581527, sourceOfSupplyUuid#3581501, minimumOrderQuantity#3581517, orderProposalItemId#3581488, orderProposalItemGroupId#3581511, optimizationGroups#3581530, measurements#3581528, externalProductId#3581512, externalPlantId#3581513, previousOrderProposal#3581507L, isFallbackOrderOnly#3581504, prodLocSpecificKpis#3588658, channelStreamSpecificKpis#3588673, shardId#3588680, worklistShardItemId#3588681L, quantityKpis#3588674]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3581342, channelStreamSpecificKpis#3588673, constraintLabels#3581354, constraintOperators#3581355, constraintValues#3581357, deliveryDateTime#3581341, isFallbackOrderOnly#3581344, logisticUnits#3581359, measurements#3581352, minimumOrderQuantity#3581353, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, nextAvailabilityDateTime#3581343, optimizationGroups#3581360, orderDateTime#3581340, orderProposalId#3581322L, orderProposalItemGroupId#3581324, orderProposalItemId#3581323, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, originalReplenishmentRunId#3581325L, plant#3581336, previousOrderProposal#3581328L, prodLocSpecificKpis#3588658, product#3581335, productGroup#3581364, qty#3581121, quantityAfterProdPlantOptimization#3581120, quantityKpis#3588686, shardId#3579932, sourceOfSupplyUuid#3581331, splitIndicator#3581327L, subrange#3581334, supplier#3581333, supplierGroup#3581332, supplyingPlant#3581363]
Condition : NOT (isFallbackOrderOnly#3581344 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3579932, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, productGroup#3581364, product#3581335, plant#3581336, subrange#3581334, orderDateTime#3581340, deliveryDateTime#3581341, availabilityDateTime#3581342, nextAvailabilityDateTime#3581343, logisticUnits#3581359, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, splitIndicator#3581327L, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, sourceOfSupplyUuid#3581331, minimumOrderQuantity#3581353, orderProposalItemId#3581323, orderProposalItemGroupId#3581324, optimizationGroups#3581360, measurements#3581352, previousOrderProposal#3581328L, prodLocSpecificKpis#3588658, channelStreamSpecificKpis#3588673, quantityKpis#3588686, arrays_zip(constraintLabels#3581354, constraintOperators#3581355, constraintValues#3581357, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3590224]
Input [39]: [availabilityDateTime#3581342, channelStreamSpecificKpis#3588673, constraintLabels#3581354, constraintOperators#3581355, constraintValues#3581357, deliveryDateTime#3581341, isFallbackOrderOnly#3581344, logisticUnits#3581359, measurements#3581352, minimumOrderQuantity#3581353, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, nextAvailabilityDateTime#3581343, optimizationGroups#3581360, orderDateTime#3581340, orderProposalId#3581322L, orderProposalItemGroupId#3581324, orderProposalItemId#3581323, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, originalReplenishmentRunId#3581325L, plant#3581336, previousOrderProposal#3581328L, prodLocSpecificKpis#3588658, product#3581335, productGroup#3581364, qty#3581121, quantityAfterProdPlantOptimization#3581120, quantityKpis#3588686, shardId#3579932, sourceOfSupplyUuid#3581331, splitIndicator#3581327L, subrange#3581334, supplier#3581333, supplierGroup#3581332, supplyingPlant#3581363]
(55) Project
Output [37]: [shardId#3579932, qty#3581121, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, productGroup#3581364, product#3581335, plant#3581336, subrange#3581334, orderDateTime#3581340, deliveryDateTime#3581341, availabilityDateTime#3581342, nextAvailabilityDateTime#3581343, logisticUnits#3581359, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, splitIndicator#3581327L, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, sourceOfSupplyUuid#3581331, orderProposalItemId#3581323, orderProposalItemGroupId#3581324, optimizationGroups#3581360, measurements#3581352, previousOrderProposal#3581328L, prodLocSpecificKpis#3588658, channelStreamSpecificKpis#3588673, quantityKpis#3588686, struct(minServiceLevel, array_min(filter(constraintStructArray#3590224, lambdafunction((lambda x_11941#3590231.constraintLabels = ServiceLevel), lambda x_11941#3590231, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3590224, lambdafunction((lambda x_11942#3590232.constraintLabels = ServiceLevelMinimumStock), lambda x_11942#3590232, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3590224, lambdafunction((lambda x_11943#3590233.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11943#3590233, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3590224, lambdafunction((lambda x_11944#3590234.constraintLabels = RangeOfCoverage), lambda x_11944#3590234, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3581353, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3588658, lambdafunction((lambda x_11945#3590235.label = NonListingStartTimestamp), lambda x_11945#3590235, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3590230, CASE WHEN (qty#3581121 <=> quantityAfterProdPlantOptimization#3581120) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3581121 * (cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11946#3590303.isOrderUnit, lambda x_11946#3590303, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11946#3590304.isOrderUnit, lambda x_11946#3590304, false)), 1, None, false).numerator as double))), qty#3581121), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11946#3590305.isOrderUnit, lambda x_11946#3590305, false)), 1, None, false).uom, orderQuantityBaseUom#3581345), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11946#3590306.isOrderUnit, lambda x_11946#3590306, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581346), candidateOrderQuantityInBaseUnit, qty#3581121, orderQuantityBaseUom, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3581346, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3581359, lambdafunction((lambda x_11948#3590307.isPreferred AND (((qty#3581121 * cast(lambda x_11948#3590307.denominator as double)) % cast(lambda x_11948#3590307.numerator as double)) = 0.0)), lambda x_11948#3590307, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581121 * cast(lambda x_11949#3590348.denominator as double)) / cast(lambda x_11949#3590348.numerator as double)), uom, lambda x_11949#3590348.uom, uomUuid, lambda x_11949#3590348.uomUuid), lambda x_11949#3590348, false))).inPreferredQuantity, coalesce((qty#3581121 * (cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11947#3590308.isOrderUnit, lambda x_11947#3590308, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11947#3590309.isOrderUnit, lambda x_11947#3590309, false)), 1, None, false).numerator as double))), qty#3581121)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3581359, lambdafunction((lambda x_11948#3590310.isPreferred AND (((qty#3581121 * cast(lambda x_11948#3590310.denominator as double)) % cast(lambda x_11948#3590310.numerator as double)) = 0.0)), lambda x_11948#3590310, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581121 * cast(lambda x_11949#3590349.denominator as double)) / cast(lambda x_11949#3590349.numerator as double)), uom, lambda x_11949#3590349.uom, uomUuid, lambda x_11949#3590349.uomUuid), lambda x_11949#3590349, false))).uom, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11947#3590311.isOrderUnit, lambda x_11947#3590311, false)), 1, None, false).uom, orderQuantityBaseUom#3581345)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3581359, lambdafunction((lambda x_11948#3590312.isPreferred AND (((qty#3581121 * cast(lambda x_11948#3590312.denominator as double)) % cast(lambda x_11948#3590312.numerator as double)) = 0.0)), lambda x_11948#3590312, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581121 * cast(lambda x_11949#3590350.denominator as double)) / cast(lambda x_11949#3590350.numerator as double)), uom, lambda x_11949#3590350.uom, uomUuid, lambda x_11949#3590350.uomUuid), lambda x_11949#3590350, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11947#3590313.isOrderUnit, lambda x_11947#3590313, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581346)), serviceLevel, coalesce(filter(element_at(quantityKpis#3588686, qty#3581121, None, false), lambdafunction((lambda x_11954#3590314.label = ServiceLevel), lambda x_11954#3590314, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3581121 * (cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11946#3590318.isOrderUnit, lambda x_11946#3590318, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11946#3590319.isOrderUnit, lambda x_11946#3590319, false)), 1, None, false).numerator as double))), qty#3581121), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11946#3590320.isOrderUnit, lambda x_11946#3590320, false)), 1, None, false).uom, orderQuantityBaseUom#3581345), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11946#3590321.isOrderUnit, lambda x_11946#3590321, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581346), candidateOrderQuantityInBaseUnit, qty#3581121, orderQuantityBaseUom, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3581346, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3581359, lambdafunction((lambda x_11948#3590322.isPreferred AND (((qty#3581121 * cast(lambda x_11948#3590322.denominator as double)) % cast(lambda x_11948#3590322.numerator as double)) = 0.0)), lambda x_11948#3590322, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581121 * cast(lambda x_11949#3590351.denominator as double)) / cast(lambda x_11949#3590351.numerator as double)), uom, lambda x_11949#3590351.uom, uomUuid, lambda x_11949#3590351.uomUuid), lambda x_11949#3590351, false))).inPreferredQuantity, coalesce((qty#3581121 * (cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11947#3590323.isOrderUnit, lambda x_11947#3590323, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11947#3590324.isOrderUnit, lambda x_11947#3590324, false)), 1, None, false).numerator as double))), qty#3581121)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3581359, lambdafunction((lambda x_11948#3590325.isPreferred AND (((qty#3581121 * cast(lambda x_11948#3590325.denominator as double)) % cast(lambda x_11948#3590325.numerator as double)) = 0.0)), lambda x_11948#3590325, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581121 * cast(lambda x_11949#3590352.denominator as double)) / cast(lambda x_11949#3590352.numerator as double)), uom, lambda x_11949#3590352.uom, uomUuid, lambda x_11949#3590352.uomUuid), lambda x_11949#3590352, false))).uom, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11947#3590326.isOrderUnit, lambda x_11947#3590326, false)), 1, None, false).uom, orderQuantityBaseUom#3581345)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3581359, lambdafunction((lambda x_11948#3590327.isPreferred AND (((qty#3581121 * cast(lambda x_11948#3590327.denominator as double)) % cast(lambda x_11948#3590327.numerator as double)) = 0.0)), lambda x_11948#3590327, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581121 * cast(lambda x_11949#3590353.denominator as double)) / cast(lambda x_11949#3590353.numerator as double)), uom, lambda x_11949#3590353.uom, uomUuid, lambda x_11949#3590353.uomUuid), lambda x_11949#3590353, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11947#3590328.isOrderUnit, lambda x_11947#3590328, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581346)), serviceLevel, coalesce(filter(element_at(quantityKpis#3588686, qty#3581121, None, false), lambdafunction((lambda x_11958#3590329.label = ServiceLevel), lambda x_11958#3590329, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3581120 * (cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11950#3590333.isOrderUnit, lambda x_11950#3590333, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11950#3590334.isOrderUnit, lambda x_11950#3590334, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3581120), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11950#3590335.isOrderUnit, lambda x_11950#3590335, false)), 1, None, false).uom, orderQuantityBaseUom#3581345), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11950#3590336.isOrderUnit, lambda x_11950#3590336, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581346), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3581120, orderQuantityBaseUom, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3581346, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3581359, lambdafunction((lambda x_11952#3590337.isPreferred AND (((quantityAfterProdPlantOptimization#3581120 * cast(lambda x_11952#3590337.denominator as double)) % cast(lambda x_11952#3590337.numerator as double)) = 0.0)), lambda x_11952#3590337, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3581120 * cast(lambda x_11953#3590354.denominator as double)) / cast(lambda x_11953#3590354.numerator as double)), uom, lambda x_11953#3590354.uom, uomUuid, lambda x_11953#3590354.uomUuid), lambda x_11953#3590354, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3581120 * (cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11951#3590338.isOrderUnit, lambda x_11951#3590338, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11951#3590339.isOrderUnit, lambda x_11951#3590339, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3581120)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3581359, lambdafunction((lambda x_11952#3590340.isPreferred AND (((quantityAfterProdPlantOptimization#3581120 * cast(lambda x_11952#3590340.denominator as double)) % cast(lambda x_11952#3590340.numerator as double)) = 0.0)), lambda x_11952#3590340, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3581120 * cast(lambda x_11953#3590355.denominator as double)) / cast(lambda x_11953#3590355.numerator as double)), uom, lambda x_11953#3590355.uom, uomUuid, lambda x_11953#3590355.uomUuid), lambda x_11953#3590355, false))).uom, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11951#3590341.isOrderUnit, lambda x_11951#3590341, false)), 1, None, false).uom, orderQuantityBaseUom#3581345)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3581359, lambdafunction((lambda x_11952#3590342.isPreferred AND (((quantityAfterProdPlantOptimization#3581120 * cast(lambda x_11952#3590342.denominator as double)) % cast(lambda x_11952#3590342.numerator as double)) = 0.0)), lambda x_11952#3590342, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3581120 * cast(lambda x_11953#3590356.denominator as double)) / cast(lambda x_11953#3590356.numerator as double)), uom, lambda x_11953#3590356.uom, uomUuid, lambda x_11953#3590356.uomUuid), lambda x_11953#3590356, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11951#3590343.isOrderUnit, lambda x_11951#3590343, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581346)), serviceLevel, coalesce(filter(element_at(quantityKpis#3588686, quantityAfterProdPlantOptimization#3581120, None, false), lambdafunction((lambda x_11962#3590344.label = ServiceLevel), lambda x_11962#3590344, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3590302, coalesce(filter(prodLocSpecificKpis#3588658, lambdafunction((lambda x_11966#3590358.label = InitialStockQty), lambda x_11966#3590358, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3590357, coalesce(filter(prodLocSpecificKpis#3588658, lambdafunction((lambda x_11967#3590360.label = DemandPeriodEndTimestamp), lambda x_11967#3590360, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3590359]
Input [36]: [shardId#3579932, quantityAfterProdPlantOptimization#3581120, qty#3581121, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, productGroup#3581364, product#3581335, plant#3581336, subrange#3581334, orderDateTime#3581340, deliveryDateTime#3581341, availabilityDateTime#3581342, nextAvailabilityDateTime#3581343, logisticUnits#3581359, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, splitIndicator#3581327L, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, sourceOfSupplyUuid#3581331, minimumOrderQuantity#3581353, orderProposalItemId#3581323, orderProposalItemGroupId#3581324, optimizationGroups#3581360, measurements#3581352, previousOrderProposal#3581328L, prodLocSpecificKpis#3588658, channelStreamSpecificKpis#3588673, quantityKpis#3588686, constraintStructArray#3590224]
(56) Project
Output [21]: [shardId#3579932, qty#3581121, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, productGroup#3581364, product#3581335, plant#3581336, subrange#3581334, orderDateTime#3581340, deliveryDateTime#3581341, logisticUnits#3581359, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, splitIndicator#3581327L, orderProposalItemId#3581323, orderProposalItemGroupId#3581324, previousOrderProposal#3581328L, struct(itemId, orderProposalItemId#3581323, itemGroupId, orderProposalItemGroupId#3581324, supplier, supplier#3581333, supplyingPlant, supplyingPlant#3581363, productGroup, productGroup#3581364, product, product#3581335, plant, plant#3581336, supplierSubRange, subrange#3581334, sourceOfSupplyUuid, sourceOfSupplyUuid#3581331, deliveryDateTime, deliveryDateTime#3581341, unitPrice, netPriceAmount#3581350, unitPriceCurrency, netPriceCurrencyCode#3581351, unitPriceQuantity, ... 37 more fields) AS parentItem#3590433]
Input [37]: [shardId#3579932, qty#3581121, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, productGroup#3581364, product#3581335, plant#3581336, subrange#3581334, orderDateTime#3581340, deliveryDateTime#3581341, availabilityDateTime#3581342, nextAvailabilityDateTime#3581343, logisticUnits#3581359, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, splitIndicator#3581327L, netPriceAmount#3581350, netPriceCurrencyCode#3581351, netPriceQuantity#3581347, netPriceQuantityUom#3581348, netPriceQuantityUomUuid#3581349, sourceOfSupplyUuid#3581331, orderProposalItemId#3581323, orderProposalItemGroupId#3581324, optimizationGroups#3581360, measurements#3581352, previousOrderProposal#3581328L, prodLocSpecificKpis#3588658, channelStreamSpecificKpis#3588673, quantityKpis#3588686, constraintBenchmark#3590230, calculationAnalysis#3590302, inventoryDateTime#3590357, demandPeriodEndDateTime#3590359]
(57) Project
Output [12]: [shardId#3579932, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, orderDateTime#3581340, splitIndicator#3581327L, orderProposalItemGroupId#3581324, previousOrderProposal#3581328L, parentItem#3590433, struct(itemId, orderProposalItemId#3581323, supplier, supplier#3581333, supplyingPlant, supplyingPlant#3581363, productGroup, productGroup#3581364, product, product#3581335, plant, plant#3581336, supplierSubRange, subrange#3581334, deliveryDateTime, deliveryDateTime#3581341, orderQuantity, coalesce((qty#3581121 * (cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11991#3590467.isOrderUnit, lambda x_11991#3590467, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11991#3590468.isOrderUnit, lambda x_11991#3590468, false)), 1, None, false).numerator as double))), qty#3581121), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11991#3590469.isOrderUnit, lambda x_11991#3590469, false)), 1, None, false).uom, orderQuantityBaseUom#3581345), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3581359, lambdafunction(lambda x_11991#3590470.isOrderUnit, lambda x_11991#3590470, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581346), orderQuantityInBaseUnit, qty#3581121, orderQuantityBaseUom, ... 13 more fields) AS item#3590464]
Input [21]: [shardId#3579932, qty#3581121, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, productGroup#3581364, product#3581335, plant#3581336, subrange#3581334, orderDateTime#3581340, deliveryDateTime#3581341, logisticUnits#3581359, orderQuantityBaseUom#3581345, orderQuantityBaseUomUuid#3581346, splitIndicator#3581327L, orderProposalItemId#3581323, orderProposalItemGroupId#3581324, previousOrderProposal#3581328L, parentItem#3590433]
(58) ObjectHashAggregate
Input [12]: [shardId#3579932, orderProposalId#3581322L, originalReplenishmentRunId#3581325L, supplierGroup#3581332, supplier#3581333, supplyingPlant#3581363, orderDateTime#3581340, splitIndicator#3581327L, orderProposalItemGroupId#3581324, previousOrderProposal#3581328L, parentItem#3590433, item#3590464]
Keys [4]: [shardId#3579932, orderProposalId#3581322L, splitIndicator#3581327L, orderProposalItemGroupId#3581324]
Functions [8]: [partial_max(originalReplenishmentRunId#3581325L), partial_max(supplierGroup#3581332), partial_max(supplier#3581333), partial_max(supplyingPlant#3581363), partial_max(orderDateTime#3581340), partial_collect_list(parentItem#3590433, 0, 0), partial_collect_set(previousOrderProposal#3581328L, 0, 0), partial_collect_list(item#3590464, 0, 0)]
Aggregate Attributes [8]: [max#3591718L, max#3591719, max#3591720, max#3591721, max#3591722, buf#3591723, buf#3591724, buf#3591725]
Results [12]: [shardId#3579932, orderProposalId#3581322L, splitIndicator#3581327L, orderProposalItemGroupId#3581324, max#3591726L, max#3591727, max#3591728, max#3591729, max#3591730, buf#3591731, buf#3591732, buf#3591733]
(59) Exchange
Input [12]: [shardId#3579932, orderProposalId#3581322L, splitIndicator#3581327L, orderProposalItemGroupId#3581324, max#3591726L, max#3591727, max#3591728, max#3591729, max#3591730, buf#3591731, buf#3591732, buf#3591733]
Arguments: hashpartitioning(shardId#3579932, orderProposalId#3581322L, splitIndicator#3581327L, orderProposalItemGroupId#3581324, 30), ENSURE_REQUIREMENTS, [plan_id=1029703]
(60) ObjectHashAggregate
Input [12]: [shardId#3579932, orderProposalId#3581322L, splitIndicator#3581327L, orderProposalItemGroupId#3581324, max#3591726L, max#3591727, max#3591728, max#3591729, max#3591730, buf#3591731, buf#3591732, buf#3591733]
Keys [4]: [shardId#3579932, orderProposalId#3581322L, splitIndicator#3581327L, orderProposalItemGroupId#3581324]
Functions [8]: [max(originalReplenishmentRunId#3581325L), max(supplierGroup#3581332), max(supplier#3581333), max(supplyingPlant#3581363), max(orderDateTime#3581340), collect_list(parentItem#3590433, 0, 0), collect_set(previousOrderProposal#3581328L, 0, 0), collect_list(item#3590464, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3581325L)#3590533L, max(supplierGroup#3581332)#3590534, max(supplier#3581333)#3590535, max(supplyingPlant#3581363)#3590536, max(orderDateTime#3581340)#3590537, collect_list(parentItem#3590433, 0, 0)#3590538, collect_set(previousOrderProposal#3581328L, 0, 0)#3590540, collect_list(item#3590464, 0, 0)#3590539]
Results [10]: [shardId#3579932, orderProposalId#3581322L, max(originalReplenishmentRunId#3581325L)#3590533L AS originalReplenishmentRunId#3590481L, max(supplierGroup#3581332)#3590534 AS supplierGroup#3590482, max(supplier#3581333)#3590535 AS supplier#3590483, max(supplyingPlant#3581363)#3590536 AS supplyingPlant#3590484, max(orderDateTime#3581340)#3590537 AS orderDateTime#3590485, collect_list(parentItem#3590433, 0, 0)#3590538 AS parentItems#3590486, collect_set(previousOrderProposal#3581328L, 0, 0)#3590540 AS previousOrderProposals#3590488, struct(itemGroupId, orderProposalItemGroupId#3581324, items, collect_list(item#3590464, 0, 0)#3590539) AS itemGroup#3590542]
(61) ObjectHashAggregate
Input [10]: [shardId#3579932, orderProposalId#3581322L, originalReplenishmentRunId#3590481L, supplierGroup#3590482, supplier#3590483, supplyingPlant#3590484, orderDateTime#3590485, parentItems#3590486, previousOrderProposals#3590488, itemGroup#3590542]
Keys [2]: [shardId#3579932, orderProposalId#3581322L]
Functions [8]: [partial_max(originalReplenishmentRunId#3590481L), partial_max(supplierGroup#3590482), partial_max(supplier#3590483), partial_max(supplyingPlant#3590484), partial_max(orderDateTime#3590485), partial_collect_list(itemGroup#3590542, 0, 0), partial_collect_list(parentItems#3590486, 0, 0), partial_collect_set(previousOrderProposals#3590488, 0, 0)]
Aggregate Attributes [8]: [max#3591702L, max#3591703, max#3591704, max#3591705, max#3591706, buf#3591707, buf#3591708, buf#3591709]
Results [10]: [shardId#3579932, orderProposalId#3581322L, max#3591710L, max#3591711, max#3591712, max#3591713, max#3591714, buf#3591715, buf#3591716, buf#3591717]
(62) Exchange
Input [10]: [shardId#3579932, orderProposalId#3581322L, max#3591710L, max#3591711, max#3591712, max#3591713, max#3591714, buf#3591715, buf#3591716, buf#3591717]
Arguments: hashpartitioning(shardId#3579932, orderProposalId#3581322L, 30), ENSURE_REQUIREMENTS, [plan_id=1029706]
(63) ObjectHashAggregate
Input [10]: [shardId#3579932, orderProposalId#3581322L, max#3591710L, max#3591711, max#3591712, max#3591713, max#3591714, buf#3591715, buf#3591716, buf#3591717]
Keys [2]: [shardId#3579932, orderProposalId#3581322L]
Functions [8]: [max(originalReplenishmentRunId#3590481L), max(supplierGroup#3590482), max(supplier#3590483), max(supplyingPlant#3590484), max(orderDateTime#3590485), collect_list(itemGroup#3590542, 0, 0), collect_list(parentItems#3590486, 0, 0), collect_set(previousOrderProposals#3590488, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3590481L)#3590564L, max(supplierGroup#3590482)#3590565, max(supplier#3590483)#3590566, max(supplyingPlant#3590484)#3590567, max(orderDateTime#3590485)#3590568, collect_list(itemGroup#3590542, 0, 0)#3590569, collect_list(parentItems#3590486, 0, 0)#3590570, collect_set(previousOrderProposals#3590488, 0, 0)#3590571]
Results [10]: [shardId#3579932, orderProposalId#3581322L, max(originalReplenishmentRunId#3590481L)#3590564L AS originalReplenishmentRunId#3590543L, max(supplierGroup#3590482)#3590565 AS supplierGroup#3590544, max(supplier#3590483)#3590566 AS supplier#3590545, max(supplyingPlant#3590484)#3590567 AS supplyingPlant#3590546, max(orderDateTime#3590485)#3590568 AS orderDateTime#3590547, collect_list(itemGroup#3590542, 0, 0)#3590569 AS itemGroups#3590548, flatten(collect_list(parentItems#3590486, 0, 0)#3590570) AS parentItems#3590549, flatten(collect_set(previousOrderProposals#3590488, 0, 0)#3590571) AS previousOrderProposals#3590550]
(64) Project
Output [2]: [shardId#3579932, struct(orderProposalId, orderProposalId#3581322L, originalReplenishmentRunId, originalReplenishmentRunId#3590543L, supplierGroup, supplierGroup#3590544, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3590544) THEN supplier#3590545 END, supplyingPlant, supplyingPlant#3590546, orderDateTime, orderDateTime#3590547, itemGroups, itemGroups#3590548, previousOrderProposals, array_distinct(previousOrderProposals#3590550), parentItems, parentItems#3590549) AS orderProposal#3590575]
Input [10]: [shardId#3579932, orderProposalId#3581322L, originalReplenishmentRunId#3590543L, supplierGroup#3590544, supplier#3590545, supplyingPlant#3590546, orderDateTime#3590547, itemGroups#3590548, parentItems#3590549, previousOrderProposals#3590550]
(65) Project
Output [11]: [shardId#3579932, orderProposal#3590575.orderProposalId AS _extract_orderProposalId#3591334L, orderProposal#3590575.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3591335L, orderProposal#3590575.supplierGroup AS _extract_supplierGroup#3591336, orderProposal#3590575.supplier AS _extract_supplier#3591337, orderProposal#3590575.supplyingPlant AS _extract_supplyingPlant#3591338, orderProposal#3590575.orderDateTime AS _extract_orderDateTime#3591339, orderProposal#3590575.itemGroups AS _extract_itemGroups#3591340, orderProposal#3590575.previousOrderProposals AS _extract_previousOrderProposals#3591341, orderProposal#3590575.parentItems AS _extract_parentItems#3591342, orderProposal#3590575.orderProposalId AS _extract_orderProposalId#3591343L]
Input [2]: [shardId#3579932, orderProposal#3590575]
(66) Exchange
Input [11]: [shardId#3579932, _extract_orderProposalId#3591334L, _extract_originalReplenishmentRunId#3591335L, _extract_supplierGroup#3591336, _extract_supplier#3591337, _extract_supplyingPlant#3591338, _extract_orderDateTime#3591339, _extract_itemGroups#3591340, _extract_previousOrderProposals#3591341, _extract_parentItems#3591342, _extract_orderProposalId#3591343L]
Arguments: hashpartitioning(coalesce(shardId#3579932, ), isnull(shardId#3579932), coalesce(_extract_orderProposalId#3591343L, 0), isnull(_extract_orderProposalId#3591343L), 30), ENSURE_REQUIREMENTS, [plan_id=1029710]
(67) Sort
Input [11]: [shardId#3579932, _extract_orderProposalId#3591334L, _extract_originalReplenishmentRunId#3591335L, _extract_supplierGroup#3591336, _extract_supplier#3591337, _extract_supplyingPlant#3591338, _extract_orderDateTime#3591339, _extract_itemGroups#3591340, _extract_previousOrderProposals#3591341, _extract_parentItems#3591342, _extract_orderProposalId#3591343L]
Arguments: [coalesce(shardId#3579932, ) ASC NULLS FIRST, isnull(shardId#3579932) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3591343L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3591343L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3590590, orderProposalId#3590591L, optimizationGroups#3590593]
Arguments: [shardId#3590590, orderProposalId#3590591L, optimizationGroups#3590593], [isnotnull(orderProposalId#3590591L)]
(69) InMemoryRelation
Arguments: [shardId#3590590, orderProposalId#3590591L, items#3590592, optimizationGroups#3590593, isOptimal#3590594, optimizationInsights#3590596], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3590590, orderProposalId#3590591L, optimizationGroups#3590593]
Condition : isnotnull(orderProposalId#3590591L)
(71) Exchange
Input [3]: [shardId#3590590, orderProposalId#3590591L, optimizationGroups#3590593]
Arguments: hashpartitioning(orderProposalId#3590591L, 30), ENSURE_REQUIREMENTS, [plan_id=1029715]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3590590, orderProposalId#3590591L, optimizationGroups#3590593]
Arguments: [orderProposalId#3590591L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3590219, shardId#3590217]
Arguments: [items#3590219, shardId#3590217], [(size(items#3590219.worklistShardItemId, true) > 0), isnotnull(items#3590219.worklistShardItemId), (shardId#3590217 = 0_7_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3590217, orderProposalId#3590218L, items#3590219, optimizationGroups#3590220, isOptimal#3590221, optimizationInsights#3590223], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3590219, shardId#3590217]
Condition : (((size(items#3590219.worklistShardItemId, true) > 0) AND isnotnull(items#3590219.worklistShardItemId)) AND (shardId#3590217 = 0_7_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3590219.worklistShardItemId AS _extract_worklistShardItemId#3591238]
Input [2]: [items#3590219, shardId#3590217]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3591238]
Arguments: explode(_extract_worklistShardItemId#3591238), false, [item#3590597L]
(78) Project [codegen id : 4]
Output [1]: [item#3590597L AS worklistShardItemId#3590598L]
Input [1]: [item#3590597L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3590598L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1029726]
(80) Scan parquet
Output [5]: [orderProposalId#3590646L, isFallbackOrderOnly#3590663, worklistShardItemId#3590669L, shardId#3590690, sequenceId#3590668]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000532]
PartitionFilters: [isnotnull(shardId#3590690), isnotnull(sequenceId#3590668), (shardId#3590690 = 0_7_10000000532), (sequenceId#3590668 = 6)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(81) ColumnarToRow [codegen id : 5]
Input [5]: [orderProposalId#3590646L, isFallbackOrderOnly#3590663, worklistShardItemId#3590669L, shardId#3590690, sequenceId#3590668]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3590646L, isFallbackOrderOnly#3590663, worklistShardItemId#3590669L, shardId#3590690, sequenceId#3590668]
Condition : ((isnotnull(worklistShardItemId#3590669L) AND NOT (isFallbackOrderOnly#3590663 <=> true)) AND isnotnull(orderProposalId#3590646L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3590646L, worklistShardItemId#3590669L]
Input [5]: [orderProposalId#3590646L, isFallbackOrderOnly#3590663, worklistShardItemId#3590669L, shardId#3590690, sequenceId#3590668]
(84) Exchange
Input [2]: [orderProposalId#3590646L, worklistShardItemId#3590669L]
Arguments: hashpartitioning(worklistShardItemId#3590669L, 30), REPARTITION_BY_NUM, [plan_id=1029733]
(85) Project
Output [2]: [worklistShardItemId#3590669L, orderProposalId#3590646L]
Input [2]: [orderProposalId#3590646L, worklistShardItemId#3590669L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3590598L]
Right keys [1]: [worklistShardItemId#3590669L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3590646L]
Input [3]: [worklistShardItemId#3590598L, worklistShardItemId#3590669L, orderProposalId#3590646L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3590646L]
Keys [1]: [orderProposalId#3590646L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3590646L]
(89) Exchange
Input [1]: [orderProposalId#3590646L]
Arguments: hashpartitioning(orderProposalId#3590646L, 30), ENSURE_REQUIREMENTS, [plan_id=1029740]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3590646L]
Keys [1]: [orderProposalId#3590646L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3590646L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3590646L]
Arguments: [orderProposalId#3590646L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3590591L]
Right keys [1]: [orderProposalId#3590646L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3590591L, shardId#3590590, coalesce(transform(optimizationGroups#3590593, lambdafunction(struct(optGroupId, lambda x_11995#3590588.optGroupId, minOrderProfile, lambda x_11995#3590588.minOrderProfile, assignmentDetails, lambda x_11995#3590588.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11995#3590588.minOrderGoal.dimensionType, unit, lambda x_11995#3590588.minOrderGoal.unit, unitUuid, lambda x_11995#3590588.minOrderGoal.unitUuid, goalValue, lambda x_11995#3590588.minOrderGoal.minOrderValue, calcValue, lambda x_11995#3590588.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11995#3590588, false)), []) AS optimizationGroups#3590587]
Input [4]: [shardId#3590590, orderProposalId#3590591L, optimizationGroups#3590593, orderProposalId#3590646L]
(94) Exchange
Input [3]: [orderProposalId#3590591L, shardId#3590590, optimizationGroups#3590587]
Arguments: hashpartitioning(coalesce(shardId#3590590, ), isnull(shardId#3590590), coalesce(orderProposalId#3590591L, 0), isnull(orderProposalId#3590591L), 30), ENSURE_REQUIREMENTS, [plan_id=1029749]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3590591L, shardId#3590590, optimizationGroups#3590587]
Arguments: [coalesce(shardId#3590590, ) ASC NULLS FIRST, isnull(shardId#3590590) ASC NULLS FIRST, coalesce(orderProposalId#3590591L, 0) ASC NULLS FIRST, isnull(orderProposalId#3590591L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3579932, ), isnull(shardId#3579932), coalesce(_extract_orderProposalId#3591343L, 0), isnull(_extract_orderProposalId#3591343L)]
Right keys [4]: [coalesce(shardId#3590590, ), isnull(shardId#3590590), coalesce(orderProposalId#3590591L, 0), isnull(orderProposalId#3590591L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3579932, named_struct(orderProposalId, _extract_orderProposalId#3591343L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3591335L, supplierGroup, _extract_supplierGroup#3591336, optimizationGroups, coalesce(optimizationGroups#3590587, []), supplier, _extract_supplier#3591337, supplyingPlant, _extract_supplyingPlant#3591338, orderDateTime, _extract_orderDateTime#3591339, itemGroups, _extract_itemGroups#3591340, previousOrderProposals, _extract_previousOrderProposals#3591341, parentItems, _extract_parentItems#3591342) AS orderProposal#3590694]
Input [14]: [shardId#3579932, _extract_orderProposalId#3591334L, _extract_originalReplenishmentRunId#3591335L, _extract_supplierGroup#3591336, _extract_supplier#3591337, _extract_supplyingPlant#3591338, _extract_orderDateTime#3591339, _extract_itemGroups#3591340, _extract_previousOrderProposals#3591341, _extract_parentItems#3591342, _extract_orderProposalId#3591343L, orderProposalId#3590591L, shardId#3590590, optimizationGroups#3590587]
(98) Filter
Input [1]: [orderProposal#3590694]
Condition : (size(orderProposal#3590694.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3590694.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3592114]
Input [1]: [orderProposal#3590694]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3592114]
Arguments: explode(_extract_deliveryDateTime#3592114), false, [numberOfOrderProposalItems#3592086]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3592086]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3592125L]
Results [1]: [count#3592126L]
(103) Exchange
Input [1]: [count#3592126L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1029876]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3592126L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3592091L]
Results [1]: [count(1)#3592091L AS count#3592087L]