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: 3 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 2.2 KiB<br>merged fetch fallback count: 0<br>local blocks read: 30<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 335765.0: task 941575))<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>20 ms (0 ms, 0 ms, 11 ms (stage 335765.0: task 941577))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 1<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.2 KiB (75.0 B, 75.0 B, 75.0 B (stage 335765.0: task 941575))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1029213]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n434 ms (3 ms, 6 ms, 43 ms (stage 335765.0: task 941579))";
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>400 ms (3 ms, 6 ms, 42 ms (stage 335765.0: task 941579))<br>number of output rows: 30" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 87,939" tooltip="Generate explode(_extract_deliveryDateTime#3589608), false, [numberOfOrderProposalItems#3589580]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3588007.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3589608]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,748" tooltip="Filter (size(orderProposal#3588007.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,748" tooltip="InMemoryTableScan [orderProposal#3588007], [(size(orderProposal#3588007.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, named_struct(orderProposalId, _extract_orderProposalId#3588837L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3588829L, supplierGroup, _extract_supplierGroup#3588830, optimizationGroups, coalesce(optimizationGroups#3587900, []), supplier, _extract_supplier#3588831, supplyingPlant, _extract_supplyingPlant#3588832, orderDateTime, _extract_orderDateTime#3588833, itemGroups, _extract_itemGroups#3588834, previousOrderProposals, _extract_previousOrderProposals#3588835, parentItems, _extract_parentItems#3588836) AS orderProposal#3588007]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 1,748<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335765.0: task 941575))" tooltip="SortMergeJoin [coalesce(shardId#3579691, ), isnull(shardId#3579691), coalesce(_extract_orderProposalId#3588837L, 0), isnull(_extract_orderProposalId#3588837L)], [coalesce(shardId#3587903, ), isnull(shardId#3587903), coalesce(orderProposalId#3587904L, 0), isnull(orderProposalId#3587904L)], 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 335765.0: task 941575))<br>peak memory total (min, med, max (stageId: taskId))<br>195.9 MiB (4.1 MiB, 6.1 MiB, 8.1 MiB (stage 335765.0: task 941576))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335765.0: task 941575))" tooltip="Sort [coalesce(shardId#3579691, ) ASC NULLS FIRST, isnull(shardId#3579691) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3588837L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3588837L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,748<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,748<br>local bytes read total (min, med, max (stageId: taskId))<br>15.1 MiB (320.4 KiB, 540.2 KiB, 629.9 KiB (stage 335765.0: task 941604))<br>merged fetch fallback count: 0<br>local blocks read: 777<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>159.4 MiB (3.9 MiB, 5.3 MiB, 6.4 MiB (stage 335764.0: task 941545))<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>176 ms (2 ms, 2 ms, 27 ms (stage 335764.0: task 941564))<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 335765.0: task 941575))<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.1 MiB (378.9 KiB, 517.5 KiB, 625.1 KiB (stage 335764.0: task 941545))" tooltip="Exchange hashpartitioning(coalesce(shardId#3579691, ), isnull(shardId#3579691), coalesce(_extract_orderProposalId#3588837L, 0), isnull(_extract_orderProposalId#3588837L), 30), ENSURE_REQUIREMENTS, [plan_id=1029047]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, orderProposal#3587888.orderProposalId AS _extract_orderProposalId#3588828L, orderProposal#3587888.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3588829L, orderProposal#3587888.supplierGroup AS _extract_supplierGroup#3588830, orderProposal#3587888.supplier AS _extract_supplier#3588831, orderProposal#3587888.supplyingPlant AS _extract_supplyingPlant#3588832, orderProposal#3587888.orderDateTime AS _extract_orderDateTime#3588833, orderProposal#3587888.itemGroups AS _extract_itemGroups#3588834, orderProposal#3587888.previousOrderProposals AS _extract_previousOrderProposals#3588835, orderProposal#3587888.parentItems AS _extract_parentItems#3588836, orderProposal#3587888.orderProposalId AS _extract_orderProposalId#3588837L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, struct(orderProposalId, orderProposalId#3581277L, originalReplenishmentRunId, originalReplenishmentRunId#3587856L, supplierGroup, supplierGroup#3587857, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3587857) THEN supplier#3587858 END, supplyingPlant, supplyingPlant#3587859, orderDateTime, orderDateTime#3587860, itemGroups, itemGroups#3587861, previousOrderProposals, array_distinct(previousOrderProposals#3587863), parentItems, parentItems#3587862) AS orderProposal#3587888]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,748<br>time in aggregation build total (min, med, max (stageId: taskId))<br>810 ms (14 ms, 18 ms, 55 ms (stage 335764.0: task 941550))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335764.0: task 941534))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3579691, orderProposalId#3581277L], functions=[max(originalReplenishmentRunId#3587794L), max(supplierGroup#3587795), max(supplier#3587796), max(supplyingPlant#3587797), max(orderDateTime#3587798), collect_list(itemGroup#3587855, 0, 0), collect_list(parentItems#3587799, 0, 0), collect_set(previousOrderProposals#3587801, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,748<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,748<br>local bytes read total (min, med, max (stageId: taskId))<br>14.2 MiB (361.0 KiB, 481.3 KiB, 600.9 KiB (stage 335764.0: task 941545))<br>merged fetch fallback count: 0<br>local blocks read: 706<br>remote merged chunks fetched: 0<br>remote blocks read: 51<br>data size total (min, med, max (stageId: taskId))<br>159.5 MiB (3.6 MiB, 5.4 MiB, 6.9 MiB (stage 335759.0: task 941487))<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>82 ms (1 ms, 2 ms, 3 ms (stage 335759.0: task 941488))<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 335764.0: task 941534))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1032.2 KiB (8.9 KiB, 27.0 KiB, 108.2 KiB (stage 335764.0: task 941539))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>21 ms (0 ms, 1 ms, 1 ms (stage 335764.0: task 941533))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.2 MiB (350.0 KiB, 528.4 KiB, 672.7 KiB (stage 335759.0: task 941487))" tooltip="Exchange hashpartitioning(shardId#3579691, orderProposalId#3581277L, 30), ENSURE_REQUIREMENTS, [plan_id=1029043]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,748<br>time in aggregation build total (min, med, max (stageId: taskId))<br>302 ms (4 ms, 4 ms, 31 ms (stage 335759.0: task 941488))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335759.0: task 941485))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3579691, orderProposalId#3581277L], functions=[partial_max(originalReplenishmentRunId#3587794L), partial_max(supplierGroup#3587795), partial_max(supplier#3587796), partial_max(supplyingPlant#3587797), partial_max(orderDateTime#3587798), partial_collect_list(itemGroup#3587855, 0, 0), partial_collect_list(parentItems#3587799, 0, 0), partial_collect_set(previousOrderProposals#3587801, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,748<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.1 s (18 ms, 26 ms, 124 ms (stage 335759.0: task 941485))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335759.0: task 941485))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3579691, orderProposalId#3581277L, splitIndicator#3581282L, orderProposalItemGroupId#3581279], functions=[max(originalReplenishmentRunId#3581280L), max(supplierGroup#3581287), max(supplier#3581288), max(supplyingPlant#3581318), max(orderDateTime#3581295), collect_list(parentItem#3587746, 0, 0), collect_set(previousOrderProposal#3581283L, 0, 0), collect_list(item#3587777, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 42,777<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 42,777<br>local bytes read total (min, med, max (stageId: taskId))<br>7.8 MiB (173.0 KiB, 265.4 KiB, 390.2 KiB (stage 335759.0: task 941516))<br>merged fetch fallback count: 0<br>local blocks read: 338<br>remote merged chunks fetched: 0<br>remote blocks read: 562<br>data size total (min, med, max (stageId: taskId))<br>170.4 MiB (5.5 MiB, 5.7 MiB, 5.8 MiB (stage 335758.0: task 941328))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>140 ms (2 ms, 3 ms, 26 ms (stage 335758.0: task 941327))<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 335759.0: task 941485))<br>remote bytes read total (min, med, max (stageId: taskId))<br>13.0 MiB (305.9 KiB, 461.7 KiB, 579.6 KiB (stage 335759.0: task 941487))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>144 ms (4 ms, 5 ms, 8 ms (stage 335759.0: task 941490))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.8 MiB (690.0 KiB, 710.9 KiB, 724.5 KiB (stage 335758.0: task 941328))" tooltip="Exchange hashpartitioning(shardId#3579691, orderProposalId#3581277L, splitIndicator#3581282L, orderProposalItemGroupId#3581279, 30), ENSURE_REQUIREMENTS, [plan_id=1029040]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 42,777<br>time in aggregation build total (min, med, max (stageId: taskId))<br>12.7 s (172 ms, 317 ms, 1.1 s (stage 335758.0: task 941330))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335758.0: task 941181))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3579691, orderProposalId#3581277L, splitIndicator#3581282L, orderProposalItemGroupId#3581279], functions=[partial_max(originalReplenishmentRunId#3581280L), partial_max(supplierGroup#3581287), partial_max(supplier#3581288), partial_max(supplyingPlant#3581318), partial_max(orderDateTime#3581295), partial_collect_list(parentItem#3587746, 0, 0), partial_collect_set(previousOrderProposal#3581283L, 0, 0), partial_collect_list(item#3587777, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, orderDateTime#3581295, splitIndicator#3581282L, orderProposalItemGroupId#3581279, previousOrderProposal#3581283L, parentItem#3587746, struct(itemId, orderProposalItemId#3581278, supplier, supplier#3581288, supplyingPlant, supplyingPlant#3581318, productGroup, productGroup#3581319, product, product#3581290, plant, plant#3581291, supplierSubRange, subrange#3581289, deliveryDateTime, deliveryDateTime#3581296, orderQuantity, coalesce((qty#3580963 * (cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11936#3587780.isOrderUnit, lambda x_11936#3587780, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11936#3587781.isOrderUnit, lambda x_11936#3587781, false)), 1, None, false).numerator as double))), qty#3580963), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11936#3587782.isOrderUnit, lambda x_11936#3587782, false)), 1, None, false).uom, orderQuantityBaseUom#3581300), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11936#3587783.isOrderUnit, lambda x_11936#3587783, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581301), orderQuantityInBaseUnit, qty#3580963, orderQuantityBaseUom, ... 13 more fields) AS item#3587777]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, qty#3580963, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, productGroup#3581319, product#3581290, plant#3581291, subrange#3581289, orderDateTime#3581295, deliveryDateTime#3581296, logisticUnits#3581314, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, splitIndicator#3581282L, orderProposalItemId#3581278, orderProposalItemGroupId#3581279, previousOrderProposal#3581283L, struct(itemId, orderProposalItemId#3581278, itemGroupId, orderProposalItemGroupId#3581279, supplier, supplier#3581288, supplyingPlant, supplyingPlant#3581318, productGroup, productGroup#3581319, product, product#3581290, plant, plant#3581291, supplierSubRange, subrange#3581289, sourceOfSupplyUuid, sourceOfSupplyUuid#3581286, deliveryDateTime, deliveryDateTime#3581296, unitPrice, netPriceAmount#3581305, unitPriceCurrency, netPriceCurrencyCode#3581306, unitPriceQuantity, ... 37 more fields) AS parentItem#3587746]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, qty#3580963, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, productGroup#3581319, product#3581290, plant#3581291, subrange#3581289, orderDateTime#3581295, deliveryDateTime#3581296, availabilityDateTime#3581297, nextAvailabilityDateTime#3581298, logisticUnits#3581314, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, splitIndicator#3581282L, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, sourceOfSupplyUuid#3581286, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n15.9 s (213 ms, 372 ms, 1.5 s (stage 335758.0: task 941330))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, productGroup#3581319, product#3581290, plant#3581291, subrange#3581289, orderDateTime#3581295, deliveryDateTime#3581296, availabilityDateTime#3581297, nextAvailabilityDateTime#3581298, logisticUnits#3581314, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, splitIndicator#3581282L, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 87,939" tooltip="Filter NOT (isFallbackOrderOnly#3581299 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 87,939" tooltip="InMemoryTableScan [availabilityDateTime#3581297, channelStreamSpecificKpis#3587038, constraintLabels#3581309, constraintOperators#3581310, constraintValues#3581312, deliveryDateTime#3581296, isFallbackOrderOnly#3581299, logisticUnits#3581314, measurements#3581307, minimumOrderQuantity#3581308, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, nextAvailabilityDateTime#3581298, optimizationGroups#3581315, orderDateTime#3581295, orderProposalId#3581277L, orderProposalItemGroupId#3581279, orderProposalItemId#3581278, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, originalReplenishmentRunId#3581280L, plant#3581291, ... 14 more fields], [NOT (isFallbackOrderOnly#3581299 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n15.6 s (296 ms, 548 ms, 981 ms (stage 335758.0: task 941189))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 87,939<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335758.0: task 941181))" tooltip="SortMergeJoin [shardId#3579691, worklistShardItemId#3580961L], [shardId#3587045, worklistShardItemId#3587046L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n22.5 s (392 ms, 668 ms, 1.4 s (stage 335758.0: task 941331))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 87,939<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335758.0: task 941181))" tooltip="SortMergeJoin [shardId#3579691, worklistShardItemId#3580961L], [shardId#3587032, worklistShardItemId#3587033L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n27.0 s (444 ms, 712 ms, 1.9 s (stage 335758.0: task 941331))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 87,939<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335758.0: task 941181))" tooltip="SortMergeJoin [shardId#3579691, worklistShardItemId#3580961L], [shardId#3587016, worklistShardItemId#3587017L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n29.1 s (446 ms, 714 ms, 2.3 s (stage 335758.0: task 941331))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>34 ms (0 ms, 1 ms, 2 ms (stage 335758.0: task 941189))<br>peak memory total (min, med, max (stageId: taskId))<br>123.8 MiB (4.1 MiB, 4.1 MiB, 4.1 MiB (stage 335758.0: task 941181))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335758.0: task 941181))" tooltip="Sort [shardId#3579691 ASC NULLS FIRST, worklistShardItemId#3580961L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 87,939<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 87,939<br>local bytes read total (min, med, max (stageId: taskId))<br>9.8 MiB (134.4 KiB, 559.8 KiB, 579.9 KiB (stage 335758.0: task 941304))<br>merged fetch fallback count: 0<br>local blocks read: 426<br>remote merged chunks fetched: 0<br>remote blocks read: 474<br>data size total (min, med, max (stageId: taskId))<br>101.4 MiB (3.3 MiB, 3.4 MiB, 3.5 MiB (stage 335757.0: task 940534))<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>100 ms (2 ms, 3 ms, 5 ms (stage 335757.0: task 940649))<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 335758.0: task 941181))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.8 MiB (132.7 KiB, 543.8 KiB, 721.6 KiB (stage 335758.0: task 941328))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>137 ms (1 ms, 2 ms, 26 ms (stage 335758.0: task 941329))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.6 MiB (679.4 KiB, 703.8 KiB, 724.0 KiB (stage 335757.0: task 940534))" tooltip="Exchange hashpartitioning(shardId#3579691, worklistShardItemId#3580961L, 30), ENSURE_REQUIREMENTS, [plan_id=1028726]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (27 ms, 66 ms, 99 ms (stage 335757.0: task 940636))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 87,939<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335757.0: task 940495))" tooltip="SortMergeJoin [worklistShardItemId#3580961L], [worklistShardItemId#3581388L], LeftOuter, (shardId#3579691 = 0_1_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (28 ms, 68 ms, 251 ms (stage 335757.0: task 940496))";
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 335757.0: task 940495))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335757.0: task 940495))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335757.0: task 940495))" tooltip="Sort [worklistShardItemId#3580961L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 87,939<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 87,939<br>local bytes read total (min, med, max (stageId: taskId))<br>474.3 KiB (5.4 KiB, 18.3 KiB, 18.9 KiB (stage 335757.0: task 940667))<br>merged fetch fallback count: 0<br>local blocks read: 594<br>remote merged chunks fetched: 0<br>remote blocks read: 306<br>data size total (min, med, max (stageId: taskId))<br>4.7 MiB (150.3 KiB, 159.4 KiB, 172.1 KiB (stage 335753.0: task 940263))<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, 1 ms (stage 335753.0: task 940252))<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>35 ms (0 ms, 0 ms, 23 ms (stage 335757.0: task 940636))<br>remote bytes read total (min, med, max (stageId: taskId))<br>242.8 KiB (5.3 KiB, 5.6 KiB, 18.8 KiB (stage 335757.0: task 940534))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>110 ms (1 ms, 1 ms, 32 ms (stage 335757.0: task 940636))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>717.1 KiB (22.6 KiB, 23.8 KiB, 25.3 KiB (stage 335753.0: task 940263))" tooltip="Exchange hashpartitioning(worklistShardItemId#3580961L, 30), ENSURE_REQUIREMENTS, [plan_id=1028707]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n194 ms (3 ms, 4 ms, 72 ms (stage 335753.0: task 940252))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3579691, item#3580960.worklistShardItemId AS worklistShardItemId#3580961L, item#3580960.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3580962, item#3580960.qty AS qty#3580963]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 87,939" tooltip="Generate explode(items#3579693), [shardId#3579691], false, [item#3580960]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,748" tooltip="Filter ((size(items#3579693, true) > 0) AND isnotnull(items#3579693))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,748" tooltip="InMemoryTableScan [shardId#3579691, items#3579693], [(size(items#3579693, true) > 0), isnotnull(items#3579693)]"];
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#3579691) AND (shardId#3579691 = 0_1_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, optimizationInsights#3579697], [isnotnull(shardId#3579691), (shardId#3579691 = 0_1_10000000532)]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
56 [id="node56" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3579691) AND (shardId#3579691 = 0_1_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3579691,orderProposalId#3579692L,items#3579693,optimizationGroups#3579694,isOptimal#3579695,lastModified#3579696,optimizationInsights#3579697]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.0 s (28 ms, 67 ms, 147 ms (stage 335757.0: task 940496))";
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 335757.0: task 940495))<br>peak memory total (min, med, max (stageId: taskId))<br>123.8 MiB (4.1 MiB, 4.1 MiB, 4.1 MiB (stage 335757.0: task 940495))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335757.0: task 940495))" tooltip="Sort [worklistShardItemId#3581388L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3581388L, orderProposalId#3581365L, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, originalReplenishmentRunId#3581407L, splitIndicator#3581384L, previousOrderProposal#3581385L, sourceOfSupplyUuid#3581379, supplierGroup#3581367, supplier#3581368, subrange#3581371, product#3581374, plant#3581369, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, isFallbackOrderOnly#3581382, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, netPriceAmount#3581401, netPriceCurrencyCode#3581402, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 87,939<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 87,939<br>local bytes read total (min, med, max (stageId: taskId))<br>9.0 MiB (170.9 KiB, 335.6 KiB, 360.5 KiB (stage 335757.0: task 940521))<br>merged fetch fallback count: 0<br>local blocks read: 516<br>remote merged chunks fetched: 0<br>remote blocks read: 594<br>data size total (min, med, max (stageId: taskId))<br>98.0 MiB (2.5 MiB, 2.7 MiB, 2.8 MiB (stage 335752.0: task 940251))<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>113 ms (2 ms, 2 ms, 4 ms (stage 335752.0: task 940411))<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 335757.0: task 940495))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.4 MiB (308.0 KiB, 329.4 KiB, 492.5 KiB (stage 335757.0: task 940495))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>213 ms (4 ms, 5 ms, 35 ms (stage 335757.0: task 940636))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>19.5 MiB (511.2 KiB, 539.3 KiB, 570.6 KiB (stage 335752.0: task 940251))" tooltip="Exchange hashpartitioning(worklistShardItemId#3581388L, 30), REPARTITION_BY_NUM, [plan_id=1028717]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.2 s (106 ms, 150 ms, 512 ms (stage 335752.0: task 940384))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3581365L, orderProposalItemId#3581366, supplierGroup#3581367, supplier#3581368, plant#3581369, deliveryDateTime#3581370, subrange#3581371, supplyingPlant#3581372, productGroup#3581373, product#3581374, orderDateTime#3581375, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, sourceOfSupplyUuid#3581379, isFallbackOrderOnly#3581382, splitIndicator#3581384L, previousOrderProposal#3581385L, worklistShardItemId#3581388L, orderProposalItemGroupId#3581389, externalProductId#3581390, externalPlantId#3581391, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, minimumOrderQuantity#3581395, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 87,939" tooltip="Filter isnotnull(worklistShardItemId#3581388L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 87,939<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
66 [id="node66" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>5.2 s (88 ms, 131 ms, 229 ms (stage 335752.0: task 940384))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 11.9 MiB<br>number of output rows: 87,939<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3581365L,orderProposalItemId#3581366,supplierGroup#3581367,supplier#3581368,plant#3581369,deliveryDateTime#3581370,subrange#3581371,supplyingPlant#3581372,productGroup#3581373,product#3581374,orderDateTime#3581375,availabilityDateTime#3581376,nextAvailabilityDateTime#3581377,sourceOfSupplyUuid#3581379,isFallbackOrderOnly#3581382,splitIndicator#3581384L,previousOrderProposal#3581385L,worklistShardItemId#3581388L,orderProposalItemGroupId#3581389,externalProductId#3581390,externalPlantId#3581391,logisticUnits#3581392,orderQuantityBaseUom#3581393,orderQuantityBaseUomUuid#3581394,minimumOrderQuantity#3581395,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3581388L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3581409), isnotnull(sequenceId#3581387), (shardId#3581409 = 0_1_10000000532), ..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster67 {
isCluster="true";
id="cluster67";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (8)";
68 [id="node68" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>770 ms (16 ms, 21 ms, 76 ms (stage 335758.0: task 941189))<br>peak memory total (min, med, max (stageId: taskId))<br>675.0 MiB (22.5 MiB, 22.5 MiB, 22.5 MiB (stage 335758.0: task 941181))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335758.0: task 941181))" tooltip="Sort [shardId#3587016 ASC NULLS FIRST, worklistShardItemId#3587017L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>6.6 MiB (134.6 KiB, 222.9 KiB, 477.8 KiB (stage 335758.0: task 941330))<br>merged fetch fallback count: 0<br>local blocks read: 243<br>remote merged chunks fetched: 0<br>remote blocks read: 657<br>data size total (min, med, max (stageId: taskId))<br>610.4 MiB (20.1 MiB, 20.3 MiB, 20.6 MiB (stage 335755.0: task 940431))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>102 ms (2 ms, 2 ms, 19 ms (stage 335755.0: task 941059))<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 335758.0: task 941181))<br>remote bytes read total (min, med, max (stageId: taskId))<br>18.0 MiB (361.3 KiB, 626.5 KiB, 712.8 KiB (stage 335758.0: task 941271))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>278 ms (5 ms, 8 ms, 31 ms (stage 335758.0: task 941329))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>24.6 MiB (828.8 KiB, 840.8 KiB, 855.3 KiB (stage 335755.0: task 940431))" tooltip="Exchange hashpartitioning(shardId#3587016, worklistShardItemId#3587017L, 30), ENSURE_REQUIREMENTS, [plan_id=1028732]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n27.5 s (772 ms, 914 ms, 1.3 s (stage 335755.0: task 940315))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3587016, worklistShardItemId#3587017L, coalesce(kpis#3587021, []) AS prodLocSpecificKpis#3587022]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter (((isnull(qty#3587018) AND isnull(demandChannel#3587019)) AND isnull(demandStream#3587020)) AND (isnotnull(shardId#3587016) AND isnotnull(worklistShardItemId#3587017L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3587016,worklistShardItemId#3587017L,qty#3587018,demandChannel#3587019,demandStream#3587020,kpis#3587021]"];
}
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>66 ms (1 ms, 1 ms, 33 ms (stage 335758.0: task 941321))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 335758.0: task 941181))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335758.0: task 941181))" tooltip="Sort [shardId#3587032 ASC NULLS FIRST, worklistShardItemId#3587033L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.2 s (22 ms, 27 ms, 92 ms (stage 335758.0: task 941328))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335758.0: task 941181))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3587032, worklistShardItemId#3587033L], functions=[collect_list(struct(demandChannel, demandChannel#3587035, demandStream, demandStream#3587036, kpis, kpis#3587037), 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>1774.3 KiB (38.9 KiB, 54.1 KiB, 142.3 KiB (stage 335758.0: task 941328))<br>merged fetch fallback count: 0<br>local blocks read: 224<br>remote merged chunks fetched: 0<br>remote blocks read: 676<br>data size total (min, med, max (stageId: taskId))<br>236.9 MiB (7.8 MiB, 7.9 MiB, 8.0 MiB (stage 335754.0: task 940314))<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, 11 ms (stage 335754.0: task 940488))<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>6 ms (0 ms, 0 ms, 4 ms (stage 335758.0: task 941329))<br>remote bytes read total (min, med, max (stageId: taskId))<br>5.2 MiB (94.0 KiB, 196.6 KiB, 202.6 KiB (stage 335758.0: task 941321))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>333 ms (5 ms, 8 ms, 34 ms (stage 335758.0: task 941232))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>7.0 MiB (234.1 KiB, 237.5 KiB, 239.7 KiB (stage 335754.0: task 941096))" tooltip="Exchange hashpartitioning(shardId#3587032, worklistShardItemId#3587033L, 30), ENSURE_REQUIREMENTS, [plan_id=1028743]"];
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>30.9 s (771 ms, 918 ms, 2.4 s (stage 335754.0: task 940314))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335754.0: task 940253))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3587032, worklistShardItemId#3587033L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3587035, demandStream, demandStream#3587036, kpis, kpis#3587037), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n30.0 s (753 ms, 894 ms, 2.3 s (stage 335754.0: task 940314))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3587032, worklistShardItemId#3587033L, demandChannel#3587035, demandStream#3587036, kpis#3587037]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter ((((isnull(qty#3587034) AND isnotnull(demandChannel#3587035)) AND isnotnull(demandStream#3587036)) AND (size(kpis#3587037, true) > 0)) AND (isnotnull(shardId#3587032) AND isnotnull(worklistShardItemId#3587033L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3587032,worklistShardItemId#3587033L,qty#3587034,demandChannel#3587035,demandStream#3587036,kpis#3587037]"];
}
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>75 ms (1 ms, 1 ms, 42 ms (stage 335758.0: task 941189))<br>peak memory total (min, med, max (stageId: taskId))<br>735.0 MiB (24.5 MiB, 24.5 MiB, 24.5 MiB (stage 335758.0: task 941181))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335758.0: task 941181))" tooltip="Sort [shardId#3587045 ASC NULLS FIRST, worklistShardItemId#3587046L 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.3 s (46 ms, 72 ms, 150 ms (stage 335758.0: task 941328))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335758.0: task 941181))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3587045, worklistShardItemId#3587046L], functions=[collect_list(struct(qty, qty#3587047, kpis, kpis#3587050), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,174,407<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,174,407<br>local bytes read total (min, med, max (stageId: taskId))<br>6.5 MiB (153.6 KiB, 257.3 KiB, 365.6 KiB (stage 335758.0: task 941328))<br>merged fetch fallback count: 0<br>local blocks read: 256<br>remote merged chunks fetched: 0<br>remote blocks read: 644<br>data size total (min, med, max (stageId: taskId))<br>727.4 MiB (24.1 MiB, 24.2 MiB, 24.4 MiB (stage 335756.0: task 940491))<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>112 ms (2 ms, 2 ms, 14 ms (stage 335756.0: task 940799))<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 335758.0: task 941188))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.4 MiB (411.7 KiB, 615.8 KiB, 643.1 KiB (stage 335758.0: task 941321))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>227 ms (5 ms, 6 ms, 30 ms (stage 335758.0: task 941284))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>22.9 MiB (776.7 KiB, 782.1 KiB, 787.2 KiB (stage 335756.0: task 940491))" tooltip="Exchange hashpartitioning(shardId#3587045, worklistShardItemId#3587046L, 30), ENSURE_REQUIREMENTS, [plan_id=1028755]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 1,174,407<br>time in aggregation build total (min, med, max (stageId: taskId))<br>29.5 s (823 ms, 919 ms, 2.4 s (stage 335756.0: task 940316))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335756.0: task 940256))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3587045, worklistShardItemId#3587046L], functions=[partial_collect_list(struct(qty, qty#3587047, kpis, kpis#3587050), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n27.8 s (774 ms, 882 ms, 2.2 s (stage 335756.0: task 940316))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3587045, worklistShardItemId#3587046L, qty#3587047, kpis#3587050]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter ((isnotnull(qty#3587047) AND isnotnull(kpis#3587050)) AND (isnotnull(shardId#3587045) AND isnotnull(worklistShardItemId#3587046L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3587045,worklistShardItemId#3587046L,qty#3587047,demandChannel#3587048,demandStream#3587049,kpis#3587050]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (18 ms, 36 ms, 204 ms (stage 335765.0: task 941575))";
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 335765.0: task 941575))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335765.0: task 941575))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335765.0: task 941575))" tooltip="Sort [coalesce(shardId#3587903, ) ASC NULLS FIRST, isnull(shardId#3587903) ASC NULLS FIRST, coalesce(orderProposalId#3587904L, 0) ASC NULLS FIRST, isnull(orderProposalId#3587904L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,748<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,748<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 761<br>data size total (min, med, max (stageId: taskId))<br>95.6 KiB (2.4 KiB, 3.3 KiB, 4.0 KiB (stage 335763.0: task 940732))<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>39 ms (1 ms, 1 ms, 1 ms (stage 335763.0: task 940712))<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 335765.0: task 941575))<br>remote bytes read total (min, med, max (stageId: taskId))<br>97.3 KiB (2.4 KiB, 3.4 KiB, 3.8 KiB (stage 335765.0: task 941604))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>199 ms (3 ms, 5 ms, 42 ms (stage 335765.0: task 941598))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>97.3 KiB (2.7 KiB, 3.3 KiB, 3.7 KiB (stage 335763.0: task 940766))" tooltip="Exchange hashpartitioning(coalesce(shardId#3587903, ), isnull(shardId#3587903), coalesce(orderProposalId#3587904L, 0), isnull(orderProposalId#3587904L), 30), ENSURE_REQUIREMENTS, [plan_id=1029086]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3587904L, shardId#3587903, coalesce(transform(optimizationGroups#3587906, lambdafunction(struct(optGroupId, lambda x_11940#3587901.optGroupId, minOrderProfile, lambda x_11940#3587901.minOrderProfile, assignmentDetails, lambda x_11940#3587901.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11940#3587901.minOrderGoal.dimensionType, unit, lambda x_11940#3587901.minOrderGoal.unit, unitUuid, lambda x_11940#3587901.minOrderGoal.unitUuid, goalValue, lambda x_11940#3587901.minOrderGoal.minOrderValue, calcValue, lambda x_11940#3587901.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11940#3587901, false)), []) AS optimizationGroups#3587900]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (8 ms, 10 ms, 339 ms (stage 335763.0: task 940637))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 1,748<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335763.0: task 940660))" tooltip="SortMergeJoin [orderProposalId#3587904L], [orderProposalId#3587959L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.2 s (9 ms, 11 ms, 846 ms (stage 335763.0: task 940637))";
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 335763.0: task 940660))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335763.0: task 940660))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335763.0: task 940660))" tooltip="Sort [orderProposalId#3587904L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,748<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,748<br>local bytes read total (min, med, max (stageId: taskId))<br>35.8 KiB (617.0 B, 871.0 B, 2.8 KiB (stage 335763.0: task 940769))<br>merged fetch fallback count: 0<br>local blocks read: 279<br>remote merged chunks fetched: 0<br>remote blocks read: 494<br>data size total (min, med, max (stageId: taskId))<br>95.6 KiB (3.0 KiB, 3.2 KiB, 3.4 KiB (stage 335761.0: task 940289))<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>41 ms (1 ms, 1 ms, 1 ms (stage 335761.0: task 940309))<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>10 ms (0 ms, 0 ms, 6 ms (stage 335763.0: task 940725))<br>remote bytes read total (min, med, max (stageId: taskId))<br>62.7 KiB (394.0 B, 2.5 KiB, 2.9 KiB (stage 335763.0: task 940732))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>177 ms (3 ms, 6 ms, 13 ms (stage 335763.0: task 940725))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>98.5 KiB (3.0 KiB, 3.3 KiB, 3.6 KiB (stage 335761.0: task 940299))" tooltip="Exchange hashpartitioning(orderProposalId#3587904L, 30), ENSURE_REQUIREMENTS, [plan_id=1029052]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n477 ms (2 ms, 3 ms, 236 ms (stage 335761.0: task 940318))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,748" tooltip="Filter isnotnull(orderProposalId#3587904L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,748" tooltip="InMemoryTableScan [shardId#3587903, orderProposalId#3587904L, optimizationGroups#3587906], [isnotnull(orderProposalId#3587904L)]"];
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#3579691) AND (shardId#3579691 = 0_1_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, optimizationInsights#3579697], [isnotnull(shardId#3579691), (shardId#3579691 = 0_1_10000000532)]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
108 [id="node108" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3579691) AND (shardId#3579691 = 0_1_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3579691,orderProposalId#3579692L,items#3579693,optimizationGroups#3579694,isOptimal#3579695,lastModified#3579696,optimizationInsights#3579697]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (8 ms, 10 ms, 439 ms (stage 335763.0: task 940637))";
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 335763.0: task 940660))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335763.0: task 940660))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335763.0: task 940660))" tooltip="Sort [orderProposalId#3587959L 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>79 ms (2 ms, 2 ms, 11 ms (stage 335763.0: task 940731))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 335763.0: task 940660))<br>number of output rows: 1,748<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3587959L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 42,790<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 42,790<br>local bytes read total (min, med, max (stageId: taskId))<br>83.4 KiB (9.7 KiB, 10.7 KiB, 15.0 KiB (stage 335763.0: task 940769))<br>merged fetch fallback count: 0<br>local blocks read: 154<br>remote merged chunks fetched: 0<br>remote blocks read: 746<br>data size total (min, med, max (stageId: taskId))<br>668.6 KiB (21.8 KiB, 22.3 KiB, 22.9 KiB (stage 335762.0: task 940629))<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 335762.0: task 940551))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 3 ms (stage 335763.0: task 940731))<br>remote bytes read total (min, med, max (stageId: taskId))<br>430.4 KiB (3.4 KiB, 17.0 KiB, 21.5 KiB (stage 335763.0: task 940732))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>183 ms (0 ms, 7 ms, 18 ms (stage 335763.0: task 940731))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>513.8 KiB (16.8 KiB, 17.1 KiB, 17.6 KiB (stage 335762.0: task 940629))" tooltip="Exchange hashpartitioning(orderProposalId#3587959L, 30), ENSURE_REQUIREMENTS, [plan_id=1029077]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n700 ms (9 ms, 11 ms, 158 ms (stage 335762.0: task 940551))";
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>256 ms (4 ms, 5 ms, 43 ms (stage 335762.0: task 940591))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 335762.0: task 940524))<br>number of output rows: 42,790<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3587959L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3587959L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 87,939" tooltip="BroadcastHashJoin [worklistShardItemId#3587911L], [worklistShardItemId#3587982L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3587982L, orderProposalId#3587959L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 7 ms<br>time to build: 19 ms<br>time to collect: 342 ms<br>number of output rows: 87,939<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1029063]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n48 ms (0 ms, 1 ms, 7 ms (stage 335751.0: task 940237))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3587910L AS worklistShardItemId#3587911L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 87,939" tooltip="Generate explode(_extract_worklistShardItemId#3588551), false, [item#3587910L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3587532.worklistShardItemId AS _extract_worklistShardItemId#3588551]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,748" tooltip="Filter (((size(items#3587532.worklistShardItemId, true) > 0) AND isnotnull(items#3587532.worklistShardItemId)) AND (shardId#3587530 = 0_1_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,748" tooltip="InMemoryTableScan [items#3587532, shardId#3587530], [(size(items#3587532.worklistShardItemId, true) > 0), isnotnull(items#3587532.worklistShardItemId), (shardId#3587530 = 0_1_10000000532)]"];
subgraph cluster125 {
isCluster="true";
id="cluster125";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
126 [id="node126" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3579691) AND (shardId#3579691 = 0_1_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, optimizationInsights#3579697], [isnotnull(shardId#3579691), (shardId#3579691 = 0_1_10000000532)]"];
subgraph cluster128 {
isCluster="true";
id="cluster128";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
129 [id="node129" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#3579691) AND (shardId#3579691 = 0_1_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3579691,orderProposalId#3579692L,items#3579693,optimizationGroups#3579694,isOptimal#3579695,lastModified#3579696,optimizationInsights#3579697]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 87,939<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 87,939<br>local bytes read total (min, med, max (stageId: taskId))<br>778.2 KiB (14.2 KiB, 29.6 KiB, 31.4 KiB (stage 335762.0: task 940618))<br>merged fetch fallback count: 0<br>local blocks read: 646<br>remote merged chunks fetched: 0<br>remote blocks read: 464<br>data size total (min, med, max (stageId: taskId))<br>2.0 MiB (53.2 KiB, 55.8 KiB, 58.6 KiB (stage 335760.0: task 940249))<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>68 ms (1 ms, 1 ms, 2 ms (stage 335760.0: task 940408))<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 335762.0: task 940524))<br>remote bytes read total (min, med, max (stageId: taskId))<br>558.4 KiB (14.0 KiB, 14.7 KiB, 31.1 KiB (stage 335762.0: task 940524))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>48 ms (1 ms, 1 ms, 14 ms (stage 335762.0: task 940551))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1336.6 KiB (34.6 KiB, 36.2 KiB, 37.9 KiB (stage 335760.0: task 940249))" tooltip="Exchange hashpartitioning(worklistShardItemId#3587982L, 30), REPARTITION_BY_NUM, [plan_id=1029070]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n6.1 s (119 ms, 161 ms, 327 ms (stage 335760.0: task 940249))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3587959L, worklistShardItemId#3587982L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 87,939" tooltip="Filter ((isnotnull(worklistShardItemId#3587982L) AND NOT (isFallbackOrderOnly#3587976 <=> true)) AND isnotnull(orderProposalId#3587959L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 87,939<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
137 [id="node137" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>5.9 s (114 ms, 155 ms, 277 ms (stage 335760.0: task 940249))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 11.9 MiB<br>number of output rows: 87,939<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3587959L,isFallbackOrderOnly#3587976,worklistShardItemId#3587982L,shardId#3588003,sequenceId#3587981] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3587982L), NOT (isFallbackOrderOnly#3587976 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3588003), isnotnull(sequenceId#3587981), (shardId#3588003 = 0_1_10000000532), ..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
23->22;
24->23;
26->24;
27->26;
28->27;
30->28;
31->30;
33->31;
34->33;
36->34;
37->36;
39->37;
40->39;
42->40;
43->42;
45->43;
46->45;
48->46;
49->48;
50->49;
51->50;
53->51;
54->53;
56->54;
57->56;
59->43;
60->59;
61->60;
63->61;
64->63;
65->64;
66->65;
68->37;
69->68;
71->69;
72->71;
73->72;
75->34;
76->75;
77->76;
78->77;
80->78;
81->80;
82->81;
84->31;
85->84;
86->85;
87->86;
89->87;
90->89;
91->90;
93->11;
94->93;
95->94;
97->95;
99->97;
100->99;
102->100;
103->102;
105->103;
106->105;
108->106;
109->108;
111->97;
112->111;
113->112;
115->113;
116->115;
117->116;
118->117;
120->118;
121->120;
122->121;
123->122;
124->123;
126->124;
127->126;
129->127;
130->129;
131->117;
132->131;
134->132;
135->134;
136->135;
137->136;
}
== Physical Plan ==
* HashAggregate (104)
+- Exchange (103)
+- * HashAggregate (102)
+- * Project (101)
+- * Generate (100)
+- Project (99)
+- Filter (98)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (97)
+- SortMergeJoin LeftOuter (96)
:- Sort (67)
: +- Exchange (66)
: +- Project (65)
: +- Project (64)
: +- ObjectHashAggregate (63)
: +- Exchange (62)
: +- ObjectHashAggregate (61)
: +- ObjectHashAggregate (60)
: +- Exchange (59)
: +- ObjectHashAggregate (58)
: +- Project (57)
: +- Project (56)
: +- Project (55)
: +- * Project (54)
: +- * Filter (53)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (52)
: +- * SortMergeJoin LeftOuter (51)
: :- * Project (43)
: : +- * SortMergeJoin LeftOuter (42)
: : :- * Project (34)
: : : +- * SortMergeJoin LeftOuter (33)
: : : :- * Sort (27)
: : : : +- Exchange (26)
: : : : +- * Project (25)
: : : : +- * SortMergeJoin LeftOuter (24)
: : : : :- * Sort (16)
: : : : : +- Exchange (15)
: : : : : +- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- * Sort (23)
: : : : +- * Project (22)
: : : : +- Exchange (21)
: : : : +- * Project (20)
: : : : +- * Filter (19)
: : : : +- * ColumnarToRow (18)
: : : : +- Scan parquet (17)
: : : +- * Sort (32)
: : : +- Exchange (31)
: : : +- * Project (30)
: : : +- * Filter (29)
: : : +- * Scan ExistingRDD (28)
: : +- * Sort (41)
: : +- ObjectHashAggregate (40)
: : +- Exchange (39)
: : +- ObjectHashAggregate (38)
: : +- * Project (37)
: : +- * Filter (36)
: : +- * Scan ExistingRDD (35)
: +- * Sort (50)
: +- ObjectHashAggregate (49)
: +- Exchange (48)
: +- ObjectHashAggregate (47)
: +- * Project (46)
: +- * Filter (45)
: +- * Scan ExistingRDD (44)
+- * Sort (95)
+- Exchange (94)
+- Project (93)
+- * SortMergeJoin Inner (92)
:- * Sort (72)
: +- Exchange (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Sort (91)
+- * HashAggregate (90)
+- Exchange (89)
+- * HashAggregate (88)
+- * Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (79)
: +- * Project (78)
: +- * Generate (77)
: +- * Project (76)
: +- * Filter (75)
: +- InMemoryTableScan (73)
: +- InMemoryRelation (74)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (85)
+- Exchange (84)
+- * Project (83)
+- * Filter (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
(1) InMemoryTableScan
Output [1]: [orderProposal#3588007]
Arguments: [orderProposal#3588007], [(size(orderProposal#3588007.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3579691, orderProposal#3588007], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3581297, channelStreamSpecificKpis#3587038, constraintLabels#3581309, constraintOperators#3581310, constraintValues#3581312, deliveryDateTime#3581296, isFallbackOrderOnly#3581299, logisticUnits#3581314, measurements#3581307, minimumOrderQuantity#3581308, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, nextAvailabilityDateTime#3581298, optimizationGroups#3581315, orderDateTime#3581295, orderProposalId#3581277L, orderProposalItemGroupId#3581279, orderProposalItemId#3581278, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, originalReplenishmentRunId#3581280L, plant#3581291, previousOrderProposal#3581283L, prodLocSpecificKpis#3587023, product#3581290, productGroup#3581319, qty#3580963, quantityAfterProdPlantOptimization#3580962, quantityKpis#3587051, shardId#3579691, sourceOfSupplyUuid#3581286, splitIndicator#3581282L, subrange#3581289, supplier#3581288, supplierGroup#3581287, supplyingPlant#3581318]
Arguments: [availabilityDateTime#3581297, channelStreamSpecificKpis#3587038, constraintLabels#3581309, constraintOperators#3581310, constraintValues#3581312, deliveryDateTime#3581296, isFallbackOrderOnly#3581299, logisticUnits#3581314, measurements#3581307, minimumOrderQuantity#3581308, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, nextAvailabilityDateTime#3581298, optimizationGroups#3581315, orderDateTime#3581295, orderProposalId#3581277L, orderProposalItemGroupId#3581279, orderProposalItemId#3581278, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, originalReplenishmentRunId#3581280L, plant#3581291, ... 14 more fields], [NOT (isFallbackOrderOnly#3581299 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, productGroup#3581319, product#3581290, plant#3581291, subrange#3581289, orderDateTime#3581295, deliveryDateTime#3581296, availabilityDateTime#3581297, nextAvailabilityDateTime#3581298, constraintValues#3581312, constraintOperators#3581310, constraintLabels#3581309, logisticUnits#3581314, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, splitIndicator#3581282L, netPriceAmount#3581305, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3579691, items#3579693]
Arguments: [shardId#3579691, items#3579693], [(size(items#3579693, true) > 0), isnotnull(items#3579693)]
(6) InMemoryRelation
Arguments: [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, optimizationInsights#3579697], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, optimizationInsights#3579697]
Arguments: [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, optimizationInsights#3579697], [isnotnull(shardId#3579691), (shardId#3579691 = 0_1_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, lastModified#3579696, optimizationInsights#3579697], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, lastModified#3579696, optimizationInsights#3579697]
Arguments: [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, lastModified#3579696, optimizationInsights#3579697], MapPartitionsRDD[152524] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, lastModified#3579696, optimizationInsights#3579697]
Condition : (isnotnull(shardId#3579691) AND (shardId#3579691 = 0_1_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3579691, orderProposalId#3579692L, items#3579693, optimizationGroups#3579694, isOptimal#3579695, optimizationInsights#3579697]
Condition : (isnotnull(shardId#3579691) AND (shardId#3579691 = 0_1_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3579691, items#3579693]
Condition : ((size(items#3579693, true) > 0) AND isnotnull(items#3579693))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3579691, items#3579693]
Arguments: explode(items#3579693), [shardId#3579691], false, [item#3580960]
(14) Project [codegen id : 1]
Output [4]: [shardId#3579691, item#3580960.worklistShardItemId AS worklistShardItemId#3580961L, item#3580960.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3580962, item#3580960.qty AS qty#3580963]
Input [2]: [shardId#3579691, item#3580960]
(15) Exchange
Input [4]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963]
Arguments: hashpartitioning(worklistShardItemId#3580961L, 30), ENSURE_REQUIREMENTS, [plan_id=1028707]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963]
Arguments: [worklistShardItemId#3580961L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3581365L, orderProposalItemId#3581366, supplierGroup#3581367, supplier#3581368, plant#3581369, deliveryDateTime#3581370, subrange#3581371, supplyingPlant#3581372, productGroup#3581373, product#3581374, orderDateTime#3581375, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, sourceOfSupplyUuid#3581379, isFallbackOrderOnly#3581382, splitIndicator#3581384L, previousOrderProposal#3581385L, worklistShardItemId#3581388L, orderProposalItemGroupId#3581389, externalProductId#3581390, externalPlantId#3581391, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, minimumOrderQuantity#3581395, constraintLabels#3581396, constraintOperators#3581397, constraintValues#3581398, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, measurements#3581406, originalReplenishmentRunId#3581407L, optimizationGroups#3581408, shardId#3581409, sequenceId#3581387]
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#3581409), isnotnull(sequenceId#3581387), (shardId#3581409 = 0_1_10000000532), (sequenceId#3581387 = 7)]
PushedFilters: [IsNotNull(worklistShardItemId)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,sourceOfSupplyUuid:string,isFallbackOrderOnly:boolean,splitIndicator:bigint,previousOrderProposal:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(18) ColumnarToRow [codegen id : 3]
Input [38]: [orderProposalId#3581365L, orderProposalItemId#3581366, supplierGroup#3581367, supplier#3581368, plant#3581369, deliveryDateTime#3581370, subrange#3581371, supplyingPlant#3581372, productGroup#3581373, product#3581374, orderDateTime#3581375, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, sourceOfSupplyUuid#3581379, isFallbackOrderOnly#3581382, splitIndicator#3581384L, previousOrderProposal#3581385L, worklistShardItemId#3581388L, orderProposalItemGroupId#3581389, externalProductId#3581390, externalPlantId#3581391, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, minimumOrderQuantity#3581395, constraintLabels#3581396, constraintOperators#3581397, constraintValues#3581398, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, measurements#3581406, originalReplenishmentRunId#3581407L, optimizationGroups#3581408, shardId#3581409, sequenceId#3581387]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3581365L, orderProposalItemId#3581366, supplierGroup#3581367, supplier#3581368, plant#3581369, deliveryDateTime#3581370, subrange#3581371, supplyingPlant#3581372, productGroup#3581373, product#3581374, orderDateTime#3581375, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, sourceOfSupplyUuid#3581379, isFallbackOrderOnly#3581382, splitIndicator#3581384L, previousOrderProposal#3581385L, worklistShardItemId#3581388L, orderProposalItemGroupId#3581389, externalProductId#3581390, externalPlantId#3581391, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, minimumOrderQuantity#3581395, constraintLabels#3581396, constraintOperators#3581397, constraintValues#3581398, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, measurements#3581406, originalReplenishmentRunId#3581407L, optimizationGroups#3581408, shardId#3581409, sequenceId#3581387]
Condition : isnotnull(worklistShardItemId#3581388L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3581365L, orderProposalItemId#3581366, supplierGroup#3581367, supplier#3581368, plant#3581369, deliveryDateTime#3581370, subrange#3581371, supplyingPlant#3581372, productGroup#3581373, product#3581374, orderDateTime#3581375, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, sourceOfSupplyUuid#3581379, isFallbackOrderOnly#3581382, splitIndicator#3581384L, previousOrderProposal#3581385L, worklistShardItemId#3581388L, orderProposalItemGroupId#3581389, externalProductId#3581390, externalPlantId#3581391, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, minimumOrderQuantity#3581395, constraintLabels#3581396, constraintOperators#3581397, constraintValues#3581398, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, measurements#3581406, originalReplenishmentRunId#3581407L, optimizationGroups#3581408]
Input [38]: [orderProposalId#3581365L, orderProposalItemId#3581366, supplierGroup#3581367, supplier#3581368, plant#3581369, deliveryDateTime#3581370, subrange#3581371, supplyingPlant#3581372, productGroup#3581373, product#3581374, orderDateTime#3581375, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, sourceOfSupplyUuid#3581379, isFallbackOrderOnly#3581382, splitIndicator#3581384L, previousOrderProposal#3581385L, worklistShardItemId#3581388L, orderProposalItemGroupId#3581389, externalProductId#3581390, externalPlantId#3581391, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, minimumOrderQuantity#3581395, constraintLabels#3581396, constraintOperators#3581397, constraintValues#3581398, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, measurements#3581406, originalReplenishmentRunId#3581407L, optimizationGroups#3581408, shardId#3581409, sequenceId#3581387]
(21) Exchange
Input [36]: [orderProposalId#3581365L, orderProposalItemId#3581366, supplierGroup#3581367, supplier#3581368, plant#3581369, deliveryDateTime#3581370, subrange#3581371, supplyingPlant#3581372, productGroup#3581373, product#3581374, orderDateTime#3581375, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, sourceOfSupplyUuid#3581379, isFallbackOrderOnly#3581382, splitIndicator#3581384L, previousOrderProposal#3581385L, worklistShardItemId#3581388L, orderProposalItemGroupId#3581389, externalProductId#3581390, externalPlantId#3581391, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, minimumOrderQuantity#3581395, constraintLabels#3581396, constraintOperators#3581397, constraintValues#3581398, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, measurements#3581406, originalReplenishmentRunId#3581407L, optimizationGroups#3581408]
Arguments: hashpartitioning(worklistShardItemId#3581388L, 30), REPARTITION_BY_NUM, [plan_id=1028717]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3581388L, orderProposalId#3581365L, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, originalReplenishmentRunId#3581407L, splitIndicator#3581384L, previousOrderProposal#3581385L, sourceOfSupplyUuid#3581379, supplierGroup#3581367, supplier#3581368, subrange#3581371, product#3581374, plant#3581369, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, isFallbackOrderOnly#3581382, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, netPriceAmount#3581401, netPriceCurrencyCode#3581402, measurements#3581406, minimumOrderQuantity#3581395, constraintLabels#3581396, constraintOperators#3581397, constraintValues#3581398, logisticUnits#3581392, optimizationGroups#3581408, externalProductId#3581390, externalPlantId#3581391, supplyingPlant#3581372, productGroup#3581373]
Input [36]: [orderProposalId#3581365L, orderProposalItemId#3581366, supplierGroup#3581367, supplier#3581368, plant#3581369, deliveryDateTime#3581370, subrange#3581371, supplyingPlant#3581372, productGroup#3581373, product#3581374, orderDateTime#3581375, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, sourceOfSupplyUuid#3581379, isFallbackOrderOnly#3581382, splitIndicator#3581384L, previousOrderProposal#3581385L, worklistShardItemId#3581388L, orderProposalItemGroupId#3581389, externalProductId#3581390, externalPlantId#3581391, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, minimumOrderQuantity#3581395, constraintLabels#3581396, constraintOperators#3581397, constraintValues#3581398, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, measurements#3581406, originalReplenishmentRunId#3581407L, optimizationGroups#3581408]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3581388L, orderProposalId#3581365L, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, originalReplenishmentRunId#3581407L, splitIndicator#3581384L, previousOrderProposal#3581385L, sourceOfSupplyUuid#3581379, supplierGroup#3581367, supplier#3581368, subrange#3581371, product#3581374, plant#3581369, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, isFallbackOrderOnly#3581382, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, netPriceAmount#3581401, netPriceCurrencyCode#3581402, measurements#3581406, minimumOrderQuantity#3581395, constraintLabels#3581396, constraintOperators#3581397, constraintValues#3581398, logisticUnits#3581392, optimizationGroups#3581408, externalProductId#3581390, externalPlantId#3581391, supplyingPlant#3581372, productGroup#3581373]
Arguments: [worklistShardItemId#3581388L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3580961L]
Right keys [1]: [worklistShardItemId#3581388L]
Join type: LeftOuter
Join condition: (shardId#3579691 = 0_1_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, sourceOfSupplyUuid#3581379, minimumOrderQuantity#3581395, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, optimizationGroups#3581408, measurements#3581406, externalProductId#3581390, externalPlantId#3581391, previousOrderProposal#3581385L, isFallbackOrderOnly#3581382]
Input [40]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, worklistShardItemId#3581388L, orderProposalId#3581365L, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, originalReplenishmentRunId#3581407L, splitIndicator#3581384L, previousOrderProposal#3581385L, sourceOfSupplyUuid#3581379, supplierGroup#3581367, supplier#3581368, subrange#3581371, product#3581374, plant#3581369, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, isFallbackOrderOnly#3581382, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, netPriceAmount#3581401, netPriceCurrencyCode#3581402, measurements#3581406, minimumOrderQuantity#3581395, constraintLabels#3581396, constraintOperators#3581397, constraintValues#3581398, logisticUnits#3581392, optimizationGroups#3581408, externalProductId#3581390, externalPlantId#3581391, supplyingPlant#3581372, productGroup#3581373]
(26) Exchange
Input [39]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, sourceOfSupplyUuid#3581379, minimumOrderQuantity#3581395, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, optimizationGroups#3581408, measurements#3581406, externalProductId#3581390, externalPlantId#3581391, previousOrderProposal#3581385L, isFallbackOrderOnly#3581382]
Arguments: hashpartitioning(shardId#3579691, worklistShardItemId#3580961L, 30), ENSURE_REQUIREMENTS, [plan_id=1028726]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, sourceOfSupplyUuid#3581379, minimumOrderQuantity#3581395, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, optimizationGroups#3581408, measurements#3581406, externalProductId#3581390, externalPlantId#3581391, previousOrderProposal#3581385L, isFallbackOrderOnly#3581382]
Arguments: [shardId#3579691 ASC NULLS FIRST, worklistShardItemId#3580961L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3587016, worklistShardItemId#3587017L, qty#3587018, demandChannel#3587019, demandStream#3587020, kpis#3587021]
Arguments: [shardId#3587016, worklistShardItemId#3587017L, qty#3587018, demandChannel#3587019, demandStream#3587020, kpis#3587021], MapPartitionsRDD[152909] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3587016, worklistShardItemId#3587017L, qty#3587018, demandChannel#3587019, demandStream#3587020, kpis#3587021]
Condition : (((isnull(qty#3587018) AND isnull(demandChannel#3587019)) AND isnull(demandStream#3587020)) AND (isnotnull(shardId#3587016) AND isnotnull(worklistShardItemId#3587017L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3587016, worklistShardItemId#3587017L, coalesce(kpis#3587021, []) AS prodLocSpecificKpis#3587022]
Input [6]: [shardId#3587016, worklistShardItemId#3587017L, qty#3587018, demandChannel#3587019, demandStream#3587020, kpis#3587021]
(31) Exchange
Input [3]: [shardId#3587016, worklistShardItemId#3587017L, prodLocSpecificKpis#3587022]
Arguments: hashpartitioning(shardId#3587016, worklistShardItemId#3587017L, 30), ENSURE_REQUIREMENTS, [plan_id=1028732]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3587016, worklistShardItemId#3587017L, prodLocSpecificKpis#3587022]
Arguments: [shardId#3587016 ASC NULLS FIRST, worklistShardItemId#3587017L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3579691, worklistShardItemId#3580961L]
Right keys [2]: [shardId#3587016, worklistShardItemId#3587017L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, sourceOfSupplyUuid#3581379, minimumOrderQuantity#3581395, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, optimizationGroups#3581408, measurements#3581406, externalProductId#3581390, externalPlantId#3581391, previousOrderProposal#3581385L, isFallbackOrderOnly#3581382, coalesce(prodLocSpecificKpis#3587022, []) AS prodLocSpecificKpis#3587023]
Input [42]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, sourceOfSupplyUuid#3581379, minimumOrderQuantity#3581395, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, optimizationGroups#3581408, measurements#3581406, externalProductId#3581390, externalPlantId#3581391, previousOrderProposal#3581385L, isFallbackOrderOnly#3581382, shardId#3587016, worklistShardItemId#3587017L, prodLocSpecificKpis#3587022]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3587032, worklistShardItemId#3587033L, qty#3587034, demandChannel#3587035, demandStream#3587036, kpis#3587037]
Arguments: [shardId#3587032, worklistShardItemId#3587033L, qty#3587034, demandChannel#3587035, demandStream#3587036, kpis#3587037], MapPartitionsRDD[152909] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3587032, worklistShardItemId#3587033L, qty#3587034, demandChannel#3587035, demandStream#3587036, kpis#3587037]
Condition : ((((isnull(qty#3587034) AND isnotnull(demandChannel#3587035)) AND isnotnull(demandStream#3587036)) AND (size(kpis#3587037, true) > 0)) AND (isnotnull(shardId#3587032) AND isnotnull(worklistShardItemId#3587033L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3587032, worklistShardItemId#3587033L, demandChannel#3587035, demandStream#3587036, kpis#3587037]
Input [6]: [shardId#3587032, worklistShardItemId#3587033L, qty#3587034, demandChannel#3587035, demandStream#3587036, kpis#3587037]
(38) ObjectHashAggregate
Input [5]: [shardId#3587032, worklistShardItemId#3587033L, demandChannel#3587035, demandStream#3587036, kpis#3587037]
Keys [2]: [shardId#3587032, worklistShardItemId#3587033L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3587035, demandStream, demandStream#3587036, kpis, kpis#3587037), 0, 0)]
Aggregate Attributes [1]: [buf#3587284]
Results [3]: [shardId#3587032, worklistShardItemId#3587033L, buf#3587285]
(39) Exchange
Input [3]: [shardId#3587032, worklistShardItemId#3587033L, buf#3587285]
Arguments: hashpartitioning(shardId#3587032, worklistShardItemId#3587033L, 30), ENSURE_REQUIREMENTS, [plan_id=1028743]
(40) ObjectHashAggregate
Input [3]: [shardId#3587032, worklistShardItemId#3587033L, buf#3587285]
Keys [2]: [shardId#3587032, worklistShardItemId#3587033L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3587035, demandStream, demandStream#3587036, kpis, kpis#3587037), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3587035, demandStream, demandStream#3587036, kpis, kpis#3587037), 0, 0)#3587031]
Results [3]: [shardId#3587032, worklistShardItemId#3587033L, collect_list(struct(demandChannel, demandChannel#3587035, demandStream, demandStream#3587036, kpis, kpis#3587037), 0, 0)#3587031 AS channelStreamSpecificKpis#3587024]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3587032, worklistShardItemId#3587033L, channelStreamSpecificKpis#3587024]
Arguments: [shardId#3587032 ASC NULLS FIRST, worklistShardItemId#3587033L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3579691, worklistShardItemId#3580961L]
Right keys [2]: [shardId#3587032, worklistShardItemId#3587033L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, sourceOfSupplyUuid#3581379, minimumOrderQuantity#3581395, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, optimizationGroups#3581408, measurements#3581406, externalProductId#3581390, externalPlantId#3581391, previousOrderProposal#3581385L, isFallbackOrderOnly#3581382, prodLocSpecificKpis#3587023, coalesce(channelStreamSpecificKpis#3587024, []) AS channelStreamSpecificKpis#3587038]
Input [43]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, sourceOfSupplyUuid#3581379, minimumOrderQuantity#3581395, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, optimizationGroups#3581408, measurements#3581406, externalProductId#3581390, externalPlantId#3581391, previousOrderProposal#3581385L, isFallbackOrderOnly#3581382, prodLocSpecificKpis#3587023, shardId#3587032, worklistShardItemId#3587033L, channelStreamSpecificKpis#3587024]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3587045, worklistShardItemId#3587046L, qty#3587047, demandChannel#3587048, demandStream#3587049, kpis#3587050]
Arguments: [shardId#3587045, worklistShardItemId#3587046L, qty#3587047, demandChannel#3587048, demandStream#3587049, kpis#3587050], MapPartitionsRDD[152909] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3587045, worklistShardItemId#3587046L, qty#3587047, demandChannel#3587048, demandStream#3587049, kpis#3587050]
Condition : ((isnotnull(qty#3587047) AND isnotnull(kpis#3587050)) AND (isnotnull(shardId#3587045) AND isnotnull(worklistShardItemId#3587046L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3587045, worklistShardItemId#3587046L, qty#3587047, kpis#3587050]
Input [6]: [shardId#3587045, worklistShardItemId#3587046L, qty#3587047, demandChannel#3587048, demandStream#3587049, kpis#3587050]
(47) ObjectHashAggregate
Input [4]: [shardId#3587045, worklistShardItemId#3587046L, qty#3587047, kpis#3587050]
Keys [2]: [shardId#3587045, worklistShardItemId#3587046L]
Functions [1]: [partial_collect_list(struct(qty, qty#3587047, kpis, kpis#3587050), 0, 0)]
Aggregate Attributes [1]: [buf#3587286]
Results [3]: [shardId#3587045, worklistShardItemId#3587046L, buf#3587287]
(48) Exchange
Input [3]: [shardId#3587045, worklistShardItemId#3587046L, buf#3587287]
Arguments: hashpartitioning(shardId#3587045, worklistShardItemId#3587046L, 30), ENSURE_REQUIREMENTS, [plan_id=1028755]
(49) ObjectHashAggregate
Input [3]: [shardId#3587045, worklistShardItemId#3587046L, buf#3587287]
Keys [2]: [shardId#3587045, worklistShardItemId#3587046L]
Functions [1]: [collect_list(struct(qty, qty#3587047, kpis, kpis#3587050), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3587047, kpis, kpis#3587050), 0, 0)#3587044]
Results [3]: [shardId#3587045, worklistShardItemId#3587046L, map_from_entries(collect_list(struct(qty, qty#3587047, kpis, kpis#3587050), 0, 0)#3587044) AS quantityKpis#3587039]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3587045, worklistShardItemId#3587046L, quantityKpis#3587039]
Arguments: [shardId#3587045 ASC NULLS FIRST, worklistShardItemId#3587046L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3579691, worklistShardItemId#3580961L]
Right keys [2]: [shardId#3587045, worklistShardItemId#3587046L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, sourceOfSupplyUuid#3581379, minimumOrderQuantity#3581395, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, optimizationGroups#3581408, measurements#3581406, externalProductId#3581390, externalPlantId#3581391, previousOrderProposal#3581385L, isFallbackOrderOnly#3581382, prodLocSpecificKpis#3587023, channelStreamSpecificKpis#3587038, coalesce(quantityKpis#3587039, map(keys: [], values: [])) AS quantityKpis#3587051]
Input [44]: [shardId#3579691, worklistShardItemId#3580961L, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581365L, originalReplenishmentRunId#3581407L, supplierGroup#3581367, supplier#3581368, supplyingPlant#3581372, productGroup#3581373, product#3581374, plant#3581369, subrange#3581371, orderDateTime#3581375, deliveryDateTime#3581370, availabilityDateTime#3581376, nextAvailabilityDateTime#3581377, constraintValues#3581398, constraintOperators#3581397, constraintLabels#3581396, logisticUnits#3581392, orderQuantityBaseUom#3581393, orderQuantityBaseUomUuid#3581394, splitIndicator#3581384L, netPriceAmount#3581401, netPriceCurrencyCode#3581402, netPriceQuantity#3581403, netPriceQuantityUom#3581404, netPriceQuantityUomUuid#3581405, sourceOfSupplyUuid#3581379, minimumOrderQuantity#3581395, orderProposalItemId#3581366, orderProposalItemGroupId#3581389, optimizationGroups#3581408, measurements#3581406, externalProductId#3581390, externalPlantId#3581391, previousOrderProposal#3581385L, isFallbackOrderOnly#3581382, prodLocSpecificKpis#3587023, channelStreamSpecificKpis#3587038, shardId#3587045, worklistShardItemId#3587046L, quantityKpis#3587039]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3581297, channelStreamSpecificKpis#3587038, constraintLabels#3581309, constraintOperators#3581310, constraintValues#3581312, deliveryDateTime#3581296, isFallbackOrderOnly#3581299, logisticUnits#3581314, measurements#3581307, minimumOrderQuantity#3581308, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, nextAvailabilityDateTime#3581298, optimizationGroups#3581315, orderDateTime#3581295, orderProposalId#3581277L, orderProposalItemGroupId#3581279, orderProposalItemId#3581278, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, originalReplenishmentRunId#3581280L, plant#3581291, previousOrderProposal#3581283L, prodLocSpecificKpis#3587023, product#3581290, productGroup#3581319, qty#3580963, quantityAfterProdPlantOptimization#3580962, quantityKpis#3587051, shardId#3579691, sourceOfSupplyUuid#3581286, splitIndicator#3581282L, subrange#3581289, supplier#3581288, supplierGroup#3581287, supplyingPlant#3581318]
Condition : NOT (isFallbackOrderOnly#3581299 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3579691, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, productGroup#3581319, product#3581290, plant#3581291, subrange#3581289, orderDateTime#3581295, deliveryDateTime#3581296, availabilityDateTime#3581297, nextAvailabilityDateTime#3581298, logisticUnits#3581314, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, splitIndicator#3581282L, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, sourceOfSupplyUuid#3581286, minimumOrderQuantity#3581308, orderProposalItemId#3581278, orderProposalItemGroupId#3581279, optimizationGroups#3581315, measurements#3581307, previousOrderProposal#3581283L, prodLocSpecificKpis#3587023, channelStreamSpecificKpis#3587038, quantityKpis#3587051, arrays_zip(constraintLabels#3581309, constraintOperators#3581310, constraintValues#3581312, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3587537]
Input [39]: [availabilityDateTime#3581297, channelStreamSpecificKpis#3587038, constraintLabels#3581309, constraintOperators#3581310, constraintValues#3581312, deliveryDateTime#3581296, isFallbackOrderOnly#3581299, logisticUnits#3581314, measurements#3581307, minimumOrderQuantity#3581308, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, nextAvailabilityDateTime#3581298, optimizationGroups#3581315, orderDateTime#3581295, orderProposalId#3581277L, orderProposalItemGroupId#3581279, orderProposalItemId#3581278, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, originalReplenishmentRunId#3581280L, plant#3581291, previousOrderProposal#3581283L, prodLocSpecificKpis#3587023, product#3581290, productGroup#3581319, qty#3580963, quantityAfterProdPlantOptimization#3580962, quantityKpis#3587051, shardId#3579691, sourceOfSupplyUuid#3581286, splitIndicator#3581282L, subrange#3581289, supplier#3581288, supplierGroup#3581287, supplyingPlant#3581318]
(55) Project
Output [37]: [shardId#3579691, qty#3580963, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, productGroup#3581319, product#3581290, plant#3581291, subrange#3581289, orderDateTime#3581295, deliveryDateTime#3581296, availabilityDateTime#3581297, nextAvailabilityDateTime#3581298, logisticUnits#3581314, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, splitIndicator#3581282L, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, sourceOfSupplyUuid#3581286, orderProposalItemId#3581278, orderProposalItemGroupId#3581279, optimizationGroups#3581315, measurements#3581307, previousOrderProposal#3581283L, prodLocSpecificKpis#3587023, channelStreamSpecificKpis#3587038, quantityKpis#3587051, struct(minServiceLevel, array_min(filter(constraintStructArray#3587537, lambdafunction((lambda x_11886#3587544.constraintLabels = ServiceLevel), lambda x_11886#3587544, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3587537, lambdafunction((lambda x_11887#3587545.constraintLabels = ServiceLevelMinimumStock), lambda x_11887#3587545, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3587537, lambdafunction((lambda x_11888#3587546.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11888#3587546, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3587537, lambdafunction((lambda x_11889#3587547.constraintLabels = RangeOfCoverage), lambda x_11889#3587547, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3581308, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3587023, lambdafunction((lambda x_11890#3587548.label = NonListingStartTimestamp), lambda x_11890#3587548, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3587543, CASE WHEN (qty#3580963 <=> quantityAfterProdPlantOptimization#3580962) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3580963 * (cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11891#3587616.isOrderUnit, lambda x_11891#3587616, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11891#3587617.isOrderUnit, lambda x_11891#3587617, false)), 1, None, false).numerator as double))), qty#3580963), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11891#3587618.isOrderUnit, lambda x_11891#3587618, false)), 1, None, false).uom, orderQuantityBaseUom#3581300), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11891#3587619.isOrderUnit, lambda x_11891#3587619, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581301), candidateOrderQuantityInBaseUnit, qty#3580963, orderQuantityBaseUom, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3581301, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3581314, lambdafunction((lambda x_11893#3587620.isPreferred AND (((qty#3580963 * cast(lambda x_11893#3587620.denominator as double)) % cast(lambda x_11893#3587620.numerator as double)) = 0.0)), lambda x_11893#3587620, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3580963 * cast(lambda x_11894#3587661.denominator as double)) / cast(lambda x_11894#3587661.numerator as double)), uom, lambda x_11894#3587661.uom, uomUuid, lambda x_11894#3587661.uomUuid), lambda x_11894#3587661, false))).inPreferredQuantity, coalesce((qty#3580963 * (cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11892#3587621.isOrderUnit, lambda x_11892#3587621, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11892#3587622.isOrderUnit, lambda x_11892#3587622, false)), 1, None, false).numerator as double))), qty#3580963)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3581314, lambdafunction((lambda x_11893#3587623.isPreferred AND (((qty#3580963 * cast(lambda x_11893#3587623.denominator as double)) % cast(lambda x_11893#3587623.numerator as double)) = 0.0)), lambda x_11893#3587623, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3580963 * cast(lambda x_11894#3587662.denominator as double)) / cast(lambda x_11894#3587662.numerator as double)), uom, lambda x_11894#3587662.uom, uomUuid, lambda x_11894#3587662.uomUuid), lambda x_11894#3587662, false))).uom, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11892#3587624.isOrderUnit, lambda x_11892#3587624, false)), 1, None, false).uom, orderQuantityBaseUom#3581300)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3581314, lambdafunction((lambda x_11893#3587625.isPreferred AND (((qty#3580963 * cast(lambda x_11893#3587625.denominator as double)) % cast(lambda x_11893#3587625.numerator as double)) = 0.0)), lambda x_11893#3587625, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3580963 * cast(lambda x_11894#3587663.denominator as double)) / cast(lambda x_11894#3587663.numerator as double)), uom, lambda x_11894#3587663.uom, uomUuid, lambda x_11894#3587663.uomUuid), lambda x_11894#3587663, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11892#3587626.isOrderUnit, lambda x_11892#3587626, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581301)), serviceLevel, coalesce(filter(element_at(quantityKpis#3587051, qty#3580963, None, false), lambdafunction((lambda x_11899#3587627.label = ServiceLevel), lambda x_11899#3587627, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3580963 * (cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11891#3587631.isOrderUnit, lambda x_11891#3587631, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11891#3587632.isOrderUnit, lambda x_11891#3587632, false)), 1, None, false).numerator as double))), qty#3580963), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11891#3587633.isOrderUnit, lambda x_11891#3587633, false)), 1, None, false).uom, orderQuantityBaseUom#3581300), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11891#3587634.isOrderUnit, lambda x_11891#3587634, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581301), candidateOrderQuantityInBaseUnit, qty#3580963, orderQuantityBaseUom, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3581301, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3581314, lambdafunction((lambda x_11893#3587635.isPreferred AND (((qty#3580963 * cast(lambda x_11893#3587635.denominator as double)) % cast(lambda x_11893#3587635.numerator as double)) = 0.0)), lambda x_11893#3587635, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3580963 * cast(lambda x_11894#3587664.denominator as double)) / cast(lambda x_11894#3587664.numerator as double)), uom, lambda x_11894#3587664.uom, uomUuid, lambda x_11894#3587664.uomUuid), lambda x_11894#3587664, false))).inPreferredQuantity, coalesce((qty#3580963 * (cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11892#3587636.isOrderUnit, lambda x_11892#3587636, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11892#3587637.isOrderUnit, lambda x_11892#3587637, false)), 1, None, false).numerator as double))), qty#3580963)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3581314, lambdafunction((lambda x_11893#3587638.isPreferred AND (((qty#3580963 * cast(lambda x_11893#3587638.denominator as double)) % cast(lambda x_11893#3587638.numerator as double)) = 0.0)), lambda x_11893#3587638, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3580963 * cast(lambda x_11894#3587665.denominator as double)) / cast(lambda x_11894#3587665.numerator as double)), uom, lambda x_11894#3587665.uom, uomUuid, lambda x_11894#3587665.uomUuid), lambda x_11894#3587665, false))).uom, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11892#3587639.isOrderUnit, lambda x_11892#3587639, false)), 1, None, false).uom, orderQuantityBaseUom#3581300)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3581314, lambdafunction((lambda x_11893#3587640.isPreferred AND (((qty#3580963 * cast(lambda x_11893#3587640.denominator as double)) % cast(lambda x_11893#3587640.numerator as double)) = 0.0)), lambda x_11893#3587640, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3580963 * cast(lambda x_11894#3587666.denominator as double)) / cast(lambda x_11894#3587666.numerator as double)), uom, lambda x_11894#3587666.uom, uomUuid, lambda x_11894#3587666.uomUuid), lambda x_11894#3587666, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11892#3587641.isOrderUnit, lambda x_11892#3587641, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581301)), serviceLevel, coalesce(filter(element_at(quantityKpis#3587051, qty#3580963, None, false), lambdafunction((lambda x_11903#3587642.label = ServiceLevel), lambda x_11903#3587642, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3580962 * (cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11895#3587646.isOrderUnit, lambda x_11895#3587646, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11895#3587647.isOrderUnit, lambda x_11895#3587647, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3580962), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11895#3587648.isOrderUnit, lambda x_11895#3587648, false)), 1, None, false).uom, orderQuantityBaseUom#3581300), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11895#3587649.isOrderUnit, lambda x_11895#3587649, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581301), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3580962, orderQuantityBaseUom, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3581301, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3581314, lambdafunction((lambda x_11897#3587650.isPreferred AND (((quantityAfterProdPlantOptimization#3580962 * cast(lambda x_11897#3587650.denominator as double)) % cast(lambda x_11897#3587650.numerator as double)) = 0.0)), lambda x_11897#3587650, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3580962 * cast(lambda x_11898#3587667.denominator as double)) / cast(lambda x_11898#3587667.numerator as double)), uom, lambda x_11898#3587667.uom, uomUuid, lambda x_11898#3587667.uomUuid), lambda x_11898#3587667, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3580962 * (cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11896#3587651.isOrderUnit, lambda x_11896#3587651, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11896#3587652.isOrderUnit, lambda x_11896#3587652, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3580962)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3581314, lambdafunction((lambda x_11897#3587653.isPreferred AND (((quantityAfterProdPlantOptimization#3580962 * cast(lambda x_11897#3587653.denominator as double)) % cast(lambda x_11897#3587653.numerator as double)) = 0.0)), lambda x_11897#3587653, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3580962 * cast(lambda x_11898#3587668.denominator as double)) / cast(lambda x_11898#3587668.numerator as double)), uom, lambda x_11898#3587668.uom, uomUuid, lambda x_11898#3587668.uomUuid), lambda x_11898#3587668, false))).uom, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11896#3587654.isOrderUnit, lambda x_11896#3587654, false)), 1, None, false).uom, orderQuantityBaseUom#3581300)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3581314, lambdafunction((lambda x_11897#3587655.isPreferred AND (((quantityAfterProdPlantOptimization#3580962 * cast(lambda x_11897#3587655.denominator as double)) % cast(lambda x_11897#3587655.numerator as double)) = 0.0)), lambda x_11897#3587655, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3580962 * cast(lambda x_11898#3587669.denominator as double)) / cast(lambda x_11898#3587669.numerator as double)), uom, lambda x_11898#3587669.uom, uomUuid, lambda x_11898#3587669.uomUuid), lambda x_11898#3587669, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11896#3587656.isOrderUnit, lambda x_11896#3587656, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581301)), serviceLevel, coalesce(filter(element_at(quantityKpis#3587051, quantityAfterProdPlantOptimization#3580962, None, false), lambdafunction((lambda x_11907#3587657.label = ServiceLevel), lambda x_11907#3587657, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3587615, coalesce(filter(prodLocSpecificKpis#3587023, lambdafunction((lambda x_11911#3587671.label = InitialStockQty), lambda x_11911#3587671, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3587670, coalesce(filter(prodLocSpecificKpis#3587023, lambdafunction((lambda x_11912#3587673.label = DemandPeriodEndTimestamp), lambda x_11912#3587673, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3587672]
Input [36]: [shardId#3579691, quantityAfterProdPlantOptimization#3580962, qty#3580963, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, productGroup#3581319, product#3581290, plant#3581291, subrange#3581289, orderDateTime#3581295, deliveryDateTime#3581296, availabilityDateTime#3581297, nextAvailabilityDateTime#3581298, logisticUnits#3581314, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, splitIndicator#3581282L, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, sourceOfSupplyUuid#3581286, minimumOrderQuantity#3581308, orderProposalItemId#3581278, orderProposalItemGroupId#3581279, optimizationGroups#3581315, measurements#3581307, previousOrderProposal#3581283L, prodLocSpecificKpis#3587023, channelStreamSpecificKpis#3587038, quantityKpis#3587051, constraintStructArray#3587537]
(56) Project
Output [21]: [shardId#3579691, qty#3580963, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, productGroup#3581319, product#3581290, plant#3581291, subrange#3581289, orderDateTime#3581295, deliveryDateTime#3581296, logisticUnits#3581314, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, splitIndicator#3581282L, orderProposalItemId#3581278, orderProposalItemGroupId#3581279, previousOrderProposal#3581283L, struct(itemId, orderProposalItemId#3581278, itemGroupId, orderProposalItemGroupId#3581279, supplier, supplier#3581288, supplyingPlant, supplyingPlant#3581318, productGroup, productGroup#3581319, product, product#3581290, plant, plant#3581291, supplierSubRange, subrange#3581289, sourceOfSupplyUuid, sourceOfSupplyUuid#3581286, deliveryDateTime, deliveryDateTime#3581296, unitPrice, netPriceAmount#3581305, unitPriceCurrency, netPriceCurrencyCode#3581306, unitPriceQuantity, ... 37 more fields) AS parentItem#3587746]
Input [37]: [shardId#3579691, qty#3580963, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, productGroup#3581319, product#3581290, plant#3581291, subrange#3581289, orderDateTime#3581295, deliveryDateTime#3581296, availabilityDateTime#3581297, nextAvailabilityDateTime#3581298, logisticUnits#3581314, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, splitIndicator#3581282L, netPriceAmount#3581305, netPriceCurrencyCode#3581306, netPriceQuantity#3581302, netPriceQuantityUom#3581303, netPriceQuantityUomUuid#3581304, sourceOfSupplyUuid#3581286, orderProposalItemId#3581278, orderProposalItemGroupId#3581279, optimizationGroups#3581315, measurements#3581307, previousOrderProposal#3581283L, prodLocSpecificKpis#3587023, channelStreamSpecificKpis#3587038, quantityKpis#3587051, constraintBenchmark#3587543, calculationAnalysis#3587615, inventoryDateTime#3587670, demandPeriodEndDateTime#3587672]
(57) Project
Output [12]: [shardId#3579691, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, orderDateTime#3581295, splitIndicator#3581282L, orderProposalItemGroupId#3581279, previousOrderProposal#3581283L, parentItem#3587746, struct(itemId, orderProposalItemId#3581278, supplier, supplier#3581288, supplyingPlant, supplyingPlant#3581318, productGroup, productGroup#3581319, product, product#3581290, plant, plant#3581291, supplierSubRange, subrange#3581289, deliveryDateTime, deliveryDateTime#3581296, orderQuantity, coalesce((qty#3580963 * (cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11936#3587780.isOrderUnit, lambda x_11936#3587780, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11936#3587781.isOrderUnit, lambda x_11936#3587781, false)), 1, None, false).numerator as double))), qty#3580963), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11936#3587782.isOrderUnit, lambda x_11936#3587782, false)), 1, None, false).uom, orderQuantityBaseUom#3581300), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3581314, lambdafunction(lambda x_11936#3587783.isOrderUnit, lambda x_11936#3587783, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3581301), orderQuantityInBaseUnit, qty#3580963, orderQuantityBaseUom, ... 13 more fields) AS item#3587777]
Input [21]: [shardId#3579691, qty#3580963, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, productGroup#3581319, product#3581290, plant#3581291, subrange#3581289, orderDateTime#3581295, deliveryDateTime#3581296, logisticUnits#3581314, orderQuantityBaseUom#3581300, orderQuantityBaseUomUuid#3581301, splitIndicator#3581282L, orderProposalItemId#3581278, orderProposalItemGroupId#3581279, previousOrderProposal#3581283L, parentItem#3587746]
(58) ObjectHashAggregate
Input [12]: [shardId#3579691, orderProposalId#3581277L, originalReplenishmentRunId#3581280L, supplierGroup#3581287, supplier#3581288, supplyingPlant#3581318, orderDateTime#3581295, splitIndicator#3581282L, orderProposalItemGroupId#3581279, previousOrderProposal#3581283L, parentItem#3587746, item#3587777]
Keys [4]: [shardId#3579691, orderProposalId#3581277L, splitIndicator#3581282L, orderProposalItemGroupId#3581279]
Functions [8]: [partial_max(originalReplenishmentRunId#3581280L), partial_max(supplierGroup#3581287), partial_max(supplier#3581288), partial_max(supplyingPlant#3581318), partial_max(orderDateTime#3581295), partial_collect_list(parentItem#3587746, 0, 0), partial_collect_set(previousOrderProposal#3581283L, 0, 0), partial_collect_list(item#3587777, 0, 0)]
Aggregate Attributes [8]: [max#3589212L, max#3589213, max#3589214, max#3589215, max#3589216, buf#3589217, buf#3589218, buf#3589219]
Results [12]: [shardId#3579691, orderProposalId#3581277L, splitIndicator#3581282L, orderProposalItemGroupId#3581279, max#3589220L, max#3589221, max#3589222, max#3589223, max#3589224, buf#3589225, buf#3589226, buf#3589227]
(59) Exchange
Input [12]: [shardId#3579691, orderProposalId#3581277L, splitIndicator#3581282L, orderProposalItemGroupId#3581279, max#3589220L, max#3589221, max#3589222, max#3589223, max#3589224, buf#3589225, buf#3589226, buf#3589227]
Arguments: hashpartitioning(shardId#3579691, orderProposalId#3581277L, splitIndicator#3581282L, orderProposalItemGroupId#3581279, 30), ENSURE_REQUIREMENTS, [plan_id=1029040]
(60) ObjectHashAggregate
Input [12]: [shardId#3579691, orderProposalId#3581277L, splitIndicator#3581282L, orderProposalItemGroupId#3581279, max#3589220L, max#3589221, max#3589222, max#3589223, max#3589224, buf#3589225, buf#3589226, buf#3589227]
Keys [4]: [shardId#3579691, orderProposalId#3581277L, splitIndicator#3581282L, orderProposalItemGroupId#3581279]
Functions [8]: [max(originalReplenishmentRunId#3581280L), max(supplierGroup#3581287), max(supplier#3581288), max(supplyingPlant#3581318), max(orderDateTime#3581295), collect_list(parentItem#3587746, 0, 0), collect_set(previousOrderProposal#3581283L, 0, 0), collect_list(item#3587777, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3581280L)#3587846L, max(supplierGroup#3581287)#3587847, max(supplier#3581288)#3587848, max(supplyingPlant#3581318)#3587849, max(orderDateTime#3581295)#3587850, collect_list(parentItem#3587746, 0, 0)#3587851, collect_set(previousOrderProposal#3581283L, 0, 0)#3587853, collect_list(item#3587777, 0, 0)#3587852]
Results [10]: [shardId#3579691, orderProposalId#3581277L, max(originalReplenishmentRunId#3581280L)#3587846L AS originalReplenishmentRunId#3587794L, max(supplierGroup#3581287)#3587847 AS supplierGroup#3587795, max(supplier#3581288)#3587848 AS supplier#3587796, max(supplyingPlant#3581318)#3587849 AS supplyingPlant#3587797, max(orderDateTime#3581295)#3587850 AS orderDateTime#3587798, collect_list(parentItem#3587746, 0, 0)#3587851 AS parentItems#3587799, collect_set(previousOrderProposal#3581283L, 0, 0)#3587853 AS previousOrderProposals#3587801, struct(itemGroupId, orderProposalItemGroupId#3581279, items, collect_list(item#3587777, 0, 0)#3587852) AS itemGroup#3587855]
(61) ObjectHashAggregate
Input [10]: [shardId#3579691, orderProposalId#3581277L, originalReplenishmentRunId#3587794L, supplierGroup#3587795, supplier#3587796, supplyingPlant#3587797, orderDateTime#3587798, parentItems#3587799, previousOrderProposals#3587801, itemGroup#3587855]
Keys [2]: [shardId#3579691, orderProposalId#3581277L]
Functions [8]: [partial_max(originalReplenishmentRunId#3587794L), partial_max(supplierGroup#3587795), partial_max(supplier#3587796), partial_max(supplyingPlant#3587797), partial_max(orderDateTime#3587798), partial_collect_list(itemGroup#3587855, 0, 0), partial_collect_list(parentItems#3587799, 0, 0), partial_collect_set(previousOrderProposals#3587801, 0, 0)]
Aggregate Attributes [8]: [max#3589196L, max#3589197, max#3589198, max#3589199, max#3589200, buf#3589201, buf#3589202, buf#3589203]
Results [10]: [shardId#3579691, orderProposalId#3581277L, max#3589204L, max#3589205, max#3589206, max#3589207, max#3589208, buf#3589209, buf#3589210, buf#3589211]
(62) Exchange
Input [10]: [shardId#3579691, orderProposalId#3581277L, max#3589204L, max#3589205, max#3589206, max#3589207, max#3589208, buf#3589209, buf#3589210, buf#3589211]
Arguments: hashpartitioning(shardId#3579691, orderProposalId#3581277L, 30), ENSURE_REQUIREMENTS, [plan_id=1029043]
(63) ObjectHashAggregate
Input [10]: [shardId#3579691, orderProposalId#3581277L, max#3589204L, max#3589205, max#3589206, max#3589207, max#3589208, buf#3589209, buf#3589210, buf#3589211]
Keys [2]: [shardId#3579691, orderProposalId#3581277L]
Functions [8]: [max(originalReplenishmentRunId#3587794L), max(supplierGroup#3587795), max(supplier#3587796), max(supplyingPlant#3587797), max(orderDateTime#3587798), collect_list(itemGroup#3587855, 0, 0), collect_list(parentItems#3587799, 0, 0), collect_set(previousOrderProposals#3587801, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3587794L)#3587877L, max(supplierGroup#3587795)#3587878, max(supplier#3587796)#3587879, max(supplyingPlant#3587797)#3587880, max(orderDateTime#3587798)#3587881, collect_list(itemGroup#3587855, 0, 0)#3587882, collect_list(parentItems#3587799, 0, 0)#3587883, collect_set(previousOrderProposals#3587801, 0, 0)#3587884]
Results [10]: [shardId#3579691, orderProposalId#3581277L, max(originalReplenishmentRunId#3587794L)#3587877L AS originalReplenishmentRunId#3587856L, max(supplierGroup#3587795)#3587878 AS supplierGroup#3587857, max(supplier#3587796)#3587879 AS supplier#3587858, max(supplyingPlant#3587797)#3587880 AS supplyingPlant#3587859, max(orderDateTime#3587798)#3587881 AS orderDateTime#3587860, collect_list(itemGroup#3587855, 0, 0)#3587882 AS itemGroups#3587861, flatten(collect_list(parentItems#3587799, 0, 0)#3587883) AS parentItems#3587862, flatten(collect_set(previousOrderProposals#3587801, 0, 0)#3587884) AS previousOrderProposals#3587863]
(64) Project
Output [2]: [shardId#3579691, struct(orderProposalId, orderProposalId#3581277L, originalReplenishmentRunId, originalReplenishmentRunId#3587856L, supplierGroup, supplierGroup#3587857, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3587857) THEN supplier#3587858 END, supplyingPlant, supplyingPlant#3587859, orderDateTime, orderDateTime#3587860, itemGroups, itemGroups#3587861, previousOrderProposals, array_distinct(previousOrderProposals#3587863), parentItems, parentItems#3587862) AS orderProposal#3587888]
Input [10]: [shardId#3579691, orderProposalId#3581277L, originalReplenishmentRunId#3587856L, supplierGroup#3587857, supplier#3587858, supplyingPlant#3587859, orderDateTime#3587860, itemGroups#3587861, parentItems#3587862, previousOrderProposals#3587863]
(65) Project
Output [11]: [shardId#3579691, orderProposal#3587888.orderProposalId AS _extract_orderProposalId#3588828L, orderProposal#3587888.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3588829L, orderProposal#3587888.supplierGroup AS _extract_supplierGroup#3588830, orderProposal#3587888.supplier AS _extract_supplier#3588831, orderProposal#3587888.supplyingPlant AS _extract_supplyingPlant#3588832, orderProposal#3587888.orderDateTime AS _extract_orderDateTime#3588833, orderProposal#3587888.itemGroups AS _extract_itemGroups#3588834, orderProposal#3587888.previousOrderProposals AS _extract_previousOrderProposals#3588835, orderProposal#3587888.parentItems AS _extract_parentItems#3588836, orderProposal#3587888.orderProposalId AS _extract_orderProposalId#3588837L]
Input [2]: [shardId#3579691, orderProposal#3587888]
(66) Exchange
Input [11]: [shardId#3579691, _extract_orderProposalId#3588828L, _extract_originalReplenishmentRunId#3588829L, _extract_supplierGroup#3588830, _extract_supplier#3588831, _extract_supplyingPlant#3588832, _extract_orderDateTime#3588833, _extract_itemGroups#3588834, _extract_previousOrderProposals#3588835, _extract_parentItems#3588836, _extract_orderProposalId#3588837L]
Arguments: hashpartitioning(coalesce(shardId#3579691, ), isnull(shardId#3579691), coalesce(_extract_orderProposalId#3588837L, 0), isnull(_extract_orderProposalId#3588837L), 30), ENSURE_REQUIREMENTS, [plan_id=1029047]
(67) Sort
Input [11]: [shardId#3579691, _extract_orderProposalId#3588828L, _extract_originalReplenishmentRunId#3588829L, _extract_supplierGroup#3588830, _extract_supplier#3588831, _extract_supplyingPlant#3588832, _extract_orderDateTime#3588833, _extract_itemGroups#3588834, _extract_previousOrderProposals#3588835, _extract_parentItems#3588836, _extract_orderProposalId#3588837L]
Arguments: [coalesce(shardId#3579691, ) ASC NULLS FIRST, isnull(shardId#3579691) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3588837L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3588837L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3587903, orderProposalId#3587904L, optimizationGroups#3587906]
Arguments: [shardId#3587903, orderProposalId#3587904L, optimizationGroups#3587906], [isnotnull(orderProposalId#3587904L)]
(69) InMemoryRelation
Arguments: [shardId#3587903, orderProposalId#3587904L, items#3587905, optimizationGroups#3587906, isOptimal#3587907, optimizationInsights#3587909], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3587903, orderProposalId#3587904L, optimizationGroups#3587906]
Condition : isnotnull(orderProposalId#3587904L)
(71) Exchange
Input [3]: [shardId#3587903, orderProposalId#3587904L, optimizationGroups#3587906]
Arguments: hashpartitioning(orderProposalId#3587904L, 30), ENSURE_REQUIREMENTS, [plan_id=1029052]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3587903, orderProposalId#3587904L, optimizationGroups#3587906]
Arguments: [orderProposalId#3587904L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3587532, shardId#3587530]
Arguments: [items#3587532, shardId#3587530], [(size(items#3587532.worklistShardItemId, true) > 0), isnotnull(items#3587532.worklistShardItemId), (shardId#3587530 = 0_1_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3587530, orderProposalId#3587531L, items#3587532, optimizationGroups#3587533, isOptimal#3587534, optimizationInsights#3587536], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3587532, shardId#3587530]
Condition : (((size(items#3587532.worklistShardItemId, true) > 0) AND isnotnull(items#3587532.worklistShardItemId)) AND (shardId#3587530 = 0_1_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3587532.worklistShardItemId AS _extract_worklistShardItemId#3588551]
Input [2]: [items#3587532, shardId#3587530]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3588551]
Arguments: explode(_extract_worklistShardItemId#3588551), false, [item#3587910L]
(78) Project [codegen id : 4]
Output [1]: [item#3587910L AS worklistShardItemId#3587911L]
Input [1]: [item#3587910L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3587911L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1029063]
(80) Scan parquet
Output [5]: [orderProposalId#3587959L, isFallbackOrderOnly#3587976, worklistShardItemId#3587982L, shardId#3588003, sequenceId#3587981]
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#3588003), isnotnull(sequenceId#3587981), (shardId#3588003 = 0_1_10000000532), (sequenceId#3587981 = 7)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(81) ColumnarToRow [codegen id : 5]
Input [5]: [orderProposalId#3587959L, isFallbackOrderOnly#3587976, worklistShardItemId#3587982L, shardId#3588003, sequenceId#3587981]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3587959L, isFallbackOrderOnly#3587976, worklistShardItemId#3587982L, shardId#3588003, sequenceId#3587981]
Condition : ((isnotnull(worklistShardItemId#3587982L) AND NOT (isFallbackOrderOnly#3587976 <=> true)) AND isnotnull(orderProposalId#3587959L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3587959L, worklistShardItemId#3587982L]
Input [5]: [orderProposalId#3587959L, isFallbackOrderOnly#3587976, worklistShardItemId#3587982L, shardId#3588003, sequenceId#3587981]
(84) Exchange
Input [2]: [orderProposalId#3587959L, worklistShardItemId#3587982L]
Arguments: hashpartitioning(worklistShardItemId#3587982L, 30), REPARTITION_BY_NUM, [plan_id=1029070]
(85) Project
Output [2]: [worklistShardItemId#3587982L, orderProposalId#3587959L]
Input [2]: [orderProposalId#3587959L, worklistShardItemId#3587982L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3587911L]
Right keys [1]: [worklistShardItemId#3587982L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3587959L]
Input [3]: [worklistShardItemId#3587911L, worklistShardItemId#3587982L, orderProposalId#3587959L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3587959L]
Keys [1]: [orderProposalId#3587959L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3587959L]
(89) Exchange
Input [1]: [orderProposalId#3587959L]
Arguments: hashpartitioning(orderProposalId#3587959L, 30), ENSURE_REQUIREMENTS, [plan_id=1029077]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3587959L]
Keys [1]: [orderProposalId#3587959L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3587959L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3587959L]
Arguments: [orderProposalId#3587959L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3587904L]
Right keys [1]: [orderProposalId#3587959L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3587904L, shardId#3587903, coalesce(transform(optimizationGroups#3587906, lambdafunction(struct(optGroupId, lambda x_11940#3587901.optGroupId, minOrderProfile, lambda x_11940#3587901.minOrderProfile, assignmentDetails, lambda x_11940#3587901.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11940#3587901.minOrderGoal.dimensionType, unit, lambda x_11940#3587901.minOrderGoal.unit, unitUuid, lambda x_11940#3587901.minOrderGoal.unitUuid, goalValue, lambda x_11940#3587901.minOrderGoal.minOrderValue, calcValue, lambda x_11940#3587901.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11940#3587901, false)), []) AS optimizationGroups#3587900]
Input [4]: [shardId#3587903, orderProposalId#3587904L, optimizationGroups#3587906, orderProposalId#3587959L]
(94) Exchange
Input [3]: [orderProposalId#3587904L, shardId#3587903, optimizationGroups#3587900]
Arguments: hashpartitioning(coalesce(shardId#3587903, ), isnull(shardId#3587903), coalesce(orderProposalId#3587904L, 0), isnull(orderProposalId#3587904L), 30), ENSURE_REQUIREMENTS, [plan_id=1029086]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3587904L, shardId#3587903, optimizationGroups#3587900]
Arguments: [coalesce(shardId#3587903, ) ASC NULLS FIRST, isnull(shardId#3587903) ASC NULLS FIRST, coalesce(orderProposalId#3587904L, 0) ASC NULLS FIRST, isnull(orderProposalId#3587904L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3579691, ), isnull(shardId#3579691), coalesce(_extract_orderProposalId#3588837L, 0), isnull(_extract_orderProposalId#3588837L)]
Right keys [4]: [coalesce(shardId#3587903, ), isnull(shardId#3587903), coalesce(orderProposalId#3587904L, 0), isnull(orderProposalId#3587904L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3579691, named_struct(orderProposalId, _extract_orderProposalId#3588837L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3588829L, supplierGroup, _extract_supplierGroup#3588830, optimizationGroups, coalesce(optimizationGroups#3587900, []), supplier, _extract_supplier#3588831, supplyingPlant, _extract_supplyingPlant#3588832, orderDateTime, _extract_orderDateTime#3588833, itemGroups, _extract_itemGroups#3588834, previousOrderProposals, _extract_previousOrderProposals#3588835, parentItems, _extract_parentItems#3588836) AS orderProposal#3588007]
Input [14]: [shardId#3579691, _extract_orderProposalId#3588828L, _extract_originalReplenishmentRunId#3588829L, _extract_supplierGroup#3588830, _extract_supplier#3588831, _extract_supplyingPlant#3588832, _extract_orderDateTime#3588833, _extract_itemGroups#3588834, _extract_previousOrderProposals#3588835, _extract_parentItems#3588836, _extract_orderProposalId#3588837L, orderProposalId#3587904L, shardId#3587903, optimizationGroups#3587900]
(98) Filter
Input [1]: [orderProposal#3588007]
Condition : (size(orderProposal#3588007.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3588007.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3589608]
Input [1]: [orderProposal#3588007]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3589608]
Arguments: explode(_extract_deliveryDateTime#3589608), false, [numberOfOrderProposalItems#3589580]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3589580]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3589619L]
Results [1]: [count#3589620L]
(103) Exchange
Input [1]: [count#3589620L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1029213]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3589620L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3589585L]
Results [1]: [count(1)#3589585L AS count#3589581L]