digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 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: 675.0 B<br>merged fetch fallback count: 0<br>local blocks read: 9<br>remote merged chunks fetched: 0<br>remote blocks read: 21<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 307821.0: task 890468))<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 307821.0: task 890485))<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: 1575.0 B<br>number of partitions: 1<br>remote reqs duration: 1 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 307821.0: task 890468))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=980973]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n227 ms (3 ms, 6 ms, 18 ms (stage 307821.0: task 890489))";
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>217 ms (3 ms, 6 ms, 17 ms (stage 307821.0: task 890489))<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: 87,939" tooltip="Generate explode(_extract_deliveryDateTime#3405986), false, [numberOfOrderProposalItems#3405958]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3404567.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3405986]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,748" tooltip="Filter (size(orderProposal#3404567.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,748" tooltip="InMemoryTableScan [orderProposal#3404567], [(size(orderProposal#3404567.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, named_struct(orderProposalId, _extract_orderProposalId#3405215L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3405207L, supplierGroup, _extract_supplierGroup#3405208, optimizationGroups, coalesce(optimizationGroups#3404460, []), supplier, _extract_supplier#3405209, supplyingPlant, _extract_supplyingPlant#3405210, orderDateTime, _extract_orderDateTime#3405211, itemGroups, _extract_itemGroups#3405212, previousOrderProposals, _extract_previousOrderProposals#3405213, parentItems, _extract_parentItems#3405214) AS orderProposal#3404567]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 1,748<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307821.0: task 890468))" tooltip="SortMergeJoin [coalesce(shardId#3392655, ), isnull(shardId#3392655), coalesce(_extract_orderProposalId#3405215L, 0), isnull(_extract_orderProposalId#3405215L)], [coalesce(shardId#3404463, ), isnull(shardId#3404463), coalesce(orderProposalId#3404464L, 0), isnull(orderProposalId#3404464L)], 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 307821.0: task 890468))<br>peak memory total (min, med, max (stageId: taskId))<br>195.9 MiB (4.1 MiB, 6.1 MiB, 8.1 MiB (stage 307821.0: task 890470))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307821.0: task 890468))" tooltip="Sort [coalesce(shardId#3392655, ) ASC NULLS FIRST, isnull(shardId#3392655) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3405215L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3405215L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,748<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,748<br>local bytes read total (min, med, max (stageId: taskId))<br>7.6 MiB (140.9 KiB, 268.2 KiB, 375.2 KiB (stage 307821.0: task 890470))<br>merged fetch fallback count: 0<br>local blocks read: 381<br>remote merged chunks fetched: 0<br>remote blocks read: 396<br>data size total (min, med, max (stageId: taskId))<br>159.4 MiB (3.9 MiB, 5.3 MiB, 6.4 MiB (stage 307819.0: task 890410))<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>104 ms (2 ms, 2 ms, 14 ms (stage 307819.0: task 890379))<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>8 ms (0 ms, 0 ms, 8 ms (stage 307821.0: task 890507))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.5 MiB (113.8 KiB, 264.3 KiB, 368.6 KiB (stage 307821.0: task 890486))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>60 ms (1 ms, 2 ms, 15 ms (stage 307821.0: task 890507))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.1 MiB (378.8 KiB, 517.3 KiB, 625.6 KiB (stage 307819.0: task 890410))" tooltip="Exchange hashpartitioning(coalesce(shardId#3392655, ), isnull(shardId#3392655), coalesce(_extract_orderProposalId#3405215L, 0), isnull(_extract_orderProposalId#3405215L), 30), ENSURE_REQUIREMENTS, [plan_id=980807]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, orderProposal#3404448.orderProposalId AS _extract_orderProposalId#3405206L, orderProposal#3404448.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3405207L, orderProposal#3404448.supplierGroup AS _extract_supplierGroup#3405208, orderProposal#3404448.supplier AS _extract_supplier#3405209, orderProposal#3404448.supplyingPlant AS _extract_supplyingPlant#3405210, orderProposal#3404448.orderDateTime AS _extract_orderDateTime#3405211, orderProposal#3404448.itemGroups AS _extract_itemGroups#3405212, orderProposal#3404448.previousOrderProposals AS _extract_previousOrderProposals#3405213, orderProposal#3404448.parentItems AS _extract_parentItems#3405214, orderProposal#3404448.orderProposalId AS _extract_orderProposalId#3405215L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, struct(orderProposalId, orderProposalId#3393465L, originalReplenishmentRunId, originalReplenishmentRunId#3404416L, supplierGroup, supplierGroup#3404417, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3404417) THEN supplier#3404418 END, supplyingPlant, supplyingPlant#3404419, orderDateTime, orderDateTime#3404420, itemGroups, itemGroups#3404421, previousOrderProposals, array_distinct(previousOrderProposals#3404423), parentItems, parentItems#3404422) AS orderProposal#3404448]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,748<br>time in aggregation build total (min, med, max (stageId: taskId))<br>812 ms (14 ms, 24 ms, 50 ms (stage 307819.0: task 890378))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307819.0: task 890379))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3392655, orderProposalId#3393465L], functions=[max(originalReplenishmentRunId#3404354L), max(supplierGroup#3404355), max(supplier#3404356), max(supplyingPlant#3404357), max(orderDateTime#3404358), collect_list(itemGroup#3404415, 0, 0), collect_list(parentItems#3404359, 0, 0), collect_set(previousOrderProposals#3404361, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,748<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,748<br>local bytes read total (min, med, max (stageId: taskId))<br>7.5 MiB (116.3 KiB, 264.1 KiB, 441.3 KiB (stage 307819.0: task 890451))<br>merged fetch fallback count: 0<br>local blocks read: 378<br>remote merged chunks fetched: 0<br>remote blocks read: 379<br>data size total (min, med, max (stageId: taskId))<br>159.5 MiB (3.6 MiB, 5.4 MiB, 6.9 MiB (stage 307818.0: task 890317))<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>89 ms (1 ms, 2 ms, 13 ms (stage 307818.0: task 890348))<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>25 ms (0 ms, 0 ms, 12 ms (stage 307819.0: task 890416))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.7 MiB (89.9 KiB, 270.7 KiB, 414.5 KiB (stage 307819.0: task 890381))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>180 ms (1 ms, 3 ms, 26 ms (stage 307819.0: task 890416))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.2 MiB (350.0 KiB, 528.7 KiB, 672.8 KiB (stage 307818.0: task 890317))" tooltip="Exchange hashpartitioning(shardId#3392655, orderProposalId#3393465L, 30), ENSURE_REQUIREMENTS, [plan_id=980803]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,748<br>time in aggregation build total (min, med, max (stageId: taskId))<br>235 ms (3 ms, 4 ms, 32 ms (stage 307818.0: task 890328))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307818.0: task 890315))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3392655, orderProposalId#3393465L], functions=[partial_max(originalReplenishmentRunId#3404354L), partial_max(supplierGroup#3404355), partial_max(supplier#3404356), partial_max(supplyingPlant#3404357), partial_max(orderDateTime#3404358), partial_collect_list(itemGroup#3404415, 0, 0), partial_collect_list(parentItems#3404359, 0, 0), partial_collect_set(previousOrderProposals#3404361, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,748<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.1 s (17 ms, 20 ms, 141 ms (stage 307818.0: task 890322))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307818.0: task 890315))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3392655, orderProposalId#3393465L, splitIndicator#3393470L, orderProposalItemGroupId#3393467], functions=[max(originalReplenishmentRunId#3393468L), max(supplierGroup#3393475), max(supplier#3393476), max(supplyingPlant#3393506), max(orderDateTime#3393483), collect_list(parentItem#3404306, 0, 0), collect_set(previousOrderProposal#3393471L, 0, 0), collect_list(item#3404337, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 42,777<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 42,777<br>local bytes read total (min, med, max (stageId: taskId))<br>8.1 MiB (145.3 KiB, 232.3 KiB, 491.7 KiB (stage 307818.0: task 890317))<br>merged fetch fallback count: 0<br>local blocks read: 347<br>remote merged chunks fetched: 0<br>remote blocks read: 553<br>data size total (min, med, max (stageId: taskId))<br>170.4 MiB (5.5 MiB, 5.7 MiB, 5.8 MiB (stage 307817.0: task 890123))<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>158 ms (2 ms, 2 ms, 27 ms (stage 307817.0: task 890007))<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 307818.0: task 890315))<br>remote bytes read total (min, med, max (stageId: taskId))<br>12.7 MiB (221.1 KiB, 434.1 KiB, 629.9 KiB (stage 307818.0: task 890357))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>163 ms (4 ms, 5 ms, 16 ms (stage 307818.0: task 890322))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.8 MiB (690.0 KiB, 710.9 KiB, 724.5 KiB (stage 307817.0: task 890123))" tooltip="Exchange hashpartitioning(shardId#3392655, orderProposalId#3393465L, splitIndicator#3393470L, orderProposalItemGroupId#3393467, 30), ENSURE_REQUIREMENTS, [plan_id=980800]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 42,777<br>time in aggregation build total (min, med, max (stageId: taskId))<br>14.7 s (188 ms, 301 ms, 1.2 s (stage 307817.0: task 890107))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307817.0: task 889991))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3392655, orderProposalId#3393465L, splitIndicator#3393470L, orderProposalItemGroupId#3393467], functions=[partial_max(originalReplenishmentRunId#3393468L), partial_max(supplierGroup#3393475), partial_max(supplier#3393476), partial_max(supplyingPlant#3393506), partial_max(orderDateTime#3393483), partial_collect_list(parentItem#3404306, 0, 0), partial_collect_set(previousOrderProposal#3393471L, 0, 0), partial_collect_list(item#3404337, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, orderDateTime#3393483, splitIndicator#3393470L, orderProposalItemGroupId#3393467, previousOrderProposal#3393471L, parentItem#3404306, struct(itemId, orderProposalItemId#3393466, supplier, supplier#3393476, supplyingPlant, supplyingPlant#3393506, productGroup, productGroup#3393507, product, product#3393478, plant, plant#3393479, supplierSubRange, subrange#3393477, deliveryDateTime, deliveryDateTime#3393484, orderQuantity, coalesce((qty#3393239 * (cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11352#3404340.isOrderUnit, lambda x_11352#3404340, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11352#3404341.isOrderUnit, lambda x_11352#3404341, false)), 1, None, false).numerator as double))), qty#3393239), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11352#3404342.isOrderUnit, lambda x_11352#3404342, false)), 1, None, false).uom, orderQuantityBaseUom#3393488), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11352#3404343.isOrderUnit, lambda x_11352#3404343, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3393489), orderQuantityInBaseUnit, qty#3393239, orderQuantityBaseUom, ... 13 more fields) AS item#3404337]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, qty#3393239, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, productGroup#3393507, product#3393478, plant#3393479, subrange#3393477, orderDateTime#3393483, deliveryDateTime#3393484, logisticUnits#3393502, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, splitIndicator#3393470L, orderProposalItemId#3393466, orderProposalItemGroupId#3393467, previousOrderProposal#3393471L, struct(itemId, orderProposalItemId#3393466, itemGroupId, orderProposalItemGroupId#3393467, supplier, supplier#3393476, supplyingPlant, supplyingPlant#3393506, productGroup, productGroup#3393507, product, product#3393478, plant, plant#3393479, supplierSubRange, subrange#3393477, sourceOfSupplyUuid, sourceOfSupplyUuid#3393474, deliveryDateTime, deliveryDateTime#3393484, unitPrice, netPriceAmount#3393493, unitPriceCurrency, netPriceCurrencyCode#3393494, unitPriceQuantity, ... 37 more fields) AS parentItem#3404306]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, qty#3393239, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, productGroup#3393507, product#3393478, plant#3393479, subrange#3393477, orderDateTime#3393483, deliveryDateTime#3393484, availabilityDateTime#3393485, nextAvailabilityDateTime#3393486, logisticUnits#3393502, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, splitIndicator#3393470L, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, sourceOfSupplyUuid#3393474, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n18.4 s (239 ms, 375 ms, 1.5 s (stage 307817.0: task 890107))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, productGroup#3393507, product#3393478, plant#3393479, subrange#3393477, orderDateTime#3393483, deliveryDateTime#3393484, availabilityDateTime#3393485, nextAvailabilityDateTime#3393486, logisticUnits#3393502, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, splitIndicator#3393470L, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 87,939" tooltip="Filter NOT (isFallbackOrderOnly#3393487 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 87,939" tooltip="InMemoryTableScan [availabilityDateTime#3393485, channelStreamSpecificKpis#3403670, constraintLabels#3393497, constraintOperators#3393498, constraintValues#3393500, deliveryDateTime#3393484, isFallbackOrderOnly#3393487, logisticUnits#3393502, measurements#3393495, minimumOrderQuantity#3393496, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, nextAvailabilityDateTime#3393486, optimizationGroups#3393503, orderDateTime#3393483, orderProposalId#3393465L, orderProposalItemGroupId#3393467, orderProposalItemId#3393466, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, originalReplenishmentRunId#3393468L, plant#3393479, ... 14 more fields], [NOT (isFallbackOrderOnly#3393487 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n17.7 s (336 ms, 611 ms, 965 ms (stage 307817.0: task 890106))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 87,939<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307817.0: task 889991))" tooltip="SortMergeJoin [shardId#3392655, worklistShardItemId#3393237L], [shardId#3403677, worklistShardItemId#3403678L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n25.5 s (442 ms, 791 ms, 1.6 s (stage 307817.0: task 890106))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 87,939<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307817.0: task 889991))" tooltip="SortMergeJoin [shardId#3392655, worklistShardItemId#3393237L], [shardId#3403664, worklistShardItemId#3403665L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n30.9 s (507 ms, 846 ms, 2.2 s (stage 307817.0: task 890106))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 87,939<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307817.0: task 889991))" tooltip="SortMergeJoin [shardId#3392655, worklistShardItemId#3393237L], [shardId#3403648, worklistShardItemId#3403649L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n32.1 s (511 ms, 848 ms, 2.5 s (stage 307817.0: task 890091))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" 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 307817.0: task 890007))<br>peak memory total (min, med, max (stageId: taskId))<br>123.8 MiB (4.1 MiB, 4.1 MiB, 4.1 MiB (stage 307817.0: task 889957))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307817.0: task 889957))" tooltip="Sort [shardId#3392655 ASC NULLS FIRST, worklistShardItemId#3393237L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 87,939<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 87,939<br>local bytes read total (min, med, max (stageId: taskId))<br>11.0 MiB (678.2 KiB, 702.6 KiB, 717.1 KiB (stage 307817.0: task 890006))<br>merged fetch fallback count: 0<br>local blocks read: 480<br>remote merged chunks fetched: 0<br>remote blocks read: 420<br>data size total (min, med, max (stageId: taskId))<br>101.4 MiB (3.3 MiB, 3.4 MiB, 3.5 MiB (stage 307816.0: task 889754))<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>107 ms (2 ms, 2 ms, 15 ms (stage 307816.0: task 889743))<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 307817.0: task 889957))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.6 MiB (690.9 KiB, 707.6 KiB, 721.6 KiB (stage 307817.0: task 890123))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>184 ms (2 ms, 13 ms, 49 ms (stage 307817.0: task 890122))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.6 MiB (679.4 KiB, 703.8 KiB, 724.0 KiB (stage 307816.0: task 889754))" tooltip="Exchange hashpartitioning(shardId#3392655, worklistShardItemId#3393237L, 30), ENSURE_REQUIREMENTS, [plan_id=980515]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (27 ms, 42 ms, 78 ms (stage 307816.0: task 889705))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 87,939<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307816.0: task 889705))" tooltip="SortMergeJoin [worklistShardItemId#3393237L], [worklistShardItemId#3393639L], LeftOuter, (shardId#3392655 = 0_1_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.6 s (28 ms, 43 ms, 307 ms (stage 307816.0: task 889705))";
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 307816.0: task 889705))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 307816.0: task 889705))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307816.0: task 889705))" tooltip="Sort [worklistShardItemId#3393237L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 87,939<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 87,939<br>local bytes read total (min, med, max (stageId: taskId))<br>260.1 KiB (8.4 KiB, 8.6 KiB, 9.1 KiB (stage 307816.0: task 889754))<br>merged fetch fallback count: 0<br>local blocks read: 330<br>remote merged chunks fetched: 0<br>remote blocks read: 570<br>data size total (min, med, max (stageId: taskId))<br>4.7 MiB (145.1 KiB, 162.6 KiB, 170.1 KiB (stage 307812.0: task 889572))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>42 ms (1 ms, 1 ms, 1 ms (stage 307812.0: task 889530))<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>62 ms (0 ms, 1 ms, 18 ms (stage 307816.0: task 889754))<br>remote bytes read total (min, med, max (stageId: taskId))<br>459.1 KiB (14.8 KiB, 15.3 KiB, 15.8 KiB (stage 307816.0: task 889743))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>184 ms (3 ms, 4 ms, 22 ms (stage 307816.0: task 889754))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>719.2 KiB (22.4 KiB, 24.0 KiB, 25.2 KiB (stage 307812.0: task 889547))" tooltip="Exchange hashpartitioning(worklistShardItemId#3393237L, 30), ENSURE_REQUIREMENTS, [plan_id=980496]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n233 ms (3 ms, 4 ms, 115 ms (stage 307812.0: task 889473))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3392655, item#3393236.worklistShardItemId AS worklistShardItemId#3393237L, item#3393236.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3393238, item#3393236.qty AS qty#3393239]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 87,939" tooltip="Generate explode(items#3392657), [shardId#3392655], false, [item#3393236]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,748" tooltip="Filter ((size(items#3392657, true) > 0) AND isnotnull(items#3392657))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,748" tooltip="InMemoryTableScan [shardId#3392655, items#3392657], [(size(items#3392657, true) > 0), isnotnull(items#3392657)]"];
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#3392655) AND (shardId#3392655 = 0_1_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, optimizationInsights#3392661], [isnotnull(shardId#3392655), (shardId#3392655 = 0_1_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#3392655) AND (shardId#3392655 = 0_1_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3392655,orderProposalId#3392656L,items#3392657,optimizationGroups#3392658,isOptimal#3392659,lastModified#3392660,optimizationInsights#3392661]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.5 s (27 ms, 43 ms, 201 ms (stage 307816.0: task 889705))";
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 307816.0: task 889705))<br>peak memory total (min, med, max (stageId: taskId))<br>123.8 MiB (4.1 MiB, 4.1 MiB, 4.1 MiB (stage 307816.0: task 889705))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307816.0: task 889705))" tooltip="Sort [worklistShardItemId#3393639L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3393639L, orderProposalId#3393616L, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, originalReplenishmentRunId#3393658L, splitIndicator#3393635L, previousOrderProposal#3393636L, sourceOfSupplyUuid#3393630, supplierGroup#3393618, supplier#3393619, subrange#3393622, product#3393625, plant#3393620, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, isFallbackOrderOnly#3393633, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, netPriceAmount#3393652, netPriceCurrencyCode#3393653, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 87,939<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 87,939<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: 1,110<br>data size total (min, med, max (stageId: taskId))<br>98.0 MiB (2.5 MiB, 2.7 MiB, 2.8 MiB (stage 307811.0: task 889467))<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>129 ms (2 ms, 2 ms, 15 ms (stage 307811.0: task 889590))<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>9 ms (0 ms, 0 ms, 9 ms (stage 307816.0: task 889777))<br>remote bytes read total (min, med, max (stageId: taskId))<br>19.5 MiB (641.8 KiB, 665.0 KiB, 685.9 KiB (stage 307816.0: task 889754))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>327 ms (5 ms, 7 ms, 47 ms (stage 307816.0: task 889754))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>19.5 MiB (511.2 KiB, 539.3 KiB, 570.6 KiB (stage 307811.0: task 889467))" tooltip="Exchange hashpartitioning(worklistShardItemId#3393639L, 30), REPARTITION_BY_NUM, [plan_id=980506]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.1 s (114 ms, 155 ms, 319 ms (stage 307811.0: task 889682))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3393616L, orderProposalItemId#3393617, supplierGroup#3393618, supplier#3393619, plant#3393620, deliveryDateTime#3393621, subrange#3393622, supplyingPlant#3393623, productGroup#3393624, product#3393625, orderDateTime#3393626, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, sourceOfSupplyUuid#3393630, isFallbackOrderOnly#3393633, splitIndicator#3393635L, previousOrderProposal#3393636L, worklistShardItemId#3393639L, orderProposalItemGroupId#3393640, externalProductId#3393641, externalPlantId#3393642, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, minimumOrderQuantity#3393646, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 87,939" tooltip="Filter isnotnull(worklistShardItemId#3393639L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 87,939<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>5.4 s (101 ms, 141 ms, 193 ms (stage 307811.0: task 889649))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 11.9 MiB<br>number of output rows: 87,939<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3393616L,orderProposalItemId#3393617,supplierGroup#3393618,supplier#3393619,plant#3393620,deliveryDateTime#3393621,subrange#3393622,supplyingPlant#3393623,productGroup#3393624,product#3393625,orderDateTime#3393626,availabilityDateTime#3393627,nextAvailabilityDateTime#3393628,sourceOfSupplyUuid#3393630,isFallbackOrderOnly#3393633,splitIndicator#3393635L,previousOrderProposal#3393636L,worklistShardItemId#3393639L,orderProposalItemGroupId#3393640,externalProductId#3393641,externalPlantId#3393642,logisticUnits#3393643,orderQuantityBaseUom#3393644,orderQuantityBaseUomUuid#3393645,minimumOrderQuantity#3393646,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3393639L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3393660), isnotnull(sequenceId#3393638), (shardId#3393660 = 0_1_10000000532), ..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster67 {
isCluster="true";
id="cluster67";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (8)";
68 [id="node68" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>856 ms (16 ms, 20 ms, 71 ms (stage 307817.0: task 890122))<br>peak memory total (min, med, max (stageId: taskId))<br>675.0 MiB (22.5 MiB, 22.5 MiB, 22.5 MiB (stage 307817.0: task 889957))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307817.0: task 889957))" tooltip="Sort [shardId#3403648 ASC NULLS FIRST, worklistShardItemId#3403649L 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>6.7 MiB (54.9 KiB, 63.5 KiB, 430.0 KiB (stage 307817.0: task 890091))<br>merged fetch fallback count: 0<br>local blocks read: 228<br>remote merged chunks fetched: 0<br>remote blocks read: 672<br>data size total (min, med, max (stageId: taskId))<br>610.4 MiB (20.1 MiB, 20.4 MiB, 20.6 MiB (stage 307813.0: task 889873))<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>107 ms (2 ms, 2 ms, 12 ms (stage 307813.0: task 889843))<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 307817.0: task 889957))<br>remote bytes read total (min, med, max (stageId: taskId))<br>19.6 MiB (469.1 KiB, 830.4 KiB, 848.7 KiB (stage 307817.0: task 890080))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>498 ms (6 ms, 10 ms, 72 ms (stage 307817.0: task 890121))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.3 MiB (882.1 KiB, 898.3 KiB, 908.4 KiB (stage 307813.0: task 889807))" tooltip="Exchange hashpartitioning(shardId#3403648, worklistShardItemId#3403649L, 30), ENSURE_REQUIREMENTS, [plan_id=980521]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n26.6 s (733 ms, 866 ms, 1.5 s (stage 307813.0: task 889899))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3403648, worklistShardItemId#3403649L, coalesce(kpis#3403653, []) AS prodLocSpecificKpis#3403654]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter (((isnull(qty#3403650) AND isnull(demandChannel#3403651)) AND isnull(demandStream#3403652)) AND (isnotnull(shardId#3403648) AND isnotnull(worklistShardItemId#3403649L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3403648,worklistShardItemId#3403649L,qty#3403650,demandChannel#3403651,demandStream#3403652,kpis#3403653]"];
}
subgraph cluster74 {
isCluster="true";
id="cluster74";
label="WholeStageCodegen (11)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (11)";
75 [id="node75" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>48 ms (1 ms, 1 ms, 19 ms (stage 307817.0: task 890037))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 307817.0: task 889957))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307817.0: task 889957))" tooltip="Sort [shardId#3403664 ASC NULLS FIRST, worklistShardItemId#3403665L 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.6 s (22 ms, 42 ms, 113 ms (stage 307817.0: task 890107))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307817.0: task 889991))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3403664, worklistShardItemId#3403665L], functions=[collect_list(struct(demandChannel, demandChannel#3403667, demandStream, demandStream#3403668, kpis, kpis#3403669), 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>1966.5 KiB (7.3 KiB, 8.0 KiB, 175.8 KiB (stage 307817.0: task 890070))<br>merged fetch fallback count: 0<br>local blocks read: 249<br>remote merged chunks fetched: 0<br>remote blocks read: 651<br>data size total (min, med, max (stageId: taskId))<br>236.9 MiB (7.8 MiB, 7.9 MiB, 8.0 MiB (stage 307814.0: task 889699))<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>58 ms (1 ms, 1 ms, 2 ms (stage 307814.0: task 889915))<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>144 ms (0 ms, 0 ms, 48 ms (stage 307817.0: task 890121))<br>remote bytes read total (min, med, max (stageId: taskId))<br>5.0 MiB (62.5 KiB, 227.3 KiB, 233.1 KiB (stage 307817.0: task 890080))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>483 ms (3 ms, 8 ms, 68 ms (stage 307817.0: task 890121))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.9 MiB (235.1 KiB, 237.1 KiB, 238.3 KiB (stage 307814.0: task 889699))" tooltip="Exchange hashpartitioning(shardId#3403664, worklistShardItemId#3403665L, 30), ENSURE_REQUIREMENTS, [plan_id=980532]"];
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>26.8 s (753 ms, 869 ms, 1.3 s (stage 307814.0: task 889492))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307814.0: task 889492))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3403664, worklistShardItemId#3403665L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3403667, demandStream, demandStream#3403668, kpis, kpis#3403669), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n26.2 s (738 ms, 852 ms, 1.3 s (stage 307814.0: task 889492))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3403664, worklistShardItemId#3403665L, demandChannel#3403667, demandStream#3403668, kpis#3403669]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter ((((isnull(qty#3403666) AND isnotnull(demandChannel#3403667)) AND isnotnull(demandStream#3403668)) AND (size(kpis#3403669, true) > 0)) AND (isnotnull(shardId#3403664) AND isnotnull(worklistShardItemId#3403665L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3403664,worklistShardItemId#3403665L,qty#3403666,demandChannel#3403667,demandStream#3403668,kpis#3403669]"];
}
subgraph cluster83 {
isCluster="true";
id="cluster83";
label="WholeStageCodegen (14)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (14)";
84 [id="node84" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>34 ms (1 ms, 1 ms, 2 ms (stage 307817.0: task 889957))<br>peak memory total (min, med, max (stageId: taskId))<br>735.0 MiB (24.5 MiB, 24.5 MiB, 24.5 MiB (stage 307817.0: task 889957))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307817.0: task 889957))" tooltip="Sort [shardId#3403677 ASC NULLS FIRST, worklistShardItemId#3403678L 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.7 s (47 ms, 79 ms, 169 ms (stage 307817.0: task 890122))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307817.0: task 889991))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3403677, worklistShardItemId#3403678L], functions=[collect_list(struct(qty, qty#3403679, kpis, kpis#3403682), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,173,819<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,173,819<br>local bytes read total (min, med, max (stageId: taskId))<br>7.2 MiB (153.5 KiB, 159.7 KiB, 448.1 KiB (stage 307817.0: task 890124))<br>merged fetch fallback count: 0<br>local blocks read: 284<br>remote merged chunks fetched: 0<br>remote blocks read: 616<br>data size total (min, med, max (stageId: taskId))<br>727.3 MiB (24.1 MiB, 24.2 MiB, 24.4 MiB (stage 307815.0: task 889917))<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>87 ms (2 ms, 2 ms, 3 ms (stage 307815.0: task 889806))<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 307817.0: task 889957))<br>remote bytes read total (min, med, max (stageId: taskId))<br>15.7 MiB (333.7 KiB, 618.8 KiB, 636.2 KiB (stage 307817.0: task 890080))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>261 ms (4 ms, 6 ms, 23 ms (stage 307817.0: task 890106))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>22.9 MiB (777.0 KiB, 781.3 KiB, 787.6 KiB (stage 307815.0: task 889917))" tooltip="Exchange hashpartitioning(shardId#3403677, worklistShardItemId#3403678L, 30), ENSURE_REQUIREMENTS, [plan_id=980544]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,173,819<br>time in aggregation build total (min, med, max (stageId: taskId))<br>29.9 s (775 ms, 940 ms, 1.7 s (stage 307815.0: task 889701))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307815.0: task 889503))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3403677, worklistShardItemId#3403678L], functions=[partial_collect_list(struct(qty, qty#3403679, kpis, kpis#3403682), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n28.4 s (740 ms, 896 ms, 1.6 s (stage 307815.0: task 889701))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3403677, worklistShardItemId#3403678L, qty#3403679, kpis#3403682]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter ((isnotnull(qty#3403679) AND isnotnull(kpis#3403682)) AND (isnotnull(shardId#3403677) AND isnotnull(worklistShardItemId#3403678L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3403677,worklistShardItemId#3403678L,qty#3403679,demandChannel#3403680,demandStream#3403681,kpis#3403682]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (23 ms, 34 ms, 210 ms (stage 307821.0: task 890468))";
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 307821.0: task 890468))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 307821.0: task 890468))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307821.0: task 890468))" tooltip="Sort [coalesce(shardId#3404463, ) ASC NULLS FIRST, isnull(shardId#3404463) ASC NULLS FIRST, coalesce(orderProposalId#3404464L, 0) ASC NULLS FIRST, isnull(orderProposalId#3404464L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,748<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,748<br>local bytes read total (min, med, max (stageId: taskId))<br>28.4 KiB (2.7 KiB, 3.2 KiB, 3.5 KiB (stage 307821.0: task 890496))<br>merged fetch fallback count: 0<br>local blocks read: 225<br>remote merged chunks fetched: 0<br>remote blocks read: 536<br>data size total (min, med, max (stageId: taskId))<br>95.6 KiB (2.4 KiB, 3.3 KiB, 4.0 KiB (stage 307820.0: task 889784))<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>45 ms (1 ms, 1 ms, 3 ms (stage 307820.0: task 889758))<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 307821.0: task 890468))<br>remote bytes read total (min, med, max (stageId: taskId))<br>68.9 KiB (2.4 KiB, 3.4 KiB, 3.8 KiB (stage 307821.0: task 890511))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>48 ms (1 ms, 1 ms, 11 ms (stage 307821.0: task 890494))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>97.3 KiB (2.7 KiB, 3.3 KiB, 3.7 KiB (stage 307820.0: task 889795))" tooltip="Exchange hashpartitioning(coalesce(shardId#3404463, ), isnull(shardId#3404463), coalesce(orderProposalId#3404464L, 0), isnull(orderProposalId#3404464L), 30), ENSURE_REQUIREMENTS, [plan_id=980846]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3404464L, shardId#3404463, coalesce(transform(optimizationGroups#3404466, lambdafunction(struct(optGroupId, lambda x_11356#3404461.optGroupId, minOrderProfile, lambda x_11356#3404461.minOrderProfile, assignmentDetails, lambda x_11356#3404461.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11356#3404461.minOrderGoal.dimensionType, unit, lambda x_11356#3404461.minOrderGoal.unit, unitUuid, lambda x_11356#3404461.minOrderGoal.unitUuid, goalValue, lambda x_11356#3404461.minOrderGoal.minOrderValue, calcValue, lambda x_11356#3404461.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11356#3404461, false)), []) AS optimizationGroups#3404460]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n485 ms (9 ms, 11 ms, 100 ms (stage 307820.0: task 889748))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 1,748<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307820.0: task 889748))" tooltip="SortMergeJoin [orderProposalId#3404464L], [orderProposalId#3404519L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n678 ms (10 ms, 12 ms, 266 ms (stage 307820.0: task 889748))";
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 307820.0: task 889748))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 307820.0: task 889748))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307820.0: task 889748))" tooltip="Sort [orderProposalId#3404464L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,748<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,748<br>local bytes read total (min, med, max (stageId: taskId))<br>88.6 KiB (2.5 KiB, 3.0 KiB, 3.4 KiB (stage 307820.0: task 889784))<br>merged fetch fallback count: 0<br>local blocks read: 696<br>remote merged chunks fetched: 0<br>remote blocks read: 83<br>data size total (min, med, max (stageId: taskId))<br>95.6 KiB (3.0 KiB, 3.2 KiB, 3.3 KiB (stage 307809.0: task 889491))<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>45 ms (1 ms, 1 ms, 5 ms (stage 307809.0: task 889480))<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>3 ms (0 ms, 0 ms, 3 ms (stage 307820.0: task 889778))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.5 KiB (129.0 B, 382.0 B, 447.0 B (stage 307820.0: task 889748))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>101 ms (3 ms, 3 ms, 8 ms (stage 307820.0: task 889748))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>99.1 KiB (3.0 KiB, 3.3 KiB, 3.6 KiB (stage 307809.0: task 889491))" tooltip="Exchange hashpartitioning(orderProposalId#3404464L, 30), ENSURE_REQUIREMENTS, [plan_id=980812]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n221 ms (2 ms, 3 ms, 100 ms (stage 307809.0: task 889519))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,748" tooltip="Filter isnotnull(orderProposalId#3404464L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,748" tooltip="InMemoryTableScan [shardId#3404463, orderProposalId#3404464L, optimizationGroups#3404466], [isnotnull(orderProposalId#3404464L)]"];
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#3392655) AND (shardId#3392655 = 0_1_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, optimizationInsights#3392661], [isnotnull(shardId#3392655), (shardId#3392655 = 0_1_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#3392655) AND (shardId#3392655 = 0_1_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3392655,orderProposalId#3392656L,items#3392657,optimizationGroups#3392658,isOptimal#3392659,lastModified#3392660,optimizationInsights#3392661]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n546 ms (9 ms, 12 ms, 152 ms (stage 307820.0: task 889748))";
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 307820.0: task 889748))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 307820.0: task 889748))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307820.0: task 889748))" tooltip="Sort [orderProposalId#3404519L 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>99 ms (2 ms, 3 ms, 7 ms (stage 307820.0: task 889748))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 307820.0: task 889748))<br>number of output rows: 1,748<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3404519L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 42,790<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 42,790<br>local bytes read total (min, med, max (stageId: taskId))<br>513.8 KiB (13.1 KiB, 17.5 KiB, 21.4 KiB (stage 307820.0: task 889784))<br>merged fetch fallback count: 0<br>local blocks read: 900<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>668.6 KiB (21.8 KiB, 22.3 KiB, 22.9 KiB (stage 307810.0: task 889745))<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>56 ms (1 ms, 1 ms, 9 ms (stage 307810.0: task 889739))<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 307820.0: task 889748))<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>513.8 KiB (16.8 KiB, 17.1 KiB, 17.6 KiB (stage 307810.0: task 889745))" tooltip="Exchange hashpartitioning(orderProposalId#3404519L, 30), ENSURE_REQUIREMENTS, [plan_id=980837]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n395 ms (7 ms, 9 ms, 104 ms (stage 307810.0: task 889702))";
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>154 ms (3 ms, 4 ms, 17 ms (stage 307810.0: task 889742))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 307810.0: task 889702))<br>number of output rows: 42,790<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3404519L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3404519L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 87,939" tooltip="BroadcastHashJoin [worklistShardItemId#3404471L], [worklistShardItemId#3404542L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3404542L, orderProposalId#3404519L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 9 ms<br>time to build: 22 ms<br>time to collect: 547 ms<br>number of output rows: 87,939<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=980823]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n22 ms (0 ms, 0 ms, 8 ms (stage 307807.0: task 889397))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3404470L AS worklistShardItemId#3404471L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 87,939" tooltip="Generate explode(_extract_worklistShardItemId#3405111), false, [item#3404470L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3404092.worklistShardItemId AS _extract_worklistShardItemId#3405111]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,748" tooltip="Filter (((size(items#3404092.worklistShardItemId, true) > 0) AND isnotnull(items#3404092.worklistShardItemId)) AND (shardId#3404090 = 0_1_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,748" tooltip="InMemoryTableScan [items#3404092, shardId#3404090], [(size(items#3404092.worklistShardItemId, true) > 0), isnotnull(items#3404092.worklistShardItemId), (shardId#3404090 = 0_1_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#3392655) AND (shardId#3392655 = 0_1_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, optimizationInsights#3392661], [isnotnull(shardId#3392655), (shardId#3392655 = 0_1_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#3392655) AND (shardId#3392655 = 0_1_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3392655,orderProposalId#3392656L,items#3392657,optimizationGroups#3392658,isOptimal#3392659,lastModified#3392660,optimizationInsights#3392661]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 87,939<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 87,939<br>local bytes read total (min, med, max (stageId: taskId))<br>1158.9 KiB (37.2 KiB, 38.6 KiB, 39.8 KiB (stage 307810.0: task 889745))<br>merged fetch fallback count: 0<br>local blocks read: 960<br>remote merged chunks fetched: 0<br>remote blocks read: 150<br>data size total (min, med, max (stageId: taskId))<br>2.0 MiB (53.2 KiB, 55.8 KiB, 58.6 KiB (stage 307808.0: task 889462))<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 307808.0: task 889596))<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>23 ms (0 ms, 0 ms, 13 ms (stage 307810.0: task 889742))<br>remote bytes read total (min, med, max (stageId: taskId))<br>177.7 KiB (5.5 KiB, 5.9 KiB, 6.6 KiB (stage 307810.0: task 889739))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>118 ms (3 ms, 3 ms, 17 ms (stage 307810.0: task 889742))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1336.6 KiB (34.6 KiB, 36.2 KiB, 37.9 KiB (stage 307808.0: task 889462))" tooltip="Exchange hashpartitioning(worklistShardItemId#3404542L, 30), REPARTITION_BY_NUM, [plan_id=980830]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n6.0 s (134 ms, 150 ms, 261 ms (stage 307808.0: task 889655))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3404519L, worklistShardItemId#3404542L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 87,939" tooltip="Filter ((isnotnull(worklistShardItemId#3404542L) AND NOT (isFallbackOrderOnly#3404536 <=> true)) AND isnotnull(orderProposalId#3404519L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 87,939<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.8 s (129 ms, 145 ms, 250 ms (stage 307808.0: task 889655))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 11.9 MiB<br>number of output rows: 87,939<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3404519L,isFallbackOrderOnly#3404536,worklistShardItemId#3404542L,shardId#3404563,sequenceId#3404541] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3404542L), NOT (isFallbackOrderOnly#3404536 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3404563), isnotnull(sequenceId#3404541), (shardId#3404563 = 0_1_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#3404567]
Arguments: [orderProposal#3404567], [(size(orderProposal#3404567.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3392655, orderProposal#3404567], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3393485, channelStreamSpecificKpis#3403670, constraintLabels#3393497, constraintOperators#3393498, constraintValues#3393500, deliveryDateTime#3393484, isFallbackOrderOnly#3393487, logisticUnits#3393502, measurements#3393495, minimumOrderQuantity#3393496, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, nextAvailabilityDateTime#3393486, optimizationGroups#3393503, orderDateTime#3393483, orderProposalId#3393465L, orderProposalItemGroupId#3393467, orderProposalItemId#3393466, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, originalReplenishmentRunId#3393468L, plant#3393479, previousOrderProposal#3393471L, prodLocSpecificKpis#3403655, product#3393478, productGroup#3393507, qty#3393239, quantityAfterProdPlantOptimization#3393238, quantityKpis#3403683, shardId#3392655, sourceOfSupplyUuid#3393474, splitIndicator#3393470L, subrange#3393477, supplier#3393476, supplierGroup#3393475, supplyingPlant#3393506]
Arguments: [availabilityDateTime#3393485, channelStreamSpecificKpis#3403670, constraintLabels#3393497, constraintOperators#3393498, constraintValues#3393500, deliveryDateTime#3393484, isFallbackOrderOnly#3393487, logisticUnits#3393502, measurements#3393495, minimumOrderQuantity#3393496, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, nextAvailabilityDateTime#3393486, optimizationGroups#3393503, orderDateTime#3393483, orderProposalId#3393465L, orderProposalItemGroupId#3393467, orderProposalItemId#3393466, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, originalReplenishmentRunId#3393468L, plant#3393479, ... 14 more fields], [NOT (isFallbackOrderOnly#3393487 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, productGroup#3393507, product#3393478, plant#3393479, subrange#3393477, orderDateTime#3393483, deliveryDateTime#3393484, availabilityDateTime#3393485, nextAvailabilityDateTime#3393486, constraintValues#3393500, constraintOperators#3393498, constraintLabels#3393497, logisticUnits#3393502, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, splitIndicator#3393470L, netPriceAmount#3393493, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3392655, items#3392657]
Arguments: [shardId#3392655, items#3392657], [(size(items#3392657, true) > 0), isnotnull(items#3392657)]
(6) InMemoryRelation
Arguments: [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, optimizationInsights#3392661], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, optimizationInsights#3392661]
Arguments: [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, optimizationInsights#3392661], [isnotnull(shardId#3392655), (shardId#3392655 = 0_1_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, lastModified#3392660, optimizationInsights#3392661], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, lastModified#3392660, optimizationInsights#3392661]
Arguments: [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, lastModified#3392660, optimizationInsights#3392661], MapPartitionsRDD[144081] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, lastModified#3392660, optimizationInsights#3392661]
Condition : (isnotnull(shardId#3392655) AND (shardId#3392655 = 0_1_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3392655, orderProposalId#3392656L, items#3392657, optimizationGroups#3392658, isOptimal#3392659, optimizationInsights#3392661]
Condition : (isnotnull(shardId#3392655) AND (shardId#3392655 = 0_1_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3392655, items#3392657]
Condition : ((size(items#3392657, true) > 0) AND isnotnull(items#3392657))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3392655, items#3392657]
Arguments: explode(items#3392657), [shardId#3392655], false, [item#3393236]
(14) Project [codegen id : 1]
Output [4]: [shardId#3392655, item#3393236.worklistShardItemId AS worklistShardItemId#3393237L, item#3393236.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3393238, item#3393236.qty AS qty#3393239]
Input [2]: [shardId#3392655, item#3393236]
(15) Exchange
Input [4]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239]
Arguments: hashpartitioning(worklistShardItemId#3393237L, 30), ENSURE_REQUIREMENTS, [plan_id=980496]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239]
Arguments: [worklistShardItemId#3393237L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3393616L, orderProposalItemId#3393617, supplierGroup#3393618, supplier#3393619, plant#3393620, deliveryDateTime#3393621, subrange#3393622, supplyingPlant#3393623, productGroup#3393624, product#3393625, orderDateTime#3393626, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, sourceOfSupplyUuid#3393630, isFallbackOrderOnly#3393633, splitIndicator#3393635L, previousOrderProposal#3393636L, worklistShardItemId#3393639L, orderProposalItemGroupId#3393640, externalProductId#3393641, externalPlantId#3393642, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, minimumOrderQuantity#3393646, constraintLabels#3393647, constraintOperators#3393648, constraintValues#3393649, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, measurements#3393657, originalReplenishmentRunId#3393658L, optimizationGroups#3393659, shardId#3393660, sequenceId#3393638]
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#3393660), isnotnull(sequenceId#3393638), (shardId#3393660 = 0_1_10000000532), (sequenceId#3393638 = 7)]
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#3393616L, orderProposalItemId#3393617, supplierGroup#3393618, supplier#3393619, plant#3393620, deliveryDateTime#3393621, subrange#3393622, supplyingPlant#3393623, productGroup#3393624, product#3393625, orderDateTime#3393626, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, sourceOfSupplyUuid#3393630, isFallbackOrderOnly#3393633, splitIndicator#3393635L, previousOrderProposal#3393636L, worklistShardItemId#3393639L, orderProposalItemGroupId#3393640, externalProductId#3393641, externalPlantId#3393642, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, minimumOrderQuantity#3393646, constraintLabels#3393647, constraintOperators#3393648, constraintValues#3393649, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, measurements#3393657, originalReplenishmentRunId#3393658L, optimizationGroups#3393659, shardId#3393660, sequenceId#3393638]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3393616L, orderProposalItemId#3393617, supplierGroup#3393618, supplier#3393619, plant#3393620, deliveryDateTime#3393621, subrange#3393622, supplyingPlant#3393623, productGroup#3393624, product#3393625, orderDateTime#3393626, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, sourceOfSupplyUuid#3393630, isFallbackOrderOnly#3393633, splitIndicator#3393635L, previousOrderProposal#3393636L, worklistShardItemId#3393639L, orderProposalItemGroupId#3393640, externalProductId#3393641, externalPlantId#3393642, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, minimumOrderQuantity#3393646, constraintLabels#3393647, constraintOperators#3393648, constraintValues#3393649, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, measurements#3393657, originalReplenishmentRunId#3393658L, optimizationGroups#3393659, shardId#3393660, sequenceId#3393638]
Condition : isnotnull(worklistShardItemId#3393639L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3393616L, orderProposalItemId#3393617, supplierGroup#3393618, supplier#3393619, plant#3393620, deliveryDateTime#3393621, subrange#3393622, supplyingPlant#3393623, productGroup#3393624, product#3393625, orderDateTime#3393626, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, sourceOfSupplyUuid#3393630, isFallbackOrderOnly#3393633, splitIndicator#3393635L, previousOrderProposal#3393636L, worklistShardItemId#3393639L, orderProposalItemGroupId#3393640, externalProductId#3393641, externalPlantId#3393642, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, minimumOrderQuantity#3393646, constraintLabels#3393647, constraintOperators#3393648, constraintValues#3393649, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, measurements#3393657, originalReplenishmentRunId#3393658L, optimizationGroups#3393659]
Input [38]: [orderProposalId#3393616L, orderProposalItemId#3393617, supplierGroup#3393618, supplier#3393619, plant#3393620, deliveryDateTime#3393621, subrange#3393622, supplyingPlant#3393623, productGroup#3393624, product#3393625, orderDateTime#3393626, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, sourceOfSupplyUuid#3393630, isFallbackOrderOnly#3393633, splitIndicator#3393635L, previousOrderProposal#3393636L, worklistShardItemId#3393639L, orderProposalItemGroupId#3393640, externalProductId#3393641, externalPlantId#3393642, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, minimumOrderQuantity#3393646, constraintLabels#3393647, constraintOperators#3393648, constraintValues#3393649, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, measurements#3393657, originalReplenishmentRunId#3393658L, optimizationGroups#3393659, shardId#3393660, sequenceId#3393638]
(21) Exchange
Input [36]: [orderProposalId#3393616L, orderProposalItemId#3393617, supplierGroup#3393618, supplier#3393619, plant#3393620, deliveryDateTime#3393621, subrange#3393622, supplyingPlant#3393623, productGroup#3393624, product#3393625, orderDateTime#3393626, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, sourceOfSupplyUuid#3393630, isFallbackOrderOnly#3393633, splitIndicator#3393635L, previousOrderProposal#3393636L, worklistShardItemId#3393639L, orderProposalItemGroupId#3393640, externalProductId#3393641, externalPlantId#3393642, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, minimumOrderQuantity#3393646, constraintLabels#3393647, constraintOperators#3393648, constraintValues#3393649, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, measurements#3393657, originalReplenishmentRunId#3393658L, optimizationGroups#3393659]
Arguments: hashpartitioning(worklistShardItemId#3393639L, 30), REPARTITION_BY_NUM, [plan_id=980506]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3393639L, orderProposalId#3393616L, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, originalReplenishmentRunId#3393658L, splitIndicator#3393635L, previousOrderProposal#3393636L, sourceOfSupplyUuid#3393630, supplierGroup#3393618, supplier#3393619, subrange#3393622, product#3393625, plant#3393620, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, isFallbackOrderOnly#3393633, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, netPriceAmount#3393652, netPriceCurrencyCode#3393653, measurements#3393657, minimumOrderQuantity#3393646, constraintLabels#3393647, constraintOperators#3393648, constraintValues#3393649, logisticUnits#3393643, optimizationGroups#3393659, externalProductId#3393641, externalPlantId#3393642, supplyingPlant#3393623, productGroup#3393624]
Input [36]: [orderProposalId#3393616L, orderProposalItemId#3393617, supplierGroup#3393618, supplier#3393619, plant#3393620, deliveryDateTime#3393621, subrange#3393622, supplyingPlant#3393623, productGroup#3393624, product#3393625, orderDateTime#3393626, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, sourceOfSupplyUuid#3393630, isFallbackOrderOnly#3393633, splitIndicator#3393635L, previousOrderProposal#3393636L, worklistShardItemId#3393639L, orderProposalItemGroupId#3393640, externalProductId#3393641, externalPlantId#3393642, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, minimumOrderQuantity#3393646, constraintLabels#3393647, constraintOperators#3393648, constraintValues#3393649, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, measurements#3393657, originalReplenishmentRunId#3393658L, optimizationGroups#3393659]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3393639L, orderProposalId#3393616L, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, originalReplenishmentRunId#3393658L, splitIndicator#3393635L, previousOrderProposal#3393636L, sourceOfSupplyUuid#3393630, supplierGroup#3393618, supplier#3393619, subrange#3393622, product#3393625, plant#3393620, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, isFallbackOrderOnly#3393633, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, netPriceAmount#3393652, netPriceCurrencyCode#3393653, measurements#3393657, minimumOrderQuantity#3393646, constraintLabels#3393647, constraintOperators#3393648, constraintValues#3393649, logisticUnits#3393643, optimizationGroups#3393659, externalProductId#3393641, externalPlantId#3393642, supplyingPlant#3393623, productGroup#3393624]
Arguments: [worklistShardItemId#3393639L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3393237L]
Right keys [1]: [worklistShardItemId#3393639L]
Join type: LeftOuter
Join condition: (shardId#3392655 = 0_1_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, sourceOfSupplyUuid#3393630, minimumOrderQuantity#3393646, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, optimizationGroups#3393659, measurements#3393657, externalProductId#3393641, externalPlantId#3393642, previousOrderProposal#3393636L, isFallbackOrderOnly#3393633]
Input [40]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, worklistShardItemId#3393639L, orderProposalId#3393616L, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, originalReplenishmentRunId#3393658L, splitIndicator#3393635L, previousOrderProposal#3393636L, sourceOfSupplyUuid#3393630, supplierGroup#3393618, supplier#3393619, subrange#3393622, product#3393625, plant#3393620, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, isFallbackOrderOnly#3393633, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, netPriceAmount#3393652, netPriceCurrencyCode#3393653, measurements#3393657, minimumOrderQuantity#3393646, constraintLabels#3393647, constraintOperators#3393648, constraintValues#3393649, logisticUnits#3393643, optimizationGroups#3393659, externalProductId#3393641, externalPlantId#3393642, supplyingPlant#3393623, productGroup#3393624]
(26) Exchange
Input [39]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, sourceOfSupplyUuid#3393630, minimumOrderQuantity#3393646, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, optimizationGroups#3393659, measurements#3393657, externalProductId#3393641, externalPlantId#3393642, previousOrderProposal#3393636L, isFallbackOrderOnly#3393633]
Arguments: hashpartitioning(shardId#3392655, worklistShardItemId#3393237L, 30), ENSURE_REQUIREMENTS, [plan_id=980515]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, sourceOfSupplyUuid#3393630, minimumOrderQuantity#3393646, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, optimizationGroups#3393659, measurements#3393657, externalProductId#3393641, externalPlantId#3393642, previousOrderProposal#3393636L, isFallbackOrderOnly#3393633]
Arguments: [shardId#3392655 ASC NULLS FIRST, worklistShardItemId#3393237L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3403648, worklistShardItemId#3403649L, qty#3403650, demandChannel#3403651, demandStream#3403652, kpis#3403653]
Arguments: [shardId#3403648, worklistShardItemId#3403649L, qty#3403650, demandChannel#3403651, demandStream#3403652, kpis#3403653], MapPartitionsRDD[144759] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3403648, worklistShardItemId#3403649L, qty#3403650, demandChannel#3403651, demandStream#3403652, kpis#3403653]
Condition : (((isnull(qty#3403650) AND isnull(demandChannel#3403651)) AND isnull(demandStream#3403652)) AND (isnotnull(shardId#3403648) AND isnotnull(worklistShardItemId#3403649L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3403648, worklistShardItemId#3403649L, coalesce(kpis#3403653, []) AS prodLocSpecificKpis#3403654]
Input [6]: [shardId#3403648, worklistShardItemId#3403649L, qty#3403650, demandChannel#3403651, demandStream#3403652, kpis#3403653]
(31) Exchange
Input [3]: [shardId#3403648, worklistShardItemId#3403649L, prodLocSpecificKpis#3403654]
Arguments: hashpartitioning(shardId#3403648, worklistShardItemId#3403649L, 30), ENSURE_REQUIREMENTS, [plan_id=980521]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3403648, worklistShardItemId#3403649L, prodLocSpecificKpis#3403654]
Arguments: [shardId#3403648 ASC NULLS FIRST, worklistShardItemId#3403649L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3392655, worklistShardItemId#3393237L]
Right keys [2]: [shardId#3403648, worklistShardItemId#3403649L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, sourceOfSupplyUuid#3393630, minimumOrderQuantity#3393646, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, optimizationGroups#3393659, measurements#3393657, externalProductId#3393641, externalPlantId#3393642, previousOrderProposal#3393636L, isFallbackOrderOnly#3393633, coalesce(prodLocSpecificKpis#3403654, []) AS prodLocSpecificKpis#3403655]
Input [42]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, sourceOfSupplyUuid#3393630, minimumOrderQuantity#3393646, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, optimizationGroups#3393659, measurements#3393657, externalProductId#3393641, externalPlantId#3393642, previousOrderProposal#3393636L, isFallbackOrderOnly#3393633, shardId#3403648, worklistShardItemId#3403649L, prodLocSpecificKpis#3403654]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3403664, worklistShardItemId#3403665L, qty#3403666, demandChannel#3403667, demandStream#3403668, kpis#3403669]
Arguments: [shardId#3403664, worklistShardItemId#3403665L, qty#3403666, demandChannel#3403667, demandStream#3403668, kpis#3403669], MapPartitionsRDD[144759] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3403664, worklistShardItemId#3403665L, qty#3403666, demandChannel#3403667, demandStream#3403668, kpis#3403669]
Condition : ((((isnull(qty#3403666) AND isnotnull(demandChannel#3403667)) AND isnotnull(demandStream#3403668)) AND (size(kpis#3403669, true) > 0)) AND (isnotnull(shardId#3403664) AND isnotnull(worklistShardItemId#3403665L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3403664, worklistShardItemId#3403665L, demandChannel#3403667, demandStream#3403668, kpis#3403669]
Input [6]: [shardId#3403664, worklistShardItemId#3403665L, qty#3403666, demandChannel#3403667, demandStream#3403668, kpis#3403669]
(38) ObjectHashAggregate
Input [5]: [shardId#3403664, worklistShardItemId#3403665L, demandChannel#3403667, demandStream#3403668, kpis#3403669]
Keys [2]: [shardId#3403664, worklistShardItemId#3403665L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3403667, demandStream, demandStream#3403668, kpis, kpis#3403669), 0, 0)]
Aggregate Attributes [1]: [buf#3403844]
Results [3]: [shardId#3403664, worklistShardItemId#3403665L, buf#3403845]
(39) Exchange
Input [3]: [shardId#3403664, worklistShardItemId#3403665L, buf#3403845]
Arguments: hashpartitioning(shardId#3403664, worklistShardItemId#3403665L, 30), ENSURE_REQUIREMENTS, [plan_id=980532]
(40) ObjectHashAggregate
Input [3]: [shardId#3403664, worklistShardItemId#3403665L, buf#3403845]
Keys [2]: [shardId#3403664, worklistShardItemId#3403665L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3403667, demandStream, demandStream#3403668, kpis, kpis#3403669), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3403667, demandStream, demandStream#3403668, kpis, kpis#3403669), 0, 0)#3403663]
Results [3]: [shardId#3403664, worklistShardItemId#3403665L, collect_list(struct(demandChannel, demandChannel#3403667, demandStream, demandStream#3403668, kpis, kpis#3403669), 0, 0)#3403663 AS channelStreamSpecificKpis#3403656]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3403664, worklistShardItemId#3403665L, channelStreamSpecificKpis#3403656]
Arguments: [shardId#3403664 ASC NULLS FIRST, worklistShardItemId#3403665L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3392655, worklistShardItemId#3393237L]
Right keys [2]: [shardId#3403664, worklistShardItemId#3403665L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, sourceOfSupplyUuid#3393630, minimumOrderQuantity#3393646, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, optimizationGroups#3393659, measurements#3393657, externalProductId#3393641, externalPlantId#3393642, previousOrderProposal#3393636L, isFallbackOrderOnly#3393633, prodLocSpecificKpis#3403655, coalesce(channelStreamSpecificKpis#3403656, []) AS channelStreamSpecificKpis#3403670]
Input [43]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, sourceOfSupplyUuid#3393630, minimumOrderQuantity#3393646, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, optimizationGroups#3393659, measurements#3393657, externalProductId#3393641, externalPlantId#3393642, previousOrderProposal#3393636L, isFallbackOrderOnly#3393633, prodLocSpecificKpis#3403655, shardId#3403664, worklistShardItemId#3403665L, channelStreamSpecificKpis#3403656]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3403677, worklistShardItemId#3403678L, qty#3403679, demandChannel#3403680, demandStream#3403681, kpis#3403682]
Arguments: [shardId#3403677, worklistShardItemId#3403678L, qty#3403679, demandChannel#3403680, demandStream#3403681, kpis#3403682], MapPartitionsRDD[144759] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3403677, worklistShardItemId#3403678L, qty#3403679, demandChannel#3403680, demandStream#3403681, kpis#3403682]
Condition : ((isnotnull(qty#3403679) AND isnotnull(kpis#3403682)) AND (isnotnull(shardId#3403677) AND isnotnull(worklistShardItemId#3403678L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3403677, worklistShardItemId#3403678L, qty#3403679, kpis#3403682]
Input [6]: [shardId#3403677, worklistShardItemId#3403678L, qty#3403679, demandChannel#3403680, demandStream#3403681, kpis#3403682]
(47) ObjectHashAggregate
Input [4]: [shardId#3403677, worklistShardItemId#3403678L, qty#3403679, kpis#3403682]
Keys [2]: [shardId#3403677, worklistShardItemId#3403678L]
Functions [1]: [partial_collect_list(struct(qty, qty#3403679, kpis, kpis#3403682), 0, 0)]
Aggregate Attributes [1]: [buf#3403846]
Results [3]: [shardId#3403677, worklistShardItemId#3403678L, buf#3403847]
(48) Exchange
Input [3]: [shardId#3403677, worklistShardItemId#3403678L, buf#3403847]
Arguments: hashpartitioning(shardId#3403677, worklistShardItemId#3403678L, 30), ENSURE_REQUIREMENTS, [plan_id=980544]
(49) ObjectHashAggregate
Input [3]: [shardId#3403677, worklistShardItemId#3403678L, buf#3403847]
Keys [2]: [shardId#3403677, worklistShardItemId#3403678L]
Functions [1]: [collect_list(struct(qty, qty#3403679, kpis, kpis#3403682), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3403679, kpis, kpis#3403682), 0, 0)#3403676]
Results [3]: [shardId#3403677, worklistShardItemId#3403678L, map_from_entries(collect_list(struct(qty, qty#3403679, kpis, kpis#3403682), 0, 0)#3403676) AS quantityKpis#3403671]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3403677, worklistShardItemId#3403678L, quantityKpis#3403671]
Arguments: [shardId#3403677 ASC NULLS FIRST, worklistShardItemId#3403678L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3392655, worklistShardItemId#3393237L]
Right keys [2]: [shardId#3403677, worklistShardItemId#3403678L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, sourceOfSupplyUuid#3393630, minimumOrderQuantity#3393646, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, optimizationGroups#3393659, measurements#3393657, externalProductId#3393641, externalPlantId#3393642, previousOrderProposal#3393636L, isFallbackOrderOnly#3393633, prodLocSpecificKpis#3403655, channelStreamSpecificKpis#3403670, coalesce(quantityKpis#3403671, map(keys: [], values: [])) AS quantityKpis#3403683]
Input [44]: [shardId#3392655, worklistShardItemId#3393237L, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393616L, originalReplenishmentRunId#3393658L, supplierGroup#3393618, supplier#3393619, supplyingPlant#3393623, productGroup#3393624, product#3393625, plant#3393620, subrange#3393622, orderDateTime#3393626, deliveryDateTime#3393621, availabilityDateTime#3393627, nextAvailabilityDateTime#3393628, constraintValues#3393649, constraintOperators#3393648, constraintLabels#3393647, logisticUnits#3393643, orderQuantityBaseUom#3393644, orderQuantityBaseUomUuid#3393645, splitIndicator#3393635L, netPriceAmount#3393652, netPriceCurrencyCode#3393653, netPriceQuantity#3393654, netPriceQuantityUom#3393655, netPriceQuantityUomUuid#3393656, sourceOfSupplyUuid#3393630, minimumOrderQuantity#3393646, orderProposalItemId#3393617, orderProposalItemGroupId#3393640, optimizationGroups#3393659, measurements#3393657, externalProductId#3393641, externalPlantId#3393642, previousOrderProposal#3393636L, isFallbackOrderOnly#3393633, prodLocSpecificKpis#3403655, channelStreamSpecificKpis#3403670, shardId#3403677, worklistShardItemId#3403678L, quantityKpis#3403671]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3393485, channelStreamSpecificKpis#3403670, constraintLabels#3393497, constraintOperators#3393498, constraintValues#3393500, deliveryDateTime#3393484, isFallbackOrderOnly#3393487, logisticUnits#3393502, measurements#3393495, minimumOrderQuantity#3393496, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, nextAvailabilityDateTime#3393486, optimizationGroups#3393503, orderDateTime#3393483, orderProposalId#3393465L, orderProposalItemGroupId#3393467, orderProposalItemId#3393466, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, originalReplenishmentRunId#3393468L, plant#3393479, previousOrderProposal#3393471L, prodLocSpecificKpis#3403655, product#3393478, productGroup#3393507, qty#3393239, quantityAfterProdPlantOptimization#3393238, quantityKpis#3403683, shardId#3392655, sourceOfSupplyUuid#3393474, splitIndicator#3393470L, subrange#3393477, supplier#3393476, supplierGroup#3393475, supplyingPlant#3393506]
Condition : NOT (isFallbackOrderOnly#3393487 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3392655, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, productGroup#3393507, product#3393478, plant#3393479, subrange#3393477, orderDateTime#3393483, deliveryDateTime#3393484, availabilityDateTime#3393485, nextAvailabilityDateTime#3393486, logisticUnits#3393502, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, splitIndicator#3393470L, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, sourceOfSupplyUuid#3393474, minimumOrderQuantity#3393496, orderProposalItemId#3393466, orderProposalItemGroupId#3393467, optimizationGroups#3393503, measurements#3393495, previousOrderProposal#3393471L, prodLocSpecificKpis#3403655, channelStreamSpecificKpis#3403670, quantityKpis#3403683, arrays_zip(constraintLabels#3393497, constraintOperators#3393498, constraintValues#3393500, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3404097]
Input [39]: [availabilityDateTime#3393485, channelStreamSpecificKpis#3403670, constraintLabels#3393497, constraintOperators#3393498, constraintValues#3393500, deliveryDateTime#3393484, isFallbackOrderOnly#3393487, logisticUnits#3393502, measurements#3393495, minimumOrderQuantity#3393496, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, nextAvailabilityDateTime#3393486, optimizationGroups#3393503, orderDateTime#3393483, orderProposalId#3393465L, orderProposalItemGroupId#3393467, orderProposalItemId#3393466, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, originalReplenishmentRunId#3393468L, plant#3393479, previousOrderProposal#3393471L, prodLocSpecificKpis#3403655, product#3393478, productGroup#3393507, qty#3393239, quantityAfterProdPlantOptimization#3393238, quantityKpis#3403683, shardId#3392655, sourceOfSupplyUuid#3393474, splitIndicator#3393470L, subrange#3393477, supplier#3393476, supplierGroup#3393475, supplyingPlant#3393506]
(55) Project
Output [37]: [shardId#3392655, qty#3393239, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, productGroup#3393507, product#3393478, plant#3393479, subrange#3393477, orderDateTime#3393483, deliveryDateTime#3393484, availabilityDateTime#3393485, nextAvailabilityDateTime#3393486, logisticUnits#3393502, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, splitIndicator#3393470L, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, sourceOfSupplyUuid#3393474, orderProposalItemId#3393466, orderProposalItemGroupId#3393467, optimizationGroups#3393503, measurements#3393495, previousOrderProposal#3393471L, prodLocSpecificKpis#3403655, channelStreamSpecificKpis#3403670, quantityKpis#3403683, struct(minServiceLevel, array_min(filter(constraintStructArray#3404097, lambdafunction((lambda x_11302#3404104.constraintLabels = ServiceLevel), lambda x_11302#3404104, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3404097, lambdafunction((lambda x_11303#3404105.constraintLabels = ServiceLevelMinimumStock), lambda x_11303#3404105, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3404097, lambdafunction((lambda x_11304#3404106.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11304#3404106, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3404097, lambdafunction((lambda x_11305#3404107.constraintLabels = RangeOfCoverage), lambda x_11305#3404107, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3393496, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3403655, lambdafunction((lambda x_11306#3404108.label = NonListingStartTimestamp), lambda x_11306#3404108, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3404103, CASE WHEN (qty#3393239 <=> quantityAfterProdPlantOptimization#3393238) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3393239 * (cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11307#3404176.isOrderUnit, lambda x_11307#3404176, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11307#3404177.isOrderUnit, lambda x_11307#3404177, false)), 1, None, false).numerator as double))), qty#3393239), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11307#3404178.isOrderUnit, lambda x_11307#3404178, false)), 1, None, false).uom, orderQuantityBaseUom#3393488), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11307#3404179.isOrderUnit, lambda x_11307#3404179, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3393489), candidateOrderQuantityInBaseUnit, qty#3393239, orderQuantityBaseUom, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3393489, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3393502, lambdafunction((lambda x_11309#3404180.isPreferred AND (((qty#3393239 * cast(lambda x_11309#3404180.denominator as double)) % cast(lambda x_11309#3404180.numerator as double)) = 0.0)), lambda x_11309#3404180, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3393239 * cast(lambda x_11310#3404221.denominator as double)) / cast(lambda x_11310#3404221.numerator as double)), uom, lambda x_11310#3404221.uom, uomUuid, lambda x_11310#3404221.uomUuid), lambda x_11310#3404221, false))).inPreferredQuantity, coalesce((qty#3393239 * (cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11308#3404181.isOrderUnit, lambda x_11308#3404181, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11308#3404182.isOrderUnit, lambda x_11308#3404182, false)), 1, None, false).numerator as double))), qty#3393239)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3393502, lambdafunction((lambda x_11309#3404183.isPreferred AND (((qty#3393239 * cast(lambda x_11309#3404183.denominator as double)) % cast(lambda x_11309#3404183.numerator as double)) = 0.0)), lambda x_11309#3404183, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3393239 * cast(lambda x_11310#3404222.denominator as double)) / cast(lambda x_11310#3404222.numerator as double)), uom, lambda x_11310#3404222.uom, uomUuid, lambda x_11310#3404222.uomUuid), lambda x_11310#3404222, false))).uom, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11308#3404184.isOrderUnit, lambda x_11308#3404184, false)), 1, None, false).uom, orderQuantityBaseUom#3393488)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3393502, lambdafunction((lambda x_11309#3404185.isPreferred AND (((qty#3393239 * cast(lambda x_11309#3404185.denominator as double)) % cast(lambda x_11309#3404185.numerator as double)) = 0.0)), lambda x_11309#3404185, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3393239 * cast(lambda x_11310#3404223.denominator as double)) / cast(lambda x_11310#3404223.numerator as double)), uom, lambda x_11310#3404223.uom, uomUuid, lambda x_11310#3404223.uomUuid), lambda x_11310#3404223, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11308#3404186.isOrderUnit, lambda x_11308#3404186, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3393489)), serviceLevel, coalesce(filter(element_at(quantityKpis#3403683, qty#3393239, None, false), lambdafunction((lambda x_11315#3404187.label = ServiceLevel), lambda x_11315#3404187, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3393239 * (cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11307#3404191.isOrderUnit, lambda x_11307#3404191, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11307#3404192.isOrderUnit, lambda x_11307#3404192, false)), 1, None, false).numerator as double))), qty#3393239), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11307#3404193.isOrderUnit, lambda x_11307#3404193, false)), 1, None, false).uom, orderQuantityBaseUom#3393488), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11307#3404194.isOrderUnit, lambda x_11307#3404194, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3393489), candidateOrderQuantityInBaseUnit, qty#3393239, orderQuantityBaseUom, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3393489, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3393502, lambdafunction((lambda x_11309#3404195.isPreferred AND (((qty#3393239 * cast(lambda x_11309#3404195.denominator as double)) % cast(lambda x_11309#3404195.numerator as double)) = 0.0)), lambda x_11309#3404195, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3393239 * cast(lambda x_11310#3404224.denominator as double)) / cast(lambda x_11310#3404224.numerator as double)), uom, lambda x_11310#3404224.uom, uomUuid, lambda x_11310#3404224.uomUuid), lambda x_11310#3404224, false))).inPreferredQuantity, coalesce((qty#3393239 * (cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11308#3404196.isOrderUnit, lambda x_11308#3404196, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11308#3404197.isOrderUnit, lambda x_11308#3404197, false)), 1, None, false).numerator as double))), qty#3393239)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3393502, lambdafunction((lambda x_11309#3404198.isPreferred AND (((qty#3393239 * cast(lambda x_11309#3404198.denominator as double)) % cast(lambda x_11309#3404198.numerator as double)) = 0.0)), lambda x_11309#3404198, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3393239 * cast(lambda x_11310#3404225.denominator as double)) / cast(lambda x_11310#3404225.numerator as double)), uom, lambda x_11310#3404225.uom, uomUuid, lambda x_11310#3404225.uomUuid), lambda x_11310#3404225, false))).uom, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11308#3404199.isOrderUnit, lambda x_11308#3404199, false)), 1, None, false).uom, orderQuantityBaseUom#3393488)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3393502, lambdafunction((lambda x_11309#3404200.isPreferred AND (((qty#3393239 * cast(lambda x_11309#3404200.denominator as double)) % cast(lambda x_11309#3404200.numerator as double)) = 0.0)), lambda x_11309#3404200, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3393239 * cast(lambda x_11310#3404226.denominator as double)) / cast(lambda x_11310#3404226.numerator as double)), uom, lambda x_11310#3404226.uom, uomUuid, lambda x_11310#3404226.uomUuid), lambda x_11310#3404226, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11308#3404201.isOrderUnit, lambda x_11308#3404201, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3393489)), serviceLevel, coalesce(filter(element_at(quantityKpis#3403683, qty#3393239, None, false), lambdafunction((lambda x_11319#3404202.label = ServiceLevel), lambda x_11319#3404202, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3393238 * (cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11311#3404206.isOrderUnit, lambda x_11311#3404206, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11311#3404207.isOrderUnit, lambda x_11311#3404207, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3393238), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11311#3404208.isOrderUnit, lambda x_11311#3404208, false)), 1, None, false).uom, orderQuantityBaseUom#3393488), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11311#3404209.isOrderUnit, lambda x_11311#3404209, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3393489), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3393238, orderQuantityBaseUom, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3393489, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3393502, lambdafunction((lambda x_11313#3404210.isPreferred AND (((quantityAfterProdPlantOptimization#3393238 * cast(lambda x_11313#3404210.denominator as double)) % cast(lambda x_11313#3404210.numerator as double)) = 0.0)), lambda x_11313#3404210, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3393238 * cast(lambda x_11314#3404227.denominator as double)) / cast(lambda x_11314#3404227.numerator as double)), uom, lambda x_11314#3404227.uom, uomUuid, lambda x_11314#3404227.uomUuid), lambda x_11314#3404227, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3393238 * (cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11312#3404211.isOrderUnit, lambda x_11312#3404211, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11312#3404212.isOrderUnit, lambda x_11312#3404212, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3393238)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3393502, lambdafunction((lambda x_11313#3404213.isPreferred AND (((quantityAfterProdPlantOptimization#3393238 * cast(lambda x_11313#3404213.denominator as double)) % cast(lambda x_11313#3404213.numerator as double)) = 0.0)), lambda x_11313#3404213, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3393238 * cast(lambda x_11314#3404228.denominator as double)) / cast(lambda x_11314#3404228.numerator as double)), uom, lambda x_11314#3404228.uom, uomUuid, lambda x_11314#3404228.uomUuid), lambda x_11314#3404228, false))).uom, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11312#3404214.isOrderUnit, lambda x_11312#3404214, false)), 1, None, false).uom, orderQuantityBaseUom#3393488)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3393502, lambdafunction((lambda x_11313#3404215.isPreferred AND (((quantityAfterProdPlantOptimization#3393238 * cast(lambda x_11313#3404215.denominator as double)) % cast(lambda x_11313#3404215.numerator as double)) = 0.0)), lambda x_11313#3404215, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3393238 * cast(lambda x_11314#3404229.denominator as double)) / cast(lambda x_11314#3404229.numerator as double)), uom, lambda x_11314#3404229.uom, uomUuid, lambda x_11314#3404229.uomUuid), lambda x_11314#3404229, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11312#3404216.isOrderUnit, lambda x_11312#3404216, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3393489)), serviceLevel, coalesce(filter(element_at(quantityKpis#3403683, quantityAfterProdPlantOptimization#3393238, None, false), lambdafunction((lambda x_11323#3404217.label = ServiceLevel), lambda x_11323#3404217, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3404175, coalesce(filter(prodLocSpecificKpis#3403655, lambdafunction((lambda x_11327#3404231.label = InitialStockQty), lambda x_11327#3404231, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3404230, coalesce(filter(prodLocSpecificKpis#3403655, lambdafunction((lambda x_11328#3404233.label = DemandPeriodEndTimestamp), lambda x_11328#3404233, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3404232]
Input [36]: [shardId#3392655, quantityAfterProdPlantOptimization#3393238, qty#3393239, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, productGroup#3393507, product#3393478, plant#3393479, subrange#3393477, orderDateTime#3393483, deliveryDateTime#3393484, availabilityDateTime#3393485, nextAvailabilityDateTime#3393486, logisticUnits#3393502, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, splitIndicator#3393470L, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, sourceOfSupplyUuid#3393474, minimumOrderQuantity#3393496, orderProposalItemId#3393466, orderProposalItemGroupId#3393467, optimizationGroups#3393503, measurements#3393495, previousOrderProposal#3393471L, prodLocSpecificKpis#3403655, channelStreamSpecificKpis#3403670, quantityKpis#3403683, constraintStructArray#3404097]
(56) Project
Output [21]: [shardId#3392655, qty#3393239, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, productGroup#3393507, product#3393478, plant#3393479, subrange#3393477, orderDateTime#3393483, deliveryDateTime#3393484, logisticUnits#3393502, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, splitIndicator#3393470L, orderProposalItemId#3393466, orderProposalItemGroupId#3393467, previousOrderProposal#3393471L, struct(itemId, orderProposalItemId#3393466, itemGroupId, orderProposalItemGroupId#3393467, supplier, supplier#3393476, supplyingPlant, supplyingPlant#3393506, productGroup, productGroup#3393507, product, product#3393478, plant, plant#3393479, supplierSubRange, subrange#3393477, sourceOfSupplyUuid, sourceOfSupplyUuid#3393474, deliveryDateTime, deliveryDateTime#3393484, unitPrice, netPriceAmount#3393493, unitPriceCurrency, netPriceCurrencyCode#3393494, unitPriceQuantity, ... 37 more fields) AS parentItem#3404306]
Input [37]: [shardId#3392655, qty#3393239, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, productGroup#3393507, product#3393478, plant#3393479, subrange#3393477, orderDateTime#3393483, deliveryDateTime#3393484, availabilityDateTime#3393485, nextAvailabilityDateTime#3393486, logisticUnits#3393502, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, splitIndicator#3393470L, netPriceAmount#3393493, netPriceCurrencyCode#3393494, netPriceQuantity#3393490, netPriceQuantityUom#3393491, netPriceQuantityUomUuid#3393492, sourceOfSupplyUuid#3393474, orderProposalItemId#3393466, orderProposalItemGroupId#3393467, optimizationGroups#3393503, measurements#3393495, previousOrderProposal#3393471L, prodLocSpecificKpis#3403655, channelStreamSpecificKpis#3403670, quantityKpis#3403683, constraintBenchmark#3404103, calculationAnalysis#3404175, inventoryDateTime#3404230, demandPeriodEndDateTime#3404232]
(57) Project
Output [12]: [shardId#3392655, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, orderDateTime#3393483, splitIndicator#3393470L, orderProposalItemGroupId#3393467, previousOrderProposal#3393471L, parentItem#3404306, struct(itemId, orderProposalItemId#3393466, supplier, supplier#3393476, supplyingPlant, supplyingPlant#3393506, productGroup, productGroup#3393507, product, product#3393478, plant, plant#3393479, supplierSubRange, subrange#3393477, deliveryDateTime, deliveryDateTime#3393484, orderQuantity, coalesce((qty#3393239 * (cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11352#3404340.isOrderUnit, lambda x_11352#3404340, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11352#3404341.isOrderUnit, lambda x_11352#3404341, false)), 1, None, false).numerator as double))), qty#3393239), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11352#3404342.isOrderUnit, lambda x_11352#3404342, false)), 1, None, false).uom, orderQuantityBaseUom#3393488), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3393502, lambdafunction(lambda x_11352#3404343.isOrderUnit, lambda x_11352#3404343, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3393489), orderQuantityInBaseUnit, qty#3393239, orderQuantityBaseUom, ... 13 more fields) AS item#3404337]
Input [21]: [shardId#3392655, qty#3393239, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, productGroup#3393507, product#3393478, plant#3393479, subrange#3393477, orderDateTime#3393483, deliveryDateTime#3393484, logisticUnits#3393502, orderQuantityBaseUom#3393488, orderQuantityBaseUomUuid#3393489, splitIndicator#3393470L, orderProposalItemId#3393466, orderProposalItemGroupId#3393467, previousOrderProposal#3393471L, parentItem#3404306]
(58) ObjectHashAggregate
Input [12]: [shardId#3392655, orderProposalId#3393465L, originalReplenishmentRunId#3393468L, supplierGroup#3393475, supplier#3393476, supplyingPlant#3393506, orderDateTime#3393483, splitIndicator#3393470L, orderProposalItemGroupId#3393467, previousOrderProposal#3393471L, parentItem#3404306, item#3404337]
Keys [4]: [shardId#3392655, orderProposalId#3393465L, splitIndicator#3393470L, orderProposalItemGroupId#3393467]
Functions [8]: [partial_max(originalReplenishmentRunId#3393468L), partial_max(supplierGroup#3393475), partial_max(supplier#3393476), partial_max(supplyingPlant#3393506), partial_max(orderDateTime#3393483), partial_collect_list(parentItem#3404306, 0, 0), partial_collect_set(previousOrderProposal#3393471L, 0, 0), partial_collect_list(item#3404337, 0, 0)]
Aggregate Attributes [8]: [max#3405590L, max#3405591, max#3405592, max#3405593, max#3405594, buf#3405595, buf#3405596, buf#3405597]
Results [12]: [shardId#3392655, orderProposalId#3393465L, splitIndicator#3393470L, orderProposalItemGroupId#3393467, max#3405598L, max#3405599, max#3405600, max#3405601, max#3405602, buf#3405603, buf#3405604, buf#3405605]
(59) Exchange
Input [12]: [shardId#3392655, orderProposalId#3393465L, splitIndicator#3393470L, orderProposalItemGroupId#3393467, max#3405598L, max#3405599, max#3405600, max#3405601, max#3405602, buf#3405603, buf#3405604, buf#3405605]
Arguments: hashpartitioning(shardId#3392655, orderProposalId#3393465L, splitIndicator#3393470L, orderProposalItemGroupId#3393467, 30), ENSURE_REQUIREMENTS, [plan_id=980800]
(60) ObjectHashAggregate
Input [12]: [shardId#3392655, orderProposalId#3393465L, splitIndicator#3393470L, orderProposalItemGroupId#3393467, max#3405598L, max#3405599, max#3405600, max#3405601, max#3405602, buf#3405603, buf#3405604, buf#3405605]
Keys [4]: [shardId#3392655, orderProposalId#3393465L, splitIndicator#3393470L, orderProposalItemGroupId#3393467]
Functions [8]: [max(originalReplenishmentRunId#3393468L), max(supplierGroup#3393475), max(supplier#3393476), max(supplyingPlant#3393506), max(orderDateTime#3393483), collect_list(parentItem#3404306, 0, 0), collect_set(previousOrderProposal#3393471L, 0, 0), collect_list(item#3404337, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3393468L)#3404406L, max(supplierGroup#3393475)#3404407, max(supplier#3393476)#3404408, max(supplyingPlant#3393506)#3404409, max(orderDateTime#3393483)#3404410, collect_list(parentItem#3404306, 0, 0)#3404411, collect_set(previousOrderProposal#3393471L, 0, 0)#3404413, collect_list(item#3404337, 0, 0)#3404412]
Results [10]: [shardId#3392655, orderProposalId#3393465L, max(originalReplenishmentRunId#3393468L)#3404406L AS originalReplenishmentRunId#3404354L, max(supplierGroup#3393475)#3404407 AS supplierGroup#3404355, max(supplier#3393476)#3404408 AS supplier#3404356, max(supplyingPlant#3393506)#3404409 AS supplyingPlant#3404357, max(orderDateTime#3393483)#3404410 AS orderDateTime#3404358, collect_list(parentItem#3404306, 0, 0)#3404411 AS parentItems#3404359, collect_set(previousOrderProposal#3393471L, 0, 0)#3404413 AS previousOrderProposals#3404361, struct(itemGroupId, orderProposalItemGroupId#3393467, items, collect_list(item#3404337, 0, 0)#3404412) AS itemGroup#3404415]
(61) ObjectHashAggregate
Input [10]: [shardId#3392655, orderProposalId#3393465L, originalReplenishmentRunId#3404354L, supplierGroup#3404355, supplier#3404356, supplyingPlant#3404357, orderDateTime#3404358, parentItems#3404359, previousOrderProposals#3404361, itemGroup#3404415]
Keys [2]: [shardId#3392655, orderProposalId#3393465L]
Functions [8]: [partial_max(originalReplenishmentRunId#3404354L), partial_max(supplierGroup#3404355), partial_max(supplier#3404356), partial_max(supplyingPlant#3404357), partial_max(orderDateTime#3404358), partial_collect_list(itemGroup#3404415, 0, 0), partial_collect_list(parentItems#3404359, 0, 0), partial_collect_set(previousOrderProposals#3404361, 0, 0)]
Aggregate Attributes [8]: [max#3405574L, max#3405575, max#3405576, max#3405577, max#3405578, buf#3405579, buf#3405580, buf#3405581]
Results [10]: [shardId#3392655, orderProposalId#3393465L, max#3405582L, max#3405583, max#3405584, max#3405585, max#3405586, buf#3405587, buf#3405588, buf#3405589]
(62) Exchange
Input [10]: [shardId#3392655, orderProposalId#3393465L, max#3405582L, max#3405583, max#3405584, max#3405585, max#3405586, buf#3405587, buf#3405588, buf#3405589]
Arguments: hashpartitioning(shardId#3392655, orderProposalId#3393465L, 30), ENSURE_REQUIREMENTS, [plan_id=980803]
(63) ObjectHashAggregate
Input [10]: [shardId#3392655, orderProposalId#3393465L, max#3405582L, max#3405583, max#3405584, max#3405585, max#3405586, buf#3405587, buf#3405588, buf#3405589]
Keys [2]: [shardId#3392655, orderProposalId#3393465L]
Functions [8]: [max(originalReplenishmentRunId#3404354L), max(supplierGroup#3404355), max(supplier#3404356), max(supplyingPlant#3404357), max(orderDateTime#3404358), collect_list(itemGroup#3404415, 0, 0), collect_list(parentItems#3404359, 0, 0), collect_set(previousOrderProposals#3404361, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3404354L)#3404437L, max(supplierGroup#3404355)#3404438, max(supplier#3404356)#3404439, max(supplyingPlant#3404357)#3404440, max(orderDateTime#3404358)#3404441, collect_list(itemGroup#3404415, 0, 0)#3404442, collect_list(parentItems#3404359, 0, 0)#3404443, collect_set(previousOrderProposals#3404361, 0, 0)#3404444]
Results [10]: [shardId#3392655, orderProposalId#3393465L, max(originalReplenishmentRunId#3404354L)#3404437L AS originalReplenishmentRunId#3404416L, max(supplierGroup#3404355)#3404438 AS supplierGroup#3404417, max(supplier#3404356)#3404439 AS supplier#3404418, max(supplyingPlant#3404357)#3404440 AS supplyingPlant#3404419, max(orderDateTime#3404358)#3404441 AS orderDateTime#3404420, collect_list(itemGroup#3404415, 0, 0)#3404442 AS itemGroups#3404421, flatten(collect_list(parentItems#3404359, 0, 0)#3404443) AS parentItems#3404422, flatten(collect_set(previousOrderProposals#3404361, 0, 0)#3404444) AS previousOrderProposals#3404423]
(64) Project
Output [2]: [shardId#3392655, struct(orderProposalId, orderProposalId#3393465L, originalReplenishmentRunId, originalReplenishmentRunId#3404416L, supplierGroup, supplierGroup#3404417, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3404417) THEN supplier#3404418 END, supplyingPlant, supplyingPlant#3404419, orderDateTime, orderDateTime#3404420, itemGroups, itemGroups#3404421, previousOrderProposals, array_distinct(previousOrderProposals#3404423), parentItems, parentItems#3404422) AS orderProposal#3404448]
Input [10]: [shardId#3392655, orderProposalId#3393465L, originalReplenishmentRunId#3404416L, supplierGroup#3404417, supplier#3404418, supplyingPlant#3404419, orderDateTime#3404420, itemGroups#3404421, parentItems#3404422, previousOrderProposals#3404423]
(65) Project
Output [11]: [shardId#3392655, orderProposal#3404448.orderProposalId AS _extract_orderProposalId#3405206L, orderProposal#3404448.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3405207L, orderProposal#3404448.supplierGroup AS _extract_supplierGroup#3405208, orderProposal#3404448.supplier AS _extract_supplier#3405209, orderProposal#3404448.supplyingPlant AS _extract_supplyingPlant#3405210, orderProposal#3404448.orderDateTime AS _extract_orderDateTime#3405211, orderProposal#3404448.itemGroups AS _extract_itemGroups#3405212, orderProposal#3404448.previousOrderProposals AS _extract_previousOrderProposals#3405213, orderProposal#3404448.parentItems AS _extract_parentItems#3405214, orderProposal#3404448.orderProposalId AS _extract_orderProposalId#3405215L]
Input [2]: [shardId#3392655, orderProposal#3404448]
(66) Exchange
Input [11]: [shardId#3392655, _extract_orderProposalId#3405206L, _extract_originalReplenishmentRunId#3405207L, _extract_supplierGroup#3405208, _extract_supplier#3405209, _extract_supplyingPlant#3405210, _extract_orderDateTime#3405211, _extract_itemGroups#3405212, _extract_previousOrderProposals#3405213, _extract_parentItems#3405214, _extract_orderProposalId#3405215L]
Arguments: hashpartitioning(coalesce(shardId#3392655, ), isnull(shardId#3392655), coalesce(_extract_orderProposalId#3405215L, 0), isnull(_extract_orderProposalId#3405215L), 30), ENSURE_REQUIREMENTS, [plan_id=980807]
(67) Sort
Input [11]: [shardId#3392655, _extract_orderProposalId#3405206L, _extract_originalReplenishmentRunId#3405207L, _extract_supplierGroup#3405208, _extract_supplier#3405209, _extract_supplyingPlant#3405210, _extract_orderDateTime#3405211, _extract_itemGroups#3405212, _extract_previousOrderProposals#3405213, _extract_parentItems#3405214, _extract_orderProposalId#3405215L]
Arguments: [coalesce(shardId#3392655, ) ASC NULLS FIRST, isnull(shardId#3392655) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3405215L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3405215L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3404463, orderProposalId#3404464L, optimizationGroups#3404466]
Arguments: [shardId#3404463, orderProposalId#3404464L, optimizationGroups#3404466], [isnotnull(orderProposalId#3404464L)]
(69) InMemoryRelation
Arguments: [shardId#3404463, orderProposalId#3404464L, items#3404465, optimizationGroups#3404466, isOptimal#3404467, optimizationInsights#3404469], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3404463, orderProposalId#3404464L, optimizationGroups#3404466]
Condition : isnotnull(orderProposalId#3404464L)
(71) Exchange
Input [3]: [shardId#3404463, orderProposalId#3404464L, optimizationGroups#3404466]
Arguments: hashpartitioning(orderProposalId#3404464L, 30), ENSURE_REQUIREMENTS, [plan_id=980812]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3404463, orderProposalId#3404464L, optimizationGroups#3404466]
Arguments: [orderProposalId#3404464L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3404092, shardId#3404090]
Arguments: [items#3404092, shardId#3404090], [(size(items#3404092.worklistShardItemId, true) > 0), isnotnull(items#3404092.worklistShardItemId), (shardId#3404090 = 0_1_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3404090, orderProposalId#3404091L, items#3404092, optimizationGroups#3404093, isOptimal#3404094, optimizationInsights#3404096], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3404092, shardId#3404090]
Condition : (((size(items#3404092.worklistShardItemId, true) > 0) AND isnotnull(items#3404092.worklistShardItemId)) AND (shardId#3404090 = 0_1_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3404092.worklistShardItemId AS _extract_worklistShardItemId#3405111]
Input [2]: [items#3404092, shardId#3404090]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3405111]
Arguments: explode(_extract_worklistShardItemId#3405111), false, [item#3404470L]
(78) Project [codegen id : 4]
Output [1]: [item#3404470L AS worklistShardItemId#3404471L]
Input [1]: [item#3404470L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3404471L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=980823]
(80) Scan parquet
Output [5]: [orderProposalId#3404519L, isFallbackOrderOnly#3404536, worklistShardItemId#3404542L, shardId#3404563, sequenceId#3404541]
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#3404563), isnotnull(sequenceId#3404541), (shardId#3404563 = 0_1_10000000532), (sequenceId#3404541 = 7)]
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#3404519L, isFallbackOrderOnly#3404536, worklistShardItemId#3404542L, shardId#3404563, sequenceId#3404541]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3404519L, isFallbackOrderOnly#3404536, worklistShardItemId#3404542L, shardId#3404563, sequenceId#3404541]
Condition : ((isnotnull(worklistShardItemId#3404542L) AND NOT (isFallbackOrderOnly#3404536 <=> true)) AND isnotnull(orderProposalId#3404519L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3404519L, worklistShardItemId#3404542L]
Input [5]: [orderProposalId#3404519L, isFallbackOrderOnly#3404536, worklistShardItemId#3404542L, shardId#3404563, sequenceId#3404541]
(84) Exchange
Input [2]: [orderProposalId#3404519L, worklistShardItemId#3404542L]
Arguments: hashpartitioning(worklistShardItemId#3404542L, 30), REPARTITION_BY_NUM, [plan_id=980830]
(85) Project
Output [2]: [worklistShardItemId#3404542L, orderProposalId#3404519L]
Input [2]: [orderProposalId#3404519L, worklistShardItemId#3404542L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3404471L]
Right keys [1]: [worklistShardItemId#3404542L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3404519L]
Input [3]: [worklistShardItemId#3404471L, worklistShardItemId#3404542L, orderProposalId#3404519L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3404519L]
Keys [1]: [orderProposalId#3404519L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3404519L]
(89) Exchange
Input [1]: [orderProposalId#3404519L]
Arguments: hashpartitioning(orderProposalId#3404519L, 30), ENSURE_REQUIREMENTS, [plan_id=980837]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3404519L]
Keys [1]: [orderProposalId#3404519L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3404519L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3404519L]
Arguments: [orderProposalId#3404519L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3404464L]
Right keys [1]: [orderProposalId#3404519L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3404464L, shardId#3404463, coalesce(transform(optimizationGroups#3404466, lambdafunction(struct(optGroupId, lambda x_11356#3404461.optGroupId, minOrderProfile, lambda x_11356#3404461.minOrderProfile, assignmentDetails, lambda x_11356#3404461.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11356#3404461.minOrderGoal.dimensionType, unit, lambda x_11356#3404461.minOrderGoal.unit, unitUuid, lambda x_11356#3404461.minOrderGoal.unitUuid, goalValue, lambda x_11356#3404461.minOrderGoal.minOrderValue, calcValue, lambda x_11356#3404461.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11356#3404461, false)), []) AS optimizationGroups#3404460]
Input [4]: [shardId#3404463, orderProposalId#3404464L, optimizationGroups#3404466, orderProposalId#3404519L]
(94) Exchange
Input [3]: [orderProposalId#3404464L, shardId#3404463, optimizationGroups#3404460]
Arguments: hashpartitioning(coalesce(shardId#3404463, ), isnull(shardId#3404463), coalesce(orderProposalId#3404464L, 0), isnull(orderProposalId#3404464L), 30), ENSURE_REQUIREMENTS, [plan_id=980846]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3404464L, shardId#3404463, optimizationGroups#3404460]
Arguments: [coalesce(shardId#3404463, ) ASC NULLS FIRST, isnull(shardId#3404463) ASC NULLS FIRST, coalesce(orderProposalId#3404464L, 0) ASC NULLS FIRST, isnull(orderProposalId#3404464L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3392655, ), isnull(shardId#3392655), coalesce(_extract_orderProposalId#3405215L, 0), isnull(_extract_orderProposalId#3405215L)]
Right keys [4]: [coalesce(shardId#3404463, ), isnull(shardId#3404463), coalesce(orderProposalId#3404464L, 0), isnull(orderProposalId#3404464L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3392655, named_struct(orderProposalId, _extract_orderProposalId#3405215L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3405207L, supplierGroup, _extract_supplierGroup#3405208, optimizationGroups, coalesce(optimizationGroups#3404460, []), supplier, _extract_supplier#3405209, supplyingPlant, _extract_supplyingPlant#3405210, orderDateTime, _extract_orderDateTime#3405211, itemGroups, _extract_itemGroups#3405212, previousOrderProposals, _extract_previousOrderProposals#3405213, parentItems, _extract_parentItems#3405214) AS orderProposal#3404567]
Input [14]: [shardId#3392655, _extract_orderProposalId#3405206L, _extract_originalReplenishmentRunId#3405207L, _extract_supplierGroup#3405208, _extract_supplier#3405209, _extract_supplyingPlant#3405210, _extract_orderDateTime#3405211, _extract_itemGroups#3405212, _extract_previousOrderProposals#3405213, _extract_parentItems#3405214, _extract_orderProposalId#3405215L, orderProposalId#3404464L, shardId#3404463, optimizationGroups#3404460]
(98) Filter
Input [1]: [orderProposal#3404567]
Condition : (size(orderProposal#3404567.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3404567.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3405986]
Input [1]: [orderProposal#3404567]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3405986]
Arguments: explode(_extract_deliveryDateTime#3405986), false, [numberOfOrderProposalItems#3405958]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3405958]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3405997L]
Results [1]: [count#3405998L]
(103) Exchange
Input [1]: [count#3405998L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=980973]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3405998L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3405963L]
Results [1]: [count(1)#3405963L AS count#3405959L]