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: 1200.0 B<br>merged fetch fallback count: 0<br>local blocks read: 16<br>remote merged chunks fetched: 0<br>remote blocks read: 14<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 314938.0: task 900211))<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 314938.0: task 900233))<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: 1050.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 314938.0: task 900211))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=990309]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n315 ms (7 ms, 10 ms, 20 ms (stage 314938.0: task 900232))";
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>302 ms (6 ms, 10 ms, 20 ms (stage 314938.0: task 900232))<br>number of output rows: 30" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(_extract_deliveryDateTime#3444098), false, [numberOfOrderProposalItems#3444070]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3442679.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3444098]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (size(orderProposal#3442679.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [orderProposal#3442679], [(size(orderProposal#3442679.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, named_struct(orderProposalId, _extract_orderProposalId#3443327L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3443319L, supplierGroup, _extract_supplierGroup#3443320, optimizationGroups, coalesce(optimizationGroups#3442572, []), supplier, _extract_supplier#3443321, supplyingPlant, _extract_supplyingPlant#3443322, orderDateTime, _extract_orderDateTime#3443323, itemGroups, _extract_itemGroups#3443324, previousOrderProposals, _extract_previousOrderProposals#3443325, parentItems, _extract_parentItems#3443326) AS orderProposal#3442679]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,360<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314938.0: task 900211))" tooltip="SortMergeJoin [coalesce(shardId#3440291, ), isnull(shardId#3440291), coalesce(_extract_orderProposalId#3443327L, 0), isnull(_extract_orderProposalId#3443327L)], [coalesce(shardId#3442575, ), isnull(shardId#3442575), coalesce(orderProposalId#3442576L, 0), isnull(orderProposalId#3442576L)], 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 314938.0: task 900211))<br>peak memory total (min, med, max (stageId: taskId))<br>251.9 MiB (8.1 MiB, 8.1 MiB, 10.1 MiB (stage 314938.0: task 900217))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314938.0: task 900211))" tooltip="Sort [coalesce(shardId#3440291, ) ASC NULLS FIRST, isnull(shardId#3440291) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3443327L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3443327L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>10.8 MiB (224.3 KiB, 356.9 KiB, 497.3 KiB (stage 314938.0: task 900217))<br>merged fetch fallback count: 0<br>local blocks read: 421<br>remote merged chunks fetched: 0<br>remote blocks read: 413<br>data size total (min, med, max (stageId: taskId))<br>217.2 MiB (5.7 MiB, 7.2 MiB, 8.7 MiB (stage 314937.0: task 900191))<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>114 ms (2 ms, 3 ms, 16 ms (stage 314937.0: task 900197))<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>11 ms (0 ms, 0 ms, 8 ms (stage 314938.0: task 900239))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.9 MiB (268.9 KiB, 339.6 KiB, 439.5 KiB (stage 314938.0: task 900229))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>112 ms (1 ms, 3 ms, 15 ms (stage 314938.0: task 900239))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.7 MiB (557.3 KiB, 702.8 KiB, 854.3 KiB (stage 314937.0: task 900191))" tooltip="Exchange hashpartitioning(coalesce(shardId#3440291, ), isnull(shardId#3440291), coalesce(_extract_orderProposalId#3443327L, 0), isnull(_extract_orderProposalId#3443327L), 30), ENSURE_REQUIREMENTS, [plan_id=990143]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, orderProposal#3442560.orderProposalId AS _extract_orderProposalId#3443318L, orderProposal#3442560.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3443319L, orderProposal#3442560.supplierGroup AS _extract_supplierGroup#3443320, orderProposal#3442560.supplier AS _extract_supplier#3443321, orderProposal#3442560.supplyingPlant AS _extract_supplyingPlant#3443322, orderProposal#3442560.orderDateTime AS _extract_orderDateTime#3443323, orderProposal#3442560.itemGroups AS _extract_itemGroups#3443324, orderProposal#3442560.previousOrderProposals AS _extract_previousOrderProposals#3443325, orderProposal#3442560.parentItems AS _extract_parentItems#3443326, orderProposal#3442560.orderProposalId AS _extract_orderProposalId#3443327L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, struct(orderProposalId, orderProposalId#3440961L, originalReplenishmentRunId, originalReplenishmentRunId#3442528L, supplierGroup, supplierGroup#3442529, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3442529) THEN supplier#3442530 END, supplyingPlant, supplyingPlant#3442531, orderDateTime, orderDateTime#3442532, itemGroups, itemGroups#3442533, previousOrderProposals, array_distinct(previousOrderProposals#3442535), parentItems, parentItems#3442534) AS orderProposal#3442560]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>998 ms (16 ms, 29 ms, 63 ms (stage 314937.0: task 900201))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314937.0: task 900188))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3440291, orderProposalId#3440961L], functions=[max(originalReplenishmentRunId#3442466L), max(supplierGroup#3442467), max(supplier#3442468), max(supplyingPlant#3442469), max(orderDateTime#3442470), collect_list(itemGroup#3442527, 0, 0), collect_list(parentItems#3442471, 0, 0), collect_set(previousOrderProposals#3442473, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>10.1 MiB (242.5 KiB, 352.0 KiB, 458.5 KiB (stage 314937.0: task 900191))<br>merged fetch fallback count: 0<br>local blocks read: 425<br>remote merged chunks fetched: 0<br>remote blocks read: 422<br>data size total (min, med, max (stageId: taskId))<br>217.4 MiB (6.0 MiB, 7.1 MiB, 9.3 MiB (stage 314932.0: task 900169))<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>139 ms (2 ms, 3 ms, 24 ms (stage 314932.0: task 900164))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>5 ms (0 ms, 0 ms, 3 ms (stage 314937.0: task 900202))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.6 MiB (282.9 KiB, 365.1 KiB, 434.5 KiB (stage 314937.0: task 900200))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>169 ms (1 ms, 5 ms, 18 ms (stage 314937.0: task 900202))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.7 MiB (584.5 KiB, 692.0 KiB, 913.6 KiB (stage 314932.0: task 900169))" tooltip="Exchange hashpartitioning(shardId#3440291, orderProposalId#3440961L, 30), ENSURE_REQUIREMENTS, [plan_id=990139]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>328 ms (4 ms, 6 ms, 25 ms (stage 314932.0: task 900159))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314932.0: task 900159))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3440291, orderProposalId#3440961L], functions=[partial_max(originalReplenishmentRunId#3442466L), partial_max(supplierGroup#3442467), partial_max(supplier#3442468), partial_max(supplyingPlant#3442469), partial_max(orderDateTime#3442470), partial_collect_list(itemGroup#3442527, 0, 0), partial_collect_list(parentItems#3442471, 0, 0), partial_collect_set(previousOrderProposals#3442473, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.5 s (21 ms, 35 ms, 106 ms (stage 314932.0: task 900155))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314932.0: task 900159))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3440291, orderProposalId#3440961L, splitIndicator#3440966L, orderProposalItemGroupId#3440963], functions=[max(originalReplenishmentRunId#3440964L), max(supplierGroup#3440971), max(supplier#3440972), max(supplyingPlant#3441002), max(orderDateTime#3440979), collect_list(parentItem#3442418, 0, 0), collect_set(previousOrderProposal#3440967L, 0, 0), collect_list(item#3442449, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,070<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,070<br>local bytes read total (min, med, max (stageId: taskId))<br>12.4 MiB (320.4 KiB, 404.9 KiB, 582.7 KiB (stage 314932.0: task 900155))<br>merged fetch fallback count: 0<br>local blocks read: 390<br>remote merged chunks fetched: 0<br>remote blocks read: 510<br>data size total (min, med, max (stageId: taskId))<br>232.1 MiB (7.5 MiB, 7.7 MiB, 8.0 MiB (stage 314931.0: task 900142))<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>231 ms (3 ms, 3 ms, 44 ms (stage 314931.0: task 900136))<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 314932.0: task 900159))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.1 MiB (405.8 KiB, 562.3 KiB, 780.3 KiB (stage 314932.0: task 900169))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>323 ms (5 ms, 8 ms, 21 ms (stage 314932.0: task 900153))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.5 MiB (945.4 KiB, 971.9 KiB, 1002.6 KiB (stage 314931.0: task 900142))" tooltip="Exchange hashpartitioning(shardId#3440291, orderProposalId#3440961L, splitIndicator#3440966L, orderProposalItemGroupId#3440963, 30), ENSURE_REQUIREMENTS, [plan_id=990136]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 58,070<br>time in aggregation build total (min, med, max (stageId: taskId))<br>26.3 s (256 ms, 632 ms, 1.6 s (stage 314931.0: task 900125))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314931.0: task 900122))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3440291, orderProposalId#3440961L, splitIndicator#3440966L, orderProposalItemGroupId#3440963], functions=[partial_max(originalReplenishmentRunId#3440964L), partial_max(supplierGroup#3440971), partial_max(supplier#3440972), partial_max(supplyingPlant#3441002), partial_max(orderDateTime#3440979), partial_collect_list(parentItem#3442418, 0, 0), partial_collect_set(previousOrderProposal#3440967L, 0, 0), partial_collect_list(item#3442449, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, orderDateTime#3440979, splitIndicator#3440966L, orderProposalItemGroupId#3440963, previousOrderProposal#3440967L, parentItem#3442418, struct(itemId, orderProposalItemId#3440962, supplier, supplier#3440972, supplyingPlant, supplyingPlant#3441002, productGroup, productGroup#3441003, product, product#3440974, plant, plant#3440975, supplierSubRange, subrange#3440973, deliveryDateTime, deliveryDateTime#3440980, orderQuantity, coalesce((qty#3440805 * (cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11449#3442452.isOrderUnit, lambda x_11449#3442452, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11449#3442453.isOrderUnit, lambda x_11449#3442453, false)), 1, None, false).numerator as double))), qty#3440805), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11449#3442454.isOrderUnit, lambda x_11449#3442454, false)), 1, None, false).uom, orderQuantityBaseUom#3440984), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11449#3442455.isOrderUnit, lambda x_11449#3442455, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3440985), orderQuantityInBaseUnit, qty#3440805, orderQuantityBaseUom, ... 13 more fields) AS item#3442449]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, qty#3440805, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, productGroup#3441003, product#3440974, plant#3440975, subrange#3440973, orderDateTime#3440979, deliveryDateTime#3440980, logisticUnits#3440998, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, splitIndicator#3440966L, orderProposalItemId#3440962, orderProposalItemGroupId#3440963, previousOrderProposal#3440967L, struct(itemId, orderProposalItemId#3440962, itemGroupId, orderProposalItemGroupId#3440963, supplier, supplier#3440972, supplyingPlant, supplyingPlant#3441002, productGroup, productGroup#3441003, product, product#3440974, plant, plant#3440975, supplierSubRange, subrange#3440973, sourceOfSupplyUuid, sourceOfSupplyUuid#3440970, deliveryDateTime, deliveryDateTime#3440980, unitPrice, netPriceAmount#3440989, unitPriceCurrency, netPriceCurrencyCode#3440990, unitPriceQuantity, ... 37 more fields) AS parentItem#3442418]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, qty#3440805, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, productGroup#3441003, product#3440974, plant#3440975, subrange#3440973, orderDateTime#3440979, deliveryDateTime#3440980, availabilityDateTime#3440981, nextAvailabilityDateTime#3440982, logisticUnits#3440998, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, splitIndicator#3440966L, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, sourceOfSupplyUuid#3440970, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n29.9 s (289 ms, 685 ms, 1.8 s (stage 314931.0: task 900125))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, productGroup#3441003, product#3440974, plant#3440975, subrange#3440973, orderDateTime#3440979, deliveryDateTime#3440980, availabilityDateTime#3440981, nextAvailabilityDateTime#3440982, logisticUnits#3440998, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, splitIndicator#3440966L, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter NOT (isFallbackOrderOnly#3440983 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 119,861" tooltip="InMemoryTableScan [availabilityDateTime#3440981, channelStreamSpecificKpis#3441782, constraintLabels#3440993, constraintOperators#3440994, constraintValues#3440996, deliveryDateTime#3440980, isFallbackOrderOnly#3440983, logisticUnits#3440998, measurements#3440991, minimumOrderQuantity#3440992, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, nextAvailabilityDateTime#3440982, optimizationGroups#3440999, orderDateTime#3440979, orderProposalId#3440961L, orderProposalItemGroupId#3440963, orderProposalItemId#3440962, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, originalReplenishmentRunId#3440964L, plant#3440975, ... 14 more fields], [NOT (isFallbackOrderOnly#3440983 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n24.0 s (441 ms, 761 ms, 1.1 s (stage 314931.0: task 900128))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314931.0: task 900122))" tooltip="SortMergeJoin [shardId#3440291, worklistShardItemId#3440803L], [shardId#3441789, worklistShardItemId#3441790L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n31.7 s (628 ms, 1.1 s, 1.4 s (stage 314931.0: task 900146))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314931.0: task 900122))" tooltip="SortMergeJoin [shardId#3440291, worklistShardItemId#3440803L], [shardId#3441776, worklistShardItemId#3441777L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n37.4 s (690 ms, 1.2 s, 2.0 s (stage 314931.0: task 900146))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314931.0: task 900122))" tooltip="SortMergeJoin [shardId#3440291, worklistShardItemId#3440803L], [shardId#3441760, worklistShardItemId#3441761L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n39.0 s (692 ms, 1.2 s, 2.2 s (stage 314931.0: task 900146))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>45 ms (1 ms, 1 ms, 3 ms (stage 314931.0: task 900129))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 314931.0: task 900122))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314931.0: task 900122))" tooltip="Sort [shardId#3440291 ASC NULLS FIRST, worklistShardItemId#3440803L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>12.4 MiB (366.7 KiB, 563.7 KiB, 586.7 KiB (stage 314931.0: task 900132))<br>merged fetch fallback count: 0<br>local blocks read: 402<br>remote merged chunks fetched: 0<br>remote blocks read: 498<br>data size total (min, med, max (stageId: taskId))<br>138.2 MiB (4.5 MiB, 4.6 MiB, 4.7 MiB (stage 314930.0: task 899999))<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>140 ms (2 ms, 3 ms, 38 ms (stage 314930.0: task 900040))<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 314931.0: task 900122))<br>remote bytes read total (min, med, max (stageId: taskId))<br>15.6 MiB (373.7 KiB, 555.6 KiB, 981.3 KiB (stage 314931.0: task 900148))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>390 ms (2 ms, 5 ms, 53 ms (stage 314931.0: task 900142))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.1 MiB (933.0 KiB, 957.7 KiB, 981.2 KiB (stage 314930.0: task 899999))" tooltip="Exchange hashpartitioning(shardId#3440291, worklistShardItemId#3440803L, 30), ENSURE_REQUIREMENTS, [plan_id=989851]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (37 ms, 79 ms, 138 ms (stage 314930.0: task 900033))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314930.0: task 899971))" tooltip="SortMergeJoin [worklistShardItemId#3440803L], [worklistShardItemId#3441027L], LeftOuter, (shardId#3440291 = 0_5_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (38 ms, 87 ms, 192 ms (stage 314930.0: task 899984))";
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 314930.0: task 899971))<br>peak memory total (min, med, max (stageId: taskId))<br>63.9 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 314930.0: task 899999))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314930.0: task 899971))" tooltip="Sort [worklistShardItemId#3440803L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>461.6 KiB (14.0 KiB, 15.9 KiB, 16.6 KiB (stage 314930.0: task 899975))<br>merged fetch fallback count: 0<br>local blocks read: 456<br>remote merged chunks fetched: 0<br>remote blocks read: 444<br>data size total (min, med, max (stageId: taskId))<br>6.4 MiB (205.2 KiB, 220.3 KiB, 231.5 KiB (stage 314925.0: task 899842))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>47 ms (1 ms, 1 ms, 2 ms (stage 314925.0: task 899852))<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>78 ms (0 ms, 0 ms, 26 ms (stage 314930.0: task 900038))<br>remote bytes read total (min, med, max (stageId: taskId))<br>450.7 KiB (13.9 KiB, 14.5 KiB, 16.6 KiB (stage 314930.0: task 899999))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>135 ms (1 ms, 1 ms, 30 ms (stage 314930.0: task 900038))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>912.3 KiB (28.7 KiB, 30.7 KiB, 31.9 KiB (stage 314925.0: task 899846))" tooltip="Exchange hashpartitioning(worklistShardItemId#3440803L, 30), ENSURE_REQUIREMENTS, [plan_id=989832]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n151 ms (4 ms, 5 ms, 10 ms (stage 314925.0: task 899827))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3440291, item#3440802.worklistShardItemId AS worklistShardItemId#3440803L, item#3440802.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3440804, item#3440802.qty AS qty#3440805]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(items#3440293), [shardId#3440291], false, [item#3440802]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter ((size(items#3440293, true) > 0) AND isnotnull(items#3440293))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3440291, items#3440293], [(size(items#3440293, true) > 0), isnotnull(items#3440293)]"];
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#3440291) AND (shardId#3440291 = 0_5_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, optimizationInsights#3440297], [isnotnull(shardId#3440291), (shardId#3440291 = 0_5_10000000532)]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
56 [id="node56" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3440291) AND (shardId#3440291 = 0_5_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3440291,orderProposalId#3440292L,items#3440293,optimizationGroups#3440294,isOptimal#3440295,lastModified#3440296,optimizationInsights#3440297]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (37 ms, 86 ms, 156 ms (stage 314930.0: task 899984))";
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 314930.0: task 899971))<br>peak memory total (min, med, max (stageId: taskId))<br>183.9 MiB (6.1 MiB, 6.1 MiB, 6.3 MiB (stage 314930.0: task 899999))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314930.0: task 899971))" tooltip="Sort [worklistShardItemId#3441027L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3441027L, orderProposalId#3441004L, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, originalReplenishmentRunId#3441046L, splitIndicator#3441023L, previousOrderProposal#3441024L, sourceOfSupplyUuid#3441018, supplierGroup#3441006, supplier#3441007, subrange#3441010, product#3441013, plant#3441008, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, isFallbackOrderOnly#3441021, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, netPriceAmount#3441040, netPriceCurrencyCode#3441041, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>9.8 MiB (303.7 KiB, 337.1 KiB, 355.7 KiB (stage 314930.0: task 899973))<br>merged fetch fallback count: 0<br>local blocks read: 408<br>remote merged chunks fetched: 0<br>remote blocks read: 702<br>data size total (min, med, max (stageId: taskId))<br>133.6 MiB (3.5 MiB, 3.6 MiB, 3.7 MiB (stage 314926.0: task 899822))<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>140 ms (2 ms, 2 ms, 15 ms (stage 314926.0: task 899919))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>30 ms (0 ms, 0 ms, 19 ms (stage 314930.0: task 900043))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.9 MiB (546.6 KiB, 573.2 KiB, 606.3 KiB (stage 314930.0: task 900044))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>417 ms (5 ms, 6 ms, 51 ms (stage 314930.0: task 899999))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.7 MiB (709.6 KiB, 737.8 KiB, 764.9 KiB (stage 314926.0: task 899822))" tooltip="Exchange hashpartitioning(worklistShardItemId#3441027L, 30), REPARTITION_BY_NUM, [plan_id=989842]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.1 s (126 ms, 151 ms, 488 ms (stage 314926.0: task 899862))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3441004L, orderProposalItemId#3441005, supplierGroup#3441006, supplier#3441007, plant#3441008, deliveryDateTime#3441009, subrange#3441010, supplyingPlant#3441011, productGroup#3441012, product#3441013, orderDateTime#3441014, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, sourceOfSupplyUuid#3441018, isFallbackOrderOnly#3441021, splitIndicator#3441023L, previousOrderProposal#3441024L, worklistShardItemId#3441027L, orderProposalItemGroupId#3441028, externalProductId#3441029, externalPlantId#3441030, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, minimumOrderQuantity#3441034, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter isnotnull(worklistShardItemId#3441027L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,861<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
66 [id="node66" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>5.0 s (111 ms, 134 ms, 177 ms (stage 314926.0: task 899876))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.5 MiB<br>number of output rows: 119,861<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3441004L,orderProposalItemId#3441005,supplierGroup#3441006,supplier#3441007,plant#3441008,deliveryDateTime#3441009,subrange#3441010,supplyingPlant#3441011,productGroup#3441012,product#3441013,orderDateTime#3441014,availabilityDateTime#3441015,nextAvailabilityDateTime#3441016,sourceOfSupplyUuid#3441018,isFallbackOrderOnly#3441021,splitIndicator#3441023L,previousOrderProposal#3441024L,worklistShardItemId#3441027L,orderProposalItemGroupId#3441028,externalProductId#3441029,externalPlantId#3441030,logisticUnits#3441031,orderQuantityBaseUom#3441032,orderQuantityBaseUomUuid#3441033,minimumOrderQuantity#3441034,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3441027L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3441048), isnotnull(sequenceId#3441026), (shardId#3441048 = 0_5_10000000532), ..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster67 {
isCluster="true";
id="cluster67";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (8)";
68 [id="node68" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>872 ms (15 ms, 22 ms, 59 ms (stage 314931.0: task 900143))<br>peak memory total (min, med, max (stageId: taskId))<br>675.0 MiB (22.5 MiB, 22.5 MiB, 22.5 MiB (stage 314931.0: task 900122))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314931.0: task 900122))" tooltip="Sort [shardId#3441760 ASC NULLS FIRST, worklistShardItemId#3441761L 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>8.2 MiB (215.8 KiB, 310.8 KiB, 410.6 KiB (stage 314931.0: task 900148))<br>merged fetch fallback count: 0<br>local blocks read: 267<br>remote merged chunks fetched: 0<br>remote blocks read: 633<br>data size total (min, med, max (stageId: taskId))<br>610.4 MiB (20.1 MiB, 20.4 MiB, 20.5 MiB (stage 314929.0: task 899825))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>102 ms (2 ms, 3 ms, 13 ms (stage 314929.0: task 899968))<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 314931.0: task 900122))<br>remote bytes read total (min, med, max (stageId: taskId))<br>19.3 MiB (522.8 KiB, 708.7 KiB, 730.4 KiB (stage 314931.0: task 900130))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>802 ms (8 ms, 21 ms, 81 ms (stage 314931.0: task 900143))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>27.5 MiB (925.0 KiB, 937.6 KiB, 946.6 KiB (stage 314929.0: task 900079))" tooltip="Exchange hashpartitioning(shardId#3441760, worklistShardItemId#3441761L, 30), ENSURE_REQUIREMENTS, [plan_id=989857]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n27.6 s (756 ms, 911 ms, 1.3 s (stage 314929.0: task 900025))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3441760, worklistShardItemId#3441761L, coalesce(kpis#3441765, []) AS prodLocSpecificKpis#3441766]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter (((isnull(qty#3441762) AND isnull(demandChannel#3441763)) AND isnull(demandStream#3441764)) AND (isnotnull(shardId#3441760) AND isnotnull(worklistShardItemId#3441761L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3441760,worklistShardItemId#3441761L,qty#3441762,demandChannel#3441763,demandStream#3441764,kpis#3441765]"];
}
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>58 ms (1 ms, 1 ms, 18 ms (stage 314931.0: task 900129))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 314931.0: task 900122))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314931.0: task 900122))" tooltip="Sort [shardId#3441776 ASC NULLS FIRST, worklistShardItemId#3441777L 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 (25 ms, 47 ms, 98 ms (stage 314931.0: task 900146))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314931.0: task 900122))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3441776, worklistShardItemId#3441777L], functions=[collect_list(struct(demandChannel, demandChannel#3441779, demandStream, demandStream#3441780, kpis, kpis#3441781), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>2.3 MiB (62.2 KiB, 77.6 KiB, 97.8 KiB (stage 314931.0: task 900136))<br>merged fetch fallback count: 0<br>local blocks read: 292<br>remote merged chunks fetched: 0<br>remote blocks read: 608<br>data size total (min, med, max (stageId: taskId))<br>236.9 MiB (7.8 MiB, 7.9 MiB, 8.0 MiB (stage 314927.0: task 899955))<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>67 ms (1 ms, 1 ms, 10 ms (stage 314927.0: task 900080))<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>119 ms (0 ms, 0 ms, 33 ms (stage 314931.0: task 900143))<br>remote bytes read total (min, med, max (stageId: taskId))<br>4.7 MiB (141.4 KiB, 173.0 KiB, 176.1 KiB (stage 314931.0: task 900122))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>572 ms (5 ms, 9 ms, 81 ms (stage 314931.0: task 900143))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>7.0 MiB (235.1 KiB, 238.3 KiB, 240.3 KiB (stage 314927.0: task 899955))" tooltip="Exchange hashpartitioning(shardId#3441776, worklistShardItemId#3441777L, 30), ENSURE_REQUIREMENTS, [plan_id=989868]"];
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>28.3 s (776 ms, 932 ms, 1.3 s (stage 314927.0: task 899969))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314927.0: task 899829))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3441776, worklistShardItemId#3441777L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3441779, demandStream, demandStream#3441780, kpis, kpis#3441781), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n27.7 s (759 ms, 914 ms, 1.3 s (stage 314927.0: task 899969))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3441776, worklistShardItemId#3441777L, demandChannel#3441779, demandStream#3441780, kpis#3441781]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter ((((isnull(qty#3441778) AND isnotnull(demandChannel#3441779)) AND isnotnull(demandStream#3441780)) AND (size(kpis#3441781, true) > 0)) AND (isnotnull(shardId#3441776) AND isnotnull(worklistShardItemId#3441777L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3441776,worklistShardItemId#3441777L,qty#3441778,demandChannel#3441779,demandStream#3441780,kpis#3441781]"];
}
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>86 ms (1 ms, 1 ms, 29 ms (stage 314931.0: task 900139))<br>peak memory total (min, med, max (stageId: taskId))<br>735.0 MiB (24.5 MiB, 24.5 MiB, 24.5 MiB (stage 314931.0: task 900122))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314931.0: task 900122))" tooltip="Sort [shardId#3441789 ASC NULLS FIRST, worklistShardItemId#3441790L 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.6 s (50 ms, 79 ms, 127 ms (stage 314931.0: task 900146))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314931.0: task 900122))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3441789, worklistShardItemId#3441790L], functions=[collect_list(struct(qty, qty#3441791, kpis, kpis#3441794), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,174,196<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,174,196<br>local bytes read total (min, med, max (stageId: taskId))<br>8.5 MiB (180.4 KiB, 336.6 KiB, 346.0 KiB (stage 314931.0: task 900122))<br>merged fetch fallback count: 0<br>local blocks read: 333<br>remote merged chunks fetched: 0<br>remote blocks read: 567<br>data size total (min, med, max (stageId: taskId))<br>727.4 MiB (24.1 MiB, 24.3 MiB, 24.4 MiB (stage 314928.0: task 900023))<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>111 ms (2 ms, 2 ms, 14 ms (stage 314928.0: task 900107))<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>58 ms (0 ms, 0 ms, 20 ms (stage 314931.0: task 900144))<br>remote bytes read total (min, med, max (stageId: taskId))<br>14.5 MiB (438.2 KiB, 519.1 KiB, 599.3 KiB (stage 314931.0: task 900148))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>502 ms (6 ms, 10 ms, 44 ms (stage 314931.0: task 900143))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>23.0 MiB (778.8 KiB, 783.6 KiB, 787.9 KiB (stage 314928.0: task 900108))" tooltip="Exchange hashpartitioning(shardId#3441789, worklistShardItemId#3441790L, 30), ENSURE_REQUIREMENTS, [plan_id=989880]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,174,196<br>time in aggregation build total (min, med, max (stageId: taskId))<br>28.8 s (804 ms, 925 ms, 1.2 s (stage 314928.0: task 899830))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314928.0: task 899824))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3441789, worklistShardItemId#3441790L], functions=[partial_collect_list(struct(qty, qty#3441791, kpis, kpis#3441794), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n27.1 s (762 ms, 870 ms, 1.1 s (stage 314928.0: task 900024))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3441789, worklistShardItemId#3441790L, qty#3441791, kpis#3441794]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter ((isnotnull(qty#3441791) AND isnotnull(kpis#3441794)) AND (isnotnull(shardId#3441789) AND isnotnull(worklistShardItemId#3441790L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3441789,worklistShardItemId#3441790L,qty#3441791,demandChannel#3441792,demandStream#3441793,kpis#3441794]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n2.9 s (29 ms, 42 ms, 229 ms (stage 314938.0: task 900216))";
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 314938.0: task 900211))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 314938.0: task 900211))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314938.0: task 900211))" tooltip="Sort [coalesce(shardId#3442575, ) ASC NULLS FIRST, isnull(shardId#3442575) ASC NULLS FIRST, coalesce(orderProposalId#3442576L, 0) ASC NULLS FIRST, isnull(orderProposalId#3442576L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>57.0 KiB (153.0 B, 3.2 KiB, 3.6 KiB (stage 314938.0: task 900211))<br>merged fetch fallback count: 0<br>local blocks read: 425<br>remote merged chunks fetched: 0<br>remote blocks read: 411<br>data size total (min, med, max (stageId: taskId))<br>129.1 KiB (3.3 KiB, 4.2 KiB, 5.4 KiB (stage 314936.0: task 900069))<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>54 ms (1 ms, 1 ms, 2 ms (stage 314936.0: task 900026))<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>11 ms (0 ms, 0 ms, 6 ms (stage 314938.0: task 900236))<br>remote bytes read total (min, med, max (stageId: taskId))<br>55.5 KiB (141.0 B, 495.0 B, 3.9 KiB (stage 314938.0: task 900229))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>158 ms (0 ms, 4 ms, 18 ms (stage 314938.0: task 900236))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>112.5 KiB (3.1 KiB, 3.8 KiB, 4.2 KiB (stage 314936.0: task 900054))" tooltip="Exchange hashpartitioning(coalesce(shardId#3442575, ), isnull(shardId#3442575), coalesce(orderProposalId#3442576L, 0), isnull(orderProposalId#3442576L), 30), ENSURE_REQUIREMENTS, [plan_id=990182]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3442576L, shardId#3442575, coalesce(transform(optimizationGroups#3442578, lambdafunction(struct(optGroupId, lambda x_11453#3442573.optGroupId, minOrderProfile, lambda x_11453#3442573.minOrderProfile, assignmentDetails, lambda x_11453#3442573.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11453#3442573.minOrderGoal.dimensionType, unit, lambda x_11453#3442573.minOrderGoal.unit, unitUuid, lambda x_11453#3442573.minOrderGoal.unitUuid, goalValue, lambda x_11453#3442573.minOrderGoal.minOrderValue, calcValue, lambda x_11453#3442573.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11453#3442573, false)), []) AS optimizationGroups#3442572]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n952 ms (9 ms, 14 ms, 215 ms (stage 314936.0: task 900031))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,360<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314936.0: task 900027))" tooltip="SortMergeJoin [orderProposalId#3442576L], [orderProposalId#3442631L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (10 ms, 15 ms, 734 ms (stage 314936.0: task 900031))";
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 314936.0: task 900027))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 314936.0: task 900027))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314936.0: task 900027))" tooltip="Sort [orderProposalId#3442576L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>47.3 KiB (676.0 B, 1686.0 B, 1912.0 B (stage 314936.0: task 900054))<br>merged fetch fallback count: 0<br>local blocks read: 350<br>remote merged chunks fetched: 0<br>remote blocks read: 493<br>data size total (min, med, max (stageId: taskId))<br>129.1 KiB (4.1 KiB, 4.3 KiB, 4.5 KiB (stage 314934.0: task 899874))<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>69 ms (1 ms, 1 ms, 18 ms (stage 314934.0: task 899882))<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>33 ms (0 ms, 0 ms, 16 ms (stage 314936.0: task 900071))<br>remote bytes read total (min, med, max (stageId: taskId))<br>66.0 KiB (1946.0 B, 2.2 KiB, 2.7 KiB (stage 314936.0: task 900047))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>169 ms (3 ms, 4 ms, 23 ms (stage 314936.0: task 900071))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>113.3 KiB (3.5 KiB, 3.8 KiB, 4.0 KiB (stage 314934.0: task 899869))" tooltip="Exchange hashpartitioning(orderProposalId#3442576L, 30), ENSURE_REQUIREMENTS, [plan_id=990148]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n833 ms (3 ms, 22 ms, 102 ms (stage 314934.0: task 899807))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter isnotnull(orderProposalId#3442576L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3442575, orderProposalId#3442576L, optimizationGroups#3442578], [isnotnull(orderProposalId#3442576L)]"];
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#3440291) AND (shardId#3440291 = 0_5_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, optimizationInsights#3440297], [isnotnull(shardId#3440291), (shardId#3440291 = 0_5_10000000532)]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
108 [id="node108" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3440291) AND (shardId#3440291 = 0_5_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3440291,orderProposalId#3440292L,items#3440293,optimizationGroups#3440294,isOptimal#3440295,lastModified#3440296,optimizationInsights#3440297]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (10 ms, 14 ms, 321 ms (stage 314936.0: task 900031))";
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 314936.0: task 900027))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 314936.0: task 900027))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 314936.0: task 900027))" tooltip="Sort [orderProposalId#3442631L 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>170 ms (2 ms, 3 ms, 41 ms (stage 314936.0: task 900026))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 314936.0: task 900027))<br>number of output rows: 2,360<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3442631L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,003<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,003<br>local bytes read total (min, med, max (stageId: taskId))<br>179.0 KiB (4.7 KiB, 6.1 KiB, 15.7 KiB (stage 314936.0: task 900031))<br>merged fetch fallback count: 0<br>local blocks read: 238<br>remote merged chunks fetched: 0<br>remote blocks read: 662<br>data size total (min, med, max (stageId: taskId))<br>906.3 KiB (29.7 KiB, 30.1 KiB, 30.8 KiB (stage 314935.0: task 900005))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>48 ms (1 ms, 1 ms, 2 ms (stage 314935.0: task 900001))<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 314936.0: task 900027))<br>remote bytes read total (min, med, max (stageId: taskId))<br>495.0 KiB (5.4 KiB, 16.5 KiB, 21.9 KiB (stage 314936.0: task 900047))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>105 ms (3 ms, 3 ms, 5 ms (stage 314936.0: task 900027))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>674.1 KiB (22.1 KiB, 22.4 KiB, 22.8 KiB (stage 314935.0: task 900005))" tooltip="Exchange hashpartitioning(orderProposalId#3442631L, 30), ENSURE_REQUIREMENTS, [plan_id=990173]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n753 ms (8 ms, 11 ms, 158 ms (stage 314935.0: task 899972))";
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>331 ms (3 ms, 6 ms, 42 ms (stage 314935.0: task 899987))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 314935.0: task 899972))<br>number of output rows: 58,003<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3442631L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3442631L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 119,861" tooltip="BroadcastHashJoin [worklistShardItemId#3442583L], [worklistShardItemId#3442654L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3442654L, orderProposalId#3442631L]"];
}
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: 278 ms<br>number of output rows: 119,861<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=990159]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n205 ms (4 ms, 6 ms, 12 ms (stage 314777.0: task 899790))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3442582L AS worklistShardItemId#3442583L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(_extract_worklistShardItemId#3443223), false, [item#3442582L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3442204.worklistShardItemId AS _extract_worklistShardItemId#3443223]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (((size(items#3442204.worklistShardItemId, true) > 0) AND isnotnull(items#3442204.worklistShardItemId)) AND (shardId#3442202 = 0_5_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [items#3442204, shardId#3442202], [(size(items#3442204.worklistShardItemId, true) > 0), isnotnull(items#3442204.worklistShardItemId), (shardId#3442202 = 0_5_10000000532)]"];
subgraph cluster125 {
isCluster="true";
id="cluster125";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
126 [id="node126" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3440291) AND (shardId#3440291 = 0_5_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, optimizationInsights#3440297], [isnotnull(shardId#3440291), (shardId#3440291 = 0_5_10000000532)]"];
subgraph cluster128 {
isCluster="true";
id="cluster128";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
129 [id="node129" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3440291) AND (shardId#3440291 = 0_5_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3440291,orderProposalId#3440292L,items#3440293,optimizationGroups#3440294,isOptimal#3440295,lastModified#3440296,optimizationInsights#3440297]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>983.4 KiB (21.6 KiB, 36.4 KiB, 37.9 KiB (stage 314935.0: task 899981))<br>merged fetch fallback count: 0<br>local blocks read: 618<br>remote merged chunks fetched: 0<br>remote blocks read: 492<br>data size total (min, med, max (stageId: taskId))<br>2.7 MiB (72.8 KiB, 75.9 KiB, 78.3 KiB (stage 314933.0: task 899826))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>63 ms (1 ms, 1 ms, 3 ms (stage 314933.0: task 899951))<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>54 ms (0 ms, 0 ms, 26 ms (stage 314935.0: task 899981))<br>remote bytes read total (min, med, max (stageId: taskId))<br>784.7 KiB (21.5 KiB, 22.6 KiB, 37.4 KiB (stage 314935.0: task 900015))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>186 ms (3 ms, 4 ms, 32 ms (stage 314935.0: task 899981))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1768.1 KiB (46.0 KiB, 47.8 KiB, 49.1 KiB (stage 314933.0: task 899826))" tooltip="Exchange hashpartitioning(worklistShardItemId#3442654L, 30), REPARTITION_BY_NUM, [plan_id=990166]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n5.9 s (123 ms, 157 ms, 197 ms (stage 314933.0: task 899961))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3442631L, worklistShardItemId#3442654L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter ((isnotnull(worklistShardItemId#3442654L) AND NOT (isFallbackOrderOnly#3442648 <=> true)) AND isnotnull(orderProposalId#3442631L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,861<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
137 [id="node137" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>5.6 s (118 ms, 153 ms, 192 ms (stage 314933.0: task 899961))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.5 MiB<br>number of output rows: 119,861<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3442631L,isFallbackOrderOnly#3442648,worklistShardItemId#3442654L,shardId#3442675,sequenceId#3442653] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3442654L), NOT (isFallbackOrderOnly#3442648 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3442675), isnotnull(sequenceId#3442653), (shardId#3442675 = 0_5_10000000532), ..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
23->22;
24->23;
26->24;
27->26;
28->27;
30->28;
31->30;
33->31;
34->33;
36->34;
37->36;
39->37;
40->39;
42->40;
43->42;
45->43;
46->45;
48->46;
49->48;
50->49;
51->50;
53->51;
54->53;
56->54;
57->56;
59->43;
60->59;
61->60;
63->61;
64->63;
65->64;
66->65;
68->37;
69->68;
71->69;
72->71;
73->72;
75->34;
76->75;
77->76;
78->77;
80->78;
81->80;
82->81;
84->31;
85->84;
86->85;
87->86;
89->87;
90->89;
91->90;
93->11;
94->93;
95->94;
97->95;
99->97;
100->99;
102->100;
103->102;
105->103;
106->105;
108->106;
109->108;
111->97;
112->111;
113->112;
115->113;
116->115;
117->116;
118->117;
120->118;
121->120;
122->121;
123->122;
124->123;
126->124;
127->126;
129->127;
130->129;
131->117;
132->131;
134->132;
135->134;
136->135;
137->136;
}
== Physical Plan ==
* HashAggregate (104)
+- Exchange (103)
+- * HashAggregate (102)
+- * Project (101)
+- * Generate (100)
+- Project (99)
+- Filter (98)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (97)
+- SortMergeJoin LeftOuter (96)
:- Sort (67)
: +- Exchange (66)
: +- Project (65)
: +- Project (64)
: +- ObjectHashAggregate (63)
: +- Exchange (62)
: +- ObjectHashAggregate (61)
: +- ObjectHashAggregate (60)
: +- Exchange (59)
: +- ObjectHashAggregate (58)
: +- Project (57)
: +- Project (56)
: +- Project (55)
: +- * Project (54)
: +- * Filter (53)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (52)
: +- * SortMergeJoin LeftOuter (51)
: :- * Project (43)
: : +- * SortMergeJoin LeftOuter (42)
: : :- * Project (34)
: : : +- * SortMergeJoin LeftOuter (33)
: : : :- * Sort (27)
: : : : +- Exchange (26)
: : : : +- * Project (25)
: : : : +- * SortMergeJoin LeftOuter (24)
: : : : :- * Sort (16)
: : : : : +- Exchange (15)
: : : : : +- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- * Sort (23)
: : : : +- * Project (22)
: : : : +- Exchange (21)
: : : : +- * Project (20)
: : : : +- * Filter (19)
: : : : +- * ColumnarToRow (18)
: : : : +- Scan parquet (17)
: : : +- * Sort (32)
: : : +- Exchange (31)
: : : +- * Project (30)
: : : +- * Filter (29)
: : : +- * Scan ExistingRDD (28)
: : +- * Sort (41)
: : +- ObjectHashAggregate (40)
: : +- Exchange (39)
: : +- ObjectHashAggregate (38)
: : +- * Project (37)
: : +- * Filter (36)
: : +- * Scan ExistingRDD (35)
: +- * Sort (50)
: +- ObjectHashAggregate (49)
: +- Exchange (48)
: +- ObjectHashAggregate (47)
: +- * Project (46)
: +- * Filter (45)
: +- * Scan ExistingRDD (44)
+- * Sort (95)
+- Exchange (94)
+- Project (93)
+- * SortMergeJoin Inner (92)
:- * Sort (72)
: +- Exchange (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Sort (91)
+- * HashAggregate (90)
+- Exchange (89)
+- * HashAggregate (88)
+- * Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (79)
: +- * Project (78)
: +- * Generate (77)
: +- * Project (76)
: +- * Filter (75)
: +- InMemoryTableScan (73)
: +- InMemoryRelation (74)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (85)
+- Exchange (84)
+- * Project (83)
+- * Filter (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
(1) InMemoryTableScan
Output [1]: [orderProposal#3442679]
Arguments: [orderProposal#3442679], [(size(orderProposal#3442679.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3440291, orderProposal#3442679], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3440981, channelStreamSpecificKpis#3441782, constraintLabels#3440993, constraintOperators#3440994, constraintValues#3440996, deliveryDateTime#3440980, isFallbackOrderOnly#3440983, logisticUnits#3440998, measurements#3440991, minimumOrderQuantity#3440992, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, nextAvailabilityDateTime#3440982, optimizationGroups#3440999, orderDateTime#3440979, orderProposalId#3440961L, orderProposalItemGroupId#3440963, orderProposalItemId#3440962, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, originalReplenishmentRunId#3440964L, plant#3440975, previousOrderProposal#3440967L, prodLocSpecificKpis#3441767, product#3440974, productGroup#3441003, qty#3440805, quantityAfterProdPlantOptimization#3440804, quantityKpis#3441795, shardId#3440291, sourceOfSupplyUuid#3440970, splitIndicator#3440966L, subrange#3440973, supplier#3440972, supplierGroup#3440971, supplyingPlant#3441002]
Arguments: [availabilityDateTime#3440981, channelStreamSpecificKpis#3441782, constraintLabels#3440993, constraintOperators#3440994, constraintValues#3440996, deliveryDateTime#3440980, isFallbackOrderOnly#3440983, logisticUnits#3440998, measurements#3440991, minimumOrderQuantity#3440992, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, nextAvailabilityDateTime#3440982, optimizationGroups#3440999, orderDateTime#3440979, orderProposalId#3440961L, orderProposalItemGroupId#3440963, orderProposalItemId#3440962, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, originalReplenishmentRunId#3440964L, plant#3440975, ... 14 more fields], [NOT (isFallbackOrderOnly#3440983 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, productGroup#3441003, product#3440974, plant#3440975, subrange#3440973, orderDateTime#3440979, deliveryDateTime#3440980, availabilityDateTime#3440981, nextAvailabilityDateTime#3440982, constraintValues#3440996, constraintOperators#3440994, constraintLabels#3440993, logisticUnits#3440998, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, splitIndicator#3440966L, netPriceAmount#3440989, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3440291, items#3440293]
Arguments: [shardId#3440291, items#3440293], [(size(items#3440293, true) > 0), isnotnull(items#3440293)]
(6) InMemoryRelation
Arguments: [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, optimizationInsights#3440297], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, optimizationInsights#3440297]
Arguments: [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, optimizationInsights#3440297], [isnotnull(shardId#3440291), (shardId#3440291 = 0_5_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, lastModified#3440296, optimizationInsights#3440297], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, lastModified#3440296, optimizationInsights#3440297]
Arguments: [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, lastModified#3440296, optimizationInsights#3440297], MapPartitionsRDD[146361] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, lastModified#3440296, optimizationInsights#3440297]
Condition : (isnotnull(shardId#3440291) AND (shardId#3440291 = 0_5_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3440291, orderProposalId#3440292L, items#3440293, optimizationGroups#3440294, isOptimal#3440295, optimizationInsights#3440297]
Condition : (isnotnull(shardId#3440291) AND (shardId#3440291 = 0_5_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3440291, items#3440293]
Condition : ((size(items#3440293, true) > 0) AND isnotnull(items#3440293))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3440291, items#3440293]
Arguments: explode(items#3440293), [shardId#3440291], false, [item#3440802]
(14) Project [codegen id : 1]
Output [4]: [shardId#3440291, item#3440802.worklistShardItemId AS worklistShardItemId#3440803L, item#3440802.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3440804, item#3440802.qty AS qty#3440805]
Input [2]: [shardId#3440291, item#3440802]
(15) Exchange
Input [4]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805]
Arguments: hashpartitioning(worklistShardItemId#3440803L, 30), ENSURE_REQUIREMENTS, [plan_id=989832]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805]
Arguments: [worklistShardItemId#3440803L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3441004L, orderProposalItemId#3441005, supplierGroup#3441006, supplier#3441007, plant#3441008, deliveryDateTime#3441009, subrange#3441010, supplyingPlant#3441011, productGroup#3441012, product#3441013, orderDateTime#3441014, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, sourceOfSupplyUuid#3441018, isFallbackOrderOnly#3441021, splitIndicator#3441023L, previousOrderProposal#3441024L, worklistShardItemId#3441027L, orderProposalItemGroupId#3441028, externalProductId#3441029, externalPlantId#3441030, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, minimumOrderQuantity#3441034, constraintLabels#3441035, constraintOperators#3441036, constraintValues#3441037, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, measurements#3441045, originalReplenishmentRunId#3441046L, optimizationGroups#3441047, shardId#3441048, sequenceId#3441026]
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#3441048), isnotnull(sequenceId#3441026), (shardId#3441048 = 0_5_10000000532), (sequenceId#3441026 = 3)]
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#3441004L, orderProposalItemId#3441005, supplierGroup#3441006, supplier#3441007, plant#3441008, deliveryDateTime#3441009, subrange#3441010, supplyingPlant#3441011, productGroup#3441012, product#3441013, orderDateTime#3441014, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, sourceOfSupplyUuid#3441018, isFallbackOrderOnly#3441021, splitIndicator#3441023L, previousOrderProposal#3441024L, worklistShardItemId#3441027L, orderProposalItemGroupId#3441028, externalProductId#3441029, externalPlantId#3441030, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, minimumOrderQuantity#3441034, constraintLabels#3441035, constraintOperators#3441036, constraintValues#3441037, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, measurements#3441045, originalReplenishmentRunId#3441046L, optimizationGroups#3441047, shardId#3441048, sequenceId#3441026]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3441004L, orderProposalItemId#3441005, supplierGroup#3441006, supplier#3441007, plant#3441008, deliveryDateTime#3441009, subrange#3441010, supplyingPlant#3441011, productGroup#3441012, product#3441013, orderDateTime#3441014, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, sourceOfSupplyUuid#3441018, isFallbackOrderOnly#3441021, splitIndicator#3441023L, previousOrderProposal#3441024L, worklistShardItemId#3441027L, orderProposalItemGroupId#3441028, externalProductId#3441029, externalPlantId#3441030, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, minimumOrderQuantity#3441034, constraintLabels#3441035, constraintOperators#3441036, constraintValues#3441037, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, measurements#3441045, originalReplenishmentRunId#3441046L, optimizationGroups#3441047, shardId#3441048, sequenceId#3441026]
Condition : isnotnull(worklistShardItemId#3441027L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3441004L, orderProposalItemId#3441005, supplierGroup#3441006, supplier#3441007, plant#3441008, deliveryDateTime#3441009, subrange#3441010, supplyingPlant#3441011, productGroup#3441012, product#3441013, orderDateTime#3441014, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, sourceOfSupplyUuid#3441018, isFallbackOrderOnly#3441021, splitIndicator#3441023L, previousOrderProposal#3441024L, worklistShardItemId#3441027L, orderProposalItemGroupId#3441028, externalProductId#3441029, externalPlantId#3441030, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, minimumOrderQuantity#3441034, constraintLabels#3441035, constraintOperators#3441036, constraintValues#3441037, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, measurements#3441045, originalReplenishmentRunId#3441046L, optimizationGroups#3441047]
Input [38]: [orderProposalId#3441004L, orderProposalItemId#3441005, supplierGroup#3441006, supplier#3441007, plant#3441008, deliveryDateTime#3441009, subrange#3441010, supplyingPlant#3441011, productGroup#3441012, product#3441013, orderDateTime#3441014, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, sourceOfSupplyUuid#3441018, isFallbackOrderOnly#3441021, splitIndicator#3441023L, previousOrderProposal#3441024L, worklistShardItemId#3441027L, orderProposalItemGroupId#3441028, externalProductId#3441029, externalPlantId#3441030, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, minimumOrderQuantity#3441034, constraintLabels#3441035, constraintOperators#3441036, constraintValues#3441037, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, measurements#3441045, originalReplenishmentRunId#3441046L, optimizationGroups#3441047, shardId#3441048, sequenceId#3441026]
(21) Exchange
Input [36]: [orderProposalId#3441004L, orderProposalItemId#3441005, supplierGroup#3441006, supplier#3441007, plant#3441008, deliveryDateTime#3441009, subrange#3441010, supplyingPlant#3441011, productGroup#3441012, product#3441013, orderDateTime#3441014, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, sourceOfSupplyUuid#3441018, isFallbackOrderOnly#3441021, splitIndicator#3441023L, previousOrderProposal#3441024L, worklistShardItemId#3441027L, orderProposalItemGroupId#3441028, externalProductId#3441029, externalPlantId#3441030, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, minimumOrderQuantity#3441034, constraintLabels#3441035, constraintOperators#3441036, constraintValues#3441037, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, measurements#3441045, originalReplenishmentRunId#3441046L, optimizationGroups#3441047]
Arguments: hashpartitioning(worklistShardItemId#3441027L, 30), REPARTITION_BY_NUM, [plan_id=989842]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3441027L, orderProposalId#3441004L, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, originalReplenishmentRunId#3441046L, splitIndicator#3441023L, previousOrderProposal#3441024L, sourceOfSupplyUuid#3441018, supplierGroup#3441006, supplier#3441007, subrange#3441010, product#3441013, plant#3441008, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, isFallbackOrderOnly#3441021, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, netPriceAmount#3441040, netPriceCurrencyCode#3441041, measurements#3441045, minimumOrderQuantity#3441034, constraintLabels#3441035, constraintOperators#3441036, constraintValues#3441037, logisticUnits#3441031, optimizationGroups#3441047, externalProductId#3441029, externalPlantId#3441030, supplyingPlant#3441011, productGroup#3441012]
Input [36]: [orderProposalId#3441004L, orderProposalItemId#3441005, supplierGroup#3441006, supplier#3441007, plant#3441008, deliveryDateTime#3441009, subrange#3441010, supplyingPlant#3441011, productGroup#3441012, product#3441013, orderDateTime#3441014, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, sourceOfSupplyUuid#3441018, isFallbackOrderOnly#3441021, splitIndicator#3441023L, previousOrderProposal#3441024L, worklistShardItemId#3441027L, orderProposalItemGroupId#3441028, externalProductId#3441029, externalPlantId#3441030, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, minimumOrderQuantity#3441034, constraintLabels#3441035, constraintOperators#3441036, constraintValues#3441037, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, measurements#3441045, originalReplenishmentRunId#3441046L, optimizationGroups#3441047]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3441027L, orderProposalId#3441004L, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, originalReplenishmentRunId#3441046L, splitIndicator#3441023L, previousOrderProposal#3441024L, sourceOfSupplyUuid#3441018, supplierGroup#3441006, supplier#3441007, subrange#3441010, product#3441013, plant#3441008, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, isFallbackOrderOnly#3441021, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, netPriceAmount#3441040, netPriceCurrencyCode#3441041, measurements#3441045, minimumOrderQuantity#3441034, constraintLabels#3441035, constraintOperators#3441036, constraintValues#3441037, logisticUnits#3441031, optimizationGroups#3441047, externalProductId#3441029, externalPlantId#3441030, supplyingPlant#3441011, productGroup#3441012]
Arguments: [worklistShardItemId#3441027L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3440803L]
Right keys [1]: [worklistShardItemId#3441027L]
Join type: LeftOuter
Join condition: (shardId#3440291 = 0_5_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, sourceOfSupplyUuid#3441018, minimumOrderQuantity#3441034, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, optimizationGroups#3441047, measurements#3441045, externalProductId#3441029, externalPlantId#3441030, previousOrderProposal#3441024L, isFallbackOrderOnly#3441021]
Input [40]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, worklistShardItemId#3441027L, orderProposalId#3441004L, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, originalReplenishmentRunId#3441046L, splitIndicator#3441023L, previousOrderProposal#3441024L, sourceOfSupplyUuid#3441018, supplierGroup#3441006, supplier#3441007, subrange#3441010, product#3441013, plant#3441008, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, isFallbackOrderOnly#3441021, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, netPriceAmount#3441040, netPriceCurrencyCode#3441041, measurements#3441045, minimumOrderQuantity#3441034, constraintLabels#3441035, constraintOperators#3441036, constraintValues#3441037, logisticUnits#3441031, optimizationGroups#3441047, externalProductId#3441029, externalPlantId#3441030, supplyingPlant#3441011, productGroup#3441012]
(26) Exchange
Input [39]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, sourceOfSupplyUuid#3441018, minimumOrderQuantity#3441034, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, optimizationGroups#3441047, measurements#3441045, externalProductId#3441029, externalPlantId#3441030, previousOrderProposal#3441024L, isFallbackOrderOnly#3441021]
Arguments: hashpartitioning(shardId#3440291, worklistShardItemId#3440803L, 30), ENSURE_REQUIREMENTS, [plan_id=989851]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, sourceOfSupplyUuid#3441018, minimumOrderQuantity#3441034, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, optimizationGroups#3441047, measurements#3441045, externalProductId#3441029, externalPlantId#3441030, previousOrderProposal#3441024L, isFallbackOrderOnly#3441021]
Arguments: [shardId#3440291 ASC NULLS FIRST, worklistShardItemId#3440803L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3441760, worklistShardItemId#3441761L, qty#3441762, demandChannel#3441763, demandStream#3441764, kpis#3441765]
Arguments: [shardId#3441760, worklistShardItemId#3441761L, qty#3441762, demandChannel#3441763, demandStream#3441764, kpis#3441765], MapPartitionsRDD[146443] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3441760, worklistShardItemId#3441761L, qty#3441762, demandChannel#3441763, demandStream#3441764, kpis#3441765]
Condition : (((isnull(qty#3441762) AND isnull(demandChannel#3441763)) AND isnull(demandStream#3441764)) AND (isnotnull(shardId#3441760) AND isnotnull(worklistShardItemId#3441761L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3441760, worklistShardItemId#3441761L, coalesce(kpis#3441765, []) AS prodLocSpecificKpis#3441766]
Input [6]: [shardId#3441760, worklistShardItemId#3441761L, qty#3441762, demandChannel#3441763, demandStream#3441764, kpis#3441765]
(31) Exchange
Input [3]: [shardId#3441760, worklistShardItemId#3441761L, prodLocSpecificKpis#3441766]
Arguments: hashpartitioning(shardId#3441760, worklistShardItemId#3441761L, 30), ENSURE_REQUIREMENTS, [plan_id=989857]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3441760, worklistShardItemId#3441761L, prodLocSpecificKpis#3441766]
Arguments: [shardId#3441760 ASC NULLS FIRST, worklistShardItemId#3441761L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3440291, worklistShardItemId#3440803L]
Right keys [2]: [shardId#3441760, worklistShardItemId#3441761L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, sourceOfSupplyUuid#3441018, minimumOrderQuantity#3441034, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, optimizationGroups#3441047, measurements#3441045, externalProductId#3441029, externalPlantId#3441030, previousOrderProposal#3441024L, isFallbackOrderOnly#3441021, coalesce(prodLocSpecificKpis#3441766, []) AS prodLocSpecificKpis#3441767]
Input [42]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, sourceOfSupplyUuid#3441018, minimumOrderQuantity#3441034, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, optimizationGroups#3441047, measurements#3441045, externalProductId#3441029, externalPlantId#3441030, previousOrderProposal#3441024L, isFallbackOrderOnly#3441021, shardId#3441760, worklistShardItemId#3441761L, prodLocSpecificKpis#3441766]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3441776, worklistShardItemId#3441777L, qty#3441778, demandChannel#3441779, demandStream#3441780, kpis#3441781]
Arguments: [shardId#3441776, worklistShardItemId#3441777L, qty#3441778, demandChannel#3441779, demandStream#3441780, kpis#3441781], MapPartitionsRDD[146443] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3441776, worklistShardItemId#3441777L, qty#3441778, demandChannel#3441779, demandStream#3441780, kpis#3441781]
Condition : ((((isnull(qty#3441778) AND isnotnull(demandChannel#3441779)) AND isnotnull(demandStream#3441780)) AND (size(kpis#3441781, true) > 0)) AND (isnotnull(shardId#3441776) AND isnotnull(worklistShardItemId#3441777L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3441776, worklistShardItemId#3441777L, demandChannel#3441779, demandStream#3441780, kpis#3441781]
Input [6]: [shardId#3441776, worklistShardItemId#3441777L, qty#3441778, demandChannel#3441779, demandStream#3441780, kpis#3441781]
(38) ObjectHashAggregate
Input [5]: [shardId#3441776, worklistShardItemId#3441777L, demandChannel#3441779, demandStream#3441780, kpis#3441781]
Keys [2]: [shardId#3441776, worklistShardItemId#3441777L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3441779, demandStream, demandStream#3441780, kpis, kpis#3441781), 0, 0)]
Aggregate Attributes [1]: [buf#3441956]
Results [3]: [shardId#3441776, worklistShardItemId#3441777L, buf#3441957]
(39) Exchange
Input [3]: [shardId#3441776, worklistShardItemId#3441777L, buf#3441957]
Arguments: hashpartitioning(shardId#3441776, worklistShardItemId#3441777L, 30), ENSURE_REQUIREMENTS, [plan_id=989868]
(40) ObjectHashAggregate
Input [3]: [shardId#3441776, worklistShardItemId#3441777L, buf#3441957]
Keys [2]: [shardId#3441776, worklistShardItemId#3441777L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3441779, demandStream, demandStream#3441780, kpis, kpis#3441781), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3441779, demandStream, demandStream#3441780, kpis, kpis#3441781), 0, 0)#3441775]
Results [3]: [shardId#3441776, worklistShardItemId#3441777L, collect_list(struct(demandChannel, demandChannel#3441779, demandStream, demandStream#3441780, kpis, kpis#3441781), 0, 0)#3441775 AS channelStreamSpecificKpis#3441768]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3441776, worklistShardItemId#3441777L, channelStreamSpecificKpis#3441768]
Arguments: [shardId#3441776 ASC NULLS FIRST, worklistShardItemId#3441777L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3440291, worklistShardItemId#3440803L]
Right keys [2]: [shardId#3441776, worklistShardItemId#3441777L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, sourceOfSupplyUuid#3441018, minimumOrderQuantity#3441034, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, optimizationGroups#3441047, measurements#3441045, externalProductId#3441029, externalPlantId#3441030, previousOrderProposal#3441024L, isFallbackOrderOnly#3441021, prodLocSpecificKpis#3441767, coalesce(channelStreamSpecificKpis#3441768, []) AS channelStreamSpecificKpis#3441782]
Input [43]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, sourceOfSupplyUuid#3441018, minimumOrderQuantity#3441034, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, optimizationGroups#3441047, measurements#3441045, externalProductId#3441029, externalPlantId#3441030, previousOrderProposal#3441024L, isFallbackOrderOnly#3441021, prodLocSpecificKpis#3441767, shardId#3441776, worklistShardItemId#3441777L, channelStreamSpecificKpis#3441768]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3441789, worklistShardItemId#3441790L, qty#3441791, demandChannel#3441792, demandStream#3441793, kpis#3441794]
Arguments: [shardId#3441789, worklistShardItemId#3441790L, qty#3441791, demandChannel#3441792, demandStream#3441793, kpis#3441794], MapPartitionsRDD[146443] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3441789, worklistShardItemId#3441790L, qty#3441791, demandChannel#3441792, demandStream#3441793, kpis#3441794]
Condition : ((isnotnull(qty#3441791) AND isnotnull(kpis#3441794)) AND (isnotnull(shardId#3441789) AND isnotnull(worklistShardItemId#3441790L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3441789, worklistShardItemId#3441790L, qty#3441791, kpis#3441794]
Input [6]: [shardId#3441789, worklistShardItemId#3441790L, qty#3441791, demandChannel#3441792, demandStream#3441793, kpis#3441794]
(47) ObjectHashAggregate
Input [4]: [shardId#3441789, worklistShardItemId#3441790L, qty#3441791, kpis#3441794]
Keys [2]: [shardId#3441789, worklistShardItemId#3441790L]
Functions [1]: [partial_collect_list(struct(qty, qty#3441791, kpis, kpis#3441794), 0, 0)]
Aggregate Attributes [1]: [buf#3441958]
Results [3]: [shardId#3441789, worklistShardItemId#3441790L, buf#3441959]
(48) Exchange
Input [3]: [shardId#3441789, worklistShardItemId#3441790L, buf#3441959]
Arguments: hashpartitioning(shardId#3441789, worklistShardItemId#3441790L, 30), ENSURE_REQUIREMENTS, [plan_id=989880]
(49) ObjectHashAggregate
Input [3]: [shardId#3441789, worklistShardItemId#3441790L, buf#3441959]
Keys [2]: [shardId#3441789, worklistShardItemId#3441790L]
Functions [1]: [collect_list(struct(qty, qty#3441791, kpis, kpis#3441794), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3441791, kpis, kpis#3441794), 0, 0)#3441788]
Results [3]: [shardId#3441789, worklistShardItemId#3441790L, map_from_entries(collect_list(struct(qty, qty#3441791, kpis, kpis#3441794), 0, 0)#3441788) AS quantityKpis#3441783]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3441789, worklistShardItemId#3441790L, quantityKpis#3441783]
Arguments: [shardId#3441789 ASC NULLS FIRST, worklistShardItemId#3441790L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3440291, worklistShardItemId#3440803L]
Right keys [2]: [shardId#3441789, worklistShardItemId#3441790L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, sourceOfSupplyUuid#3441018, minimumOrderQuantity#3441034, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, optimizationGroups#3441047, measurements#3441045, externalProductId#3441029, externalPlantId#3441030, previousOrderProposal#3441024L, isFallbackOrderOnly#3441021, prodLocSpecificKpis#3441767, channelStreamSpecificKpis#3441782, coalesce(quantityKpis#3441783, map(keys: [], values: [])) AS quantityKpis#3441795]
Input [44]: [shardId#3440291, worklistShardItemId#3440803L, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3441004L, originalReplenishmentRunId#3441046L, supplierGroup#3441006, supplier#3441007, supplyingPlant#3441011, productGroup#3441012, product#3441013, plant#3441008, subrange#3441010, orderDateTime#3441014, deliveryDateTime#3441009, availabilityDateTime#3441015, nextAvailabilityDateTime#3441016, constraintValues#3441037, constraintOperators#3441036, constraintLabels#3441035, logisticUnits#3441031, orderQuantityBaseUom#3441032, orderQuantityBaseUomUuid#3441033, splitIndicator#3441023L, netPriceAmount#3441040, netPriceCurrencyCode#3441041, netPriceQuantity#3441042, netPriceQuantityUom#3441043, netPriceQuantityUomUuid#3441044, sourceOfSupplyUuid#3441018, minimumOrderQuantity#3441034, orderProposalItemId#3441005, orderProposalItemGroupId#3441028, optimizationGroups#3441047, measurements#3441045, externalProductId#3441029, externalPlantId#3441030, previousOrderProposal#3441024L, isFallbackOrderOnly#3441021, prodLocSpecificKpis#3441767, channelStreamSpecificKpis#3441782, shardId#3441789, worklistShardItemId#3441790L, quantityKpis#3441783]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3440981, channelStreamSpecificKpis#3441782, constraintLabels#3440993, constraintOperators#3440994, constraintValues#3440996, deliveryDateTime#3440980, isFallbackOrderOnly#3440983, logisticUnits#3440998, measurements#3440991, minimumOrderQuantity#3440992, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, nextAvailabilityDateTime#3440982, optimizationGroups#3440999, orderDateTime#3440979, orderProposalId#3440961L, orderProposalItemGroupId#3440963, orderProposalItemId#3440962, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, originalReplenishmentRunId#3440964L, plant#3440975, previousOrderProposal#3440967L, prodLocSpecificKpis#3441767, product#3440974, productGroup#3441003, qty#3440805, quantityAfterProdPlantOptimization#3440804, quantityKpis#3441795, shardId#3440291, sourceOfSupplyUuid#3440970, splitIndicator#3440966L, subrange#3440973, supplier#3440972, supplierGroup#3440971, supplyingPlant#3441002]
Condition : NOT (isFallbackOrderOnly#3440983 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3440291, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, productGroup#3441003, product#3440974, plant#3440975, subrange#3440973, orderDateTime#3440979, deliveryDateTime#3440980, availabilityDateTime#3440981, nextAvailabilityDateTime#3440982, logisticUnits#3440998, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, splitIndicator#3440966L, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, sourceOfSupplyUuid#3440970, minimumOrderQuantity#3440992, orderProposalItemId#3440962, orderProposalItemGroupId#3440963, optimizationGroups#3440999, measurements#3440991, previousOrderProposal#3440967L, prodLocSpecificKpis#3441767, channelStreamSpecificKpis#3441782, quantityKpis#3441795, arrays_zip(constraintLabels#3440993, constraintOperators#3440994, constraintValues#3440996, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3442209]
Input [39]: [availabilityDateTime#3440981, channelStreamSpecificKpis#3441782, constraintLabels#3440993, constraintOperators#3440994, constraintValues#3440996, deliveryDateTime#3440980, isFallbackOrderOnly#3440983, logisticUnits#3440998, measurements#3440991, minimumOrderQuantity#3440992, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, nextAvailabilityDateTime#3440982, optimizationGroups#3440999, orderDateTime#3440979, orderProposalId#3440961L, orderProposalItemGroupId#3440963, orderProposalItemId#3440962, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, originalReplenishmentRunId#3440964L, plant#3440975, previousOrderProposal#3440967L, prodLocSpecificKpis#3441767, product#3440974, productGroup#3441003, qty#3440805, quantityAfterProdPlantOptimization#3440804, quantityKpis#3441795, shardId#3440291, sourceOfSupplyUuid#3440970, splitIndicator#3440966L, subrange#3440973, supplier#3440972, supplierGroup#3440971, supplyingPlant#3441002]
(55) Project
Output [37]: [shardId#3440291, qty#3440805, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, productGroup#3441003, product#3440974, plant#3440975, subrange#3440973, orderDateTime#3440979, deliveryDateTime#3440980, availabilityDateTime#3440981, nextAvailabilityDateTime#3440982, logisticUnits#3440998, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, splitIndicator#3440966L, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, sourceOfSupplyUuid#3440970, orderProposalItemId#3440962, orderProposalItemGroupId#3440963, optimizationGroups#3440999, measurements#3440991, previousOrderProposal#3440967L, prodLocSpecificKpis#3441767, channelStreamSpecificKpis#3441782, quantityKpis#3441795, struct(minServiceLevel, array_min(filter(constraintStructArray#3442209, lambdafunction((lambda x_11399#3442216.constraintLabels = ServiceLevel), lambda x_11399#3442216, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3442209, lambdafunction((lambda x_11400#3442217.constraintLabels = ServiceLevelMinimumStock), lambda x_11400#3442217, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3442209, lambdafunction((lambda x_11401#3442218.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11401#3442218, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3442209, lambdafunction((lambda x_11402#3442219.constraintLabels = RangeOfCoverage), lambda x_11402#3442219, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3440992, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3441767, lambdafunction((lambda x_11403#3442220.label = NonListingStartTimestamp), lambda x_11403#3442220, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3442215, CASE WHEN (qty#3440805 <=> quantityAfterProdPlantOptimization#3440804) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3440805 * (cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11404#3442288.isOrderUnit, lambda x_11404#3442288, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11404#3442289.isOrderUnit, lambda x_11404#3442289, false)), 1, None, false).numerator as double))), qty#3440805), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11404#3442290.isOrderUnit, lambda x_11404#3442290, false)), 1, None, false).uom, orderQuantityBaseUom#3440984), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11404#3442291.isOrderUnit, lambda x_11404#3442291, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3440985), candidateOrderQuantityInBaseUnit, qty#3440805, orderQuantityBaseUom, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3440985, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3440998, lambdafunction((lambda x_11406#3442292.isPreferred AND (((qty#3440805 * cast(lambda x_11406#3442292.denominator as double)) % cast(lambda x_11406#3442292.numerator as double)) = 0.0)), lambda x_11406#3442292, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3440805 * cast(lambda x_11407#3442333.denominator as double)) / cast(lambda x_11407#3442333.numerator as double)), uom, lambda x_11407#3442333.uom, uomUuid, lambda x_11407#3442333.uomUuid), lambda x_11407#3442333, false))).inPreferredQuantity, coalesce((qty#3440805 * (cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11405#3442293.isOrderUnit, lambda x_11405#3442293, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11405#3442294.isOrderUnit, lambda x_11405#3442294, false)), 1, None, false).numerator as double))), qty#3440805)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3440998, lambdafunction((lambda x_11406#3442295.isPreferred AND (((qty#3440805 * cast(lambda x_11406#3442295.denominator as double)) % cast(lambda x_11406#3442295.numerator as double)) = 0.0)), lambda x_11406#3442295, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3440805 * cast(lambda x_11407#3442334.denominator as double)) / cast(lambda x_11407#3442334.numerator as double)), uom, lambda x_11407#3442334.uom, uomUuid, lambda x_11407#3442334.uomUuid), lambda x_11407#3442334, false))).uom, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11405#3442296.isOrderUnit, lambda x_11405#3442296, false)), 1, None, false).uom, orderQuantityBaseUom#3440984)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3440998, lambdafunction((lambda x_11406#3442297.isPreferred AND (((qty#3440805 * cast(lambda x_11406#3442297.denominator as double)) % cast(lambda x_11406#3442297.numerator as double)) = 0.0)), lambda x_11406#3442297, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3440805 * cast(lambda x_11407#3442335.denominator as double)) / cast(lambda x_11407#3442335.numerator as double)), uom, lambda x_11407#3442335.uom, uomUuid, lambda x_11407#3442335.uomUuid), lambda x_11407#3442335, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11405#3442298.isOrderUnit, lambda x_11405#3442298, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3440985)), serviceLevel, coalesce(filter(element_at(quantityKpis#3441795, qty#3440805, None, false), lambdafunction((lambda x_11412#3442299.label = ServiceLevel), lambda x_11412#3442299, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3440805 * (cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11404#3442303.isOrderUnit, lambda x_11404#3442303, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11404#3442304.isOrderUnit, lambda x_11404#3442304, false)), 1, None, false).numerator as double))), qty#3440805), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11404#3442305.isOrderUnit, lambda x_11404#3442305, false)), 1, None, false).uom, orderQuantityBaseUom#3440984), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11404#3442306.isOrderUnit, lambda x_11404#3442306, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3440985), candidateOrderQuantityInBaseUnit, qty#3440805, orderQuantityBaseUom, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3440985, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3440998, lambdafunction((lambda x_11406#3442307.isPreferred AND (((qty#3440805 * cast(lambda x_11406#3442307.denominator as double)) % cast(lambda x_11406#3442307.numerator as double)) = 0.0)), lambda x_11406#3442307, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3440805 * cast(lambda x_11407#3442336.denominator as double)) / cast(lambda x_11407#3442336.numerator as double)), uom, lambda x_11407#3442336.uom, uomUuid, lambda x_11407#3442336.uomUuid), lambda x_11407#3442336, false))).inPreferredQuantity, coalesce((qty#3440805 * (cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11405#3442308.isOrderUnit, lambda x_11405#3442308, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11405#3442309.isOrderUnit, lambda x_11405#3442309, false)), 1, None, false).numerator as double))), qty#3440805)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3440998, lambdafunction((lambda x_11406#3442310.isPreferred AND (((qty#3440805 * cast(lambda x_11406#3442310.denominator as double)) % cast(lambda x_11406#3442310.numerator as double)) = 0.0)), lambda x_11406#3442310, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3440805 * cast(lambda x_11407#3442337.denominator as double)) / cast(lambda x_11407#3442337.numerator as double)), uom, lambda x_11407#3442337.uom, uomUuid, lambda x_11407#3442337.uomUuid), lambda x_11407#3442337, false))).uom, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11405#3442311.isOrderUnit, lambda x_11405#3442311, false)), 1, None, false).uom, orderQuantityBaseUom#3440984)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3440998, lambdafunction((lambda x_11406#3442312.isPreferred AND (((qty#3440805 * cast(lambda x_11406#3442312.denominator as double)) % cast(lambda x_11406#3442312.numerator as double)) = 0.0)), lambda x_11406#3442312, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3440805 * cast(lambda x_11407#3442338.denominator as double)) / cast(lambda x_11407#3442338.numerator as double)), uom, lambda x_11407#3442338.uom, uomUuid, lambda x_11407#3442338.uomUuid), lambda x_11407#3442338, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11405#3442313.isOrderUnit, lambda x_11405#3442313, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3440985)), serviceLevel, coalesce(filter(element_at(quantityKpis#3441795, qty#3440805, None, false), lambdafunction((lambda x_11416#3442314.label = ServiceLevel), lambda x_11416#3442314, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3440804 * (cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11408#3442318.isOrderUnit, lambda x_11408#3442318, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11408#3442319.isOrderUnit, lambda x_11408#3442319, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3440804), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11408#3442320.isOrderUnit, lambda x_11408#3442320, false)), 1, None, false).uom, orderQuantityBaseUom#3440984), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11408#3442321.isOrderUnit, lambda x_11408#3442321, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3440985), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3440804, orderQuantityBaseUom, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3440985, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3440998, lambdafunction((lambda x_11410#3442322.isPreferred AND (((quantityAfterProdPlantOptimization#3440804 * cast(lambda x_11410#3442322.denominator as double)) % cast(lambda x_11410#3442322.numerator as double)) = 0.0)), lambda x_11410#3442322, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3440804 * cast(lambda x_11411#3442339.denominator as double)) / cast(lambda x_11411#3442339.numerator as double)), uom, lambda x_11411#3442339.uom, uomUuid, lambda x_11411#3442339.uomUuid), lambda x_11411#3442339, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3440804 * (cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11409#3442323.isOrderUnit, lambda x_11409#3442323, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11409#3442324.isOrderUnit, lambda x_11409#3442324, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3440804)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3440998, lambdafunction((lambda x_11410#3442325.isPreferred AND (((quantityAfterProdPlantOptimization#3440804 * cast(lambda x_11410#3442325.denominator as double)) % cast(lambda x_11410#3442325.numerator as double)) = 0.0)), lambda x_11410#3442325, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3440804 * cast(lambda x_11411#3442340.denominator as double)) / cast(lambda x_11411#3442340.numerator as double)), uom, lambda x_11411#3442340.uom, uomUuid, lambda x_11411#3442340.uomUuid), lambda x_11411#3442340, false))).uom, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11409#3442326.isOrderUnit, lambda x_11409#3442326, false)), 1, None, false).uom, orderQuantityBaseUom#3440984)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3440998, lambdafunction((lambda x_11410#3442327.isPreferred AND (((quantityAfterProdPlantOptimization#3440804 * cast(lambda x_11410#3442327.denominator as double)) % cast(lambda x_11410#3442327.numerator as double)) = 0.0)), lambda x_11410#3442327, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3440804 * cast(lambda x_11411#3442341.denominator as double)) / cast(lambda x_11411#3442341.numerator as double)), uom, lambda x_11411#3442341.uom, uomUuid, lambda x_11411#3442341.uomUuid), lambda x_11411#3442341, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11409#3442328.isOrderUnit, lambda x_11409#3442328, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3440985)), serviceLevel, coalesce(filter(element_at(quantityKpis#3441795, quantityAfterProdPlantOptimization#3440804, None, false), lambdafunction((lambda x_11420#3442329.label = ServiceLevel), lambda x_11420#3442329, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3442287, coalesce(filter(prodLocSpecificKpis#3441767, lambdafunction((lambda x_11424#3442343.label = InitialStockQty), lambda x_11424#3442343, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3442342, coalesce(filter(prodLocSpecificKpis#3441767, lambdafunction((lambda x_11425#3442345.label = DemandPeriodEndTimestamp), lambda x_11425#3442345, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3442344]
Input [36]: [shardId#3440291, quantityAfterProdPlantOptimization#3440804, qty#3440805, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, productGroup#3441003, product#3440974, plant#3440975, subrange#3440973, orderDateTime#3440979, deliveryDateTime#3440980, availabilityDateTime#3440981, nextAvailabilityDateTime#3440982, logisticUnits#3440998, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, splitIndicator#3440966L, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, sourceOfSupplyUuid#3440970, minimumOrderQuantity#3440992, orderProposalItemId#3440962, orderProposalItemGroupId#3440963, optimizationGroups#3440999, measurements#3440991, previousOrderProposal#3440967L, prodLocSpecificKpis#3441767, channelStreamSpecificKpis#3441782, quantityKpis#3441795, constraintStructArray#3442209]
(56) Project
Output [21]: [shardId#3440291, qty#3440805, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, productGroup#3441003, product#3440974, plant#3440975, subrange#3440973, orderDateTime#3440979, deliveryDateTime#3440980, logisticUnits#3440998, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, splitIndicator#3440966L, orderProposalItemId#3440962, orderProposalItemGroupId#3440963, previousOrderProposal#3440967L, struct(itemId, orderProposalItemId#3440962, itemGroupId, orderProposalItemGroupId#3440963, supplier, supplier#3440972, supplyingPlant, supplyingPlant#3441002, productGroup, productGroup#3441003, product, product#3440974, plant, plant#3440975, supplierSubRange, subrange#3440973, sourceOfSupplyUuid, sourceOfSupplyUuid#3440970, deliveryDateTime, deliveryDateTime#3440980, unitPrice, netPriceAmount#3440989, unitPriceCurrency, netPriceCurrencyCode#3440990, unitPriceQuantity, ... 37 more fields) AS parentItem#3442418]
Input [37]: [shardId#3440291, qty#3440805, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, productGroup#3441003, product#3440974, plant#3440975, subrange#3440973, orderDateTime#3440979, deliveryDateTime#3440980, availabilityDateTime#3440981, nextAvailabilityDateTime#3440982, logisticUnits#3440998, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, splitIndicator#3440966L, netPriceAmount#3440989, netPriceCurrencyCode#3440990, netPriceQuantity#3440986, netPriceQuantityUom#3440987, netPriceQuantityUomUuid#3440988, sourceOfSupplyUuid#3440970, orderProposalItemId#3440962, orderProposalItemGroupId#3440963, optimizationGroups#3440999, measurements#3440991, previousOrderProposal#3440967L, prodLocSpecificKpis#3441767, channelStreamSpecificKpis#3441782, quantityKpis#3441795, constraintBenchmark#3442215, calculationAnalysis#3442287, inventoryDateTime#3442342, demandPeriodEndDateTime#3442344]
(57) Project
Output [12]: [shardId#3440291, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, orderDateTime#3440979, splitIndicator#3440966L, orderProposalItemGroupId#3440963, previousOrderProposal#3440967L, parentItem#3442418, struct(itemId, orderProposalItemId#3440962, supplier, supplier#3440972, supplyingPlant, supplyingPlant#3441002, productGroup, productGroup#3441003, product, product#3440974, plant, plant#3440975, supplierSubRange, subrange#3440973, deliveryDateTime, deliveryDateTime#3440980, orderQuantity, coalesce((qty#3440805 * (cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11449#3442452.isOrderUnit, lambda x_11449#3442452, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11449#3442453.isOrderUnit, lambda x_11449#3442453, false)), 1, None, false).numerator as double))), qty#3440805), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11449#3442454.isOrderUnit, lambda x_11449#3442454, false)), 1, None, false).uom, orderQuantityBaseUom#3440984), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3440998, lambdafunction(lambda x_11449#3442455.isOrderUnit, lambda x_11449#3442455, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3440985), orderQuantityInBaseUnit, qty#3440805, orderQuantityBaseUom, ... 13 more fields) AS item#3442449]
Input [21]: [shardId#3440291, qty#3440805, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, productGroup#3441003, product#3440974, plant#3440975, subrange#3440973, orderDateTime#3440979, deliveryDateTime#3440980, logisticUnits#3440998, orderQuantityBaseUom#3440984, orderQuantityBaseUomUuid#3440985, splitIndicator#3440966L, orderProposalItemId#3440962, orderProposalItemGroupId#3440963, previousOrderProposal#3440967L, parentItem#3442418]
(58) ObjectHashAggregate
Input [12]: [shardId#3440291, orderProposalId#3440961L, originalReplenishmentRunId#3440964L, supplierGroup#3440971, supplier#3440972, supplyingPlant#3441002, orderDateTime#3440979, splitIndicator#3440966L, orderProposalItemGroupId#3440963, previousOrderProposal#3440967L, parentItem#3442418, item#3442449]
Keys [4]: [shardId#3440291, orderProposalId#3440961L, splitIndicator#3440966L, orderProposalItemGroupId#3440963]
Functions [8]: [partial_max(originalReplenishmentRunId#3440964L), partial_max(supplierGroup#3440971), partial_max(supplier#3440972), partial_max(supplyingPlant#3441002), partial_max(orderDateTime#3440979), partial_collect_list(parentItem#3442418, 0, 0), partial_collect_set(previousOrderProposal#3440967L, 0, 0), partial_collect_list(item#3442449, 0, 0)]
Aggregate Attributes [8]: [max#3443702L, max#3443703, max#3443704, max#3443705, max#3443706, buf#3443707, buf#3443708, buf#3443709]
Results [12]: [shardId#3440291, orderProposalId#3440961L, splitIndicator#3440966L, orderProposalItemGroupId#3440963, max#3443710L, max#3443711, max#3443712, max#3443713, max#3443714, buf#3443715, buf#3443716, buf#3443717]
(59) Exchange
Input [12]: [shardId#3440291, orderProposalId#3440961L, splitIndicator#3440966L, orderProposalItemGroupId#3440963, max#3443710L, max#3443711, max#3443712, max#3443713, max#3443714, buf#3443715, buf#3443716, buf#3443717]
Arguments: hashpartitioning(shardId#3440291, orderProposalId#3440961L, splitIndicator#3440966L, orderProposalItemGroupId#3440963, 30), ENSURE_REQUIREMENTS, [plan_id=990136]
(60) ObjectHashAggregate
Input [12]: [shardId#3440291, orderProposalId#3440961L, splitIndicator#3440966L, orderProposalItemGroupId#3440963, max#3443710L, max#3443711, max#3443712, max#3443713, max#3443714, buf#3443715, buf#3443716, buf#3443717]
Keys [4]: [shardId#3440291, orderProposalId#3440961L, splitIndicator#3440966L, orderProposalItemGroupId#3440963]
Functions [8]: [max(originalReplenishmentRunId#3440964L), max(supplierGroup#3440971), max(supplier#3440972), max(supplyingPlant#3441002), max(orderDateTime#3440979), collect_list(parentItem#3442418, 0, 0), collect_set(previousOrderProposal#3440967L, 0, 0), collect_list(item#3442449, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3440964L)#3442518L, max(supplierGroup#3440971)#3442519, max(supplier#3440972)#3442520, max(supplyingPlant#3441002)#3442521, max(orderDateTime#3440979)#3442522, collect_list(parentItem#3442418, 0, 0)#3442523, collect_set(previousOrderProposal#3440967L, 0, 0)#3442525, collect_list(item#3442449, 0, 0)#3442524]
Results [10]: [shardId#3440291, orderProposalId#3440961L, max(originalReplenishmentRunId#3440964L)#3442518L AS originalReplenishmentRunId#3442466L, max(supplierGroup#3440971)#3442519 AS supplierGroup#3442467, max(supplier#3440972)#3442520 AS supplier#3442468, max(supplyingPlant#3441002)#3442521 AS supplyingPlant#3442469, max(orderDateTime#3440979)#3442522 AS orderDateTime#3442470, collect_list(parentItem#3442418, 0, 0)#3442523 AS parentItems#3442471, collect_set(previousOrderProposal#3440967L, 0, 0)#3442525 AS previousOrderProposals#3442473, struct(itemGroupId, orderProposalItemGroupId#3440963, items, collect_list(item#3442449, 0, 0)#3442524) AS itemGroup#3442527]
(61) ObjectHashAggregate
Input [10]: [shardId#3440291, orderProposalId#3440961L, originalReplenishmentRunId#3442466L, supplierGroup#3442467, supplier#3442468, supplyingPlant#3442469, orderDateTime#3442470, parentItems#3442471, previousOrderProposals#3442473, itemGroup#3442527]
Keys [2]: [shardId#3440291, orderProposalId#3440961L]
Functions [8]: [partial_max(originalReplenishmentRunId#3442466L), partial_max(supplierGroup#3442467), partial_max(supplier#3442468), partial_max(supplyingPlant#3442469), partial_max(orderDateTime#3442470), partial_collect_list(itemGroup#3442527, 0, 0), partial_collect_list(parentItems#3442471, 0, 0), partial_collect_set(previousOrderProposals#3442473, 0, 0)]
Aggregate Attributes [8]: [max#3443686L, max#3443687, max#3443688, max#3443689, max#3443690, buf#3443691, buf#3443692, buf#3443693]
Results [10]: [shardId#3440291, orderProposalId#3440961L, max#3443694L, max#3443695, max#3443696, max#3443697, max#3443698, buf#3443699, buf#3443700, buf#3443701]
(62) Exchange
Input [10]: [shardId#3440291, orderProposalId#3440961L, max#3443694L, max#3443695, max#3443696, max#3443697, max#3443698, buf#3443699, buf#3443700, buf#3443701]
Arguments: hashpartitioning(shardId#3440291, orderProposalId#3440961L, 30), ENSURE_REQUIREMENTS, [plan_id=990139]
(63) ObjectHashAggregate
Input [10]: [shardId#3440291, orderProposalId#3440961L, max#3443694L, max#3443695, max#3443696, max#3443697, max#3443698, buf#3443699, buf#3443700, buf#3443701]
Keys [2]: [shardId#3440291, orderProposalId#3440961L]
Functions [8]: [max(originalReplenishmentRunId#3442466L), max(supplierGroup#3442467), max(supplier#3442468), max(supplyingPlant#3442469), max(orderDateTime#3442470), collect_list(itemGroup#3442527, 0, 0), collect_list(parentItems#3442471, 0, 0), collect_set(previousOrderProposals#3442473, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3442466L)#3442549L, max(supplierGroup#3442467)#3442550, max(supplier#3442468)#3442551, max(supplyingPlant#3442469)#3442552, max(orderDateTime#3442470)#3442553, collect_list(itemGroup#3442527, 0, 0)#3442554, collect_list(parentItems#3442471, 0, 0)#3442555, collect_set(previousOrderProposals#3442473, 0, 0)#3442556]
Results [10]: [shardId#3440291, orderProposalId#3440961L, max(originalReplenishmentRunId#3442466L)#3442549L AS originalReplenishmentRunId#3442528L, max(supplierGroup#3442467)#3442550 AS supplierGroup#3442529, max(supplier#3442468)#3442551 AS supplier#3442530, max(supplyingPlant#3442469)#3442552 AS supplyingPlant#3442531, max(orderDateTime#3442470)#3442553 AS orderDateTime#3442532, collect_list(itemGroup#3442527, 0, 0)#3442554 AS itemGroups#3442533, flatten(collect_list(parentItems#3442471, 0, 0)#3442555) AS parentItems#3442534, flatten(collect_set(previousOrderProposals#3442473, 0, 0)#3442556) AS previousOrderProposals#3442535]
(64) Project
Output [2]: [shardId#3440291, struct(orderProposalId, orderProposalId#3440961L, originalReplenishmentRunId, originalReplenishmentRunId#3442528L, supplierGroup, supplierGroup#3442529, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3442529) THEN supplier#3442530 END, supplyingPlant, supplyingPlant#3442531, orderDateTime, orderDateTime#3442532, itemGroups, itemGroups#3442533, previousOrderProposals, array_distinct(previousOrderProposals#3442535), parentItems, parentItems#3442534) AS orderProposal#3442560]
Input [10]: [shardId#3440291, orderProposalId#3440961L, originalReplenishmentRunId#3442528L, supplierGroup#3442529, supplier#3442530, supplyingPlant#3442531, orderDateTime#3442532, itemGroups#3442533, parentItems#3442534, previousOrderProposals#3442535]
(65) Project
Output [11]: [shardId#3440291, orderProposal#3442560.orderProposalId AS _extract_orderProposalId#3443318L, orderProposal#3442560.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3443319L, orderProposal#3442560.supplierGroup AS _extract_supplierGroup#3443320, orderProposal#3442560.supplier AS _extract_supplier#3443321, orderProposal#3442560.supplyingPlant AS _extract_supplyingPlant#3443322, orderProposal#3442560.orderDateTime AS _extract_orderDateTime#3443323, orderProposal#3442560.itemGroups AS _extract_itemGroups#3443324, orderProposal#3442560.previousOrderProposals AS _extract_previousOrderProposals#3443325, orderProposal#3442560.parentItems AS _extract_parentItems#3443326, orderProposal#3442560.orderProposalId AS _extract_orderProposalId#3443327L]
Input [2]: [shardId#3440291, orderProposal#3442560]
(66) Exchange
Input [11]: [shardId#3440291, _extract_orderProposalId#3443318L, _extract_originalReplenishmentRunId#3443319L, _extract_supplierGroup#3443320, _extract_supplier#3443321, _extract_supplyingPlant#3443322, _extract_orderDateTime#3443323, _extract_itemGroups#3443324, _extract_previousOrderProposals#3443325, _extract_parentItems#3443326, _extract_orderProposalId#3443327L]
Arguments: hashpartitioning(coalesce(shardId#3440291, ), isnull(shardId#3440291), coalesce(_extract_orderProposalId#3443327L, 0), isnull(_extract_orderProposalId#3443327L), 30), ENSURE_REQUIREMENTS, [plan_id=990143]
(67) Sort
Input [11]: [shardId#3440291, _extract_orderProposalId#3443318L, _extract_originalReplenishmentRunId#3443319L, _extract_supplierGroup#3443320, _extract_supplier#3443321, _extract_supplyingPlant#3443322, _extract_orderDateTime#3443323, _extract_itemGroups#3443324, _extract_previousOrderProposals#3443325, _extract_parentItems#3443326, _extract_orderProposalId#3443327L]
Arguments: [coalesce(shardId#3440291, ) ASC NULLS FIRST, isnull(shardId#3440291) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3443327L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3443327L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3442575, orderProposalId#3442576L, optimizationGroups#3442578]
Arguments: [shardId#3442575, orderProposalId#3442576L, optimizationGroups#3442578], [isnotnull(orderProposalId#3442576L)]
(69) InMemoryRelation
Arguments: [shardId#3442575, orderProposalId#3442576L, items#3442577, optimizationGroups#3442578, isOptimal#3442579, optimizationInsights#3442581], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3442575, orderProposalId#3442576L, optimizationGroups#3442578]
Condition : isnotnull(orderProposalId#3442576L)
(71) Exchange
Input [3]: [shardId#3442575, orderProposalId#3442576L, optimizationGroups#3442578]
Arguments: hashpartitioning(orderProposalId#3442576L, 30), ENSURE_REQUIREMENTS, [plan_id=990148]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3442575, orderProposalId#3442576L, optimizationGroups#3442578]
Arguments: [orderProposalId#3442576L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3442204, shardId#3442202]
Arguments: [items#3442204, shardId#3442202], [(size(items#3442204.worklistShardItemId, true) > 0), isnotnull(items#3442204.worklistShardItemId), (shardId#3442202 = 0_5_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3442202, orderProposalId#3442203L, items#3442204, optimizationGroups#3442205, isOptimal#3442206, optimizationInsights#3442208], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3442204, shardId#3442202]
Condition : (((size(items#3442204.worklistShardItemId, true) > 0) AND isnotnull(items#3442204.worklistShardItemId)) AND (shardId#3442202 = 0_5_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3442204.worklistShardItemId AS _extract_worklistShardItemId#3443223]
Input [2]: [items#3442204, shardId#3442202]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3443223]
Arguments: explode(_extract_worklistShardItemId#3443223), false, [item#3442582L]
(78) Project [codegen id : 4]
Output [1]: [item#3442582L AS worklistShardItemId#3442583L]
Input [1]: [item#3442582L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3442583L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=990159]
(80) Scan parquet
Output [5]: [orderProposalId#3442631L, isFallbackOrderOnly#3442648, worklistShardItemId#3442654L, shardId#3442675, sequenceId#3442653]
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#3442675), isnotnull(sequenceId#3442653), (shardId#3442675 = 0_5_10000000532), (sequenceId#3442653 = 3)]
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#3442631L, isFallbackOrderOnly#3442648, worklistShardItemId#3442654L, shardId#3442675, sequenceId#3442653]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3442631L, isFallbackOrderOnly#3442648, worklistShardItemId#3442654L, shardId#3442675, sequenceId#3442653]
Condition : ((isnotnull(worklistShardItemId#3442654L) AND NOT (isFallbackOrderOnly#3442648 <=> true)) AND isnotnull(orderProposalId#3442631L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3442631L, worklistShardItemId#3442654L]
Input [5]: [orderProposalId#3442631L, isFallbackOrderOnly#3442648, worklistShardItemId#3442654L, shardId#3442675, sequenceId#3442653]
(84) Exchange
Input [2]: [orderProposalId#3442631L, worklistShardItemId#3442654L]
Arguments: hashpartitioning(worklistShardItemId#3442654L, 30), REPARTITION_BY_NUM, [plan_id=990166]
(85) Project
Output [2]: [worklistShardItemId#3442654L, orderProposalId#3442631L]
Input [2]: [orderProposalId#3442631L, worklistShardItemId#3442654L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3442583L]
Right keys [1]: [worklistShardItemId#3442654L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3442631L]
Input [3]: [worklistShardItemId#3442583L, worklistShardItemId#3442654L, orderProposalId#3442631L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3442631L]
Keys [1]: [orderProposalId#3442631L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3442631L]
(89) Exchange
Input [1]: [orderProposalId#3442631L]
Arguments: hashpartitioning(orderProposalId#3442631L, 30), ENSURE_REQUIREMENTS, [plan_id=990173]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3442631L]
Keys [1]: [orderProposalId#3442631L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3442631L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3442631L]
Arguments: [orderProposalId#3442631L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3442576L]
Right keys [1]: [orderProposalId#3442631L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3442576L, shardId#3442575, coalesce(transform(optimizationGroups#3442578, lambdafunction(struct(optGroupId, lambda x_11453#3442573.optGroupId, minOrderProfile, lambda x_11453#3442573.minOrderProfile, assignmentDetails, lambda x_11453#3442573.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11453#3442573.minOrderGoal.dimensionType, unit, lambda x_11453#3442573.minOrderGoal.unit, unitUuid, lambda x_11453#3442573.minOrderGoal.unitUuid, goalValue, lambda x_11453#3442573.minOrderGoal.minOrderValue, calcValue, lambda x_11453#3442573.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11453#3442573, false)), []) AS optimizationGroups#3442572]
Input [4]: [shardId#3442575, orderProposalId#3442576L, optimizationGroups#3442578, orderProposalId#3442631L]
(94) Exchange
Input [3]: [orderProposalId#3442576L, shardId#3442575, optimizationGroups#3442572]
Arguments: hashpartitioning(coalesce(shardId#3442575, ), isnull(shardId#3442575), coalesce(orderProposalId#3442576L, 0), isnull(orderProposalId#3442576L), 30), ENSURE_REQUIREMENTS, [plan_id=990182]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3442576L, shardId#3442575, optimizationGroups#3442572]
Arguments: [coalesce(shardId#3442575, ) ASC NULLS FIRST, isnull(shardId#3442575) ASC NULLS FIRST, coalesce(orderProposalId#3442576L, 0) ASC NULLS FIRST, isnull(orderProposalId#3442576L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3440291, ), isnull(shardId#3440291), coalesce(_extract_orderProposalId#3443327L, 0), isnull(_extract_orderProposalId#3443327L)]
Right keys [4]: [coalesce(shardId#3442575, ), isnull(shardId#3442575), coalesce(orderProposalId#3442576L, 0), isnull(orderProposalId#3442576L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3440291, named_struct(orderProposalId, _extract_orderProposalId#3443327L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3443319L, supplierGroup, _extract_supplierGroup#3443320, optimizationGroups, coalesce(optimizationGroups#3442572, []), supplier, _extract_supplier#3443321, supplyingPlant, _extract_supplyingPlant#3443322, orderDateTime, _extract_orderDateTime#3443323, itemGroups, _extract_itemGroups#3443324, previousOrderProposals, _extract_previousOrderProposals#3443325, parentItems, _extract_parentItems#3443326) AS orderProposal#3442679]
Input [14]: [shardId#3440291, _extract_orderProposalId#3443318L, _extract_originalReplenishmentRunId#3443319L, _extract_supplierGroup#3443320, _extract_supplier#3443321, _extract_supplyingPlant#3443322, _extract_orderDateTime#3443323, _extract_itemGroups#3443324, _extract_previousOrderProposals#3443325, _extract_parentItems#3443326, _extract_orderProposalId#3443327L, orderProposalId#3442576L, shardId#3442575, optimizationGroups#3442572]
(98) Filter
Input [1]: [orderProposal#3442679]
Condition : (size(orderProposal#3442679.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3442679.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3444098]
Input [1]: [orderProposal#3442679]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3444098]
Arguments: explode(_extract_deliveryDateTime#3444098), false, [numberOfOrderProposalItems#3444070]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3444070]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3444109L]
Results [1]: [count#3444110L]
(103) Exchange
Input [1]: [count#3444110L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=990309]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3444110L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3444075L]
Results [1]: [count(1)#3444075L AS count#3444071L]