digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 3 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 2 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 900.0 B<br>merged fetch fallback count: 0<br>local blocks read: 12<br>remote merged chunks fetched: 0<br>remote blocks read: 18<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 329800.0: task 928190))<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 329800.0: task 928197))<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: 1350.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 329800.0: task 928190))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1017881]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n244 ms (5 ms, 8 ms, 13 ms (stage 329800.0: task 928198))";
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>234 ms (5 ms, 7 ms, 12 ms (stage 329800.0: task 928192))<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: 111,276" tooltip="Generate explode(_extract_deliveryDateTime#3553661), false, [numberOfOrderProposalItems#3553633]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3552242.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3553661]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,195" tooltip="Filter (size(orderProposal#3552242.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,195" tooltip="InMemoryTableScan [orderProposal#3552242], [(size(orderProposal#3552242.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, named_struct(orderProposalId, _extract_orderProposalId#3552890L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3552882L, supplierGroup, _extract_supplierGroup#3552883, optimizationGroups, coalesce(optimizationGroups#3552135, []), supplier, _extract_supplier#3552884, supplyingPlant, _extract_supplyingPlant#3552885, orderDateTime, _extract_orderDateTime#3552886, itemGroups, _extract_itemGroups#3552887, previousOrderProposals, _extract_previousOrderProposals#3552888, parentItems, _extract_parentItems#3552889) AS orderProposal#3552242]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,195<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329800.0: task 928190))" tooltip="SortMergeJoin [coalesce(shardId#3538856, ), isnull(shardId#3538856), coalesce(_extract_orderProposalId#3552890L, 0), isnull(_extract_orderProposalId#3552890L)], [coalesce(shardId#3552138, ), isnull(shardId#3552138), coalesce(orderProposalId#3552139L, 0), isnull(orderProposalId#3552139L)], 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 329800.0: task 928190))<br>peak memory total (min, med, max (stageId: taskId))<br>235.9 MiB (6.1 MiB, 8.1 MiB, 10.1 MiB (stage 329800.0: task 928192))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329800.0: task 928190))" tooltip="Sort [coalesce(shardId#3538856, ) ASC NULLS FIRST, isnull(shardId#3538856) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3552890L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3552890L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,195<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,195<br>local bytes read total (min, med, max (stageId: taskId))<br>10.1 MiB (151.7 KiB, 380.4 KiB, 525.4 KiB (stage 329800.0: task 928252))<br>merged fetch fallback count: 0<br>local blocks read: 431<br>remote merged chunks fetched: 0<br>remote blocks read: 392<br>data size total (min, med, max (stageId: taskId))<br>201.7 MiB (5.2 MiB, 6.9 MiB, 7.8 MiB (stage 329799.0: task 928112))<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>333 ms (2 ms, 3 ms, 76 ms (stage 329799.0: task 928093))<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 329800.0: task 928190))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.1 MiB (134.2 KiB, 279.5 KiB, 553.4 KiB (stage 329800.0: task 928245))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>68 ms (1 ms, 2 ms, 4 ms (stage 329800.0: task 928194))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>19.2 MiB (502.5 KiB, 674.6 KiB, 756.5 KiB (stage 329799.0: task 928112))" tooltip="Exchange hashpartitioning(coalesce(shardId#3538856, ), isnull(shardId#3538856), coalesce(_extract_orderProposalId#3552890L, 0), isnull(_extract_orderProposalId#3552890L), 30), ENSURE_REQUIREMENTS, [plan_id=1017715]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, orderProposal#3552123.orderProposalId AS _extract_orderProposalId#3552881L, orderProposal#3552123.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3552882L, orderProposal#3552123.supplierGroup AS _extract_supplierGroup#3552883, orderProposal#3552123.supplier AS _extract_supplier#3552884, orderProposal#3552123.supplyingPlant AS _extract_supplyingPlant#3552885, orderProposal#3552123.orderDateTime AS _extract_orderDateTime#3552886, orderProposal#3552123.itemGroups AS _extract_itemGroups#3552887, orderProposal#3552123.previousOrderProposals AS _extract_previousOrderProposals#3552888, orderProposal#3552123.parentItems AS _extract_parentItems#3552889, orderProposal#3552123.orderProposalId AS _extract_orderProposalId#3552890L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, struct(orderProposalId, orderProposalId#3540426L, originalReplenishmentRunId, originalReplenishmentRunId#3552091L, supplierGroup, supplierGroup#3552092, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3552092) THEN supplier#3552093 END, supplyingPlant, supplyingPlant#3552094, orderDateTime, orderDateTime#3552095, itemGroups, itemGroups#3552096, previousOrderProposals, array_distinct(previousOrderProposals#3552098), parentItems, parentItems#3552097) AS orderProposal#3552123]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,195<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.0 s (16 ms, 37 ms, 54 ms (stage 329799.0: task 928088))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329799.0: task 928086))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3538856, orderProposalId#3540426L], functions=[max(originalReplenishmentRunId#3552029L), max(supplierGroup#3552030), max(supplier#3552031), max(supplyingPlant#3552032), max(orderDateTime#3552033), collect_list(itemGroup#3552090, 0, 0), collect_list(parentItems#3552034, 0, 0), collect_set(previousOrderProposals#3552036, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,195<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,195<br>local bytes read total (min, med, max (stageId: taskId))<br>9.4 MiB (215.9 KiB, 333.6 KiB, 398.2 KiB (stage 329799.0: task 928112))<br>merged fetch fallback count: 0<br>local blocks read: 402<br>remote merged chunks fetched: 0<br>remote blocks read: 421<br>data size total (min, med, max (stageId: taskId))<br>201.9 MiB (5.5 MiB, 6.8 MiB, 8.0 MiB (stage 329794.0: task 928078))<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>153 ms (2 ms, 3 ms, 28 ms (stage 329794.0: task 928067))<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 329799.0: task 928086))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.8 MiB (197.1 KiB, 332.8 KiB, 447.3 KiB (stage 329799.0: task 928118))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>99 ms (1 ms, 3 ms, 6 ms (stage 329799.0: task 928086))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>19.2 MiB (530.2 KiB, 659.2 KiB, 776.2 KiB (stage 329794.0: task 928078))" tooltip="Exchange hashpartitioning(shardId#3538856, orderProposalId#3540426L, 30), ENSURE_REQUIREMENTS, [plan_id=1017711]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,195<br>time in aggregation build total (min, med, max (stageId: taskId))<br>506 ms (4 ms, 7 ms, 47 ms (stage 329794.0: task 928051))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329794.0: task 928050))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3538856, orderProposalId#3540426L], functions=[partial_max(originalReplenishmentRunId#3552029L), partial_max(supplierGroup#3552030), partial_max(supplier#3552031), partial_max(supplyingPlant#3552032), partial_max(orderDateTime#3552033), partial_collect_list(itemGroup#3552090, 0, 0), partial_collect_list(parentItems#3552034, 0, 0), partial_collect_set(previousOrderProposals#3552036, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,195<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.8 s (19 ms, 37 ms, 129 ms (stage 329794.0: task 928049))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329794.0: task 928050))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3538856, orderProposalId#3540426L, splitIndicator#3540431L, orderProposalItemGroupId#3540428], functions=[max(originalReplenishmentRunId#3540429L), max(supplierGroup#3540436), max(supplier#3540437), max(supplyingPlant#3540467), max(orderDateTime#3540444), collect_list(parentItem#3551981, 0, 0), collect_set(previousOrderProposal#3540432L, 0, 0), collect_list(item#3552012, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 53,839<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 53,839<br>local bytes read total (min, med, max (stageId: taskId))<br>13.1 MiB (370.3 KiB, 446.4 KiB, 529.6 KiB (stage 329794.0: task 928078))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 450<br>data size total (min, med, max (stageId: taskId))<br>215.5 MiB (7.0 MiB, 7.2 MiB, 7.4 MiB (stage 329793.0: task 928021))<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>141 ms (2 ms, 3 ms, 23 ms (stage 329793.0: task 928027))<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>41 ms (0 ms, 0 ms, 12 ms (stage 329794.0: task 928078))<br>remote bytes read total (min, med, max (stageId: taskId))<br>13.1 MiB (359.6 KiB, 453.0 KiB, 512.8 KiB (stage 329794.0: task 928070))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>340 ms (1 ms, 6 ms, 34 ms (stage 329794.0: task 928070))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.2 MiB (873.1 KiB, 895.1 KiB, 918.3 KiB (stage 329793.0: task 928021))" tooltip="Exchange hashpartitioning(shardId#3538856, orderProposalId#3540426L, splitIndicator#3540431L, orderProposalItemGroupId#3540428, 30), ENSURE_REQUIREMENTS, [plan_id=1017708]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 53,839<br>time in aggregation build total (min, med, max (stageId: taskId))<br>15.6 s (398 ms, 517 ms, 689 ms (stage 329793.0: task 928020))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329793.0: task 928024))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3538856, orderProposalId#3540426L, splitIndicator#3540431L, orderProposalItemGroupId#3540428], functions=[partial_max(originalReplenishmentRunId#3540429L), partial_max(supplierGroup#3540436), partial_max(supplier#3540437), partial_max(supplyingPlant#3540467), partial_max(orderDateTime#3540444), partial_collect_list(parentItem#3551981, 0, 0), partial_collect_set(previousOrderProposal#3540432L, 0, 0), partial_collect_list(item#3552012, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, orderDateTime#3540444, splitIndicator#3540431L, orderProposalItemGroupId#3540428, previousOrderProposal#3540432L, parentItem#3551981, struct(itemId, orderProposalItemId#3540427, supplier, supplier#3540437, supplyingPlant, supplyingPlant#3540467, productGroup, productGroup#3540468, product, product#3540439, plant, plant#3540440, supplierSubRange, subrange#3540438, deliveryDateTime, deliveryDateTime#3540445, orderQuantity, coalesce((qty#3540270 * (cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11806#3552015.isOrderUnit, lambda x_11806#3552015, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11806#3552016.isOrderUnit, lambda x_11806#3552016, false)), 1, None, false).numerator as double))), qty#3540270), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11806#3552017.isOrderUnit, lambda x_11806#3552017, false)), 1, None, false).uom, orderQuantityBaseUom#3540449), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11806#3552018.isOrderUnit, lambda x_11806#3552018, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3540450), orderQuantityInBaseUnit, qty#3540270, orderQuantityBaseUom, ... 13 more fields) AS item#3552012]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, qty#3540270, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, productGroup#3540468, product#3540439, plant#3540440, subrange#3540438, orderDateTime#3540444, deliveryDateTime#3540445, logisticUnits#3540463, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, splitIndicator#3540431L, orderProposalItemId#3540427, orderProposalItemGroupId#3540428, previousOrderProposal#3540432L, struct(itemId, orderProposalItemId#3540427, itemGroupId, orderProposalItemGroupId#3540428, supplier, supplier#3540437, supplyingPlant, supplyingPlant#3540467, productGroup, productGroup#3540468, product, product#3540439, plant, plant#3540440, supplierSubRange, subrange#3540438, sourceOfSupplyUuid, sourceOfSupplyUuid#3540435, deliveryDateTime, deliveryDateTime#3540445, unitPrice, netPriceAmount#3540454, unitPriceCurrency, netPriceCurrencyCode#3540455, unitPriceQuantity, ... 37 more fields) AS parentItem#3551981]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, qty#3540270, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, productGroup#3540468, product#3540439, plant#3540440, subrange#3540438, orderDateTime#3540444, deliveryDateTime#3540445, availabilityDateTime#3540446, nextAvailabilityDateTime#3540447, logisticUnits#3540463, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, splitIndicator#3540431L, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, sourceOfSupplyUuid#3540435, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n17.2 s (409 ms, 530 ms, 827 ms (stage 329793.0: task 928020))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, productGroup#3540468, product#3540439, plant#3540440, subrange#3540438, orderDateTime#3540444, deliveryDateTime#3540445, availabilityDateTime#3540446, nextAvailabilityDateTime#3540447, logisticUnits#3540463, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, splitIndicator#3540431L, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 111,276" tooltip="Filter NOT (isFallbackOrderOnly#3540448 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 111,276" tooltip="InMemoryTableScan [availabilityDateTime#3540446, channelStreamSpecificKpis#3551345, constraintLabels#3540458, constraintOperators#3540459, constraintValues#3540461, deliveryDateTime#3540445, isFallbackOrderOnly#3540448, logisticUnits#3540463, measurements#3540456, minimumOrderQuantity#3540457, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, nextAvailabilityDateTime#3540447, optimizationGroups#3540464, orderDateTime#3540444, orderProposalId#3540426L, orderProposalItemGroupId#3540428, orderProposalItemId#3540427, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, originalReplenishmentRunId#3540429L, plant#3540440, ... 14 more fields], [NOT (isFallbackOrderOnly#3540448 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n15.4 s (359 ms, 545 ms, 718 ms (stage 329793.0: task 928021))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 111,276<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329793.0: task 928024))" tooltip="SortMergeJoin [shardId#3538856, worklistShardItemId#3540268L], [shardId#3551352, worklistShardItemId#3551353L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n19.2 s (415 ms, 607 ms, 930 ms (stage 329793.0: task 928021))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 111,276<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329793.0: task 928024))" tooltip="SortMergeJoin [shardId#3538856, worklistShardItemId#3540268L], [shardId#3551339, worklistShardItemId#3551340L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n22.3 s (479 ms, 667 ms, 1.1 s (stage 329793.0: task 928021))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 111,276<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329793.0: task 928024))" tooltip="SortMergeJoin [shardId#3538856, worklistShardItemId#3540268L], [shardId#3551323, worklistShardItemId#3551324L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n23.4 s (481 ms, 669 ms, 1.2 s (stage 329793.0: task 928021))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>36 ms (1 ms, 1 ms, 3 ms (stage 329793.0: task 928032))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 329793.0: task 928024))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329793.0: task 928024))" tooltip="Sort [shardId#3538856 ASC NULLS FIRST, worklistShardItemId#3540268L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 111,276<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 111,276<br>local bytes read total (min, med, max (stageId: taskId))<br>13.0 MiB (333.3 KiB, 514.2 KiB, 544.6 KiB (stage 329793.0: task 928034))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 450<br>data size total (min, med, max (stageId: taskId))<br>128.3 MiB (4.1 MiB, 4.3 MiB, 4.5 MiB (stage 329790.0: task 927887))<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>134 ms (2 ms, 3 ms, 24 ms (stage 329790.0: task 927886))<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 329793.0: task 928024))<br>remote bytes read total (min, med, max (stageId: taskId))<br>12.9 MiB (335.6 KiB, 515.7 KiB, 552.6 KiB (stage 329793.0: task 928021))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>388 ms (1 ms, 5 ms, 38 ms (stage 329793.0: task 928031))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>25.9 MiB (858.8 KiB, 880.9 KiB, 917.0 KiB (stage 329790.0: task 927887))" tooltip="Exchange hashpartitioning(shardId#3538856, worklistShardItemId#3540268L, 30), ENSURE_REQUIREMENTS, [plan_id=1017423]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (39 ms, 65 ms, 88 ms (stage 329790.0: task 927916))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 111,276<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329790.0: task 927886))" tooltip="SortMergeJoin [worklistShardItemId#3540268L], [worklistShardItemId#3540492L], LeftOuter, (shardId#3538856 = 0_2_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.2 s (40 ms, 66 ms, 207 ms (stage 329790.0: task 927886))";
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 329790.0: task 927886))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 329790.0: task 927886))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329790.0: task 927886))" tooltip="Sort [worklistShardItemId#3540268L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 111,276<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 111,276<br>local bytes read total (min, med, max (stageId: taskId))<br>429.3 KiB (11.0 KiB, 16.1 KiB, 16.8 KiB (stage 329790.0: task 927887))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 450<br>data size total (min, med, max (stageId: taskId))<br>5.9 MiB (186.9 KiB, 201.7 KiB, 223.1 KiB (stage 329788.0: task 927737))<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>50 ms (1 ms, 1 ms, 2 ms (stage 329788.0: task 927760))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>40 ms (0 ms, 0 ms, 20 ms (stage 329790.0: task 927946))<br>remote bytes read total (min, med, max (stageId: taskId))<br>431.8 KiB (11.9 KiB, 12.7 KiB, 17.7 KiB (stage 329790.0: task 927921))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>178 ms (4 ms, 4 ms, 27 ms (stage 329790.0: task 927946))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>861.1 KiB (26.9 KiB, 28.8 KiB, 31.0 KiB (stage 329788.0: task 927737))" tooltip="Exchange hashpartitioning(worklistShardItemId#3540268L, 30), ENSURE_REQUIREMENTS, [plan_id=1017404]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n185 ms (4 ms, 5 ms, 24 ms (stage 329788.0: task 927761))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3538856, item#3540267.worklistShardItemId AS worklistShardItemId#3540268L, item#3540267.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3540269, item#3540267.qty AS qty#3540270]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 111,276" tooltip="Generate explode(items#3538858), [shardId#3538856], false, [item#3540267]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,195" tooltip="Filter ((size(items#3538858, true) > 0) AND isnotnull(items#3538858))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,195" tooltip="InMemoryTableScan [shardId#3538856, items#3538858], [(size(items#3538858, true) > 0), isnotnull(items#3538858)]"];
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#3538856) AND (shardId#3538856 = 0_2_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, optimizationInsights#3538862], [isnotnull(shardId#3538856), (shardId#3538856 = 0_2_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#3538856) AND (shardId#3538856 = 0_2_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3538856,orderProposalId#3538857L,items#3538858,optimizationGroups#3538859,isOptimal#3538860,lastModified#3538861,optimizationInsights#3538862]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.0 s (39 ms, 66 ms, 137 ms (stage 329790.0: task 927886))";
tooltip="WholeStageCodegen (4)";
59 [id="node59" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>23 ms (0 ms, 0 ms, 23 ms (stage 329790.0: task 927926))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 329790.0: task 927886))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329790.0: task 927886))" tooltip="Sort [worklistShardItemId#3540492L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3540492L, orderProposalId#3540469L, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, originalReplenishmentRunId#3540511L, splitIndicator#3540488L, previousOrderProposal#3540489L, sourceOfSupplyUuid#3540483, supplierGroup#3540471, supplier#3540472, subrange#3540475, product#3540478, plant#3540473, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, isFallbackOrderOnly#3540486, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, netPriceAmount#3540505, netPriceCurrencyCode#3540506, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 111,276<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 111,276<br>local bytes read total (min, med, max (stageId: taskId))<br>8.9 MiB (283.5 KiB, 300.7 KiB, 330.2 KiB (stage 329790.0: task 927948))<br>merged fetch fallback count: 0<br>local blocks read: 402<br>remote merged chunks fetched: 0<br>remote blocks read: 708<br>data size total (min, med, max (stageId: taskId))<br>124.0 MiB (3.2 MiB, 3.4 MiB, 3.5 MiB (stage 329787.0: task 927719))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>110 ms (2 ms, 2 ms, 3 ms (stage 329787.0: task 927867))<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 329790.0: task 927886))<br>remote bytes read total (min, med, max (stageId: taskId))<br>15.7 MiB (504.5 KiB, 537.8 KiB, 581.3 KiB (stage 329790.0: task 927887))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>283 ms (4 ms, 6 ms, 27 ms (stage 329790.0: task 927946))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>24.6 MiB (644.8 KiB, 681.6 KiB, 712.7 KiB (stage 329787.0: task 927719))" tooltip="Exchange hashpartitioning(worklistShardItemId#3540492L, 30), REPARTITION_BY_NUM, [plan_id=1017414]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.1 s (124 ms, 149 ms, 407 ms (stage 329787.0: task 927755))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3540469L, orderProposalItemId#3540470, supplierGroup#3540471, supplier#3540472, plant#3540473, deliveryDateTime#3540474, subrange#3540475, supplyingPlant#3540476, productGroup#3540477, product#3540478, orderDateTime#3540479, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, sourceOfSupplyUuid#3540483, isFallbackOrderOnly#3540486, splitIndicator#3540488L, previousOrderProposal#3540489L, worklistShardItemId#3540492L, orderProposalItemGroupId#3540493, externalProductId#3540494, externalPlantId#3540495, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, minimumOrderQuantity#3540499, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 111,276" tooltip="Filter isnotnull(worklistShardItemId#3540492L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 111,276<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.1 s (104 ms, 132 ms, 231 ms (stage 329787.0: task 927782))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 14.6 MiB<br>number of output rows: 111,276<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3540469L,orderProposalItemId#3540470,supplierGroup#3540471,supplier#3540472,plant#3540473,deliveryDateTime#3540474,subrange#3540475,supplyingPlant#3540476,productGroup#3540477,product#3540478,orderDateTime#3540479,availabilityDateTime#3540480,nextAvailabilityDateTime#3540481,sourceOfSupplyUuid#3540483,isFallbackOrderOnly#3540486,splitIndicator#3540488L,previousOrderProposal#3540489L,worklistShardItemId#3540492L,orderProposalItemGroupId#3540493,externalProductId#3540494,externalPlantId#3540495,logisticUnits#3540496,orderQuantityBaseUom#3540497,orderQuantityBaseUomUuid#3540498,minimumOrderQuantity#3540499,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3540492L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3540513), isnotnull(sequenceId#3540491), (shardId#3540513 = 0_2_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>434 ms (7 ms, 9 ms, 47 ms (stage 329793.0: task 928030))<br>peak memory total (min, med, max (stageId: taskId))<br>367.5 MiB (12.3 MiB, 12.3 MiB, 12.3 MiB (stage 329793.0: task 928024))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329793.0: task 928024))" tooltip="Sort [shardId#3551323 ASC NULLS FIRST, worklistShardItemId#3551324L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 318,361<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 318,361<br>local bytes read total (min, med, max (stageId: taskId))<br>5.3 MiB (150.5 KiB, 201.5 KiB, 212.5 KiB (stage 329793.0: task 928039))<br>merged fetch fallback count: 0<br>local blocks read: 420<br>remote merged chunks fetched: 0<br>remote blocks read: 480<br>data size total (min, med, max (stageId: taskId))<br>325.5 MiB (10.7 MiB, 10.8 MiB, 11.1 MiB (stage 329789.0: task 927961))<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>80 ms (1 ms, 2 ms, 14 ms (stage 329789.0: task 927950))<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 329793.0: task 928024))<br>remote bytes read total (min, med, max (stageId: taskId))<br>6.0 MiB (176.6 KiB, 225.4 KiB, 236.6 KiB (stage 329793.0: task 928034))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>555 ms (5 ms, 10 ms, 49 ms (stage 329793.0: task 928041))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>11.3 MiB (380.7 KiB, 384.9 KiB, 393.6 KiB (stage 329789.0: task 927961))" tooltip="Exchange hashpartitioning(shardId#3551323, worklistShardItemId#3551324L, 30), ENSURE_REQUIREMENTS, [plan_id=1017429]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n13.0 s (359 ms, 415 ms, 600 ms (stage 329789.0: task 927883))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3551323, worklistShardItemId#3551324L, coalesce(kpis#3551328, []) AS prodLocSpecificKpis#3551329]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 318,361" tooltip="Filter (((isnull(qty#3551325) AND isnull(demandChannel#3551326)) AND isnull(demandStream#3551327)) AND (isnotnull(shardId#3551323) AND isnotnull(worklistShardItemId#3551324L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,273,444" tooltip="Scan ExistingRDD[shardId#3551323,worklistShardItemId#3551324L,qty#3551325,demandChannel#3551326,demandStream#3551327,kpis#3551328]"];
}
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>25 ms (0 ms, 0 ms, 25 ms (stage 329793.0: task 928037))<br>peak memory total (min, med, max (stageId: taskId))<br>187.5 MiB (6.3 MiB, 6.3 MiB, 6.3 MiB (stage 329793.0: task 928024))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329793.0: task 928024))" tooltip="Sort [shardId#3551339 ASC NULLS FIRST, worklistShardItemId#3551340L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 318,361<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.0 s (13 ms, 39 ms, 53 ms (stage 329793.0: task 928031))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329793.0: task 928024))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3551339, worklistShardItemId#3551340L], functions=[collect_list(struct(demandChannel, demandChannel#3551342, demandStream, demandStream#3551343, kpis, kpis#3551344), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 318,361<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 318,361<br>local bytes read total (min, med, max (stageId: taskId))<br>1089.1 KiB (12.2 KiB, 58.8 KiB, 60.7 KiB (stage 329793.0: task 928031))<br>merged fetch fallback count: 0<br>local blocks read: 255<br>remote merged chunks fetched: 0<br>remote blocks read: 645<br>data size total (min, med, max (stageId: taskId))<br>126.3 MiB (4.1 MiB, 4.2 MiB, 4.3 MiB (stage 329792.0: task 927988))<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>71 ms (1 ms, 1 ms, 17 ms (stage 329792.0: task 927723))<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>186 ms (0 ms, 0 ms, 29 ms (stage 329793.0: task 928039))<br>remote bytes read total (min, med, max (stageId: taskId))<br>2.7 MiB (66.6 KiB, 114.0 KiB, 116.6 KiB (stage 329793.0: task 928035))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>531 ms (4 ms, 8 ms, 49 ms (stage 329793.0: task 928041))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>3.8 MiB (126.7 KiB, 128.2 KiB, 130.0 KiB (stage 329792.0: task 927988))" tooltip="Exchange hashpartitioning(shardId#3551339, worklistShardItemId#3551340L, 30), ENSURE_REQUIREMENTS, [plan_id=1017440]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 318,361<br>time in aggregation build total (min, med, max (stageId: taskId))<br>14.6 s (353 ms, 418 ms, 1.7 s (stage 329792.0: task 927753))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329792.0: task 927723))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3551339, worklistShardItemId#3551340L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3551342, demandStream, demandStream#3551343, kpis, kpis#3551344), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n14.1 s (346 ms, 410 ms, 1.7 s (stage 329792.0: task 927753))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3551339, worklistShardItemId#3551340L, demandChannel#3551342, demandStream#3551343, kpis#3551344]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 318,361" tooltip="Filter ((((isnull(qty#3551341) AND isnotnull(demandChannel#3551342)) AND isnotnull(demandStream#3551343)) AND (size(kpis#3551344, true) > 0)) AND (isnotnull(shardId#3551339) AND isnotnull(worklistShardItemId#3551340L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,273,444" tooltip="Scan ExistingRDD[shardId#3551339,worklistShardItemId#3551340L,qty#3551341,demandChannel#3551342,demandStream#3551343,kpis#3551344]"];
}
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>101 ms (0 ms, 0 ms, 36 ms (stage 329793.0: task 928031))<br>peak memory total (min, med, max (stageId: taskId))<br>385.5 MiB (12.3 MiB, 12.3 MiB, 14.3 MiB (stage 329793.0: task 928020))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329793.0: task 928024))" tooltip="Sort [shardId#3551352 ASC NULLS FIRST, worklistShardItemId#3551353L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 318,361<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.3 s (25 ms, 49 ms, 66 ms (stage 329793.0: task 928026))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329793.0: task 928024))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3551352, worklistShardItemId#3551353L], functions=[collect_list(struct(qty, qty#3551354, kpis, kpis#3551357), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 625,989<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 625,989<br>local bytes read total (min, med, max (stageId: taskId))<br>5.1 MiB (149.0 KiB, 191.7 KiB, 199.3 KiB (stage 329793.0: task 928039))<br>merged fetch fallback count: 0<br>local blocks read: 375<br>remote merged chunks fetched: 0<br>remote blocks read: 525<br>data size total (min, med, max (stageId: taskId))<br>387.8 MiB (12.8 MiB, 12.9 MiB, 13.1 MiB (stage 329791.0: task 927779))<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>66 ms (2 ms, 2 ms, 2 ms (stage 329791.0: task 927869))<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>29 ms (0 ms, 0 ms, 16 ms (stage 329793.0: task 928047))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.2 MiB (218.2 KiB, 261.2 KiB, 274.5 KiB (stage 329793.0: task 928034))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>267 ms (4 ms, 6 ms, 49 ms (stage 329793.0: task 928038))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>12.3 MiB (413.3 KiB, 419.7 KiB, 423.5 KiB (stage 329791.0: task 927779))" tooltip="Exchange hashpartitioning(shardId#3551352, worklistShardItemId#3551353L, 30), ENSURE_REQUIREMENTS, [plan_id=1017452]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 625,989<br>time in aggregation build total (min, med, max (stageId: taskId))<br>15.0 s (368 ms, 434 ms, 1.5 s (stage 329791.0: task 927779))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329791.0: task 927728))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3551352, worklistShardItemId#3551353L], functions=[partial_collect_list(struct(qty, qty#3551354, kpis, kpis#3551357), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n13.9 s (352 ms, 412 ms, 1.4 s (stage 329791.0: task 927779))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3551352, worklistShardItemId#3551353L, qty#3551354, kpis#3551357]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 636,722" tooltip="Filter ((isnotnull(qty#3551354) AND isnotnull(kpis#3551357)) AND (isnotnull(shardId#3551352) AND isnotnull(worklistShardItemId#3551353L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,273,444" tooltip="Scan ExistingRDD[shardId#3551352,worklistShardItemId#3551353L,qty#3551354,demandChannel#3551355,demandStream#3551356,kpis#3551357]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n2.7 s (23 ms, 32 ms, 246 ms (stage 329800.0: task 928195))";
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 329800.0: task 928190))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 329800.0: task 928190))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329800.0: task 928190))" tooltip="Sort [coalesce(shardId#3552138, ) ASC NULLS FIRST, isnull(shardId#3552138) ASC NULLS FIRST, coalesce(orderProposalId#3552139L, 0) ASC NULLS FIRST, isnull(orderProposalId#3552139L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,195<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,195<br>local bytes read total (min, med, max (stageId: taskId))<br>43.3 KiB (112.0 B, 282.0 B, 3.6 KiB (stage 329800.0: task 928245))<br>merged fetch fallback count: 0<br>local blocks read: 328<br>remote merged chunks fetched: 0<br>remote blocks read: 492<br>data size total (min, med, max (stageId: taskId))<br>120.0 KiB (3.0 KiB, 4.0 KiB, 5.3 KiB (stage 329798.0: task 927979))<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, 24 ms (stage 329798.0: task 927980))<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 329800.0: task 928190))<br>remote bytes read total (min, med, max (stageId: taskId))<br>65.5 KiB (164.0 B, 3.3 KiB, 3.8 KiB (stage 329800.0: task 928261))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>119 ms (1 ms, 4 ms, 6 ms (stage 329800.0: task 928194))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>108.9 KiB (2.9 KiB, 3.7 KiB, 4.1 KiB (stage 329798.0: task 927979))" tooltip="Exchange hashpartitioning(coalesce(shardId#3552138, ), isnull(shardId#3552138), coalesce(orderProposalId#3552139L, 0), isnull(orderProposalId#3552139L), 30), ENSURE_REQUIREMENTS, [plan_id=1017754]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3552139L, shardId#3552138, coalesce(transform(optimizationGroups#3552141, lambdafunction(struct(optGroupId, lambda x_11810#3552136.optGroupId, minOrderProfile, lambda x_11810#3552136.minOrderProfile, assignmentDetails, lambda x_11810#3552136.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11810#3552136.minOrderGoal.dimensionType, unit, lambda x_11810#3552136.minOrderGoal.unit, unitUuid, lambda x_11810#3552136.minOrderGoal.unitUuid, goalValue, lambda x_11810#3552136.minOrderGoal.minOrderValue, calcValue, lambda x_11810#3552136.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11810#3552136, false)), []) AS optimizationGroups#3552135]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n845 ms (8 ms, 10 ms, 289 ms (stage 329798.0: task 927942))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,195<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329798.0: task 927938))" tooltip="SortMergeJoin [orderProposalId#3552139L], [orderProposalId#3552194L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.0 s (9 ms, 11 ms, 1.1 s (stage 329798.0: task 927942))";
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 329798.0: task 927938))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 329798.0: task 927938))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329798.0: task 927938))" tooltip="Sort [orderProposalId#3552139L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,195<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,195<br>local bytes read total (min, med, max (stageId: taskId))<br>36.2 KiB (695.0 B, 1274.0 B, 1859.0 B (stage 329798.0: task 927942))<br>merged fetch fallback count: 0<br>local blocks read: 271<br>remote merged chunks fetched: 0<br>remote blocks read: 557<br>data size total (min, med, max (stageId: taskId))<br>120.0 KiB (3.7 KiB, 4.0 KiB, 4.4 KiB (stage 329796.0: task 927714))<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>49 ms (1 ms, 1 ms, 2 ms (stage 329796.0: task 927707))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>25 ms (0 ms, 0 ms, 23 ms (stage 329798.0: task 927960))<br>remote bytes read total (min, med, max (stageId: taskId))<br>73.5 KiB (1887.0 B, 2.5 KiB, 2.7 KiB (stage 329798.0: task 927982))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>218 ms (3 ms, 4 ms, 54 ms (stage 329798.0: task 927960))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>109.7 KiB (3.4 KiB, 3.7 KiB, 3.9 KiB (stage 329796.0: task 927718))" tooltip="Exchange hashpartitioning(orderProposalId#3552139L, 30), ENSURE_REQUIREMENTS, [plan_id=1017720]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n822 ms (3 ms, 23 ms, 104 ms (stage 329796.0: task 927712))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,195" tooltip="Filter isnotnull(orderProposalId#3552139L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,195" tooltip="InMemoryTableScan [shardId#3552138, orderProposalId#3552139L, optimizationGroups#3552141], [isnotnull(orderProposalId#3552139L)]"];
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#3538856) AND (shardId#3538856 = 0_2_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, optimizationInsights#3538862], [isnotnull(shardId#3538856), (shardId#3538856 = 0_2_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#3538856) AND (shardId#3538856 = 0_2_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3538856,orderProposalId#3538857L,items#3538858,optimizationGroups#3538859,isOptimal#3538860,lastModified#3538861,optimizationInsights#3538862]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (8 ms, 11 ms, 624 ms (stage 329798.0: task 927942))";
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 329798.0: task 927938))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 329798.0: task 927938))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329798.0: task 927938))" tooltip="Sort [orderProposalId#3552194L 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>93 ms (2 ms, 2 ms, 20 ms (stage 329798.0: task 927996))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 329798.0: task 927938))<br>number of output rows: 2,195<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3552194L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 53,847<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 53,847<br>local bytes read total (min, med, max (stageId: taskId))<br>33.8 KiB (16.1 KiB, 17.6 KiB, 17.6 KiB (stage 329798.0: task 927958))<br>merged fetch fallback count: 0<br>local blocks read: 60<br>remote merged chunks fetched: 0<br>remote blocks read: 840<br>data size total (min, med, max (stageId: taskId))<br>841.4 KiB (27.2 KiB, 28.1 KiB, 28.9 KiB (stage 329797.0: task 927899))<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>64 ms (1 ms, 1 ms, 17 ms (stage 329797.0: task 927924))<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>24 ms (0 ms, 0 ms, 16 ms (stage 329798.0: task 927996))<br>remote bytes read total (min, med, max (stageId: taskId))<br>597.2 KiB (18.4 KiB, 21.0 KiB, 27.2 KiB (stage 329798.0: task 927979))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>129 ms (1 ms, 1 ms, 27 ms (stage 329798.0: task 927960))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>631.0 KiB (20.5 KiB, 21.0 KiB, 21.7 KiB (stage 329797.0: task 927899))" tooltip="Exchange hashpartitioning(orderProposalId#3552194L, 30), ENSURE_REQUIREMENTS, [plan_id=1017745]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n564 ms (8 ms, 10 ms, 107 ms (stage 329797.0: task 927885))";
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>296 ms (4 ms, 6 ms, 33 ms (stage 329797.0: task 927929))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 329797.0: task 927885))<br>number of output rows: 53,847<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3552194L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3552194L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 111,276" tooltip="BroadcastHashJoin [worklistShardItemId#3552146L], [worklistShardItemId#3552217L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3552217L, orderProposalId#3552194L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 9 ms<br>time to build: 20 ms<br>time to collect: 279 ms<br>number of output rows: 111,276<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1017731]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n197 ms (1 ms, 7 ms, 12 ms (stage 329684.0: task 927678))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3552145L AS worklistShardItemId#3552146L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 111,276" tooltip="Generate explode(_extract_worklistShardItemId#3552786), false, [item#3552145L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3551767.worklistShardItemId AS _extract_worklistShardItemId#3552786]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,195" tooltip="Filter (((size(items#3551767.worklistShardItemId, true) > 0) AND isnotnull(items#3551767.worklistShardItemId)) AND (shardId#3551765 = 0_2_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,195" tooltip="InMemoryTableScan [items#3551767, shardId#3551765], [(size(items#3551767.worklistShardItemId, true) > 0), isnotnull(items#3551767.worklistShardItemId), (shardId#3551765 = 0_2_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#3538856) AND (shardId#3538856 = 0_2_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, optimizationInsights#3538862], [isnotnull(shardId#3538856), (shardId#3538856 = 0_2_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#3538856) AND (shardId#3538856 = 0_2_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3538856,orderProposalId#3538857L,items#3538858,optimizationGroups#3538859,isOptimal#3538860,lastModified#3538861,optimizationInsights#3538862]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 111,276<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 111,276<br>local bytes read total (min, med, max (stageId: taskId))<br>672.5 KiB (21.7 KiB, 22.4 KiB, 23.2 KiB (stage 329797.0: task 927890))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 660<br>data size total (min, med, max (stageId: taskId))<br>2.5 MiB (66.8 KiB, 70.6 KiB, 73.8 KiB (stage 329795.0: task 927724))<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>64 ms (1 ms, 1 ms, 2 ms (stage 329795.0: task 927819))<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>147 ms (0 ms, 1 ms, 27 ms (stage 329797.0: task 927929))<br>remote bytes read total (min, med, max (stageId: taskId))<br>982.0 KiB (31.3 KiB, 32.8 KiB, 33.9 KiB (stage 329797.0: task 927890))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>244 ms (3 ms, 4 ms, 31 ms (stage 329797.0: task 927929))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1654.5 KiB (42.4 KiB, 44.8 KiB, 46.5 KiB (stage 329795.0: task 927724))" tooltip="Exchange hashpartitioning(worklistShardItemId#3552217L, 30), REPARTITION_BY_NUM, [plan_id=1017738]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n5.5 s (118 ms, 144 ms, 200 ms (stage 329795.0: task 927806))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3552194L, worklistShardItemId#3552217L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 111,276" tooltip="Filter ((isnotnull(worklistShardItemId#3552217L) AND NOT (isFallbackOrderOnly#3552211 <=> true)) AND isnotnull(orderProposalId#3552194L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 111,276<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.3 s (113 ms, 140 ms, 196 ms (stage 329795.0: task 927806))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 14.6 MiB<br>number of output rows: 111,276<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3552194L,isFallbackOrderOnly#3552211,worklistShardItemId#3552217L,shardId#3552238,sequenceId#3552216] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3552217L), NOT (isFallbackOrderOnly#3552211 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3552238), isnotnull(sequenceId#3552216), (shardId#3552238 = 0_2_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#3552242]
Arguments: [orderProposal#3552242], [(size(orderProposal#3552242.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3538856, orderProposal#3552242], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3540446, channelStreamSpecificKpis#3551345, constraintLabels#3540458, constraintOperators#3540459, constraintValues#3540461, deliveryDateTime#3540445, isFallbackOrderOnly#3540448, logisticUnits#3540463, measurements#3540456, minimumOrderQuantity#3540457, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, nextAvailabilityDateTime#3540447, optimizationGroups#3540464, orderDateTime#3540444, orderProposalId#3540426L, orderProposalItemGroupId#3540428, orderProposalItemId#3540427, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, originalReplenishmentRunId#3540429L, plant#3540440, previousOrderProposal#3540432L, prodLocSpecificKpis#3551330, product#3540439, productGroup#3540468, qty#3540270, quantityAfterProdPlantOptimization#3540269, quantityKpis#3551358, shardId#3538856, sourceOfSupplyUuid#3540435, splitIndicator#3540431L, subrange#3540438, supplier#3540437, supplierGroup#3540436, supplyingPlant#3540467]
Arguments: [availabilityDateTime#3540446, channelStreamSpecificKpis#3551345, constraintLabels#3540458, constraintOperators#3540459, constraintValues#3540461, deliveryDateTime#3540445, isFallbackOrderOnly#3540448, logisticUnits#3540463, measurements#3540456, minimumOrderQuantity#3540457, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, nextAvailabilityDateTime#3540447, optimizationGroups#3540464, orderDateTime#3540444, orderProposalId#3540426L, orderProposalItemGroupId#3540428, orderProposalItemId#3540427, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, originalReplenishmentRunId#3540429L, plant#3540440, ... 14 more fields], [NOT (isFallbackOrderOnly#3540448 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, productGroup#3540468, product#3540439, plant#3540440, subrange#3540438, orderDateTime#3540444, deliveryDateTime#3540445, availabilityDateTime#3540446, nextAvailabilityDateTime#3540447, constraintValues#3540461, constraintOperators#3540459, constraintLabels#3540458, logisticUnits#3540463, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, splitIndicator#3540431L, netPriceAmount#3540454, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3538856, items#3538858]
Arguments: [shardId#3538856, items#3538858], [(size(items#3538858, true) > 0), isnotnull(items#3538858)]
(6) InMemoryRelation
Arguments: [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, optimizationInsights#3538862], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, optimizationInsights#3538862]
Arguments: [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, optimizationInsights#3538862], [isnotnull(shardId#3538856), (shardId#3538856 = 0_2_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, lastModified#3538861, optimizationInsights#3538862], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, lastModified#3538861, optimizationInsights#3538862]
Arguments: [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, lastModified#3538861, optimizationInsights#3538862], MapPartitionsRDD[150396] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, lastModified#3538861, optimizationInsights#3538862]
Condition : (isnotnull(shardId#3538856) AND (shardId#3538856 = 0_2_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3538856, orderProposalId#3538857L, items#3538858, optimizationGroups#3538859, isOptimal#3538860, optimizationInsights#3538862]
Condition : (isnotnull(shardId#3538856) AND (shardId#3538856 = 0_2_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3538856, items#3538858]
Condition : ((size(items#3538858, true) > 0) AND isnotnull(items#3538858))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3538856, items#3538858]
Arguments: explode(items#3538858), [shardId#3538856], false, [item#3540267]
(14) Project [codegen id : 1]
Output [4]: [shardId#3538856, item#3540267.worklistShardItemId AS worklistShardItemId#3540268L, item#3540267.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3540269, item#3540267.qty AS qty#3540270]
Input [2]: [shardId#3538856, item#3540267]
(15) Exchange
Input [4]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270]
Arguments: hashpartitioning(worklistShardItemId#3540268L, 30), ENSURE_REQUIREMENTS, [plan_id=1017404]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270]
Arguments: [worklistShardItemId#3540268L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3540469L, orderProposalItemId#3540470, supplierGroup#3540471, supplier#3540472, plant#3540473, deliveryDateTime#3540474, subrange#3540475, supplyingPlant#3540476, productGroup#3540477, product#3540478, orderDateTime#3540479, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, sourceOfSupplyUuid#3540483, isFallbackOrderOnly#3540486, splitIndicator#3540488L, previousOrderProposal#3540489L, worklistShardItemId#3540492L, orderProposalItemGroupId#3540493, externalProductId#3540494, externalPlantId#3540495, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, minimumOrderQuantity#3540499, constraintLabels#3540500, constraintOperators#3540501, constraintValues#3540502, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, measurements#3540510, originalReplenishmentRunId#3540511L, optimizationGroups#3540512, shardId#3540513, sequenceId#3540491]
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#3540513), isnotnull(sequenceId#3540491), (shardId#3540513 = 0_2_10000000532), (sequenceId#3540491 = 6)]
PushedFilters: [IsNotNull(worklistShardItemId)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,sourceOfSupplyUuid:string,isFallbackOrderOnly:boolean,splitIndicator:bigint,previousOrderProposal:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(18) ColumnarToRow [codegen id : 3]
Input [38]: [orderProposalId#3540469L, orderProposalItemId#3540470, supplierGroup#3540471, supplier#3540472, plant#3540473, deliveryDateTime#3540474, subrange#3540475, supplyingPlant#3540476, productGroup#3540477, product#3540478, orderDateTime#3540479, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, sourceOfSupplyUuid#3540483, isFallbackOrderOnly#3540486, splitIndicator#3540488L, previousOrderProposal#3540489L, worklistShardItemId#3540492L, orderProposalItemGroupId#3540493, externalProductId#3540494, externalPlantId#3540495, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, minimumOrderQuantity#3540499, constraintLabels#3540500, constraintOperators#3540501, constraintValues#3540502, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, measurements#3540510, originalReplenishmentRunId#3540511L, optimizationGroups#3540512, shardId#3540513, sequenceId#3540491]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3540469L, orderProposalItemId#3540470, supplierGroup#3540471, supplier#3540472, plant#3540473, deliveryDateTime#3540474, subrange#3540475, supplyingPlant#3540476, productGroup#3540477, product#3540478, orderDateTime#3540479, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, sourceOfSupplyUuid#3540483, isFallbackOrderOnly#3540486, splitIndicator#3540488L, previousOrderProposal#3540489L, worklistShardItemId#3540492L, orderProposalItemGroupId#3540493, externalProductId#3540494, externalPlantId#3540495, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, minimumOrderQuantity#3540499, constraintLabels#3540500, constraintOperators#3540501, constraintValues#3540502, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, measurements#3540510, originalReplenishmentRunId#3540511L, optimizationGroups#3540512, shardId#3540513, sequenceId#3540491]
Condition : isnotnull(worklistShardItemId#3540492L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3540469L, orderProposalItemId#3540470, supplierGroup#3540471, supplier#3540472, plant#3540473, deliveryDateTime#3540474, subrange#3540475, supplyingPlant#3540476, productGroup#3540477, product#3540478, orderDateTime#3540479, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, sourceOfSupplyUuid#3540483, isFallbackOrderOnly#3540486, splitIndicator#3540488L, previousOrderProposal#3540489L, worklistShardItemId#3540492L, orderProposalItemGroupId#3540493, externalProductId#3540494, externalPlantId#3540495, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, minimumOrderQuantity#3540499, constraintLabels#3540500, constraintOperators#3540501, constraintValues#3540502, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, measurements#3540510, originalReplenishmentRunId#3540511L, optimizationGroups#3540512]
Input [38]: [orderProposalId#3540469L, orderProposalItemId#3540470, supplierGroup#3540471, supplier#3540472, plant#3540473, deliveryDateTime#3540474, subrange#3540475, supplyingPlant#3540476, productGroup#3540477, product#3540478, orderDateTime#3540479, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, sourceOfSupplyUuid#3540483, isFallbackOrderOnly#3540486, splitIndicator#3540488L, previousOrderProposal#3540489L, worklistShardItemId#3540492L, orderProposalItemGroupId#3540493, externalProductId#3540494, externalPlantId#3540495, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, minimumOrderQuantity#3540499, constraintLabels#3540500, constraintOperators#3540501, constraintValues#3540502, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, measurements#3540510, originalReplenishmentRunId#3540511L, optimizationGroups#3540512, shardId#3540513, sequenceId#3540491]
(21) Exchange
Input [36]: [orderProposalId#3540469L, orderProposalItemId#3540470, supplierGroup#3540471, supplier#3540472, plant#3540473, deliveryDateTime#3540474, subrange#3540475, supplyingPlant#3540476, productGroup#3540477, product#3540478, orderDateTime#3540479, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, sourceOfSupplyUuid#3540483, isFallbackOrderOnly#3540486, splitIndicator#3540488L, previousOrderProposal#3540489L, worklistShardItemId#3540492L, orderProposalItemGroupId#3540493, externalProductId#3540494, externalPlantId#3540495, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, minimumOrderQuantity#3540499, constraintLabels#3540500, constraintOperators#3540501, constraintValues#3540502, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, measurements#3540510, originalReplenishmentRunId#3540511L, optimizationGroups#3540512]
Arguments: hashpartitioning(worklistShardItemId#3540492L, 30), REPARTITION_BY_NUM, [plan_id=1017414]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3540492L, orderProposalId#3540469L, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, originalReplenishmentRunId#3540511L, splitIndicator#3540488L, previousOrderProposal#3540489L, sourceOfSupplyUuid#3540483, supplierGroup#3540471, supplier#3540472, subrange#3540475, product#3540478, plant#3540473, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, isFallbackOrderOnly#3540486, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, netPriceAmount#3540505, netPriceCurrencyCode#3540506, measurements#3540510, minimumOrderQuantity#3540499, constraintLabels#3540500, constraintOperators#3540501, constraintValues#3540502, logisticUnits#3540496, optimizationGroups#3540512, externalProductId#3540494, externalPlantId#3540495, supplyingPlant#3540476, productGroup#3540477]
Input [36]: [orderProposalId#3540469L, orderProposalItemId#3540470, supplierGroup#3540471, supplier#3540472, plant#3540473, deliveryDateTime#3540474, subrange#3540475, supplyingPlant#3540476, productGroup#3540477, product#3540478, orderDateTime#3540479, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, sourceOfSupplyUuid#3540483, isFallbackOrderOnly#3540486, splitIndicator#3540488L, previousOrderProposal#3540489L, worklistShardItemId#3540492L, orderProposalItemGroupId#3540493, externalProductId#3540494, externalPlantId#3540495, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, minimumOrderQuantity#3540499, constraintLabels#3540500, constraintOperators#3540501, constraintValues#3540502, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, measurements#3540510, originalReplenishmentRunId#3540511L, optimizationGroups#3540512]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3540492L, orderProposalId#3540469L, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, originalReplenishmentRunId#3540511L, splitIndicator#3540488L, previousOrderProposal#3540489L, sourceOfSupplyUuid#3540483, supplierGroup#3540471, supplier#3540472, subrange#3540475, product#3540478, plant#3540473, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, isFallbackOrderOnly#3540486, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, netPriceAmount#3540505, netPriceCurrencyCode#3540506, measurements#3540510, minimumOrderQuantity#3540499, constraintLabels#3540500, constraintOperators#3540501, constraintValues#3540502, logisticUnits#3540496, optimizationGroups#3540512, externalProductId#3540494, externalPlantId#3540495, supplyingPlant#3540476, productGroup#3540477]
Arguments: [worklistShardItemId#3540492L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3540268L]
Right keys [1]: [worklistShardItemId#3540492L]
Join type: LeftOuter
Join condition: (shardId#3538856 = 0_2_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, sourceOfSupplyUuid#3540483, minimumOrderQuantity#3540499, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, optimizationGroups#3540512, measurements#3540510, externalProductId#3540494, externalPlantId#3540495, previousOrderProposal#3540489L, isFallbackOrderOnly#3540486]
Input [40]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, worklistShardItemId#3540492L, orderProposalId#3540469L, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, originalReplenishmentRunId#3540511L, splitIndicator#3540488L, previousOrderProposal#3540489L, sourceOfSupplyUuid#3540483, supplierGroup#3540471, supplier#3540472, subrange#3540475, product#3540478, plant#3540473, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, isFallbackOrderOnly#3540486, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, netPriceAmount#3540505, netPriceCurrencyCode#3540506, measurements#3540510, minimumOrderQuantity#3540499, constraintLabels#3540500, constraintOperators#3540501, constraintValues#3540502, logisticUnits#3540496, optimizationGroups#3540512, externalProductId#3540494, externalPlantId#3540495, supplyingPlant#3540476, productGroup#3540477]
(26) Exchange
Input [39]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, sourceOfSupplyUuid#3540483, minimumOrderQuantity#3540499, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, optimizationGroups#3540512, measurements#3540510, externalProductId#3540494, externalPlantId#3540495, previousOrderProposal#3540489L, isFallbackOrderOnly#3540486]
Arguments: hashpartitioning(shardId#3538856, worklistShardItemId#3540268L, 30), ENSURE_REQUIREMENTS, [plan_id=1017423]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, sourceOfSupplyUuid#3540483, minimumOrderQuantity#3540499, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, optimizationGroups#3540512, measurements#3540510, externalProductId#3540494, externalPlantId#3540495, previousOrderProposal#3540489L, isFallbackOrderOnly#3540486]
Arguments: [shardId#3538856 ASC NULLS FIRST, worklistShardItemId#3540268L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3551323, worklistShardItemId#3551324L, qty#3551325, demandChannel#3551326, demandStream#3551327, kpis#3551328]
Arguments: [shardId#3551323, worklistShardItemId#3551324L, qty#3551325, demandChannel#3551326, demandStream#3551327, kpis#3551328], MapPartitionsRDD[150870] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3551323, worklistShardItemId#3551324L, qty#3551325, demandChannel#3551326, demandStream#3551327, kpis#3551328]
Condition : (((isnull(qty#3551325) AND isnull(demandChannel#3551326)) AND isnull(demandStream#3551327)) AND (isnotnull(shardId#3551323) AND isnotnull(worklistShardItemId#3551324L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3551323, worklistShardItemId#3551324L, coalesce(kpis#3551328, []) AS prodLocSpecificKpis#3551329]
Input [6]: [shardId#3551323, worklistShardItemId#3551324L, qty#3551325, demandChannel#3551326, demandStream#3551327, kpis#3551328]
(31) Exchange
Input [3]: [shardId#3551323, worklistShardItemId#3551324L, prodLocSpecificKpis#3551329]
Arguments: hashpartitioning(shardId#3551323, worklistShardItemId#3551324L, 30), ENSURE_REQUIREMENTS, [plan_id=1017429]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3551323, worklistShardItemId#3551324L, prodLocSpecificKpis#3551329]
Arguments: [shardId#3551323 ASC NULLS FIRST, worklistShardItemId#3551324L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3538856, worklistShardItemId#3540268L]
Right keys [2]: [shardId#3551323, worklistShardItemId#3551324L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, sourceOfSupplyUuid#3540483, minimumOrderQuantity#3540499, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, optimizationGroups#3540512, measurements#3540510, externalProductId#3540494, externalPlantId#3540495, previousOrderProposal#3540489L, isFallbackOrderOnly#3540486, coalesce(prodLocSpecificKpis#3551329, []) AS prodLocSpecificKpis#3551330]
Input [42]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, sourceOfSupplyUuid#3540483, minimumOrderQuantity#3540499, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, optimizationGroups#3540512, measurements#3540510, externalProductId#3540494, externalPlantId#3540495, previousOrderProposal#3540489L, isFallbackOrderOnly#3540486, shardId#3551323, worklistShardItemId#3551324L, prodLocSpecificKpis#3551329]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3551339, worklistShardItemId#3551340L, qty#3551341, demandChannel#3551342, demandStream#3551343, kpis#3551344]
Arguments: [shardId#3551339, worklistShardItemId#3551340L, qty#3551341, demandChannel#3551342, demandStream#3551343, kpis#3551344], MapPartitionsRDD[150870] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3551339, worklistShardItemId#3551340L, qty#3551341, demandChannel#3551342, demandStream#3551343, kpis#3551344]
Condition : ((((isnull(qty#3551341) AND isnotnull(demandChannel#3551342)) AND isnotnull(demandStream#3551343)) AND (size(kpis#3551344, true) > 0)) AND (isnotnull(shardId#3551339) AND isnotnull(worklistShardItemId#3551340L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3551339, worklistShardItemId#3551340L, demandChannel#3551342, demandStream#3551343, kpis#3551344]
Input [6]: [shardId#3551339, worklistShardItemId#3551340L, qty#3551341, demandChannel#3551342, demandStream#3551343, kpis#3551344]
(38) ObjectHashAggregate
Input [5]: [shardId#3551339, worklistShardItemId#3551340L, demandChannel#3551342, demandStream#3551343, kpis#3551344]
Keys [2]: [shardId#3551339, worklistShardItemId#3551340L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3551342, demandStream, demandStream#3551343, kpis, kpis#3551344), 0, 0)]
Aggregate Attributes [1]: [buf#3551519]
Results [3]: [shardId#3551339, worklistShardItemId#3551340L, buf#3551520]
(39) Exchange
Input [3]: [shardId#3551339, worklistShardItemId#3551340L, buf#3551520]
Arguments: hashpartitioning(shardId#3551339, worklistShardItemId#3551340L, 30), ENSURE_REQUIREMENTS, [plan_id=1017440]
(40) ObjectHashAggregate
Input [3]: [shardId#3551339, worklistShardItemId#3551340L, buf#3551520]
Keys [2]: [shardId#3551339, worklistShardItemId#3551340L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3551342, demandStream, demandStream#3551343, kpis, kpis#3551344), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3551342, demandStream, demandStream#3551343, kpis, kpis#3551344), 0, 0)#3551338]
Results [3]: [shardId#3551339, worklistShardItemId#3551340L, collect_list(struct(demandChannel, demandChannel#3551342, demandStream, demandStream#3551343, kpis, kpis#3551344), 0, 0)#3551338 AS channelStreamSpecificKpis#3551331]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3551339, worklistShardItemId#3551340L, channelStreamSpecificKpis#3551331]
Arguments: [shardId#3551339 ASC NULLS FIRST, worklistShardItemId#3551340L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3538856, worklistShardItemId#3540268L]
Right keys [2]: [shardId#3551339, worklistShardItemId#3551340L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, sourceOfSupplyUuid#3540483, minimumOrderQuantity#3540499, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, optimizationGroups#3540512, measurements#3540510, externalProductId#3540494, externalPlantId#3540495, previousOrderProposal#3540489L, isFallbackOrderOnly#3540486, prodLocSpecificKpis#3551330, coalesce(channelStreamSpecificKpis#3551331, []) AS channelStreamSpecificKpis#3551345]
Input [43]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, sourceOfSupplyUuid#3540483, minimumOrderQuantity#3540499, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, optimizationGroups#3540512, measurements#3540510, externalProductId#3540494, externalPlantId#3540495, previousOrderProposal#3540489L, isFallbackOrderOnly#3540486, prodLocSpecificKpis#3551330, shardId#3551339, worklistShardItemId#3551340L, channelStreamSpecificKpis#3551331]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3551352, worklistShardItemId#3551353L, qty#3551354, demandChannel#3551355, demandStream#3551356, kpis#3551357]
Arguments: [shardId#3551352, worklistShardItemId#3551353L, qty#3551354, demandChannel#3551355, demandStream#3551356, kpis#3551357], MapPartitionsRDD[150870] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3551352, worklistShardItemId#3551353L, qty#3551354, demandChannel#3551355, demandStream#3551356, kpis#3551357]
Condition : ((isnotnull(qty#3551354) AND isnotnull(kpis#3551357)) AND (isnotnull(shardId#3551352) AND isnotnull(worklistShardItemId#3551353L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3551352, worklistShardItemId#3551353L, qty#3551354, kpis#3551357]
Input [6]: [shardId#3551352, worklistShardItemId#3551353L, qty#3551354, demandChannel#3551355, demandStream#3551356, kpis#3551357]
(47) ObjectHashAggregate
Input [4]: [shardId#3551352, worklistShardItemId#3551353L, qty#3551354, kpis#3551357]
Keys [2]: [shardId#3551352, worklistShardItemId#3551353L]
Functions [1]: [partial_collect_list(struct(qty, qty#3551354, kpis, kpis#3551357), 0, 0)]
Aggregate Attributes [1]: [buf#3551521]
Results [3]: [shardId#3551352, worklistShardItemId#3551353L, buf#3551522]
(48) Exchange
Input [3]: [shardId#3551352, worklistShardItemId#3551353L, buf#3551522]
Arguments: hashpartitioning(shardId#3551352, worklistShardItemId#3551353L, 30), ENSURE_REQUIREMENTS, [plan_id=1017452]
(49) ObjectHashAggregate
Input [3]: [shardId#3551352, worklistShardItemId#3551353L, buf#3551522]
Keys [2]: [shardId#3551352, worklistShardItemId#3551353L]
Functions [1]: [collect_list(struct(qty, qty#3551354, kpis, kpis#3551357), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3551354, kpis, kpis#3551357), 0, 0)#3551351]
Results [3]: [shardId#3551352, worklistShardItemId#3551353L, map_from_entries(collect_list(struct(qty, qty#3551354, kpis, kpis#3551357), 0, 0)#3551351) AS quantityKpis#3551346]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3551352, worklistShardItemId#3551353L, quantityKpis#3551346]
Arguments: [shardId#3551352 ASC NULLS FIRST, worklistShardItemId#3551353L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3538856, worklistShardItemId#3540268L]
Right keys [2]: [shardId#3551352, worklistShardItemId#3551353L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, sourceOfSupplyUuid#3540483, minimumOrderQuantity#3540499, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, optimizationGroups#3540512, measurements#3540510, externalProductId#3540494, externalPlantId#3540495, previousOrderProposal#3540489L, isFallbackOrderOnly#3540486, prodLocSpecificKpis#3551330, channelStreamSpecificKpis#3551345, coalesce(quantityKpis#3551346, map(keys: [], values: [])) AS quantityKpis#3551358]
Input [44]: [shardId#3538856, worklistShardItemId#3540268L, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540469L, originalReplenishmentRunId#3540511L, supplierGroup#3540471, supplier#3540472, supplyingPlant#3540476, productGroup#3540477, product#3540478, plant#3540473, subrange#3540475, orderDateTime#3540479, deliveryDateTime#3540474, availabilityDateTime#3540480, nextAvailabilityDateTime#3540481, constraintValues#3540502, constraintOperators#3540501, constraintLabels#3540500, logisticUnits#3540496, orderQuantityBaseUom#3540497, orderQuantityBaseUomUuid#3540498, splitIndicator#3540488L, netPriceAmount#3540505, netPriceCurrencyCode#3540506, netPriceQuantity#3540507, netPriceQuantityUom#3540508, netPriceQuantityUomUuid#3540509, sourceOfSupplyUuid#3540483, minimumOrderQuantity#3540499, orderProposalItemId#3540470, orderProposalItemGroupId#3540493, optimizationGroups#3540512, measurements#3540510, externalProductId#3540494, externalPlantId#3540495, previousOrderProposal#3540489L, isFallbackOrderOnly#3540486, prodLocSpecificKpis#3551330, channelStreamSpecificKpis#3551345, shardId#3551352, worklistShardItemId#3551353L, quantityKpis#3551346]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3540446, channelStreamSpecificKpis#3551345, constraintLabels#3540458, constraintOperators#3540459, constraintValues#3540461, deliveryDateTime#3540445, isFallbackOrderOnly#3540448, logisticUnits#3540463, measurements#3540456, minimumOrderQuantity#3540457, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, nextAvailabilityDateTime#3540447, optimizationGroups#3540464, orderDateTime#3540444, orderProposalId#3540426L, orderProposalItemGroupId#3540428, orderProposalItemId#3540427, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, originalReplenishmentRunId#3540429L, plant#3540440, previousOrderProposal#3540432L, prodLocSpecificKpis#3551330, product#3540439, productGroup#3540468, qty#3540270, quantityAfterProdPlantOptimization#3540269, quantityKpis#3551358, shardId#3538856, sourceOfSupplyUuid#3540435, splitIndicator#3540431L, subrange#3540438, supplier#3540437, supplierGroup#3540436, supplyingPlant#3540467]
Condition : NOT (isFallbackOrderOnly#3540448 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3538856, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, productGroup#3540468, product#3540439, plant#3540440, subrange#3540438, orderDateTime#3540444, deliveryDateTime#3540445, availabilityDateTime#3540446, nextAvailabilityDateTime#3540447, logisticUnits#3540463, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, splitIndicator#3540431L, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, sourceOfSupplyUuid#3540435, minimumOrderQuantity#3540457, orderProposalItemId#3540427, orderProposalItemGroupId#3540428, optimizationGroups#3540464, measurements#3540456, previousOrderProposal#3540432L, prodLocSpecificKpis#3551330, channelStreamSpecificKpis#3551345, quantityKpis#3551358, arrays_zip(constraintLabels#3540458, constraintOperators#3540459, constraintValues#3540461, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3551772]
Input [39]: [availabilityDateTime#3540446, channelStreamSpecificKpis#3551345, constraintLabels#3540458, constraintOperators#3540459, constraintValues#3540461, deliveryDateTime#3540445, isFallbackOrderOnly#3540448, logisticUnits#3540463, measurements#3540456, minimumOrderQuantity#3540457, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, nextAvailabilityDateTime#3540447, optimizationGroups#3540464, orderDateTime#3540444, orderProposalId#3540426L, orderProposalItemGroupId#3540428, orderProposalItemId#3540427, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, originalReplenishmentRunId#3540429L, plant#3540440, previousOrderProposal#3540432L, prodLocSpecificKpis#3551330, product#3540439, productGroup#3540468, qty#3540270, quantityAfterProdPlantOptimization#3540269, quantityKpis#3551358, shardId#3538856, sourceOfSupplyUuid#3540435, splitIndicator#3540431L, subrange#3540438, supplier#3540437, supplierGroup#3540436, supplyingPlant#3540467]
(55) Project
Output [37]: [shardId#3538856, qty#3540270, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, productGroup#3540468, product#3540439, plant#3540440, subrange#3540438, orderDateTime#3540444, deliveryDateTime#3540445, availabilityDateTime#3540446, nextAvailabilityDateTime#3540447, logisticUnits#3540463, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, splitIndicator#3540431L, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, sourceOfSupplyUuid#3540435, orderProposalItemId#3540427, orderProposalItemGroupId#3540428, optimizationGroups#3540464, measurements#3540456, previousOrderProposal#3540432L, prodLocSpecificKpis#3551330, channelStreamSpecificKpis#3551345, quantityKpis#3551358, struct(minServiceLevel, array_min(filter(constraintStructArray#3551772, lambdafunction((lambda x_11756#3551779.constraintLabels = ServiceLevel), lambda x_11756#3551779, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3551772, lambdafunction((lambda x_11757#3551780.constraintLabels = ServiceLevelMinimumStock), lambda x_11757#3551780, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3551772, lambdafunction((lambda x_11758#3551781.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11758#3551781, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3551772, lambdafunction((lambda x_11759#3551782.constraintLabels = RangeOfCoverage), lambda x_11759#3551782, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3540457, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3551330, lambdafunction((lambda x_11760#3551783.label = NonListingStartTimestamp), lambda x_11760#3551783, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3551778, CASE WHEN (qty#3540270 <=> quantityAfterProdPlantOptimization#3540269) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3540270 * (cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11761#3551851.isOrderUnit, lambda x_11761#3551851, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11761#3551852.isOrderUnit, lambda x_11761#3551852, false)), 1, None, false).numerator as double))), qty#3540270), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11761#3551853.isOrderUnit, lambda x_11761#3551853, false)), 1, None, false).uom, orderQuantityBaseUom#3540449), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11761#3551854.isOrderUnit, lambda x_11761#3551854, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3540450), candidateOrderQuantityInBaseUnit, qty#3540270, orderQuantityBaseUom, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3540450, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3540463, lambdafunction((lambda x_11763#3551855.isPreferred AND (((qty#3540270 * cast(lambda x_11763#3551855.denominator as double)) % cast(lambda x_11763#3551855.numerator as double)) = 0.0)), lambda x_11763#3551855, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3540270 * cast(lambda x_11764#3551896.denominator as double)) / cast(lambda x_11764#3551896.numerator as double)), uom, lambda x_11764#3551896.uom, uomUuid, lambda x_11764#3551896.uomUuid), lambda x_11764#3551896, false))).inPreferredQuantity, coalesce((qty#3540270 * (cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11762#3551856.isOrderUnit, lambda x_11762#3551856, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11762#3551857.isOrderUnit, lambda x_11762#3551857, false)), 1, None, false).numerator as double))), qty#3540270)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3540463, lambdafunction((lambda x_11763#3551858.isPreferred AND (((qty#3540270 * cast(lambda x_11763#3551858.denominator as double)) % cast(lambda x_11763#3551858.numerator as double)) = 0.0)), lambda x_11763#3551858, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3540270 * cast(lambda x_11764#3551897.denominator as double)) / cast(lambda x_11764#3551897.numerator as double)), uom, lambda x_11764#3551897.uom, uomUuid, lambda x_11764#3551897.uomUuid), lambda x_11764#3551897, false))).uom, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11762#3551859.isOrderUnit, lambda x_11762#3551859, false)), 1, None, false).uom, orderQuantityBaseUom#3540449)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3540463, lambdafunction((lambda x_11763#3551860.isPreferred AND (((qty#3540270 * cast(lambda x_11763#3551860.denominator as double)) % cast(lambda x_11763#3551860.numerator as double)) = 0.0)), lambda x_11763#3551860, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3540270 * cast(lambda x_11764#3551898.denominator as double)) / cast(lambda x_11764#3551898.numerator as double)), uom, lambda x_11764#3551898.uom, uomUuid, lambda x_11764#3551898.uomUuid), lambda x_11764#3551898, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11762#3551861.isOrderUnit, lambda x_11762#3551861, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3540450)), serviceLevel, coalesce(filter(element_at(quantityKpis#3551358, qty#3540270, None, false), lambdafunction((lambda x_11769#3551862.label = ServiceLevel), lambda x_11769#3551862, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3540270 * (cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11761#3551866.isOrderUnit, lambda x_11761#3551866, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11761#3551867.isOrderUnit, lambda x_11761#3551867, false)), 1, None, false).numerator as double))), qty#3540270), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11761#3551868.isOrderUnit, lambda x_11761#3551868, false)), 1, None, false).uom, orderQuantityBaseUom#3540449), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11761#3551869.isOrderUnit, lambda x_11761#3551869, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3540450), candidateOrderQuantityInBaseUnit, qty#3540270, orderQuantityBaseUom, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3540450, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3540463, lambdafunction((lambda x_11763#3551870.isPreferred AND (((qty#3540270 * cast(lambda x_11763#3551870.denominator as double)) % cast(lambda x_11763#3551870.numerator as double)) = 0.0)), lambda x_11763#3551870, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3540270 * cast(lambda x_11764#3551899.denominator as double)) / cast(lambda x_11764#3551899.numerator as double)), uom, lambda x_11764#3551899.uom, uomUuid, lambda x_11764#3551899.uomUuid), lambda x_11764#3551899, false))).inPreferredQuantity, coalesce((qty#3540270 * (cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11762#3551871.isOrderUnit, lambda x_11762#3551871, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11762#3551872.isOrderUnit, lambda x_11762#3551872, false)), 1, None, false).numerator as double))), qty#3540270)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3540463, lambdafunction((lambda x_11763#3551873.isPreferred AND (((qty#3540270 * cast(lambda x_11763#3551873.denominator as double)) % cast(lambda x_11763#3551873.numerator as double)) = 0.0)), lambda x_11763#3551873, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3540270 * cast(lambda x_11764#3551900.denominator as double)) / cast(lambda x_11764#3551900.numerator as double)), uom, lambda x_11764#3551900.uom, uomUuid, lambda x_11764#3551900.uomUuid), lambda x_11764#3551900, false))).uom, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11762#3551874.isOrderUnit, lambda x_11762#3551874, false)), 1, None, false).uom, orderQuantityBaseUom#3540449)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3540463, lambdafunction((lambda x_11763#3551875.isPreferred AND (((qty#3540270 * cast(lambda x_11763#3551875.denominator as double)) % cast(lambda x_11763#3551875.numerator as double)) = 0.0)), lambda x_11763#3551875, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3540270 * cast(lambda x_11764#3551901.denominator as double)) / cast(lambda x_11764#3551901.numerator as double)), uom, lambda x_11764#3551901.uom, uomUuid, lambda x_11764#3551901.uomUuid), lambda x_11764#3551901, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11762#3551876.isOrderUnit, lambda x_11762#3551876, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3540450)), serviceLevel, coalesce(filter(element_at(quantityKpis#3551358, qty#3540270, None, false), lambdafunction((lambda x_11773#3551877.label = ServiceLevel), lambda x_11773#3551877, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3540269 * (cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11765#3551881.isOrderUnit, lambda x_11765#3551881, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11765#3551882.isOrderUnit, lambda x_11765#3551882, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3540269), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11765#3551883.isOrderUnit, lambda x_11765#3551883, false)), 1, None, false).uom, orderQuantityBaseUom#3540449), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11765#3551884.isOrderUnit, lambda x_11765#3551884, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3540450), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3540269, orderQuantityBaseUom, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3540450, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3540463, lambdafunction((lambda x_11767#3551885.isPreferred AND (((quantityAfterProdPlantOptimization#3540269 * cast(lambda x_11767#3551885.denominator as double)) % cast(lambda x_11767#3551885.numerator as double)) = 0.0)), lambda x_11767#3551885, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3540269 * cast(lambda x_11768#3551902.denominator as double)) / cast(lambda x_11768#3551902.numerator as double)), uom, lambda x_11768#3551902.uom, uomUuid, lambda x_11768#3551902.uomUuid), lambda x_11768#3551902, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3540269 * (cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11766#3551886.isOrderUnit, lambda x_11766#3551886, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11766#3551887.isOrderUnit, lambda x_11766#3551887, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3540269)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3540463, lambdafunction((lambda x_11767#3551888.isPreferred AND (((quantityAfterProdPlantOptimization#3540269 * cast(lambda x_11767#3551888.denominator as double)) % cast(lambda x_11767#3551888.numerator as double)) = 0.0)), lambda x_11767#3551888, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3540269 * cast(lambda x_11768#3551903.denominator as double)) / cast(lambda x_11768#3551903.numerator as double)), uom, lambda x_11768#3551903.uom, uomUuid, lambda x_11768#3551903.uomUuid), lambda x_11768#3551903, false))).uom, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11766#3551889.isOrderUnit, lambda x_11766#3551889, false)), 1, None, false).uom, orderQuantityBaseUom#3540449)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3540463, lambdafunction((lambda x_11767#3551890.isPreferred AND (((quantityAfterProdPlantOptimization#3540269 * cast(lambda x_11767#3551890.denominator as double)) % cast(lambda x_11767#3551890.numerator as double)) = 0.0)), lambda x_11767#3551890, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3540269 * cast(lambda x_11768#3551904.denominator as double)) / cast(lambda x_11768#3551904.numerator as double)), uom, lambda x_11768#3551904.uom, uomUuid, lambda x_11768#3551904.uomUuid), lambda x_11768#3551904, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11766#3551891.isOrderUnit, lambda x_11766#3551891, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3540450)), serviceLevel, coalesce(filter(element_at(quantityKpis#3551358, quantityAfterProdPlantOptimization#3540269, None, false), lambdafunction((lambda x_11777#3551892.label = ServiceLevel), lambda x_11777#3551892, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3551850, coalesce(filter(prodLocSpecificKpis#3551330, lambdafunction((lambda x_11781#3551906.label = InitialStockQty), lambda x_11781#3551906, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3551905, coalesce(filter(prodLocSpecificKpis#3551330, lambdafunction((lambda x_11782#3551908.label = DemandPeriodEndTimestamp), lambda x_11782#3551908, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3551907]
Input [36]: [shardId#3538856, quantityAfterProdPlantOptimization#3540269, qty#3540270, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, productGroup#3540468, product#3540439, plant#3540440, subrange#3540438, orderDateTime#3540444, deliveryDateTime#3540445, availabilityDateTime#3540446, nextAvailabilityDateTime#3540447, logisticUnits#3540463, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, splitIndicator#3540431L, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, sourceOfSupplyUuid#3540435, minimumOrderQuantity#3540457, orderProposalItemId#3540427, orderProposalItemGroupId#3540428, optimizationGroups#3540464, measurements#3540456, previousOrderProposal#3540432L, prodLocSpecificKpis#3551330, channelStreamSpecificKpis#3551345, quantityKpis#3551358, constraintStructArray#3551772]
(56) Project
Output [21]: [shardId#3538856, qty#3540270, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, productGroup#3540468, product#3540439, plant#3540440, subrange#3540438, orderDateTime#3540444, deliveryDateTime#3540445, logisticUnits#3540463, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, splitIndicator#3540431L, orderProposalItemId#3540427, orderProposalItemGroupId#3540428, previousOrderProposal#3540432L, struct(itemId, orderProposalItemId#3540427, itemGroupId, orderProposalItemGroupId#3540428, supplier, supplier#3540437, supplyingPlant, supplyingPlant#3540467, productGroup, productGroup#3540468, product, product#3540439, plant, plant#3540440, supplierSubRange, subrange#3540438, sourceOfSupplyUuid, sourceOfSupplyUuid#3540435, deliveryDateTime, deliveryDateTime#3540445, unitPrice, netPriceAmount#3540454, unitPriceCurrency, netPriceCurrencyCode#3540455, unitPriceQuantity, ... 37 more fields) AS parentItem#3551981]
Input [37]: [shardId#3538856, qty#3540270, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, productGroup#3540468, product#3540439, plant#3540440, subrange#3540438, orderDateTime#3540444, deliveryDateTime#3540445, availabilityDateTime#3540446, nextAvailabilityDateTime#3540447, logisticUnits#3540463, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, splitIndicator#3540431L, netPriceAmount#3540454, netPriceCurrencyCode#3540455, netPriceQuantity#3540451, netPriceQuantityUom#3540452, netPriceQuantityUomUuid#3540453, sourceOfSupplyUuid#3540435, orderProposalItemId#3540427, orderProposalItemGroupId#3540428, optimizationGroups#3540464, measurements#3540456, previousOrderProposal#3540432L, prodLocSpecificKpis#3551330, channelStreamSpecificKpis#3551345, quantityKpis#3551358, constraintBenchmark#3551778, calculationAnalysis#3551850, inventoryDateTime#3551905, demandPeriodEndDateTime#3551907]
(57) Project
Output [12]: [shardId#3538856, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, orderDateTime#3540444, splitIndicator#3540431L, orderProposalItemGroupId#3540428, previousOrderProposal#3540432L, parentItem#3551981, struct(itemId, orderProposalItemId#3540427, supplier, supplier#3540437, supplyingPlant, supplyingPlant#3540467, productGroup, productGroup#3540468, product, product#3540439, plant, plant#3540440, supplierSubRange, subrange#3540438, deliveryDateTime, deliveryDateTime#3540445, orderQuantity, coalesce((qty#3540270 * (cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11806#3552015.isOrderUnit, lambda x_11806#3552015, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11806#3552016.isOrderUnit, lambda x_11806#3552016, false)), 1, None, false).numerator as double))), qty#3540270), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11806#3552017.isOrderUnit, lambda x_11806#3552017, false)), 1, None, false).uom, orderQuantityBaseUom#3540449), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3540463, lambdafunction(lambda x_11806#3552018.isOrderUnit, lambda x_11806#3552018, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3540450), orderQuantityInBaseUnit, qty#3540270, orderQuantityBaseUom, ... 13 more fields) AS item#3552012]
Input [21]: [shardId#3538856, qty#3540270, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, productGroup#3540468, product#3540439, plant#3540440, subrange#3540438, orderDateTime#3540444, deliveryDateTime#3540445, logisticUnits#3540463, orderQuantityBaseUom#3540449, orderQuantityBaseUomUuid#3540450, splitIndicator#3540431L, orderProposalItemId#3540427, orderProposalItemGroupId#3540428, previousOrderProposal#3540432L, parentItem#3551981]
(58) ObjectHashAggregate
Input [12]: [shardId#3538856, orderProposalId#3540426L, originalReplenishmentRunId#3540429L, supplierGroup#3540436, supplier#3540437, supplyingPlant#3540467, orderDateTime#3540444, splitIndicator#3540431L, orderProposalItemGroupId#3540428, previousOrderProposal#3540432L, parentItem#3551981, item#3552012]
Keys [4]: [shardId#3538856, orderProposalId#3540426L, splitIndicator#3540431L, orderProposalItemGroupId#3540428]
Functions [8]: [partial_max(originalReplenishmentRunId#3540429L), partial_max(supplierGroup#3540436), partial_max(supplier#3540437), partial_max(supplyingPlant#3540467), partial_max(orderDateTime#3540444), partial_collect_list(parentItem#3551981, 0, 0), partial_collect_set(previousOrderProposal#3540432L, 0, 0), partial_collect_list(item#3552012, 0, 0)]
Aggregate Attributes [8]: [max#3553265L, max#3553266, max#3553267, max#3553268, max#3553269, buf#3553270, buf#3553271, buf#3553272]
Results [12]: [shardId#3538856, orderProposalId#3540426L, splitIndicator#3540431L, orderProposalItemGroupId#3540428, max#3553273L, max#3553274, max#3553275, max#3553276, max#3553277, buf#3553278, buf#3553279, buf#3553280]
(59) Exchange
Input [12]: [shardId#3538856, orderProposalId#3540426L, splitIndicator#3540431L, orderProposalItemGroupId#3540428, max#3553273L, max#3553274, max#3553275, max#3553276, max#3553277, buf#3553278, buf#3553279, buf#3553280]
Arguments: hashpartitioning(shardId#3538856, orderProposalId#3540426L, splitIndicator#3540431L, orderProposalItemGroupId#3540428, 30), ENSURE_REQUIREMENTS, [plan_id=1017708]
(60) ObjectHashAggregate
Input [12]: [shardId#3538856, orderProposalId#3540426L, splitIndicator#3540431L, orderProposalItemGroupId#3540428, max#3553273L, max#3553274, max#3553275, max#3553276, max#3553277, buf#3553278, buf#3553279, buf#3553280]
Keys [4]: [shardId#3538856, orderProposalId#3540426L, splitIndicator#3540431L, orderProposalItemGroupId#3540428]
Functions [8]: [max(originalReplenishmentRunId#3540429L), max(supplierGroup#3540436), max(supplier#3540437), max(supplyingPlant#3540467), max(orderDateTime#3540444), collect_list(parentItem#3551981, 0, 0), collect_set(previousOrderProposal#3540432L, 0, 0), collect_list(item#3552012, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3540429L)#3552081L, max(supplierGroup#3540436)#3552082, max(supplier#3540437)#3552083, max(supplyingPlant#3540467)#3552084, max(orderDateTime#3540444)#3552085, collect_list(parentItem#3551981, 0, 0)#3552086, collect_set(previousOrderProposal#3540432L, 0, 0)#3552088, collect_list(item#3552012, 0, 0)#3552087]
Results [10]: [shardId#3538856, orderProposalId#3540426L, max(originalReplenishmentRunId#3540429L)#3552081L AS originalReplenishmentRunId#3552029L, max(supplierGroup#3540436)#3552082 AS supplierGroup#3552030, max(supplier#3540437)#3552083 AS supplier#3552031, max(supplyingPlant#3540467)#3552084 AS supplyingPlant#3552032, max(orderDateTime#3540444)#3552085 AS orderDateTime#3552033, collect_list(parentItem#3551981, 0, 0)#3552086 AS parentItems#3552034, collect_set(previousOrderProposal#3540432L, 0, 0)#3552088 AS previousOrderProposals#3552036, struct(itemGroupId, orderProposalItemGroupId#3540428, items, collect_list(item#3552012, 0, 0)#3552087) AS itemGroup#3552090]
(61) ObjectHashAggregate
Input [10]: [shardId#3538856, orderProposalId#3540426L, originalReplenishmentRunId#3552029L, supplierGroup#3552030, supplier#3552031, supplyingPlant#3552032, orderDateTime#3552033, parentItems#3552034, previousOrderProposals#3552036, itemGroup#3552090]
Keys [2]: [shardId#3538856, orderProposalId#3540426L]
Functions [8]: [partial_max(originalReplenishmentRunId#3552029L), partial_max(supplierGroup#3552030), partial_max(supplier#3552031), partial_max(supplyingPlant#3552032), partial_max(orderDateTime#3552033), partial_collect_list(itemGroup#3552090, 0, 0), partial_collect_list(parentItems#3552034, 0, 0), partial_collect_set(previousOrderProposals#3552036, 0, 0)]
Aggregate Attributes [8]: [max#3553249L, max#3553250, max#3553251, max#3553252, max#3553253, buf#3553254, buf#3553255, buf#3553256]
Results [10]: [shardId#3538856, orderProposalId#3540426L, max#3553257L, max#3553258, max#3553259, max#3553260, max#3553261, buf#3553262, buf#3553263, buf#3553264]
(62) Exchange
Input [10]: [shardId#3538856, orderProposalId#3540426L, max#3553257L, max#3553258, max#3553259, max#3553260, max#3553261, buf#3553262, buf#3553263, buf#3553264]
Arguments: hashpartitioning(shardId#3538856, orderProposalId#3540426L, 30), ENSURE_REQUIREMENTS, [plan_id=1017711]
(63) ObjectHashAggregate
Input [10]: [shardId#3538856, orderProposalId#3540426L, max#3553257L, max#3553258, max#3553259, max#3553260, max#3553261, buf#3553262, buf#3553263, buf#3553264]
Keys [2]: [shardId#3538856, orderProposalId#3540426L]
Functions [8]: [max(originalReplenishmentRunId#3552029L), max(supplierGroup#3552030), max(supplier#3552031), max(supplyingPlant#3552032), max(orderDateTime#3552033), collect_list(itemGroup#3552090, 0, 0), collect_list(parentItems#3552034, 0, 0), collect_set(previousOrderProposals#3552036, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3552029L)#3552112L, max(supplierGroup#3552030)#3552113, max(supplier#3552031)#3552114, max(supplyingPlant#3552032)#3552115, max(orderDateTime#3552033)#3552116, collect_list(itemGroup#3552090, 0, 0)#3552117, collect_list(parentItems#3552034, 0, 0)#3552118, collect_set(previousOrderProposals#3552036, 0, 0)#3552119]
Results [10]: [shardId#3538856, orderProposalId#3540426L, max(originalReplenishmentRunId#3552029L)#3552112L AS originalReplenishmentRunId#3552091L, max(supplierGroup#3552030)#3552113 AS supplierGroup#3552092, max(supplier#3552031)#3552114 AS supplier#3552093, max(supplyingPlant#3552032)#3552115 AS supplyingPlant#3552094, max(orderDateTime#3552033)#3552116 AS orderDateTime#3552095, collect_list(itemGroup#3552090, 0, 0)#3552117 AS itemGroups#3552096, flatten(collect_list(parentItems#3552034, 0, 0)#3552118) AS parentItems#3552097, flatten(collect_set(previousOrderProposals#3552036, 0, 0)#3552119) AS previousOrderProposals#3552098]
(64) Project
Output [2]: [shardId#3538856, struct(orderProposalId, orderProposalId#3540426L, originalReplenishmentRunId, originalReplenishmentRunId#3552091L, supplierGroup, supplierGroup#3552092, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3552092) THEN supplier#3552093 END, supplyingPlant, supplyingPlant#3552094, orderDateTime, orderDateTime#3552095, itemGroups, itemGroups#3552096, previousOrderProposals, array_distinct(previousOrderProposals#3552098), parentItems, parentItems#3552097) AS orderProposal#3552123]
Input [10]: [shardId#3538856, orderProposalId#3540426L, originalReplenishmentRunId#3552091L, supplierGroup#3552092, supplier#3552093, supplyingPlant#3552094, orderDateTime#3552095, itemGroups#3552096, parentItems#3552097, previousOrderProposals#3552098]
(65) Project
Output [11]: [shardId#3538856, orderProposal#3552123.orderProposalId AS _extract_orderProposalId#3552881L, orderProposal#3552123.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3552882L, orderProposal#3552123.supplierGroup AS _extract_supplierGroup#3552883, orderProposal#3552123.supplier AS _extract_supplier#3552884, orderProposal#3552123.supplyingPlant AS _extract_supplyingPlant#3552885, orderProposal#3552123.orderDateTime AS _extract_orderDateTime#3552886, orderProposal#3552123.itemGroups AS _extract_itemGroups#3552887, orderProposal#3552123.previousOrderProposals AS _extract_previousOrderProposals#3552888, orderProposal#3552123.parentItems AS _extract_parentItems#3552889, orderProposal#3552123.orderProposalId AS _extract_orderProposalId#3552890L]
Input [2]: [shardId#3538856, orderProposal#3552123]
(66) Exchange
Input [11]: [shardId#3538856, _extract_orderProposalId#3552881L, _extract_originalReplenishmentRunId#3552882L, _extract_supplierGroup#3552883, _extract_supplier#3552884, _extract_supplyingPlant#3552885, _extract_orderDateTime#3552886, _extract_itemGroups#3552887, _extract_previousOrderProposals#3552888, _extract_parentItems#3552889, _extract_orderProposalId#3552890L]
Arguments: hashpartitioning(coalesce(shardId#3538856, ), isnull(shardId#3538856), coalesce(_extract_orderProposalId#3552890L, 0), isnull(_extract_orderProposalId#3552890L), 30), ENSURE_REQUIREMENTS, [plan_id=1017715]
(67) Sort
Input [11]: [shardId#3538856, _extract_orderProposalId#3552881L, _extract_originalReplenishmentRunId#3552882L, _extract_supplierGroup#3552883, _extract_supplier#3552884, _extract_supplyingPlant#3552885, _extract_orderDateTime#3552886, _extract_itemGroups#3552887, _extract_previousOrderProposals#3552888, _extract_parentItems#3552889, _extract_orderProposalId#3552890L]
Arguments: [coalesce(shardId#3538856, ) ASC NULLS FIRST, isnull(shardId#3538856) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3552890L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3552890L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3552138, orderProposalId#3552139L, optimizationGroups#3552141]
Arguments: [shardId#3552138, orderProposalId#3552139L, optimizationGroups#3552141], [isnotnull(orderProposalId#3552139L)]
(69) InMemoryRelation
Arguments: [shardId#3552138, orderProposalId#3552139L, items#3552140, optimizationGroups#3552141, isOptimal#3552142, optimizationInsights#3552144], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3552138, orderProposalId#3552139L, optimizationGroups#3552141]
Condition : isnotnull(orderProposalId#3552139L)
(71) Exchange
Input [3]: [shardId#3552138, orderProposalId#3552139L, optimizationGroups#3552141]
Arguments: hashpartitioning(orderProposalId#3552139L, 30), ENSURE_REQUIREMENTS, [plan_id=1017720]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3552138, orderProposalId#3552139L, optimizationGroups#3552141]
Arguments: [orderProposalId#3552139L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3551767, shardId#3551765]
Arguments: [items#3551767, shardId#3551765], [(size(items#3551767.worklistShardItemId, true) > 0), isnotnull(items#3551767.worklistShardItemId), (shardId#3551765 = 0_2_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3551765, orderProposalId#3551766L, items#3551767, optimizationGroups#3551768, isOptimal#3551769, optimizationInsights#3551771], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3551767, shardId#3551765]
Condition : (((size(items#3551767.worklistShardItemId, true) > 0) AND isnotnull(items#3551767.worklistShardItemId)) AND (shardId#3551765 = 0_2_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3551767.worklistShardItemId AS _extract_worklistShardItemId#3552786]
Input [2]: [items#3551767, shardId#3551765]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3552786]
Arguments: explode(_extract_worklistShardItemId#3552786), false, [item#3552145L]
(78) Project [codegen id : 4]
Output [1]: [item#3552145L AS worklistShardItemId#3552146L]
Input [1]: [item#3552145L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3552146L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1017731]
(80) Scan parquet
Output [5]: [orderProposalId#3552194L, isFallbackOrderOnly#3552211, worklistShardItemId#3552217L, shardId#3552238, sequenceId#3552216]
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#3552238), isnotnull(sequenceId#3552216), (shardId#3552238 = 0_2_10000000532), (sequenceId#3552216 = 6)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(81) ColumnarToRow [codegen id : 5]
Input [5]: [orderProposalId#3552194L, isFallbackOrderOnly#3552211, worklistShardItemId#3552217L, shardId#3552238, sequenceId#3552216]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3552194L, isFallbackOrderOnly#3552211, worklistShardItemId#3552217L, shardId#3552238, sequenceId#3552216]
Condition : ((isnotnull(worklistShardItemId#3552217L) AND NOT (isFallbackOrderOnly#3552211 <=> true)) AND isnotnull(orderProposalId#3552194L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3552194L, worklistShardItemId#3552217L]
Input [5]: [orderProposalId#3552194L, isFallbackOrderOnly#3552211, worklistShardItemId#3552217L, shardId#3552238, sequenceId#3552216]
(84) Exchange
Input [2]: [orderProposalId#3552194L, worklistShardItemId#3552217L]
Arguments: hashpartitioning(worklistShardItemId#3552217L, 30), REPARTITION_BY_NUM, [plan_id=1017738]
(85) Project
Output [2]: [worklistShardItemId#3552217L, orderProposalId#3552194L]
Input [2]: [orderProposalId#3552194L, worklistShardItemId#3552217L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3552146L]
Right keys [1]: [worklistShardItemId#3552217L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3552194L]
Input [3]: [worklistShardItemId#3552146L, worklistShardItemId#3552217L, orderProposalId#3552194L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3552194L]
Keys [1]: [orderProposalId#3552194L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3552194L]
(89) Exchange
Input [1]: [orderProposalId#3552194L]
Arguments: hashpartitioning(orderProposalId#3552194L, 30), ENSURE_REQUIREMENTS, [plan_id=1017745]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3552194L]
Keys [1]: [orderProposalId#3552194L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3552194L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3552194L]
Arguments: [orderProposalId#3552194L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3552139L]
Right keys [1]: [orderProposalId#3552194L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3552139L, shardId#3552138, coalesce(transform(optimizationGroups#3552141, lambdafunction(struct(optGroupId, lambda x_11810#3552136.optGroupId, minOrderProfile, lambda x_11810#3552136.minOrderProfile, assignmentDetails, lambda x_11810#3552136.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11810#3552136.minOrderGoal.dimensionType, unit, lambda x_11810#3552136.minOrderGoal.unit, unitUuid, lambda x_11810#3552136.minOrderGoal.unitUuid, goalValue, lambda x_11810#3552136.minOrderGoal.minOrderValue, calcValue, lambda x_11810#3552136.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11810#3552136, false)), []) AS optimizationGroups#3552135]
Input [4]: [shardId#3552138, orderProposalId#3552139L, optimizationGroups#3552141, orderProposalId#3552194L]
(94) Exchange
Input [3]: [orderProposalId#3552139L, shardId#3552138, optimizationGroups#3552135]
Arguments: hashpartitioning(coalesce(shardId#3552138, ), isnull(shardId#3552138), coalesce(orderProposalId#3552139L, 0), isnull(orderProposalId#3552139L), 30), ENSURE_REQUIREMENTS, [plan_id=1017754]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3552139L, shardId#3552138, optimizationGroups#3552135]
Arguments: [coalesce(shardId#3552138, ) ASC NULLS FIRST, isnull(shardId#3552138) ASC NULLS FIRST, coalesce(orderProposalId#3552139L, 0) ASC NULLS FIRST, isnull(orderProposalId#3552139L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3538856, ), isnull(shardId#3538856), coalesce(_extract_orderProposalId#3552890L, 0), isnull(_extract_orderProposalId#3552890L)]
Right keys [4]: [coalesce(shardId#3552138, ), isnull(shardId#3552138), coalesce(orderProposalId#3552139L, 0), isnull(orderProposalId#3552139L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3538856, named_struct(orderProposalId, _extract_orderProposalId#3552890L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3552882L, supplierGroup, _extract_supplierGroup#3552883, optimizationGroups, coalesce(optimizationGroups#3552135, []), supplier, _extract_supplier#3552884, supplyingPlant, _extract_supplyingPlant#3552885, orderDateTime, _extract_orderDateTime#3552886, itemGroups, _extract_itemGroups#3552887, previousOrderProposals, _extract_previousOrderProposals#3552888, parentItems, _extract_parentItems#3552889) AS orderProposal#3552242]
Input [14]: [shardId#3538856, _extract_orderProposalId#3552881L, _extract_originalReplenishmentRunId#3552882L, _extract_supplierGroup#3552883, _extract_supplier#3552884, _extract_supplyingPlant#3552885, _extract_orderDateTime#3552886, _extract_itemGroups#3552887, _extract_previousOrderProposals#3552888, _extract_parentItems#3552889, _extract_orderProposalId#3552890L, orderProposalId#3552139L, shardId#3552138, optimizationGroups#3552135]
(98) Filter
Input [1]: [orderProposal#3552242]
Condition : (size(orderProposal#3552242.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3552242.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3553661]
Input [1]: [orderProposal#3552242]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3553661]
Arguments: explode(_extract_deliveryDateTime#3553661), false, [numberOfOrderProposalItems#3553633]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3553633]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3553672L]
Results [1]: [count#3553673L]
(103) Exchange
Input [1]: [count#3553673L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1017881]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3553673L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3553638L]
Results [1]: [count(1)#3553638L AS count#3553634L]