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: 1125.0 B<br>merged fetch fallback count: 0<br>local blocks read: 15<br>remote merged chunks fetched: 0<br>remote blocks read: 15<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 307801.0: task 890337))<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 307801.0: task 890406))<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: 1125.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 307801.0: task 890337))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=980308]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n278 ms (6 ms, 8 ms, 29 ms (stage 307801.0: task 890398))";
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>262 ms (6 ms, 7 ms, 28 ms (stage 307801.0: task 890398))<br>number of output rows: 30" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(_extract_deliveryDateTime#3403301), false, [numberOfOrderProposalItems#3403273]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3401811.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3403301]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (size(orderProposal#3401811.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [orderProposal#3401811], [(size(orderProposal#3401811.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, named_struct(orderProposalId, _extract_orderProposalId#3402530L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3402522L, supplierGroup, _extract_supplierGroup#3402523, optimizationGroups, coalesce(optimizationGroups#3401704, []), supplier, _extract_supplier#3402524, supplyingPlant, _extract_supplyingPlant#3402525, orderDateTime, _extract_orderDateTime#3402526, itemGroups, _extract_itemGroups#3402527, previousOrderProposals, _extract_previousOrderProposals#3402528, parentItems, _extract_parentItems#3402529) AS orderProposal#3401811]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,360<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307801.0: task 890337))" tooltip="SortMergeJoin [coalesce(shardId#3395105, ), isnull(shardId#3395105), coalesce(_extract_orderProposalId#3402530L, 0), isnull(_extract_orderProposalId#3402530L)], [coalesce(shardId#3401707, ), isnull(shardId#3401707), coalesce(orderProposalId#3401708L, 0), isnull(orderProposalId#3401708L)], 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 307801.0: task 890337))<br>peak memory total (min, med, max (stageId: taskId))<br>251.9 MiB (6.1 MiB, 8.1 MiB, 10.1 MiB (stage 307801.0: task 890375))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307801.0: task 890337))" tooltip="Sort [coalesce(shardId#3395105, ) ASC NULLS FIRST, isnull(shardId#3395105) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3402530L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3402530L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>10.5 MiB (152.8 KiB, 409.1 KiB, 718.0 KiB (stage 307801.0: task 890375))<br>merged fetch fallback count: 0<br>local blocks read: 418<br>remote merged chunks fetched: 0<br>remote blocks read: 417<br>data size total (min, med, max (stageId: taskId))<br>217.2 MiB (4.6 MiB, 7.2 MiB, 9.4 MiB (stage 307799.0: task 890318))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>103 ms (2 ms, 3 ms, 14 ms (stage 307799.0: task 890320))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>11 ms (0 ms, 0 ms, 6 ms (stage 307801.0: task 890418))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.1 MiB (125.3 KiB, 361.8 KiB, 577.2 KiB (stage 307801.0: task 890337))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>142 ms (1 ms, 2 ms, 24 ms (stage 307801.0: task 890423))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.7 MiB (444.0 KiB, 699.4 KiB, 919.1 KiB (stage 307799.0: task 890318))" tooltip="Exchange hashpartitioning(coalesce(shardId#3395105, ), isnull(shardId#3395105), coalesce(_extract_orderProposalId#3402530L, 0), isnull(_extract_orderProposalId#3402530L), 30), ENSURE_REQUIREMENTS, [plan_id=980142]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, orderProposal#3401692.orderProposalId AS _extract_orderProposalId#3402521L, orderProposal#3401692.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3402522L, orderProposal#3401692.supplierGroup AS _extract_supplierGroup#3402523, orderProposal#3401692.supplier AS _extract_supplier#3402524, orderProposal#3401692.supplyingPlant AS _extract_supplyingPlant#3402525, orderProposal#3401692.orderDateTime AS _extract_orderDateTime#3402526, orderProposal#3401692.itemGroups AS _extract_itemGroups#3402527, orderProposal#3401692.previousOrderProposals AS _extract_previousOrderProposals#3402528, orderProposal#3401692.parentItems AS _extract_parentItems#3402529, orderProposal#3401692.orderProposalId AS _extract_orderProposalId#3402530L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, struct(orderProposalId, orderProposalId#3396170L, originalReplenishmentRunId, originalReplenishmentRunId#3401660L, supplierGroup, supplierGroup#3401661, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3401661) THEN supplier#3401662 END, supplyingPlant, supplyingPlant#3401663, orderDateTime, orderDateTime#3401664, itemGroups, itemGroups#3401665, previousOrderProposals, array_distinct(previousOrderProposals#3401667), parentItems, parentItems#3401666) AS orderProposal#3401692]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>591 ms (15 ms, 18 ms, 46 ms (stage 307799.0: task 890271))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307799.0: task 890253))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3395105, orderProposalId#3396170L], functions=[max(originalReplenishmentRunId#3401598L), max(supplierGroup#3401599), max(supplier#3401600), max(supplyingPlant#3401601), max(orderDateTime#3401602), collect_list(itemGroup#3401659, 0, 0), collect_list(parentItems#3401603, 0, 0), collect_set(previousOrderProposals#3401605, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>10.3 MiB (202.6 KiB, 360.2 KiB, 490.2 KiB (stage 307799.0: task 890327))<br>merged fetch fallback count: 0<br>local blocks read: 414<br>remote merged chunks fetched: 0<br>remote blocks read: 422<br>data size total (min, med, max (stageId: taskId))<br>217.4 MiB (5.3 MiB, 7.2 MiB, 9.2 MiB (stage 307798.0: task 890233))<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>95 ms (2 ms, 3 ms, 4 ms (stage 307798.0: task 890192))<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 307799.0: task 890253))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.5 MiB (242.4 KiB, 360.5 KiB, 489.1 KiB (stage 307799.0: task 890318))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>48 ms (1 ms, 2 ms, 2 ms (stage 307799.0: task 890278))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.7 MiB (514.0 KiB, 699.7 KiB, 897.5 KiB (stage 307798.0: task 890233))" tooltip="Exchange hashpartitioning(shardId#3395105, orderProposalId#3396170L, 30), ENSURE_REQUIREMENTS, [plan_id=980138]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>330 ms (4 ms, 6 ms, 25 ms (stage 307798.0: task 890171))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307798.0: task 890190))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3395105, orderProposalId#3396170L], functions=[partial_max(originalReplenishmentRunId#3401598L), partial_max(supplierGroup#3401599), partial_max(supplier#3401600), partial_max(supplyingPlant#3401601), partial_max(orderDateTime#3401602), partial_collect_list(itemGroup#3401659, 0, 0), partial_collect_list(parentItems#3401603, 0, 0), partial_collect_set(previousOrderProposals#3401605, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,360<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.2 s (21 ms, 26 ms, 178 ms (stage 307798.0: task 890172))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307798.0: task 890190))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3395105, orderProposalId#3396170L, splitIndicator#3396175L, orderProposalItemGroupId#3396172], functions=[max(originalReplenishmentRunId#3396173L), max(supplierGroup#3396180), max(supplier#3396181), max(supplyingPlant#3396211), max(orderDateTime#3396188), collect_list(parentItem#3401550, 0, 0), collect_set(previousOrderProposal#3396176L, 0, 0), collect_list(item#3401581, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,104<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,104<br>local bytes read total (min, med, max (stageId: taskId))<br>11.8 MiB (168.5 KiB, 464.2 KiB, 723.0 KiB (stage 307798.0: task 890233))<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>232.2 MiB (7.4 MiB, 7.7 MiB, 8.0 MiB (stage 307797.0: task 889985))<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>1.0 s (2 ms, 3 ms, 581 ms (stage 307797.0: task 890094))<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 307798.0: task 890190))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.6 MiB (317.1 KiB, 538.3 KiB, 896.5 KiB (stage 307798.0: task 890200))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>222 ms (4 ms, 7 ms, 16 ms (stage 307798.0: task 890169))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.4 MiB (938.0 KiB, 969.8 KiB, 998.5 KiB (stage 307797.0: task 889985))" tooltip="Exchange hashpartitioning(shardId#3395105, orderProposalId#3396170L, splitIndicator#3396175L, orderProposalItemGroupId#3396172, 30), ENSURE_REQUIREMENTS, [plan_id=980135]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 58,104<br>time in aggregation build total (min, med, max (stageId: taskId))<br>22.7 s (217 ms, 469 ms, 1.7 s (stage 307797.0: task 890001))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307797.0: task 889921))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3395105, orderProposalId#3396170L, splitIndicator#3396175L, orderProposalItemGroupId#3396172], functions=[partial_max(originalReplenishmentRunId#3396173L), partial_max(supplierGroup#3396180), partial_max(supplier#3396181), partial_max(supplyingPlant#3396211), partial_max(orderDateTime#3396188), partial_collect_list(parentItem#3401550, 0, 0), partial_collect_set(previousOrderProposal#3396176L, 0, 0), partial_collect_list(item#3401581, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, orderDateTime#3396188, splitIndicator#3396175L, orderProposalItemGroupId#3396172, previousOrderProposal#3396176L, parentItem#3401550, struct(itemId, orderProposalItemId#3396171, supplier, supplier#3396181, supplyingPlant, supplyingPlant#3396211, productGroup, productGroup#3396212, product, product#3396183, plant, plant#3396184, supplierSubRange, subrange#3396182, deliveryDateTime, deliveryDateTime#3396189, orderQuantity, coalesce((qty#3395822 * (cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11297#3401584.isOrderUnit, lambda x_11297#3401584, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11297#3401585.isOrderUnit, lambda x_11297#3401585, false)), 1, None, false).numerator as double))), qty#3395822), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11297#3401586.isOrderUnit, lambda x_11297#3401586, false)), 1, None, false).uom, orderQuantityBaseUom#3396193), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11297#3401587.isOrderUnit, lambda x_11297#3401587, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3396194), orderQuantityInBaseUnit, qty#3395822, orderQuantityBaseUom, ... 13 more fields) AS item#3401581]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, qty#3395822, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, productGroup#3396212, product#3396183, plant#3396184, subrange#3396182, orderDateTime#3396188, deliveryDateTime#3396189, logisticUnits#3396207, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, splitIndicator#3396175L, orderProposalItemId#3396171, orderProposalItemGroupId#3396172, previousOrderProposal#3396176L, struct(itemId, orderProposalItemId#3396171, itemGroupId, orderProposalItemGroupId#3396172, supplier, supplier#3396181, supplyingPlant, supplyingPlant#3396211, productGroup, productGroup#3396212, product, product#3396183, plant, plant#3396184, supplierSubRange, subrange#3396182, sourceOfSupplyUuid, sourceOfSupplyUuid#3396179, deliveryDateTime, deliveryDateTime#3396189, unitPrice, netPriceAmount#3396198, unitPriceCurrency, netPriceCurrencyCode#3396199, unitPriceQuantity, ... 37 more fields) AS parentItem#3401550]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, qty#3395822, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, productGroup#3396212, product#3396183, plant#3396184, subrange#3396182, orderDateTime#3396188, deliveryDateTime#3396189, availabilityDateTime#3396190, nextAvailabilityDateTime#3396191, logisticUnits#3396207, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, splitIndicator#3396175L, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, sourceOfSupplyUuid#3396179, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n26.1 s (246 ms, 470 ms, 1.8 s (stage 307797.0: task 890001))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, productGroup#3396212, product#3396183, plant#3396184, subrange#3396182, orderDateTime#3396188, deliveryDateTime#3396189, availabilityDateTime#3396190, nextAvailabilityDateTime#3396191, logisticUnits#3396207, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, splitIndicator#3396175L, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter NOT (isFallbackOrderOnly#3396192 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 119,861" tooltip="InMemoryTableScan [availabilityDateTime#3396190, channelStreamSpecificKpis#3399791, constraintLabels#3396202, constraintOperators#3396203, constraintValues#3396205, deliveryDateTime#3396189, isFallbackOrderOnly#3396192, logisticUnits#3396207, measurements#3396200, minimumOrderQuantity#3396201, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, nextAvailabilityDateTime#3396191, optimizationGroups#3396208, orderDateTime#3396188, orderProposalId#3396170L, orderProposalItemGroupId#3396172, orderProposalItemId#3396171, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, originalReplenishmentRunId#3396173L, plant#3396184, ... 14 more fields], [NOT (isFallbackOrderOnly#3396192 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n19.8 s (402 ms, 540 ms, 1.1 s (stage 307797.0: task 889993))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307797.0: task 889921))" tooltip="SortMergeJoin [shardId#3395105, worklistShardItemId#3395820L], [shardId#3399798, worklistShardItemId#3399799L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n27.4 s (506 ms, 710 ms, 1.6 s (stage 307797.0: task 890000))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307797.0: task 889921))" tooltip="SortMergeJoin [shardId#3395105, worklistShardItemId#3395820L], [shardId#3399785, worklistShardItemId#3399786L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n33.6 s (580 ms, 791 ms, 2.3 s (stage 307797.0: task 890000))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307797.0: task 889921))" tooltip="SortMergeJoin [shardId#3395105, worklistShardItemId#3395820L], [shardId#3399769, worklistShardItemId#3399770L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n36.4 s (584 ms, 793 ms, 2.7 s (stage 307797.0: task 890000))";
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, 2 ms (stage 307797.0: task 889954))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 307797.0: task 889921))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307797.0: task 889921))" tooltip="Sort [shardId#3395105 ASC NULLS FIRST, worklistShardItemId#3395820L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>16.8 MiB (923.4 KiB, 953.4 KiB, 988.4 KiB (stage 307797.0: task 889985))<br>merged fetch fallback count: 0<br>local blocks read: 540<br>remote merged chunks fetched: 0<br>remote blocks read: 360<br>data size total (min, med, max (stageId: taskId))<br>138.2 MiB (4.5 MiB, 4.6 MiB, 4.8 MiB (stage 307796.0: task 889372))<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>137 ms (2 ms, 3 ms, 27 ms (stage 307796.0: task 889457))<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 307797.0: task 889921))<br>remote bytes read total (min, med, max (stageId: taskId))<br>11.3 MiB (944.6 KiB, 964.0 KiB, 976.4 KiB (stage 307797.0: task 890069))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>233 ms (4 ms, 27 ms, 35 ms (stage 307797.0: task 890000))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.1 MiB (934.1 KiB, 958.0 KiB, 994.3 KiB (stage 307796.0: task 889372))" tooltip="Exchange hashpartitioning(shardId#3395105, worklistShardItemId#3395820L, 30), ENSURE_REQUIREMENTS, [plan_id=979815]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (29 ms, 42 ms, 78 ms (stage 307796.0: task 889393))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,861<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307796.0: task 889343))" tooltip="SortMergeJoin [worklistShardItemId#3395820L], [worklistShardItemId#3396326L], LeftOuter, (shardId#3395105 = 0_5_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.6 s (30 ms, 43 ms, 309 ms (stage 307796.0: task 889343))";
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 307796.0: task 889343))<br>peak memory total (min, med, max (stageId: taskId))<br>64.0 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 307796.0: task 889372))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307796.0: task 889343))" tooltip="Sort [worklistShardItemId#3395820L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>428.4 KiB (13.7 KiB, 14.3 KiB, 14.7 KiB (stage 307796.0: task 889499))<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>6.4 MiB (209.2 KiB, 217.5 KiB, 229.2 KiB (stage 307792.0: task 889109))<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 307792.0: task 889078))<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>19 ms (0 ms, 0 ms, 15 ms (stage 307796.0: task 889396))<br>remote bytes read total (min, med, max (stageId: taskId))<br>485.0 KiB (15.5 KiB, 16.2 KiB, 16.7 KiB (stage 307796.0: task 889372))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>58 ms (1 ms, 1 ms, 19 ms (stage 307796.0: task 889396))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>913.4 KiB (29.5 KiB, 30.6 KiB, 31.4 KiB (stage 307792.0: task 889104))" tooltip="Exchange hashpartitioning(worklistShardItemId#3395820L, 30), ENSURE_REQUIREMENTS, [plan_id=979796]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n187 ms (4 ms, 5 ms, 53 ms (stage 307792.0: task 889053))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3395105, item#3395819.worklistShardItemId AS worklistShardItemId#3395820L, item#3395819.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3395821, item#3395819.qty AS qty#3395822]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(items#3395107), [shardId#3395105], false, [item#3395819]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter ((size(items#3395107, true) > 0) AND isnotnull(items#3395107))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3395105, items#3395107], [(size(items#3395107, true) > 0), isnotnull(items#3395107)]"];
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#3395105) AND (shardId#3395105 = 0_5_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, optimizationInsights#3395111], [isnotnull(shardId#3395105), (shardId#3395105 = 0_5_10000000532)]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
56 [id="node56" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3395105) AND (shardId#3395105 = 0_5_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3395105,orderProposalId#3395106L,items#3395107,optimizationGroups#3395108,isOptimal#3395109,lastModified#3395110,optimizationInsights#3395111]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.5 s (30 ms, 42 ms, 178 ms (stage 307796.0: task 889343))";
tooltip="WholeStageCodegen (4)";
59 [id="node59" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 307796.0: task 889343))<br>peak memory total (min, med, max (stageId: taskId))<br>184.0 MiB (6.1 MiB, 6.1 MiB, 6.3 MiB (stage 307796.0: task 889372))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307796.0: task 889343))" tooltip="Sort [worklistShardItemId#3396326L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3396326L, orderProposalId#3396303L, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, originalReplenishmentRunId#3396345L, splitIndicator#3396322L, previousOrderProposal#3396323L, sourceOfSupplyUuid#3396317, supplierGroup#3396305, supplier#3396306, subrange#3396309, product#3396312, plant#3396307, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, isFallbackOrderOnly#3396320, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, netPriceAmount#3396339, netPriceCurrencyCode#3396340, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>7.3 MiB (232.3 KiB, 247.7 KiB, 265.6 KiB (stage 307796.0: task 889525))<br>merged fetch fallback count: 0<br>local blocks read: 300<br>remote merged chunks fetched: 0<br>remote blocks read: 810<br>data size total (min, med, max (stageId: taskId))<br>133.6 MiB (3.5 MiB, 3.6 MiB, 3.7 MiB (stage 307791.0: task 889045))<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>147 ms (2 ms, 3 ms, 19 ms (stage 307791.0: task 889199))<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 307796.0: task 889343))<br>remote bytes read total (min, med, max (stageId: taskId))<br>19.4 MiB (641.3 KiB, 660.0 KiB, 692.0 KiB (stage 307796.0: task 889372))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>222 ms (5 ms, 6 ms, 24 ms (stage 307796.0: task 889396))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.7 MiB (710.1 KiB, 740.3 KiB, 760.6 KiB (stage 307791.0: task 889099))" tooltip="Exchange hashpartitioning(worklistShardItemId#3396326L, 30), REPARTITION_BY_NUM, [plan_id=979806]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.3 s (126 ms, 165 ms, 305 ms (stage 307791.0: task 889132))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3396303L, orderProposalItemId#3396304, supplierGroup#3396305, supplier#3396306, plant#3396307, deliveryDateTime#3396308, subrange#3396309, supplyingPlant#3396310, productGroup#3396311, product#3396312, orderDateTime#3396313, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, sourceOfSupplyUuid#3396317, isFallbackOrderOnly#3396320, splitIndicator#3396322L, previousOrderProposal#3396323L, worklistShardItemId#3396326L, orderProposalItemGroupId#3396327, externalProductId#3396328, externalPlantId#3396329, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, minimumOrderQuantity#3396333, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter isnotnull(worklistShardItemId#3396326L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,861<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
66 [id="node66" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>5.4 s (112 ms, 148 ms, 195 ms (stage 307791.0: task 889248))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.5 MiB<br>number of output rows: 119,861<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3396303L,orderProposalItemId#3396304,supplierGroup#3396305,supplier#3396306,plant#3396307,deliveryDateTime#3396308,subrange#3396309,supplyingPlant#3396310,productGroup#3396311,product#3396312,orderDateTime#3396313,availabilityDateTime#3396314,nextAvailabilityDateTime#3396315,sourceOfSupplyUuid#3396317,isFallbackOrderOnly#3396320,splitIndicator#3396322L,previousOrderProposal#3396323L,worklistShardItemId#3396326L,orderProposalItemGroupId#3396327,externalProductId#3396328,externalPlantId#3396329,logisticUnits#3396330,orderQuantityBaseUom#3396331,orderQuantityBaseUomUuid#3396332,minimumOrderQuantity#3396333,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3396326L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3396347), isnotnull(sequenceId#3396325), (shardId#3396347 = 0_5_10000000532), ..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster67 {
isCluster="true";
id="cluster67";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (8)";
68 [id="node68" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>702 ms (16 ms, 19 ms, 57 ms (stage 307797.0: task 890094))<br>peak memory total (min, med, max (stageId: taskId))<br>675.0 MiB (22.5 MiB, 22.5 MiB, 22.5 MiB (stage 307797.0: task 889921))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307797.0: task 889921))" tooltip="Sort [shardId#3399769 ASC NULLS FIRST, worklistShardItemId#3399770L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>9.9 MiB (208.8 KiB, 382.9 KiB, 395.5 KiB (stage 307797.0: task 889920))<br>merged fetch fallback count: 0<br>local blocks read: 339<br>remote merged chunks fetched: 0<br>remote blocks read: 561<br>data size total (min, med, max (stageId: taskId))<br>610.4 MiB (20.1 MiB, 20.4 MiB, 20.6 MiB (stage 307794.0: task 889824))<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>116 ms (2 ms, 2 ms, 12 ms (stage 307794.0: task 889389))<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 307797.0: task 889921))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.4 MiB (493.9 KiB, 516.0 KiB, 693.8 KiB (stage 307797.0: task 890000))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>521 ms (4 ms, 11 ms, 72 ms (stage 307797.0: task 889985))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.3 MiB (882.1 KiB, 898.3 KiB, 908.4 KiB (stage 307794.0: task 889465))" tooltip="Exchange hashpartitioning(shardId#3399769, worklistShardItemId#3399770L, 30), ENSURE_REQUIREMENTS, [plan_id=979821]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n26.7 s (762 ms, 854 ms, 1.4 s (stage 307794.0: task 889280))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3399769, worklistShardItemId#3399770L, coalesce(kpis#3399774, []) AS prodLocSpecificKpis#3399775]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter (((isnull(qty#3399771) AND isnull(demandChannel#3399772)) AND isnull(demandStream#3399773)) AND (isnotnull(shardId#3399769) AND isnotnull(worklistShardItemId#3399770L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3399769,worklistShardItemId#3399770L,qty#3399771,demandChannel#3399772,demandStream#3399773,kpis#3399774]"];
}
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>32 ms (1 ms, 1 ms, 2 ms (stage 307797.0: task 889986))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 307797.0: task 889921))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307797.0: task 889921))" tooltip="Sort [shardId#3399785 ASC NULLS FIRST, worklistShardItemId#3399786L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.8 s (22 ms, 45 ms, 165 ms (stage 307797.0: task 890002))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307797.0: task 889921))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3399785, worklistShardItemId#3399786L], functions=[collect_list(struct(demandChannel, demandChannel#3399788, demandStream, demandStream#3399789, kpis, kpis#3399790), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>1634.4 KiB (15.5 KiB, 16.4 KiB, 120.2 KiB (stage 307797.0: task 889999))<br>merged fetch fallback count: 0<br>local blocks read: 206<br>remote merged chunks fetched: 0<br>remote blocks read: 694<br>data size total (min, med, max (stageId: taskId))<br>236.9 MiB (7.8 MiB, 7.9 MiB, 8.0 MiB (stage 307793.0: task 889278))<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>77 ms (1 ms, 1 ms, 13 ms (stage 307793.0: task 889818))<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>15 ms (0 ms, 0 ms, 15 ms (stage 307797.0: task 890069))<br>remote bytes read total (min, med, max (stageId: taskId))<br>5.3 MiB (117.8 KiB, 219.1 KiB, 222.9 KiB (stage 307797.0: task 889954))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>322 ms (4 ms, 7 ms, 73 ms (stage 307797.0: task 889985))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.9 MiB (235.1 KiB, 237.1 KiB, 238.3 KiB (stage 307793.0: task 889278))" tooltip="Exchange hashpartitioning(shardId#3399785, worklistShardItemId#3399786L, 30), ENSURE_REQUIREMENTS, [plan_id=979832]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>28.0 s (769 ms, 896 ms, 1.5 s (stage 307793.0: task 889559))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307793.0: task 889041))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3399785, worklistShardItemId#3399786L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3399788, demandStream, demandStream#3399789, kpis, kpis#3399790), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n27.4 s (754 ms, 879 ms, 1.5 s (stage 307793.0: task 889559))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3399785, worklistShardItemId#3399786L, demandChannel#3399788, demandStream#3399789, kpis#3399790]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter ((((isnull(qty#3399787) AND isnotnull(demandChannel#3399788)) AND isnotnull(demandStream#3399789)) AND (size(kpis#3399790, true) > 0)) AND (isnotnull(shardId#3399785) AND isnotnull(worklistShardItemId#3399786L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3399785,worklistShardItemId#3399786L,qty#3399787,demandChannel#3399788,demandStream#3399789,kpis#3399790]"];
}
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>32 ms (1 ms, 1 ms, 2 ms (stage 307797.0: task 889993))<br>peak memory total (min, med, max (stageId: taskId))<br>735.0 MiB (24.5 MiB, 24.5 MiB, 24.5 MiB (stage 307797.0: task 889921))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307797.0: task 889921))" tooltip="Sort [shardId#3399798 ASC NULLS FIRST, worklistShardItemId#3399799L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.4 s (48 ms, 71 ms, 128 ms (stage 307797.0: task 889998))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307797.0: task 889921))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3399798, worklistShardItemId#3399799L], functions=[collect_list(struct(qty, qty#3399800, kpis, kpis#3399803), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,173,819<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,173,819<br>local bytes read total (min, med, max (stageId: taskId))<br>9.5 MiB (25.6 KiB, 439.5 KiB, 448.5 KiB (stage 307797.0: task 889960))<br>merged fetch fallback count: 0<br>local blocks read: 373<br>remote merged chunks fetched: 0<br>remote blocks read: 527<br>data size total (min, med, max (stageId: taskId))<br>727.3 MiB (24.1 MiB, 24.2 MiB, 24.4 MiB (stage 307795.0: task 889827))<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>133 ms (2 ms, 2 ms, 31 ms (stage 307795.0: task 889892))<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 307797.0: task 889921))<br>remote bytes read total (min, med, max (stageId: taskId))<br>13.4 MiB (330.7 KiB, 340.3 KiB, 767.6 KiB (stage 307797.0: task 889999))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>268 ms (4 ms, 9 ms, 24 ms (stage 307797.0: task 890094))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>22.9 MiB (777.0 KiB, 781.3 KiB, 787.6 KiB (stage 307795.0: task 889827))" tooltip="Exchange hashpartitioning(shardId#3399798, worklistShardItemId#3399799L, 30), ENSURE_REQUIREMENTS, [plan_id=979844]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,173,819<br>time in aggregation build total (min, med, max (stageId: taskId))<br>29.3 s (790 ms, 964 ms, 1.5 s (stage 307795.0: task 889892))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307795.0: task 889061))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3399798, worklistShardItemId#3399799L], functions=[partial_collect_list(struct(qty, qty#3399800, kpis, kpis#3399803), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n27.9 s (750 ms, 925 ms, 1.5 s (stage 307795.0: task 889892))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3399798, worklistShardItemId#3399799L, qty#3399800, kpis#3399803]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter ((isnotnull(qty#3399800) AND isnotnull(kpis#3399803)) AND (isnotnull(shardId#3399798) AND isnotnull(worklistShardItemId#3399799L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3399798,worklistShardItemId#3399799L,qty#3399800,demandChannel#3399801,demandStream#3399802,kpis#3399803]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (23 ms, 36 ms, 261 ms (stage 307801.0: task 890339))";
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 307801.0: task 890337))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 307801.0: task 890337))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307801.0: task 890337))" tooltip="Sort [coalesce(shardId#3401707, ) ASC NULLS FIRST, isnull(shardId#3401707) ASC NULLS FIRST, coalesce(orderProposalId#3401708L, 0) ASC NULLS FIRST, isnull(orderProposalId#3401708L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>56.8 KiB (3.4 KiB, 3.8 KiB, 4.0 KiB (stage 307801.0: task 890404))<br>merged fetch fallback count: 0<br>local blocks read: 425<br>remote merged chunks fetched: 0<br>remote blocks read: 411<br>data size total (min, med, max (stageId: taskId))<br>129.1 KiB (3.0 KiB, 4.3 KiB, 5.3 KiB (stage 307800.0: task 889459))<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, 25 ms (stage 307800.0: task 889459))<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 307801.0: task 890337))<br>remote bytes read total (min, med, max (stageId: taskId))<br>55.7 KiB (3.3 KiB, 3.7 KiB, 4.2 KiB (stage 307801.0: task 890375))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>58 ms (1 ms, 2 ms, 30 ms (stage 307801.0: task 890406))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>112.5 KiB (3.1 KiB, 3.8 KiB, 4.1 KiB (stage 307800.0: task 889423))" tooltip="Exchange hashpartitioning(coalesce(shardId#3401707, ), isnull(shardId#3401707), coalesce(orderProposalId#3401708L, 0), isnull(orderProposalId#3401708L), 30), ENSURE_REQUIREMENTS, [plan_id=980181]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3401708L, shardId#3401707, coalesce(transform(optimizationGroups#3401710, lambdafunction(struct(optGroupId, lambda x_11301#3401705.optGroupId, minOrderProfile, lambda x_11301#3401705.minOrderProfile, assignmentDetails, lambda x_11301#3401705.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11301#3401705.minOrderGoal.dimensionType, unit, lambda x_11301#3401705.minOrderGoal.unit, unitUuid, lambda x_11301#3401705.minOrderGoal.unitUuid, goalValue, lambda x_11301#3401705.minOrderGoal.minOrderValue, calcValue, lambda x_11301#3401705.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11301#3401705, false)), []) AS optimizationGroups#3401704]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n505 ms (8 ms, 11 ms, 85 ms (stage 307800.0: task 889394))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,360<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307800.0: task 889394))" tooltip="SortMergeJoin [orderProposalId#3401708L], [orderProposalId#3401763L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n702 ms (9 ms, 12 ms, 258 ms (stage 307800.0: task 889394))";
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 307800.0: task 889394))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 307800.0: task 889394))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307800.0: task 889394))" tooltip="Sort [orderProposalId#3401708L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,360<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,360<br>local bytes read total (min, med, max (stageId: taskId))<br>52.6 KiB (1212.0 B, 1827.0 B, 2.0 KiB (stage 307800.0: task 889447))<br>merged fetch fallback count: 0<br>local blocks read: 391<br>remote merged chunks fetched: 0<br>remote blocks read: 447<br>data size total (min, med, max (stageId: taskId))<br>129.1 KiB (4.1 KiB, 4.3 KiB, 4.5 KiB (stage 307790.0: task 889088))<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>44 ms (1 ms, 1 ms, 1 ms (stage 307790.0: task 889093))<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>28 ms (0 ms, 0 ms, 15 ms (stage 307800.0: task 889447))<br>remote bytes read total (min, med, max (stageId: taskId))<br>60.1 KiB (1741.0 B, 2.1 KiB, 2.3 KiB (stage 307800.0: task 889423))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>85 ms (1 ms, 1 ms, 19 ms (stage 307800.0: task 889438))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>112.7 KiB (3.4 KiB, 3.8 KiB, 4.0 KiB (stage 307790.0: task 889051))" tooltip="Exchange hashpartitioning(orderProposalId#3401708L, 30), ENSURE_REQUIREMENTS, [plan_id=980147]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n148 ms (2 ms, 3 ms, 32 ms (stage 307790.0: task 889062))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter isnotnull(orderProposalId#3401708L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [shardId#3401707, orderProposalId#3401708L, optimizationGroups#3401710], [isnotnull(orderProposalId#3401708L)]"];
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#3395105) AND (shardId#3395105 = 0_5_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, optimizationInsights#3395111], [isnotnull(shardId#3395105), (shardId#3395105 = 0_5_10000000532)]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
108 [id="node108" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3395105) AND (shardId#3395105 = 0_5_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3395105,orderProposalId#3395106L,items#3395107,optimizationGroups#3395108,isOptimal#3395109,lastModified#3395110,optimizationInsights#3395111]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n545 ms (9 ms, 11 ms, 116 ms (stage 307800.0: task 889394))";
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 307800.0: task 889394))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 307800.0: task 889394))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 307800.0: task 889394))" tooltip="Sort [orderProposalId#3401763L 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>109 ms (2 ms, 2 ms, 23 ms (stage 307800.0: task 889431))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 307800.0: task 889394))<br>number of output rows: 2,360<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3401763L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 58,119<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 58,119<br>local bytes read total (min, med, max (stageId: taskId))<br>225.5 KiB (5.4 KiB, 7.6 KiB, 8.9 KiB (stage 307800.0: task 889443))<br>merged fetch fallback count: 0<br>local blocks read: 300<br>remote merged chunks fetched: 0<br>remote blocks read: 600<br>data size total (min, med, max (stageId: taskId))<br>908.1 KiB (29.6 KiB, 30.3 KiB, 30.9 KiB (stage 307789.0: task 889384))<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>46 ms (1 ms, 1 ms, 2 ms (stage 307789.0: task 889366))<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 307800.0: task 889394))<br>remote bytes read total (min, med, max (stageId: taskId))<br>450.8 KiB (10.4 KiB, 15.1 KiB, 18.0 KiB (stage 307800.0: task 889459))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>140 ms (3 ms, 4 ms, 26 ms (stage 307800.0: task 889438))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>676.3 KiB (22.1 KiB, 22.6 KiB, 23.0 KiB (stage 307789.0: task 889384))" tooltip="Exchange hashpartitioning(orderProposalId#3401763L, 30), ENSURE_REQUIREMENTS, [plan_id=980172]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n781 ms (8 ms, 10 ms, 216 ms (stage 307789.0: task 889338))";
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>304 ms (5 ms, 6 ms, 38 ms (stage 307789.0: task 889329))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 307789.0: task 889318))<br>number of output rows: 58,119<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3401763L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3401763L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 119,861" tooltip="BroadcastHashJoin [worklistShardItemId#3401715L], [worklistShardItemId#3401786L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3401786L, orderProposalId#3401763L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 10 ms<br>time to build: 23 ms<br>time to collect: 648 ms<br>number of output rows: 119,861<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=980158]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n59 ms (1 ms, 1 ms, 9 ms (stage 307787.0: task 889003))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3401714L AS worklistShardItemId#3401715L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,861" tooltip="Generate explode(_extract_worklistShardItemId#3402355), false, [item#3401714L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3401336.worklistShardItemId AS _extract_worklistShardItemId#3402355]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,360" tooltip="Filter (((size(items#3401336.worklistShardItemId, true) > 0) AND isnotnull(items#3401336.worklistShardItemId)) AND (shardId#3401334 = 0_5_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,360" tooltip="InMemoryTableScan [items#3401336, shardId#3401334], [(size(items#3401336.worklistShardItemId, true) > 0), isnotnull(items#3401336.worklistShardItemId), (shardId#3401334 = 0_5_10000000532)]"];
subgraph cluster125 {
isCluster="true";
id="cluster125";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
126 [id="node126" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3395105) AND (shardId#3395105 = 0_5_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, optimizationInsights#3395111], [isnotnull(shardId#3395105), (shardId#3395105 = 0_5_10000000532)]"];
subgraph cluster128 {
isCluster="true";
id="cluster128";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
129 [id="node129" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3395105) AND (shardId#3395105 = 0_5_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3395105,orderProposalId#3395106L,items#3395107,optimizationGroups#3395108,isOptimal#3395109,lastModified#3395110,optimizationInsights#3395111]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>715.5 KiB (18.4 KiB, 19.3 KiB, 34.2 KiB (stage 307789.0: task 889324))<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.7 MiB (73.0 KiB, 76.1 KiB, 78.2 KiB (stage 307788.0: task 889042))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>59 ms (1 ms, 1 ms, 2 ms (stage 307788.0: task 889089))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>54 ms (0 ms, 0 ms, 22 ms (stage 307789.0: task 889331))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1052.9 KiB (25.3 KiB, 39.4 KiB, 41.5 KiB (stage 307789.0: task 889384))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>260 ms (4 ms, 7 ms, 27 ms (stage 307789.0: task 889331))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1768.4 KiB (46.0 KiB, 47.9 KiB, 49.3 KiB (stage 307788.0: task 889042))" tooltip="Exchange hashpartitioning(worklistShardItemId#3401786L, 30), REPARTITION_BY_NUM, [plan_id=980165]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n6.4 s (138 ms, 168 ms, 230 ms (stage 307788.0: task 889241))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3401763L, worklistShardItemId#3401786L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,861" tooltip="Filter ((isnotnull(worklistShardItemId#3401786L) AND NOT (isFallbackOrderOnly#3401780 <=> true)) AND isnotnull(orderProposalId#3401763L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,861<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
137 [id="node137" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>6.2 s (134 ms, 163 ms, 227 ms (stage 307788.0: task 889241))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.5 MiB<br>number of output rows: 119,861<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3401763L,isFallbackOrderOnly#3401780,worklistShardItemId#3401786L,shardId#3401807,sequenceId#3401785] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3401786L), NOT (isFallbackOrderOnly#3401780 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3401807), isnotnull(sequenceId#3401785), (shardId#3401807 = 0_5_10000000532), ..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
23->22;
24->23;
26->24;
27->26;
28->27;
30->28;
31->30;
33->31;
34->33;
36->34;
37->36;
39->37;
40->39;
42->40;
43->42;
45->43;
46->45;
48->46;
49->48;
50->49;
51->50;
53->51;
54->53;
56->54;
57->56;
59->43;
60->59;
61->60;
63->61;
64->63;
65->64;
66->65;
68->37;
69->68;
71->69;
72->71;
73->72;
75->34;
76->75;
77->76;
78->77;
80->78;
81->80;
82->81;
84->31;
85->84;
86->85;
87->86;
89->87;
90->89;
91->90;
93->11;
94->93;
95->94;
97->95;
99->97;
100->99;
102->100;
103->102;
105->103;
106->105;
108->106;
109->108;
111->97;
112->111;
113->112;
115->113;
116->115;
117->116;
118->117;
120->118;
121->120;
122->121;
123->122;
124->123;
126->124;
127->126;
129->127;
130->129;
131->117;
132->131;
134->132;
135->134;
136->135;
137->136;
}
== Physical Plan ==
* HashAggregate (104)
+- Exchange (103)
+- * HashAggregate (102)
+- * Project (101)
+- * Generate (100)
+- Project (99)
+- Filter (98)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (97)
+- SortMergeJoin LeftOuter (96)
:- Sort (67)
: +- Exchange (66)
: +- Project (65)
: +- Project (64)
: +- ObjectHashAggregate (63)
: +- Exchange (62)
: +- ObjectHashAggregate (61)
: +- ObjectHashAggregate (60)
: +- Exchange (59)
: +- ObjectHashAggregate (58)
: +- Project (57)
: +- Project (56)
: +- Project (55)
: +- * Project (54)
: +- * Filter (53)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (52)
: +- * SortMergeJoin LeftOuter (51)
: :- * Project (43)
: : +- * SortMergeJoin LeftOuter (42)
: : :- * Project (34)
: : : +- * SortMergeJoin LeftOuter (33)
: : : :- * Sort (27)
: : : : +- Exchange (26)
: : : : +- * Project (25)
: : : : +- * SortMergeJoin LeftOuter (24)
: : : : :- * Sort (16)
: : : : : +- Exchange (15)
: : : : : +- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- * Sort (23)
: : : : +- * Project (22)
: : : : +- Exchange (21)
: : : : +- * Project (20)
: : : : +- * Filter (19)
: : : : +- * ColumnarToRow (18)
: : : : +- Scan parquet (17)
: : : +- * Sort (32)
: : : +- Exchange (31)
: : : +- * Project (30)
: : : +- * Filter (29)
: : : +- * Scan ExistingRDD (28)
: : +- * Sort (41)
: : +- ObjectHashAggregate (40)
: : +- Exchange (39)
: : +- ObjectHashAggregate (38)
: : +- * Project (37)
: : +- * Filter (36)
: : +- * Scan ExistingRDD (35)
: +- * Sort (50)
: +- ObjectHashAggregate (49)
: +- Exchange (48)
: +- ObjectHashAggregate (47)
: +- * Project (46)
: +- * Filter (45)
: +- * Scan ExistingRDD (44)
+- * Sort (95)
+- Exchange (94)
+- Project (93)
+- * SortMergeJoin Inner (92)
:- * Sort (72)
: +- Exchange (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Sort (91)
+- * HashAggregate (90)
+- Exchange (89)
+- * HashAggregate (88)
+- * Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (79)
: +- * Project (78)
: +- * Generate (77)
: +- * Project (76)
: +- * Filter (75)
: +- InMemoryTableScan (73)
: +- InMemoryRelation (74)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (85)
+- Exchange (84)
+- * Project (83)
+- * Filter (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
(1) InMemoryTableScan
Output [1]: [orderProposal#3401811]
Arguments: [orderProposal#3401811], [(size(orderProposal#3401811.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3395105, orderProposal#3401811], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3396190, channelStreamSpecificKpis#3399791, constraintLabels#3396202, constraintOperators#3396203, constraintValues#3396205, deliveryDateTime#3396189, isFallbackOrderOnly#3396192, logisticUnits#3396207, measurements#3396200, minimumOrderQuantity#3396201, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, nextAvailabilityDateTime#3396191, optimizationGroups#3396208, orderDateTime#3396188, orderProposalId#3396170L, orderProposalItemGroupId#3396172, orderProposalItemId#3396171, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, originalReplenishmentRunId#3396173L, plant#3396184, previousOrderProposal#3396176L, prodLocSpecificKpis#3399776, product#3396183, productGroup#3396212, qty#3395822, quantityAfterProdPlantOptimization#3395821, quantityKpis#3399804, shardId#3395105, sourceOfSupplyUuid#3396179, splitIndicator#3396175L, subrange#3396182, supplier#3396181, supplierGroup#3396180, supplyingPlant#3396211]
Arguments: [availabilityDateTime#3396190, channelStreamSpecificKpis#3399791, constraintLabels#3396202, constraintOperators#3396203, constraintValues#3396205, deliveryDateTime#3396189, isFallbackOrderOnly#3396192, logisticUnits#3396207, measurements#3396200, minimumOrderQuantity#3396201, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, nextAvailabilityDateTime#3396191, optimizationGroups#3396208, orderDateTime#3396188, orderProposalId#3396170L, orderProposalItemGroupId#3396172, orderProposalItemId#3396171, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, originalReplenishmentRunId#3396173L, plant#3396184, ... 14 more fields], [NOT (isFallbackOrderOnly#3396192 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, productGroup#3396212, product#3396183, plant#3396184, subrange#3396182, orderDateTime#3396188, deliveryDateTime#3396189, availabilityDateTime#3396190, nextAvailabilityDateTime#3396191, constraintValues#3396205, constraintOperators#3396203, constraintLabels#3396202, logisticUnits#3396207, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, splitIndicator#3396175L, netPriceAmount#3396198, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3395105, items#3395107]
Arguments: [shardId#3395105, items#3395107], [(size(items#3395107, true) > 0), isnotnull(items#3395107)]
(6) InMemoryRelation
Arguments: [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, optimizationInsights#3395111], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, optimizationInsights#3395111]
Arguments: [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, optimizationInsights#3395111], [isnotnull(shardId#3395105), (shardId#3395105 = 0_5_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, lastModified#3395110, optimizationInsights#3395111], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, lastModified#3395110, optimizationInsights#3395111]
Arguments: [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, lastModified#3395110, optimizationInsights#3395111], MapPartitionsRDD[144348] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, lastModified#3395110, optimizationInsights#3395111]
Condition : (isnotnull(shardId#3395105) AND (shardId#3395105 = 0_5_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3395105, orderProposalId#3395106L, items#3395107, optimizationGroups#3395108, isOptimal#3395109, optimizationInsights#3395111]
Condition : (isnotnull(shardId#3395105) AND (shardId#3395105 = 0_5_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3395105, items#3395107]
Condition : ((size(items#3395107, true) > 0) AND isnotnull(items#3395107))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3395105, items#3395107]
Arguments: explode(items#3395107), [shardId#3395105], false, [item#3395819]
(14) Project [codegen id : 1]
Output [4]: [shardId#3395105, item#3395819.worklistShardItemId AS worklistShardItemId#3395820L, item#3395819.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3395821, item#3395819.qty AS qty#3395822]
Input [2]: [shardId#3395105, item#3395819]
(15) Exchange
Input [4]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822]
Arguments: hashpartitioning(worklistShardItemId#3395820L, 30), ENSURE_REQUIREMENTS, [plan_id=979796]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822]
Arguments: [worklistShardItemId#3395820L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3396303L, orderProposalItemId#3396304, supplierGroup#3396305, supplier#3396306, plant#3396307, deliveryDateTime#3396308, subrange#3396309, supplyingPlant#3396310, productGroup#3396311, product#3396312, orderDateTime#3396313, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, sourceOfSupplyUuid#3396317, isFallbackOrderOnly#3396320, splitIndicator#3396322L, previousOrderProposal#3396323L, worklistShardItemId#3396326L, orderProposalItemGroupId#3396327, externalProductId#3396328, externalPlantId#3396329, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, minimumOrderQuantity#3396333, constraintLabels#3396334, constraintOperators#3396335, constraintValues#3396336, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, measurements#3396344, originalReplenishmentRunId#3396345L, optimizationGroups#3396346, shardId#3396347, sequenceId#3396325]
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#3396347), isnotnull(sequenceId#3396325), (shardId#3396347 = 0_5_10000000532), (sequenceId#3396325 = 2)]
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#3396303L, orderProposalItemId#3396304, supplierGroup#3396305, supplier#3396306, plant#3396307, deliveryDateTime#3396308, subrange#3396309, supplyingPlant#3396310, productGroup#3396311, product#3396312, orderDateTime#3396313, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, sourceOfSupplyUuid#3396317, isFallbackOrderOnly#3396320, splitIndicator#3396322L, previousOrderProposal#3396323L, worklistShardItemId#3396326L, orderProposalItemGroupId#3396327, externalProductId#3396328, externalPlantId#3396329, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, minimumOrderQuantity#3396333, constraintLabels#3396334, constraintOperators#3396335, constraintValues#3396336, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, measurements#3396344, originalReplenishmentRunId#3396345L, optimizationGroups#3396346, shardId#3396347, sequenceId#3396325]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3396303L, orderProposalItemId#3396304, supplierGroup#3396305, supplier#3396306, plant#3396307, deliveryDateTime#3396308, subrange#3396309, supplyingPlant#3396310, productGroup#3396311, product#3396312, orderDateTime#3396313, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, sourceOfSupplyUuid#3396317, isFallbackOrderOnly#3396320, splitIndicator#3396322L, previousOrderProposal#3396323L, worklistShardItemId#3396326L, orderProposalItemGroupId#3396327, externalProductId#3396328, externalPlantId#3396329, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, minimumOrderQuantity#3396333, constraintLabels#3396334, constraintOperators#3396335, constraintValues#3396336, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, measurements#3396344, originalReplenishmentRunId#3396345L, optimizationGroups#3396346, shardId#3396347, sequenceId#3396325]
Condition : isnotnull(worklistShardItemId#3396326L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3396303L, orderProposalItemId#3396304, supplierGroup#3396305, supplier#3396306, plant#3396307, deliveryDateTime#3396308, subrange#3396309, supplyingPlant#3396310, productGroup#3396311, product#3396312, orderDateTime#3396313, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, sourceOfSupplyUuid#3396317, isFallbackOrderOnly#3396320, splitIndicator#3396322L, previousOrderProposal#3396323L, worklistShardItemId#3396326L, orderProposalItemGroupId#3396327, externalProductId#3396328, externalPlantId#3396329, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, minimumOrderQuantity#3396333, constraintLabels#3396334, constraintOperators#3396335, constraintValues#3396336, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, measurements#3396344, originalReplenishmentRunId#3396345L, optimizationGroups#3396346]
Input [38]: [orderProposalId#3396303L, orderProposalItemId#3396304, supplierGroup#3396305, supplier#3396306, plant#3396307, deliveryDateTime#3396308, subrange#3396309, supplyingPlant#3396310, productGroup#3396311, product#3396312, orderDateTime#3396313, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, sourceOfSupplyUuid#3396317, isFallbackOrderOnly#3396320, splitIndicator#3396322L, previousOrderProposal#3396323L, worklistShardItemId#3396326L, orderProposalItemGroupId#3396327, externalProductId#3396328, externalPlantId#3396329, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, minimumOrderQuantity#3396333, constraintLabels#3396334, constraintOperators#3396335, constraintValues#3396336, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, measurements#3396344, originalReplenishmentRunId#3396345L, optimizationGroups#3396346, shardId#3396347, sequenceId#3396325]
(21) Exchange
Input [36]: [orderProposalId#3396303L, orderProposalItemId#3396304, supplierGroup#3396305, supplier#3396306, plant#3396307, deliveryDateTime#3396308, subrange#3396309, supplyingPlant#3396310, productGroup#3396311, product#3396312, orderDateTime#3396313, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, sourceOfSupplyUuid#3396317, isFallbackOrderOnly#3396320, splitIndicator#3396322L, previousOrderProposal#3396323L, worklistShardItemId#3396326L, orderProposalItemGroupId#3396327, externalProductId#3396328, externalPlantId#3396329, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, minimumOrderQuantity#3396333, constraintLabels#3396334, constraintOperators#3396335, constraintValues#3396336, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, measurements#3396344, originalReplenishmentRunId#3396345L, optimizationGroups#3396346]
Arguments: hashpartitioning(worklistShardItemId#3396326L, 30), REPARTITION_BY_NUM, [plan_id=979806]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3396326L, orderProposalId#3396303L, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, originalReplenishmentRunId#3396345L, splitIndicator#3396322L, previousOrderProposal#3396323L, sourceOfSupplyUuid#3396317, supplierGroup#3396305, supplier#3396306, subrange#3396309, product#3396312, plant#3396307, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, isFallbackOrderOnly#3396320, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, netPriceAmount#3396339, netPriceCurrencyCode#3396340, measurements#3396344, minimumOrderQuantity#3396333, constraintLabels#3396334, constraintOperators#3396335, constraintValues#3396336, logisticUnits#3396330, optimizationGroups#3396346, externalProductId#3396328, externalPlantId#3396329, supplyingPlant#3396310, productGroup#3396311]
Input [36]: [orderProposalId#3396303L, orderProposalItemId#3396304, supplierGroup#3396305, supplier#3396306, plant#3396307, deliveryDateTime#3396308, subrange#3396309, supplyingPlant#3396310, productGroup#3396311, product#3396312, orderDateTime#3396313, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, sourceOfSupplyUuid#3396317, isFallbackOrderOnly#3396320, splitIndicator#3396322L, previousOrderProposal#3396323L, worklistShardItemId#3396326L, orderProposalItemGroupId#3396327, externalProductId#3396328, externalPlantId#3396329, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, minimumOrderQuantity#3396333, constraintLabels#3396334, constraintOperators#3396335, constraintValues#3396336, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, measurements#3396344, originalReplenishmentRunId#3396345L, optimizationGroups#3396346]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3396326L, orderProposalId#3396303L, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, originalReplenishmentRunId#3396345L, splitIndicator#3396322L, previousOrderProposal#3396323L, sourceOfSupplyUuid#3396317, supplierGroup#3396305, supplier#3396306, subrange#3396309, product#3396312, plant#3396307, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, isFallbackOrderOnly#3396320, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, netPriceAmount#3396339, netPriceCurrencyCode#3396340, measurements#3396344, minimumOrderQuantity#3396333, constraintLabels#3396334, constraintOperators#3396335, constraintValues#3396336, logisticUnits#3396330, optimizationGroups#3396346, externalProductId#3396328, externalPlantId#3396329, supplyingPlant#3396310, productGroup#3396311]
Arguments: [worklistShardItemId#3396326L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3395820L]
Right keys [1]: [worklistShardItemId#3396326L]
Join type: LeftOuter
Join condition: (shardId#3395105 = 0_5_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, sourceOfSupplyUuid#3396317, minimumOrderQuantity#3396333, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, optimizationGroups#3396346, measurements#3396344, externalProductId#3396328, externalPlantId#3396329, previousOrderProposal#3396323L, isFallbackOrderOnly#3396320]
Input [40]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, worklistShardItemId#3396326L, orderProposalId#3396303L, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, originalReplenishmentRunId#3396345L, splitIndicator#3396322L, previousOrderProposal#3396323L, sourceOfSupplyUuid#3396317, supplierGroup#3396305, supplier#3396306, subrange#3396309, product#3396312, plant#3396307, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, isFallbackOrderOnly#3396320, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, netPriceAmount#3396339, netPriceCurrencyCode#3396340, measurements#3396344, minimumOrderQuantity#3396333, constraintLabels#3396334, constraintOperators#3396335, constraintValues#3396336, logisticUnits#3396330, optimizationGroups#3396346, externalProductId#3396328, externalPlantId#3396329, supplyingPlant#3396310, productGroup#3396311]
(26) Exchange
Input [39]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, sourceOfSupplyUuid#3396317, minimumOrderQuantity#3396333, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, optimizationGroups#3396346, measurements#3396344, externalProductId#3396328, externalPlantId#3396329, previousOrderProposal#3396323L, isFallbackOrderOnly#3396320]
Arguments: hashpartitioning(shardId#3395105, worklistShardItemId#3395820L, 30), ENSURE_REQUIREMENTS, [plan_id=979815]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, sourceOfSupplyUuid#3396317, minimumOrderQuantity#3396333, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, optimizationGroups#3396346, measurements#3396344, externalProductId#3396328, externalPlantId#3396329, previousOrderProposal#3396323L, isFallbackOrderOnly#3396320]
Arguments: [shardId#3395105 ASC NULLS FIRST, worklistShardItemId#3395820L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3399769, worklistShardItemId#3399770L, qty#3399771, demandChannel#3399772, demandStream#3399773, kpis#3399774]
Arguments: [shardId#3399769, worklistShardItemId#3399770L, qty#3399771, demandChannel#3399772, demandStream#3399773, kpis#3399774], MapPartitionsRDD[144539] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3399769, worklistShardItemId#3399770L, qty#3399771, demandChannel#3399772, demandStream#3399773, kpis#3399774]
Condition : (((isnull(qty#3399771) AND isnull(demandChannel#3399772)) AND isnull(demandStream#3399773)) AND (isnotnull(shardId#3399769) AND isnotnull(worklistShardItemId#3399770L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3399769, worklistShardItemId#3399770L, coalesce(kpis#3399774, []) AS prodLocSpecificKpis#3399775]
Input [6]: [shardId#3399769, worklistShardItemId#3399770L, qty#3399771, demandChannel#3399772, demandStream#3399773, kpis#3399774]
(31) Exchange
Input [3]: [shardId#3399769, worklistShardItemId#3399770L, prodLocSpecificKpis#3399775]
Arguments: hashpartitioning(shardId#3399769, worklistShardItemId#3399770L, 30), ENSURE_REQUIREMENTS, [plan_id=979821]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3399769, worklistShardItemId#3399770L, prodLocSpecificKpis#3399775]
Arguments: [shardId#3399769 ASC NULLS FIRST, worklistShardItemId#3399770L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3395105, worklistShardItemId#3395820L]
Right keys [2]: [shardId#3399769, worklistShardItemId#3399770L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, sourceOfSupplyUuid#3396317, minimumOrderQuantity#3396333, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, optimizationGroups#3396346, measurements#3396344, externalProductId#3396328, externalPlantId#3396329, previousOrderProposal#3396323L, isFallbackOrderOnly#3396320, coalesce(prodLocSpecificKpis#3399775, []) AS prodLocSpecificKpis#3399776]
Input [42]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, sourceOfSupplyUuid#3396317, minimumOrderQuantity#3396333, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, optimizationGroups#3396346, measurements#3396344, externalProductId#3396328, externalPlantId#3396329, previousOrderProposal#3396323L, isFallbackOrderOnly#3396320, shardId#3399769, worklistShardItemId#3399770L, prodLocSpecificKpis#3399775]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3399785, worklistShardItemId#3399786L, qty#3399787, demandChannel#3399788, demandStream#3399789, kpis#3399790]
Arguments: [shardId#3399785, worklistShardItemId#3399786L, qty#3399787, demandChannel#3399788, demandStream#3399789, kpis#3399790], MapPartitionsRDD[144539] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3399785, worklistShardItemId#3399786L, qty#3399787, demandChannel#3399788, demandStream#3399789, kpis#3399790]
Condition : ((((isnull(qty#3399787) AND isnotnull(demandChannel#3399788)) AND isnotnull(demandStream#3399789)) AND (size(kpis#3399790, true) > 0)) AND (isnotnull(shardId#3399785) AND isnotnull(worklistShardItemId#3399786L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3399785, worklistShardItemId#3399786L, demandChannel#3399788, demandStream#3399789, kpis#3399790]
Input [6]: [shardId#3399785, worklistShardItemId#3399786L, qty#3399787, demandChannel#3399788, demandStream#3399789, kpis#3399790]
(38) ObjectHashAggregate
Input [5]: [shardId#3399785, worklistShardItemId#3399786L, demandChannel#3399788, demandStream#3399789, kpis#3399790]
Keys [2]: [shardId#3399785, worklistShardItemId#3399786L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3399788, demandStream, demandStream#3399789, kpis, kpis#3399790), 0, 0)]
Aggregate Attributes [1]: [buf#3401088]
Results [3]: [shardId#3399785, worklistShardItemId#3399786L, buf#3401089]
(39) Exchange
Input [3]: [shardId#3399785, worklistShardItemId#3399786L, buf#3401089]
Arguments: hashpartitioning(shardId#3399785, worklistShardItemId#3399786L, 30), ENSURE_REQUIREMENTS, [plan_id=979832]
(40) ObjectHashAggregate
Input [3]: [shardId#3399785, worklistShardItemId#3399786L, buf#3401089]
Keys [2]: [shardId#3399785, worklistShardItemId#3399786L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3399788, demandStream, demandStream#3399789, kpis, kpis#3399790), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3399788, demandStream, demandStream#3399789, kpis, kpis#3399790), 0, 0)#3399784]
Results [3]: [shardId#3399785, worklistShardItemId#3399786L, collect_list(struct(demandChannel, demandChannel#3399788, demandStream, demandStream#3399789, kpis, kpis#3399790), 0, 0)#3399784 AS channelStreamSpecificKpis#3399777]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3399785, worklistShardItemId#3399786L, channelStreamSpecificKpis#3399777]
Arguments: [shardId#3399785 ASC NULLS FIRST, worklistShardItemId#3399786L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3395105, worklistShardItemId#3395820L]
Right keys [2]: [shardId#3399785, worklistShardItemId#3399786L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, sourceOfSupplyUuid#3396317, minimumOrderQuantity#3396333, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, optimizationGroups#3396346, measurements#3396344, externalProductId#3396328, externalPlantId#3396329, previousOrderProposal#3396323L, isFallbackOrderOnly#3396320, prodLocSpecificKpis#3399776, coalesce(channelStreamSpecificKpis#3399777, []) AS channelStreamSpecificKpis#3399791]
Input [43]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, sourceOfSupplyUuid#3396317, minimumOrderQuantity#3396333, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, optimizationGroups#3396346, measurements#3396344, externalProductId#3396328, externalPlantId#3396329, previousOrderProposal#3396323L, isFallbackOrderOnly#3396320, prodLocSpecificKpis#3399776, shardId#3399785, worklistShardItemId#3399786L, channelStreamSpecificKpis#3399777]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3399798, worklistShardItemId#3399799L, qty#3399800, demandChannel#3399801, demandStream#3399802, kpis#3399803]
Arguments: [shardId#3399798, worklistShardItemId#3399799L, qty#3399800, demandChannel#3399801, demandStream#3399802, kpis#3399803], MapPartitionsRDD[144539] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3399798, worklistShardItemId#3399799L, qty#3399800, demandChannel#3399801, demandStream#3399802, kpis#3399803]
Condition : ((isnotnull(qty#3399800) AND isnotnull(kpis#3399803)) AND (isnotnull(shardId#3399798) AND isnotnull(worklistShardItemId#3399799L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3399798, worklistShardItemId#3399799L, qty#3399800, kpis#3399803]
Input [6]: [shardId#3399798, worklistShardItemId#3399799L, qty#3399800, demandChannel#3399801, demandStream#3399802, kpis#3399803]
(47) ObjectHashAggregate
Input [4]: [shardId#3399798, worklistShardItemId#3399799L, qty#3399800, kpis#3399803]
Keys [2]: [shardId#3399798, worklistShardItemId#3399799L]
Functions [1]: [partial_collect_list(struct(qty, qty#3399800, kpis, kpis#3399803), 0, 0)]
Aggregate Attributes [1]: [buf#3401090]
Results [3]: [shardId#3399798, worklistShardItemId#3399799L, buf#3401091]
(48) Exchange
Input [3]: [shardId#3399798, worklistShardItemId#3399799L, buf#3401091]
Arguments: hashpartitioning(shardId#3399798, worklistShardItemId#3399799L, 30), ENSURE_REQUIREMENTS, [plan_id=979844]
(49) ObjectHashAggregate
Input [3]: [shardId#3399798, worklistShardItemId#3399799L, buf#3401091]
Keys [2]: [shardId#3399798, worklistShardItemId#3399799L]
Functions [1]: [collect_list(struct(qty, qty#3399800, kpis, kpis#3399803), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3399800, kpis, kpis#3399803), 0, 0)#3399797]
Results [3]: [shardId#3399798, worklistShardItemId#3399799L, map_from_entries(collect_list(struct(qty, qty#3399800, kpis, kpis#3399803), 0, 0)#3399797) AS quantityKpis#3399792]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3399798, worklistShardItemId#3399799L, quantityKpis#3399792]
Arguments: [shardId#3399798 ASC NULLS FIRST, worklistShardItemId#3399799L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3395105, worklistShardItemId#3395820L]
Right keys [2]: [shardId#3399798, worklistShardItemId#3399799L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, sourceOfSupplyUuid#3396317, minimumOrderQuantity#3396333, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, optimizationGroups#3396346, measurements#3396344, externalProductId#3396328, externalPlantId#3396329, previousOrderProposal#3396323L, isFallbackOrderOnly#3396320, prodLocSpecificKpis#3399776, channelStreamSpecificKpis#3399791, coalesce(quantityKpis#3399792, map(keys: [], values: [])) AS quantityKpis#3399804]
Input [44]: [shardId#3395105, worklistShardItemId#3395820L, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396303L, originalReplenishmentRunId#3396345L, supplierGroup#3396305, supplier#3396306, supplyingPlant#3396310, productGroup#3396311, product#3396312, plant#3396307, subrange#3396309, orderDateTime#3396313, deliveryDateTime#3396308, availabilityDateTime#3396314, nextAvailabilityDateTime#3396315, constraintValues#3396336, constraintOperators#3396335, constraintLabels#3396334, logisticUnits#3396330, orderQuantityBaseUom#3396331, orderQuantityBaseUomUuid#3396332, splitIndicator#3396322L, netPriceAmount#3396339, netPriceCurrencyCode#3396340, netPriceQuantity#3396341, netPriceQuantityUom#3396342, netPriceQuantityUomUuid#3396343, sourceOfSupplyUuid#3396317, minimumOrderQuantity#3396333, orderProposalItemId#3396304, orderProposalItemGroupId#3396327, optimizationGroups#3396346, measurements#3396344, externalProductId#3396328, externalPlantId#3396329, previousOrderProposal#3396323L, isFallbackOrderOnly#3396320, prodLocSpecificKpis#3399776, channelStreamSpecificKpis#3399791, shardId#3399798, worklistShardItemId#3399799L, quantityKpis#3399792]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3396190, channelStreamSpecificKpis#3399791, constraintLabels#3396202, constraintOperators#3396203, constraintValues#3396205, deliveryDateTime#3396189, isFallbackOrderOnly#3396192, logisticUnits#3396207, measurements#3396200, minimumOrderQuantity#3396201, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, nextAvailabilityDateTime#3396191, optimizationGroups#3396208, orderDateTime#3396188, orderProposalId#3396170L, orderProposalItemGroupId#3396172, orderProposalItemId#3396171, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, originalReplenishmentRunId#3396173L, plant#3396184, previousOrderProposal#3396176L, prodLocSpecificKpis#3399776, product#3396183, productGroup#3396212, qty#3395822, quantityAfterProdPlantOptimization#3395821, quantityKpis#3399804, shardId#3395105, sourceOfSupplyUuid#3396179, splitIndicator#3396175L, subrange#3396182, supplier#3396181, supplierGroup#3396180, supplyingPlant#3396211]
Condition : NOT (isFallbackOrderOnly#3396192 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3395105, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, productGroup#3396212, product#3396183, plant#3396184, subrange#3396182, orderDateTime#3396188, deliveryDateTime#3396189, availabilityDateTime#3396190, nextAvailabilityDateTime#3396191, logisticUnits#3396207, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, splitIndicator#3396175L, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, sourceOfSupplyUuid#3396179, minimumOrderQuantity#3396201, orderProposalItemId#3396171, orderProposalItemGroupId#3396172, optimizationGroups#3396208, measurements#3396200, previousOrderProposal#3396176L, prodLocSpecificKpis#3399776, channelStreamSpecificKpis#3399791, quantityKpis#3399804, arrays_zip(constraintLabels#3396202, constraintOperators#3396203, constraintValues#3396205, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3401341]
Input [39]: [availabilityDateTime#3396190, channelStreamSpecificKpis#3399791, constraintLabels#3396202, constraintOperators#3396203, constraintValues#3396205, deliveryDateTime#3396189, isFallbackOrderOnly#3396192, logisticUnits#3396207, measurements#3396200, minimumOrderQuantity#3396201, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, nextAvailabilityDateTime#3396191, optimizationGroups#3396208, orderDateTime#3396188, orderProposalId#3396170L, orderProposalItemGroupId#3396172, orderProposalItemId#3396171, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, originalReplenishmentRunId#3396173L, plant#3396184, previousOrderProposal#3396176L, prodLocSpecificKpis#3399776, product#3396183, productGroup#3396212, qty#3395822, quantityAfterProdPlantOptimization#3395821, quantityKpis#3399804, shardId#3395105, sourceOfSupplyUuid#3396179, splitIndicator#3396175L, subrange#3396182, supplier#3396181, supplierGroup#3396180, supplyingPlant#3396211]
(55) Project
Output [37]: [shardId#3395105, qty#3395822, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, productGroup#3396212, product#3396183, plant#3396184, subrange#3396182, orderDateTime#3396188, deliveryDateTime#3396189, availabilityDateTime#3396190, nextAvailabilityDateTime#3396191, logisticUnits#3396207, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, splitIndicator#3396175L, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, sourceOfSupplyUuid#3396179, orderProposalItemId#3396171, orderProposalItemGroupId#3396172, optimizationGroups#3396208, measurements#3396200, previousOrderProposal#3396176L, prodLocSpecificKpis#3399776, channelStreamSpecificKpis#3399791, quantityKpis#3399804, struct(minServiceLevel, array_min(filter(constraintStructArray#3401341, lambdafunction((lambda x_11247#3401348.constraintLabels = ServiceLevel), lambda x_11247#3401348, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3401341, lambdafunction((lambda x_11248#3401349.constraintLabels = ServiceLevelMinimumStock), lambda x_11248#3401349, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3401341, lambdafunction((lambda x_11249#3401350.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11249#3401350, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3401341, lambdafunction((lambda x_11250#3401351.constraintLabels = RangeOfCoverage), lambda x_11250#3401351, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3396201, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3399776, lambdafunction((lambda x_11251#3401352.label = NonListingStartTimestamp), lambda x_11251#3401352, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3401347, CASE WHEN (qty#3395822 <=> quantityAfterProdPlantOptimization#3395821) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3395822 * (cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11252#3401420.isOrderUnit, lambda x_11252#3401420, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11252#3401421.isOrderUnit, lambda x_11252#3401421, false)), 1, None, false).numerator as double))), qty#3395822), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11252#3401422.isOrderUnit, lambda x_11252#3401422, false)), 1, None, false).uom, orderQuantityBaseUom#3396193), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11252#3401423.isOrderUnit, lambda x_11252#3401423, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3396194), candidateOrderQuantityInBaseUnit, qty#3395822, orderQuantityBaseUom, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3396194, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3396207, lambdafunction((lambda x_11254#3401424.isPreferred AND (((qty#3395822 * cast(lambda x_11254#3401424.denominator as double)) % cast(lambda x_11254#3401424.numerator as double)) = 0.0)), lambda x_11254#3401424, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3395822 * cast(lambda x_11255#3401465.denominator as double)) / cast(lambda x_11255#3401465.numerator as double)), uom, lambda x_11255#3401465.uom, uomUuid, lambda x_11255#3401465.uomUuid), lambda x_11255#3401465, false))).inPreferredQuantity, coalesce((qty#3395822 * (cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11253#3401425.isOrderUnit, lambda x_11253#3401425, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11253#3401426.isOrderUnit, lambda x_11253#3401426, false)), 1, None, false).numerator as double))), qty#3395822)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3396207, lambdafunction((lambda x_11254#3401427.isPreferred AND (((qty#3395822 * cast(lambda x_11254#3401427.denominator as double)) % cast(lambda x_11254#3401427.numerator as double)) = 0.0)), lambda x_11254#3401427, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3395822 * cast(lambda x_11255#3401466.denominator as double)) / cast(lambda x_11255#3401466.numerator as double)), uom, lambda x_11255#3401466.uom, uomUuid, lambda x_11255#3401466.uomUuid), lambda x_11255#3401466, false))).uom, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11253#3401428.isOrderUnit, lambda x_11253#3401428, false)), 1, None, false).uom, orderQuantityBaseUom#3396193)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3396207, lambdafunction((lambda x_11254#3401429.isPreferred AND (((qty#3395822 * cast(lambda x_11254#3401429.denominator as double)) % cast(lambda x_11254#3401429.numerator as double)) = 0.0)), lambda x_11254#3401429, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3395822 * cast(lambda x_11255#3401467.denominator as double)) / cast(lambda x_11255#3401467.numerator as double)), uom, lambda x_11255#3401467.uom, uomUuid, lambda x_11255#3401467.uomUuid), lambda x_11255#3401467, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11253#3401430.isOrderUnit, lambda x_11253#3401430, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3396194)), serviceLevel, coalesce(filter(element_at(quantityKpis#3399804, qty#3395822, None, false), lambdafunction((lambda x_11260#3401431.label = ServiceLevel), lambda x_11260#3401431, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3395822 * (cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11252#3401435.isOrderUnit, lambda x_11252#3401435, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11252#3401436.isOrderUnit, lambda x_11252#3401436, false)), 1, None, false).numerator as double))), qty#3395822), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11252#3401437.isOrderUnit, lambda x_11252#3401437, false)), 1, None, false).uom, orderQuantityBaseUom#3396193), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11252#3401438.isOrderUnit, lambda x_11252#3401438, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3396194), candidateOrderQuantityInBaseUnit, qty#3395822, orderQuantityBaseUom, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3396194, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3396207, lambdafunction((lambda x_11254#3401439.isPreferred AND (((qty#3395822 * cast(lambda x_11254#3401439.denominator as double)) % cast(lambda x_11254#3401439.numerator as double)) = 0.0)), lambda x_11254#3401439, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3395822 * cast(lambda x_11255#3401468.denominator as double)) / cast(lambda x_11255#3401468.numerator as double)), uom, lambda x_11255#3401468.uom, uomUuid, lambda x_11255#3401468.uomUuid), lambda x_11255#3401468, false))).inPreferredQuantity, coalesce((qty#3395822 * (cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11253#3401440.isOrderUnit, lambda x_11253#3401440, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11253#3401441.isOrderUnit, lambda x_11253#3401441, false)), 1, None, false).numerator as double))), qty#3395822)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3396207, lambdafunction((lambda x_11254#3401442.isPreferred AND (((qty#3395822 * cast(lambda x_11254#3401442.denominator as double)) % cast(lambda x_11254#3401442.numerator as double)) = 0.0)), lambda x_11254#3401442, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3395822 * cast(lambda x_11255#3401469.denominator as double)) / cast(lambda x_11255#3401469.numerator as double)), uom, lambda x_11255#3401469.uom, uomUuid, lambda x_11255#3401469.uomUuid), lambda x_11255#3401469, false))).uom, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11253#3401443.isOrderUnit, lambda x_11253#3401443, false)), 1, None, false).uom, orderQuantityBaseUom#3396193)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3396207, lambdafunction((lambda x_11254#3401444.isPreferred AND (((qty#3395822 * cast(lambda x_11254#3401444.denominator as double)) % cast(lambda x_11254#3401444.numerator as double)) = 0.0)), lambda x_11254#3401444, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3395822 * cast(lambda x_11255#3401470.denominator as double)) / cast(lambda x_11255#3401470.numerator as double)), uom, lambda x_11255#3401470.uom, uomUuid, lambda x_11255#3401470.uomUuid), lambda x_11255#3401470, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11253#3401445.isOrderUnit, lambda x_11253#3401445, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3396194)), serviceLevel, coalesce(filter(element_at(quantityKpis#3399804, qty#3395822, None, false), lambdafunction((lambda x_11264#3401446.label = ServiceLevel), lambda x_11264#3401446, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3395821 * (cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11256#3401450.isOrderUnit, lambda x_11256#3401450, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11256#3401451.isOrderUnit, lambda x_11256#3401451, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3395821), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11256#3401452.isOrderUnit, lambda x_11256#3401452, false)), 1, None, false).uom, orderQuantityBaseUom#3396193), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11256#3401453.isOrderUnit, lambda x_11256#3401453, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3396194), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3395821, orderQuantityBaseUom, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3396194, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3396207, lambdafunction((lambda x_11258#3401454.isPreferred AND (((quantityAfterProdPlantOptimization#3395821 * cast(lambda x_11258#3401454.denominator as double)) % cast(lambda x_11258#3401454.numerator as double)) = 0.0)), lambda x_11258#3401454, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3395821 * cast(lambda x_11259#3401471.denominator as double)) / cast(lambda x_11259#3401471.numerator as double)), uom, lambda x_11259#3401471.uom, uomUuid, lambda x_11259#3401471.uomUuid), lambda x_11259#3401471, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3395821 * (cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11257#3401455.isOrderUnit, lambda x_11257#3401455, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11257#3401456.isOrderUnit, lambda x_11257#3401456, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3395821)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3396207, lambdafunction((lambda x_11258#3401457.isPreferred AND (((quantityAfterProdPlantOptimization#3395821 * cast(lambda x_11258#3401457.denominator as double)) % cast(lambda x_11258#3401457.numerator as double)) = 0.0)), lambda x_11258#3401457, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3395821 * cast(lambda x_11259#3401472.denominator as double)) / cast(lambda x_11259#3401472.numerator as double)), uom, lambda x_11259#3401472.uom, uomUuid, lambda x_11259#3401472.uomUuid), lambda x_11259#3401472, false))).uom, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11257#3401458.isOrderUnit, lambda x_11257#3401458, false)), 1, None, false).uom, orderQuantityBaseUom#3396193)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3396207, lambdafunction((lambda x_11258#3401459.isPreferred AND (((quantityAfterProdPlantOptimization#3395821 * cast(lambda x_11258#3401459.denominator as double)) % cast(lambda x_11258#3401459.numerator as double)) = 0.0)), lambda x_11258#3401459, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3395821 * cast(lambda x_11259#3401473.denominator as double)) / cast(lambda x_11259#3401473.numerator as double)), uom, lambda x_11259#3401473.uom, uomUuid, lambda x_11259#3401473.uomUuid), lambda x_11259#3401473, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11257#3401460.isOrderUnit, lambda x_11257#3401460, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3396194)), serviceLevel, coalesce(filter(element_at(quantityKpis#3399804, quantityAfterProdPlantOptimization#3395821, None, false), lambdafunction((lambda x_11268#3401461.label = ServiceLevel), lambda x_11268#3401461, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3401419, coalesce(filter(prodLocSpecificKpis#3399776, lambdafunction((lambda x_11272#3401475.label = InitialStockQty), lambda x_11272#3401475, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3401474, coalesce(filter(prodLocSpecificKpis#3399776, lambdafunction((lambda x_11273#3401477.label = DemandPeriodEndTimestamp), lambda x_11273#3401477, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3401476]
Input [36]: [shardId#3395105, quantityAfterProdPlantOptimization#3395821, qty#3395822, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, productGroup#3396212, product#3396183, plant#3396184, subrange#3396182, orderDateTime#3396188, deliveryDateTime#3396189, availabilityDateTime#3396190, nextAvailabilityDateTime#3396191, logisticUnits#3396207, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, splitIndicator#3396175L, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, sourceOfSupplyUuid#3396179, minimumOrderQuantity#3396201, orderProposalItemId#3396171, orderProposalItemGroupId#3396172, optimizationGroups#3396208, measurements#3396200, previousOrderProposal#3396176L, prodLocSpecificKpis#3399776, channelStreamSpecificKpis#3399791, quantityKpis#3399804, constraintStructArray#3401341]
(56) Project
Output [21]: [shardId#3395105, qty#3395822, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, productGroup#3396212, product#3396183, plant#3396184, subrange#3396182, orderDateTime#3396188, deliveryDateTime#3396189, logisticUnits#3396207, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, splitIndicator#3396175L, orderProposalItemId#3396171, orderProposalItemGroupId#3396172, previousOrderProposal#3396176L, struct(itemId, orderProposalItemId#3396171, itemGroupId, orderProposalItemGroupId#3396172, supplier, supplier#3396181, supplyingPlant, supplyingPlant#3396211, productGroup, productGroup#3396212, product, product#3396183, plant, plant#3396184, supplierSubRange, subrange#3396182, sourceOfSupplyUuid, sourceOfSupplyUuid#3396179, deliveryDateTime, deliveryDateTime#3396189, unitPrice, netPriceAmount#3396198, unitPriceCurrency, netPriceCurrencyCode#3396199, unitPriceQuantity, ... 37 more fields) AS parentItem#3401550]
Input [37]: [shardId#3395105, qty#3395822, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, productGroup#3396212, product#3396183, plant#3396184, subrange#3396182, orderDateTime#3396188, deliveryDateTime#3396189, availabilityDateTime#3396190, nextAvailabilityDateTime#3396191, logisticUnits#3396207, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, splitIndicator#3396175L, netPriceAmount#3396198, netPriceCurrencyCode#3396199, netPriceQuantity#3396195, netPriceQuantityUom#3396196, netPriceQuantityUomUuid#3396197, sourceOfSupplyUuid#3396179, orderProposalItemId#3396171, orderProposalItemGroupId#3396172, optimizationGroups#3396208, measurements#3396200, previousOrderProposal#3396176L, prodLocSpecificKpis#3399776, channelStreamSpecificKpis#3399791, quantityKpis#3399804, constraintBenchmark#3401347, calculationAnalysis#3401419, inventoryDateTime#3401474, demandPeriodEndDateTime#3401476]
(57) Project
Output [12]: [shardId#3395105, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, orderDateTime#3396188, splitIndicator#3396175L, orderProposalItemGroupId#3396172, previousOrderProposal#3396176L, parentItem#3401550, struct(itemId, orderProposalItemId#3396171, supplier, supplier#3396181, supplyingPlant, supplyingPlant#3396211, productGroup, productGroup#3396212, product, product#3396183, plant, plant#3396184, supplierSubRange, subrange#3396182, deliveryDateTime, deliveryDateTime#3396189, orderQuantity, coalesce((qty#3395822 * (cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11297#3401584.isOrderUnit, lambda x_11297#3401584, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11297#3401585.isOrderUnit, lambda x_11297#3401585, false)), 1, None, false).numerator as double))), qty#3395822), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11297#3401586.isOrderUnit, lambda x_11297#3401586, false)), 1, None, false).uom, orderQuantityBaseUom#3396193), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3396207, lambdafunction(lambda x_11297#3401587.isOrderUnit, lambda x_11297#3401587, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3396194), orderQuantityInBaseUnit, qty#3395822, orderQuantityBaseUom, ... 13 more fields) AS item#3401581]
Input [21]: [shardId#3395105, qty#3395822, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, productGroup#3396212, product#3396183, plant#3396184, subrange#3396182, orderDateTime#3396188, deliveryDateTime#3396189, logisticUnits#3396207, orderQuantityBaseUom#3396193, orderQuantityBaseUomUuid#3396194, splitIndicator#3396175L, orderProposalItemId#3396171, orderProposalItemGroupId#3396172, previousOrderProposal#3396176L, parentItem#3401550]
(58) ObjectHashAggregate
Input [12]: [shardId#3395105, orderProposalId#3396170L, originalReplenishmentRunId#3396173L, supplierGroup#3396180, supplier#3396181, supplyingPlant#3396211, orderDateTime#3396188, splitIndicator#3396175L, orderProposalItemGroupId#3396172, previousOrderProposal#3396176L, parentItem#3401550, item#3401581]
Keys [4]: [shardId#3395105, orderProposalId#3396170L, splitIndicator#3396175L, orderProposalItemGroupId#3396172]
Functions [8]: [partial_max(originalReplenishmentRunId#3396173L), partial_max(supplierGroup#3396180), partial_max(supplier#3396181), partial_max(supplyingPlant#3396211), partial_max(orderDateTime#3396188), partial_collect_list(parentItem#3401550, 0, 0), partial_collect_set(previousOrderProposal#3396176L, 0, 0), partial_collect_list(item#3401581, 0, 0)]
Aggregate Attributes [8]: [max#3402905L, max#3402906, max#3402907, max#3402908, max#3402909, buf#3402910, buf#3402911, buf#3402912]
Results [12]: [shardId#3395105, orderProposalId#3396170L, splitIndicator#3396175L, orderProposalItemGroupId#3396172, max#3402913L, max#3402914, max#3402915, max#3402916, max#3402917, buf#3402918, buf#3402919, buf#3402920]
(59) Exchange
Input [12]: [shardId#3395105, orderProposalId#3396170L, splitIndicator#3396175L, orderProposalItemGroupId#3396172, max#3402913L, max#3402914, max#3402915, max#3402916, max#3402917, buf#3402918, buf#3402919, buf#3402920]
Arguments: hashpartitioning(shardId#3395105, orderProposalId#3396170L, splitIndicator#3396175L, orderProposalItemGroupId#3396172, 30), ENSURE_REQUIREMENTS, [plan_id=980135]
(60) ObjectHashAggregate
Input [12]: [shardId#3395105, orderProposalId#3396170L, splitIndicator#3396175L, orderProposalItemGroupId#3396172, max#3402913L, max#3402914, max#3402915, max#3402916, max#3402917, buf#3402918, buf#3402919, buf#3402920]
Keys [4]: [shardId#3395105, orderProposalId#3396170L, splitIndicator#3396175L, orderProposalItemGroupId#3396172]
Functions [8]: [max(originalReplenishmentRunId#3396173L), max(supplierGroup#3396180), max(supplier#3396181), max(supplyingPlant#3396211), max(orderDateTime#3396188), collect_list(parentItem#3401550, 0, 0), collect_set(previousOrderProposal#3396176L, 0, 0), collect_list(item#3401581, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3396173L)#3401650L, max(supplierGroup#3396180)#3401651, max(supplier#3396181)#3401652, max(supplyingPlant#3396211)#3401653, max(orderDateTime#3396188)#3401654, collect_list(parentItem#3401550, 0, 0)#3401655, collect_set(previousOrderProposal#3396176L, 0, 0)#3401657, collect_list(item#3401581, 0, 0)#3401656]
Results [10]: [shardId#3395105, orderProposalId#3396170L, max(originalReplenishmentRunId#3396173L)#3401650L AS originalReplenishmentRunId#3401598L, max(supplierGroup#3396180)#3401651 AS supplierGroup#3401599, max(supplier#3396181)#3401652 AS supplier#3401600, max(supplyingPlant#3396211)#3401653 AS supplyingPlant#3401601, max(orderDateTime#3396188)#3401654 AS orderDateTime#3401602, collect_list(parentItem#3401550, 0, 0)#3401655 AS parentItems#3401603, collect_set(previousOrderProposal#3396176L, 0, 0)#3401657 AS previousOrderProposals#3401605, struct(itemGroupId, orderProposalItemGroupId#3396172, items, collect_list(item#3401581, 0, 0)#3401656) AS itemGroup#3401659]
(61) ObjectHashAggregate
Input [10]: [shardId#3395105, orderProposalId#3396170L, originalReplenishmentRunId#3401598L, supplierGroup#3401599, supplier#3401600, supplyingPlant#3401601, orderDateTime#3401602, parentItems#3401603, previousOrderProposals#3401605, itemGroup#3401659]
Keys [2]: [shardId#3395105, orderProposalId#3396170L]
Functions [8]: [partial_max(originalReplenishmentRunId#3401598L), partial_max(supplierGroup#3401599), partial_max(supplier#3401600), partial_max(supplyingPlant#3401601), partial_max(orderDateTime#3401602), partial_collect_list(itemGroup#3401659, 0, 0), partial_collect_list(parentItems#3401603, 0, 0), partial_collect_set(previousOrderProposals#3401605, 0, 0)]
Aggregate Attributes [8]: [max#3402889L, max#3402890, max#3402891, max#3402892, max#3402893, buf#3402894, buf#3402895, buf#3402896]
Results [10]: [shardId#3395105, orderProposalId#3396170L, max#3402897L, max#3402898, max#3402899, max#3402900, max#3402901, buf#3402902, buf#3402903, buf#3402904]
(62) Exchange
Input [10]: [shardId#3395105, orderProposalId#3396170L, max#3402897L, max#3402898, max#3402899, max#3402900, max#3402901, buf#3402902, buf#3402903, buf#3402904]
Arguments: hashpartitioning(shardId#3395105, orderProposalId#3396170L, 30), ENSURE_REQUIREMENTS, [plan_id=980138]
(63) ObjectHashAggregate
Input [10]: [shardId#3395105, orderProposalId#3396170L, max#3402897L, max#3402898, max#3402899, max#3402900, max#3402901, buf#3402902, buf#3402903, buf#3402904]
Keys [2]: [shardId#3395105, orderProposalId#3396170L]
Functions [8]: [max(originalReplenishmentRunId#3401598L), max(supplierGroup#3401599), max(supplier#3401600), max(supplyingPlant#3401601), max(orderDateTime#3401602), collect_list(itemGroup#3401659, 0, 0), collect_list(parentItems#3401603, 0, 0), collect_set(previousOrderProposals#3401605, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3401598L)#3401681L, max(supplierGroup#3401599)#3401682, max(supplier#3401600)#3401683, max(supplyingPlant#3401601)#3401684, max(orderDateTime#3401602)#3401685, collect_list(itemGroup#3401659, 0, 0)#3401686, collect_list(parentItems#3401603, 0, 0)#3401687, collect_set(previousOrderProposals#3401605, 0, 0)#3401688]
Results [10]: [shardId#3395105, orderProposalId#3396170L, max(originalReplenishmentRunId#3401598L)#3401681L AS originalReplenishmentRunId#3401660L, max(supplierGroup#3401599)#3401682 AS supplierGroup#3401661, max(supplier#3401600)#3401683 AS supplier#3401662, max(supplyingPlant#3401601)#3401684 AS supplyingPlant#3401663, max(orderDateTime#3401602)#3401685 AS orderDateTime#3401664, collect_list(itemGroup#3401659, 0, 0)#3401686 AS itemGroups#3401665, flatten(collect_list(parentItems#3401603, 0, 0)#3401687) AS parentItems#3401666, flatten(collect_set(previousOrderProposals#3401605, 0, 0)#3401688) AS previousOrderProposals#3401667]
(64) Project
Output [2]: [shardId#3395105, struct(orderProposalId, orderProposalId#3396170L, originalReplenishmentRunId, originalReplenishmentRunId#3401660L, supplierGroup, supplierGroup#3401661, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3401661) THEN supplier#3401662 END, supplyingPlant, supplyingPlant#3401663, orderDateTime, orderDateTime#3401664, itemGroups, itemGroups#3401665, previousOrderProposals, array_distinct(previousOrderProposals#3401667), parentItems, parentItems#3401666) AS orderProposal#3401692]
Input [10]: [shardId#3395105, orderProposalId#3396170L, originalReplenishmentRunId#3401660L, supplierGroup#3401661, supplier#3401662, supplyingPlant#3401663, orderDateTime#3401664, itemGroups#3401665, parentItems#3401666, previousOrderProposals#3401667]
(65) Project
Output [11]: [shardId#3395105, orderProposal#3401692.orderProposalId AS _extract_orderProposalId#3402521L, orderProposal#3401692.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3402522L, orderProposal#3401692.supplierGroup AS _extract_supplierGroup#3402523, orderProposal#3401692.supplier AS _extract_supplier#3402524, orderProposal#3401692.supplyingPlant AS _extract_supplyingPlant#3402525, orderProposal#3401692.orderDateTime AS _extract_orderDateTime#3402526, orderProposal#3401692.itemGroups AS _extract_itemGroups#3402527, orderProposal#3401692.previousOrderProposals AS _extract_previousOrderProposals#3402528, orderProposal#3401692.parentItems AS _extract_parentItems#3402529, orderProposal#3401692.orderProposalId AS _extract_orderProposalId#3402530L]
Input [2]: [shardId#3395105, orderProposal#3401692]
(66) Exchange
Input [11]: [shardId#3395105, _extract_orderProposalId#3402521L, _extract_originalReplenishmentRunId#3402522L, _extract_supplierGroup#3402523, _extract_supplier#3402524, _extract_supplyingPlant#3402525, _extract_orderDateTime#3402526, _extract_itemGroups#3402527, _extract_previousOrderProposals#3402528, _extract_parentItems#3402529, _extract_orderProposalId#3402530L]
Arguments: hashpartitioning(coalesce(shardId#3395105, ), isnull(shardId#3395105), coalesce(_extract_orderProposalId#3402530L, 0), isnull(_extract_orderProposalId#3402530L), 30), ENSURE_REQUIREMENTS, [plan_id=980142]
(67) Sort
Input [11]: [shardId#3395105, _extract_orderProposalId#3402521L, _extract_originalReplenishmentRunId#3402522L, _extract_supplierGroup#3402523, _extract_supplier#3402524, _extract_supplyingPlant#3402525, _extract_orderDateTime#3402526, _extract_itemGroups#3402527, _extract_previousOrderProposals#3402528, _extract_parentItems#3402529, _extract_orderProposalId#3402530L]
Arguments: [coalesce(shardId#3395105, ) ASC NULLS FIRST, isnull(shardId#3395105) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3402530L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3402530L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3401707, orderProposalId#3401708L, optimizationGroups#3401710]
Arguments: [shardId#3401707, orderProposalId#3401708L, optimizationGroups#3401710], [isnotnull(orderProposalId#3401708L)]
(69) InMemoryRelation
Arguments: [shardId#3401707, orderProposalId#3401708L, items#3401709, optimizationGroups#3401710, isOptimal#3401711, optimizationInsights#3401713], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3401707, orderProposalId#3401708L, optimizationGroups#3401710]
Condition : isnotnull(orderProposalId#3401708L)
(71) Exchange
Input [3]: [shardId#3401707, orderProposalId#3401708L, optimizationGroups#3401710]
Arguments: hashpartitioning(orderProposalId#3401708L, 30), ENSURE_REQUIREMENTS, [plan_id=980147]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3401707, orderProposalId#3401708L, optimizationGroups#3401710]
Arguments: [orderProposalId#3401708L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3401336, shardId#3401334]
Arguments: [items#3401336, shardId#3401334], [(size(items#3401336.worklistShardItemId, true) > 0), isnotnull(items#3401336.worklistShardItemId), (shardId#3401334 = 0_5_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3401334, orderProposalId#3401335L, items#3401336, optimizationGroups#3401337, isOptimal#3401338, optimizationInsights#3401340], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3401336, shardId#3401334]
Condition : (((size(items#3401336.worklistShardItemId, true) > 0) AND isnotnull(items#3401336.worklistShardItemId)) AND (shardId#3401334 = 0_5_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3401336.worklistShardItemId AS _extract_worklistShardItemId#3402355]
Input [2]: [items#3401336, shardId#3401334]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3402355]
Arguments: explode(_extract_worklistShardItemId#3402355), false, [item#3401714L]
(78) Project [codegen id : 4]
Output [1]: [item#3401714L AS worklistShardItemId#3401715L]
Input [1]: [item#3401714L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3401715L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=980158]
(80) Scan parquet
Output [5]: [orderProposalId#3401763L, isFallbackOrderOnly#3401780, worklistShardItemId#3401786L, shardId#3401807, sequenceId#3401785]
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#3401807), isnotnull(sequenceId#3401785), (shardId#3401807 = 0_5_10000000532), (sequenceId#3401785 = 2)]
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#3401763L, isFallbackOrderOnly#3401780, worklistShardItemId#3401786L, shardId#3401807, sequenceId#3401785]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3401763L, isFallbackOrderOnly#3401780, worklistShardItemId#3401786L, shardId#3401807, sequenceId#3401785]
Condition : ((isnotnull(worklistShardItemId#3401786L) AND NOT (isFallbackOrderOnly#3401780 <=> true)) AND isnotnull(orderProposalId#3401763L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3401763L, worklistShardItemId#3401786L]
Input [5]: [orderProposalId#3401763L, isFallbackOrderOnly#3401780, worklistShardItemId#3401786L, shardId#3401807, sequenceId#3401785]
(84) Exchange
Input [2]: [orderProposalId#3401763L, worklistShardItemId#3401786L]
Arguments: hashpartitioning(worklistShardItemId#3401786L, 30), REPARTITION_BY_NUM, [plan_id=980165]
(85) Project
Output [2]: [worklistShardItemId#3401786L, orderProposalId#3401763L]
Input [2]: [orderProposalId#3401763L, worklistShardItemId#3401786L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3401715L]
Right keys [1]: [worklistShardItemId#3401786L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3401763L]
Input [3]: [worklistShardItemId#3401715L, worklistShardItemId#3401786L, orderProposalId#3401763L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3401763L]
Keys [1]: [orderProposalId#3401763L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3401763L]
(89) Exchange
Input [1]: [orderProposalId#3401763L]
Arguments: hashpartitioning(orderProposalId#3401763L, 30), ENSURE_REQUIREMENTS, [plan_id=980172]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3401763L]
Keys [1]: [orderProposalId#3401763L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3401763L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3401763L]
Arguments: [orderProposalId#3401763L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3401708L]
Right keys [1]: [orderProposalId#3401763L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3401708L, shardId#3401707, coalesce(transform(optimizationGroups#3401710, lambdafunction(struct(optGroupId, lambda x_11301#3401705.optGroupId, minOrderProfile, lambda x_11301#3401705.minOrderProfile, assignmentDetails, lambda x_11301#3401705.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11301#3401705.minOrderGoal.dimensionType, unit, lambda x_11301#3401705.minOrderGoal.unit, unitUuid, lambda x_11301#3401705.minOrderGoal.unitUuid, goalValue, lambda x_11301#3401705.minOrderGoal.minOrderValue, calcValue, lambda x_11301#3401705.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11301#3401705, false)), []) AS optimizationGroups#3401704]
Input [4]: [shardId#3401707, orderProposalId#3401708L, optimizationGroups#3401710, orderProposalId#3401763L]
(94) Exchange
Input [3]: [orderProposalId#3401708L, shardId#3401707, optimizationGroups#3401704]
Arguments: hashpartitioning(coalesce(shardId#3401707, ), isnull(shardId#3401707), coalesce(orderProposalId#3401708L, 0), isnull(orderProposalId#3401708L), 30), ENSURE_REQUIREMENTS, [plan_id=980181]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3401708L, shardId#3401707, optimizationGroups#3401704]
Arguments: [coalesce(shardId#3401707, ) ASC NULLS FIRST, isnull(shardId#3401707) ASC NULLS FIRST, coalesce(orderProposalId#3401708L, 0) ASC NULLS FIRST, isnull(orderProposalId#3401708L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3395105, ), isnull(shardId#3395105), coalesce(_extract_orderProposalId#3402530L, 0), isnull(_extract_orderProposalId#3402530L)]
Right keys [4]: [coalesce(shardId#3401707, ), isnull(shardId#3401707), coalesce(orderProposalId#3401708L, 0), isnull(orderProposalId#3401708L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3395105, named_struct(orderProposalId, _extract_orderProposalId#3402530L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3402522L, supplierGroup, _extract_supplierGroup#3402523, optimizationGroups, coalesce(optimizationGroups#3401704, []), supplier, _extract_supplier#3402524, supplyingPlant, _extract_supplyingPlant#3402525, orderDateTime, _extract_orderDateTime#3402526, itemGroups, _extract_itemGroups#3402527, previousOrderProposals, _extract_previousOrderProposals#3402528, parentItems, _extract_parentItems#3402529) AS orderProposal#3401811]
Input [14]: [shardId#3395105, _extract_orderProposalId#3402521L, _extract_originalReplenishmentRunId#3402522L, _extract_supplierGroup#3402523, _extract_supplier#3402524, _extract_supplyingPlant#3402525, _extract_orderDateTime#3402526, _extract_itemGroups#3402527, _extract_previousOrderProposals#3402528, _extract_parentItems#3402529, _extract_orderProposalId#3402530L, orderProposalId#3401708L, shardId#3401707, optimizationGroups#3401704]
(98) Filter
Input [1]: [orderProposal#3401811]
Condition : (size(orderProposal#3401811.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3401811.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3403301]
Input [1]: [orderProposal#3401811]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3403301]
Arguments: explode(_extract_deliveryDateTime#3403301), false, [numberOfOrderProposalItems#3403273]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3403273]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3403312L]
Results [1]: [count#3403313L]
(103) Exchange
Input [1]: [count#3403313L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=980308]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3403313L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3403278L]
Results [1]: [count(1)#3403278L AS count#3403274L]