digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 2 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 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 335730.0: task 940831))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>5 ms (0 ms, 0 ms, 0 ms (stage 335730.0: task 940832))<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 335730.0: task 940831))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1028136]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n223 ms (5 ms, 7 ms, 16 ms (stage 335730.0: task 940893))";
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>212 ms (5 ms, 7 ms, 16 ms (stage 335730.0: task 940893))<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: 118,908" tooltip="Generate explode(_extract_deliveryDateTime#3585890), false, [numberOfOrderProposalItems#3585862]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3584099.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3585890]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,343" tooltip="Filter (size(orderProposal#3584099.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,343" tooltip="InMemoryTableScan [orderProposal#3584099], [(size(orderProposal#3584099.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, named_struct(orderProposalId, _extract_orderProposalId#3585119L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3585111L, supplierGroup, _extract_supplierGroup#3585112, optimizationGroups, coalesce(optimizationGroups#3583992, []), supplier, _extract_supplier#3585113, supplyingPlant, _extract_supplyingPlant#3585114, orderDateTime, _extract_orderDateTime#3585115, itemGroups, _extract_itemGroups#3585116, previousOrderProposals, _extract_previousOrderProposals#3585117, parentItems, _extract_parentItems#3585118) AS orderProposal#3584099]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,343<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335730.0: task 940831))" tooltip="SortMergeJoin [coalesce(shardId#3580449, ), isnull(shardId#3580449), coalesce(_extract_orderProposalId#3585119L, 0), isnull(_extract_orderProposalId#3585119L)], [coalesce(shardId#3583995, ), isnull(shardId#3583995), coalesce(orderProposalId#3583996L, 0), isnull(orderProposalId#3583996L)], 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 335730.0: task 940831))<br>peak memory total (min, med, max (stageId: taskId))<br>255.9 MiB (6.1 MiB, 8.1 MiB, 10.1 MiB (stage 335730.0: task 940832))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335730.0: task 940831))" tooltip="Sort [coalesce(shardId#3580449, ) ASC NULLS FIRST, isnull(shardId#3580449) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3585119L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3585119L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,343<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,343<br>local bytes read total (min, med, max (stageId: taskId))<br>20.5 MiB (529.6 KiB, 711.7 KiB, 824.4 KiB (stage 335730.0: task 940841))<br>merged fetch fallback count: 0<br>local blocks read: 824<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>215.5 MiB (5.1 MiB, 7.4 MiB, 8.2 MiB (stage 335729.0: task 940789))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>104 ms (2 ms, 2 ms, 19 ms (stage 335729.0: task 940808))<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 335730.0: task 940831))<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>20.5 MiB (499.9 KiB, 726.8 KiB, 800.5 KiB (stage 335729.0: task 940789))" tooltip="Exchange hashpartitioning(coalesce(shardId#3580449, ), isnull(shardId#3580449), coalesce(_extract_orderProposalId#3585119L, 0), isnull(_extract_orderProposalId#3585119L), 30), ENSURE_REQUIREMENTS, [plan_id=1027970]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, orderProposal#3583980.orderProposalId AS _extract_orderProposalId#3585110L, orderProposal#3583980.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3585111L, orderProposal#3583980.supplierGroup AS _extract_supplierGroup#3585112, orderProposal#3583980.supplier AS _extract_supplier#3585113, orderProposal#3583980.supplyingPlant AS _extract_supplyingPlant#3585114, orderProposal#3583980.orderDateTime AS _extract_orderDateTime#3585115, orderProposal#3583980.itemGroups AS _extract_itemGroups#3585116, orderProposal#3583980.previousOrderProposals AS _extract_previousOrderProposals#3585117, orderProposal#3583980.parentItems AS _extract_parentItems#3585118, orderProposal#3583980.orderProposalId AS _extract_orderProposalId#3585119L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, struct(orderProposalId, orderProposalId#3582199L, originalReplenishmentRunId, originalReplenishmentRunId#3583948L, supplierGroup, supplierGroup#3583949, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3583949) THEN supplier#3583950 END, supplyingPlant, supplyingPlant#3583951, orderDateTime, orderDateTime#3583952, itemGroups, itemGroups#3583953, previousOrderProposals, array_distinct(previousOrderProposals#3583955), parentItems, parentItems#3583954) AS orderProposal#3583980]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,343<br>time in aggregation build total (min, med, max (stageId: taskId))<br>659 ms (14 ms, 17 ms, 52 ms (stage 335729.0: task 940797))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335729.0: task 940759))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3580449, orderProposalId#3582199L], functions=[max(originalReplenishmentRunId#3583886L), max(supplierGroup#3583887), max(supplier#3583888), max(supplyingPlant#3583889), max(orderDateTime#3583890), collect_list(itemGroup#3583947, 0, 0), collect_list(parentItems#3583891, 0, 0), collect_set(previousOrderProposals#3583893, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,343<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,343<br>local bytes read total (min, med, max (stageId: taskId))<br>7.5 MiB (161.5 KiB, 252.3 KiB, 387.1 KiB (stage 335729.0: task 940810))<br>merged fetch fallback count: 0<br>local blocks read: 308<br>remote merged chunks fetched: 0<br>remote blocks read: 523<br>data size total (min, med, max (stageId: taskId))<br>215.7 MiB (5.2 MiB, 7.3 MiB, 8.7 MiB (stage 335724.0: task 940728))<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>109 ms (2 ms, 3 ms, 18 ms (stage 335724.0: task 940671))<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 335729.0: task 940759))<br>remote bytes read total (min, med, max (stageId: taskId))<br>13.1 MiB (303.1 KiB, 452.5 KiB, 568.3 KiB (stage 335729.0: task 940814))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>90 ms (1 ms, 2 ms, 33 ms (stage 335729.0: task 940797))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.6 MiB (505.0 KiB, 712.3 KiB, 856.1 KiB (stage 335724.0: task 940728))" tooltip="Exchange hashpartitioning(shardId#3580449, orderProposalId#3582199L, 30), ENSURE_REQUIREMENTS, [plan_id=1027966]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,343<br>time in aggregation build total (min, med, max (stageId: taskId))<br>240 ms (4 ms, 5 ms, 43 ms (stage 335724.0: task 940674))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335724.0: task 940634))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3580449, orderProposalId#3582199L], functions=[partial_max(originalReplenishmentRunId#3583886L), partial_max(supplierGroup#3583887), partial_max(supplier#3583888), partial_max(supplyingPlant#3583889), partial_max(orderDateTime#3583890), partial_collect_list(itemGroup#3583947, 0, 0), partial_collect_list(parentItems#3583891, 0, 0), partial_collect_set(previousOrderProposals#3583893, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,343<br>time in aggregation build total (min, med, max (stageId: taskId))<br>992 ms (20 ms, 24 ms, 135 ms (stage 335724.0: task 940674))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335724.0: task 940634))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3580449, orderProposalId#3582199L, splitIndicator#3582204L, orderProposalItemGroupId#3582201], functions=[max(originalReplenishmentRunId#3582202L), max(supplierGroup#3582209), max(supplier#3582210), max(supplyingPlant#3582240), max(orderDateTime#3582217), collect_list(parentItem#3583838, 0, 0), collect_set(previousOrderProposal#3582205L, 0, 0), collect_list(item#3583869, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 57,750<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 57,750<br>local bytes read total (min, med, max (stageId: taskId))<br>13.8 MiB (324.9 KiB, 471.5 KiB, 623.6 KiB (stage 335724.0: task 940728))<br>merged fetch fallback count: 0<br>local blocks read: 442<br>remote merged chunks fetched: 0<br>remote blocks read: 458<br>data size total (min, med, max (stageId: taskId))<br>230.3 MiB (7.5 MiB, 7.7 MiB, 7.9 MiB (stage 335723.0: task 940195))<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, 6 ms (stage 335723.0: task 940362))<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 335724.0: task 940634))<br>remote bytes read total (min, med, max (stageId: taskId))<br>14.3 MiB (367.4 KiB, 494.9 KiB, 604.6 KiB (stage 335724.0: task 940692))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>91 ms (1 ms, 2 ms, 35 ms (stage 335724.0: task 940634))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.1 MiB (935.7 KiB, 959.4 KiB, 983.1 KiB (stage 335723.0: task 940195))" tooltip="Exchange hashpartitioning(shardId#3580449, orderProposalId#3582199L, splitIndicator#3582204L, orderProposalItemGroupId#3582201, 30), ENSURE_REQUIREMENTS, [plan_id=1027963]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 57,750<br>time in aggregation build total (min, med, max (stageId: taskId))<br>13.4 s (167 ms, 377 ms, 756 ms (stage 335723.0: task 940246))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335723.0: task 940120))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3580449, orderProposalId#3582199L, splitIndicator#3582204L, orderProposalItemGroupId#3582201], functions=[partial_max(originalReplenishmentRunId#3582202L), partial_max(supplierGroup#3582209), partial_max(supplier#3582210), partial_max(supplyingPlant#3582240), partial_max(orderDateTime#3582217), partial_collect_list(parentItem#3583838, 0, 0), partial_collect_set(previousOrderProposal#3582205L, 0, 0), partial_collect_list(item#3583869, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, orderDateTime#3582217, splitIndicator#3582204L, orderProposalItemGroupId#3582201, previousOrderProposal#3582205L, parentItem#3583838, struct(itemId, orderProposalItemId#3582200, supplier, supplier#3582210, supplyingPlant, supplyingPlant#3582240, productGroup, productGroup#3582241, product, product#3582212, plant, plant#3582213, supplierSubRange, subrange#3582211, deliveryDateTime, deliveryDateTime#3582218, orderQuantity, coalesce((qty#3581973 * (cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11881#3583872.isOrderUnit, lambda x_11881#3583872, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11881#3583873.isOrderUnit, lambda x_11881#3583873, false)), 1, None, false).numerator as double))), qty#3581973), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11881#3583874.isOrderUnit, lambda x_11881#3583874, false)), 1, None, false).uom, orderQuantityBaseUom#3582222), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11881#3583875.isOrderUnit, lambda x_11881#3583875, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3582223), orderQuantityInBaseUnit, qty#3581973, orderQuantityBaseUom, ... 13 more fields) AS item#3583869]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, qty#3581973, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, productGroup#3582241, product#3582212, plant#3582213, subrange#3582211, orderDateTime#3582217, deliveryDateTime#3582218, logisticUnits#3582236, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, splitIndicator#3582204L, orderProposalItemId#3582200, orderProposalItemGroupId#3582201, previousOrderProposal#3582205L, struct(itemId, orderProposalItemId#3582200, itemGroupId, orderProposalItemGroupId#3582201, supplier, supplier#3582210, supplyingPlant, supplyingPlant#3582240, productGroup, productGroup#3582241, product, product#3582212, plant, plant#3582213, supplierSubRange, subrange#3582211, sourceOfSupplyUuid, sourceOfSupplyUuid#3582208, deliveryDateTime, deliveryDateTime#3582218, unitPrice, netPriceAmount#3582227, unitPriceCurrency, netPriceCurrencyCode#3582228, unitPriceQuantity, ... 37 more fields) AS parentItem#3583838]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, qty#3581973, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, productGroup#3582241, product#3582212, plant#3582213, subrange#3582211, orderDateTime#3582217, deliveryDateTime#3582218, availabilityDateTime#3582219, nextAvailabilityDateTime#3582220, logisticUnits#3582236, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, splitIndicator#3582204L, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, sourceOfSupplyUuid#3582208, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n15.4 s (197 ms, 419 ms, 881 ms (stage 335723.0: task 940246))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, productGroup#3582241, product#3582212, plant#3582213, subrange#3582211, orderDateTime#3582217, deliveryDateTime#3582218, availabilityDateTime#3582219, nextAvailabilityDateTime#3582220, logisticUnits#3582236, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, splitIndicator#3582204L, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 118,908" tooltip="Filter NOT (isFallbackOrderOnly#3582221 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 118,908" tooltip="InMemoryTableScan [availabilityDateTime#3582219, channelStreamSpecificKpis#3583201, constraintLabels#3582231, constraintOperators#3582232, constraintValues#3582234, deliveryDateTime#3582218, isFallbackOrderOnly#3582221, logisticUnits#3582236, measurements#3582229, minimumOrderQuantity#3582230, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, nextAvailabilityDateTime#3582220, optimizationGroups#3582237, orderDateTime#3582217, orderProposalId#3582199L, orderProposalItemGroupId#3582201, orderProposalItemId#3582200, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, originalReplenishmentRunId#3582202L, plant#3582213, ... 14 more fields], [NOT (isFallbackOrderOnly#3582221 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n18.1 s (368 ms, 542 ms, 898 ms (stage 335723.0: task 940119))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 118,908<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335723.0: task 940120))" tooltip="SortMergeJoin [shardId#3580449, worklistShardItemId#3581971L], [shardId#3583208, worklistShardItemId#3583209L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n23.3 s (483 ms, 702 ms, 1.2 s (stage 335723.0: task 940051))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 118,908<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335723.0: task 940120))" tooltip="SortMergeJoin [shardId#3580449, worklistShardItemId#3581971L], [shardId#3583195, worklistShardItemId#3583196L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n26.2 s (533 ms, 783 ms, 1.4 s (stage 335723.0: task 940051))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 118,908<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335723.0: task 940120))" tooltip="SortMergeJoin [shardId#3580449, worklistShardItemId#3581971L], [shardId#3583179, worklistShardItemId#3583180L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n26.9 s (536 ms, 785 ms, 1.5 s (stage 335723.0: task 940051))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>39 ms (1 ms, 1 ms, 3 ms (stage 335723.0: task 940120))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 335723.0: task 940120))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335723.0: task 940120))" tooltip="Sort [shardId#3580449 ASC NULLS FIRST, worklistShardItemId#3581971L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 118,908<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 118,908<br>local bytes read total (min, med, max (stageId: taskId))<br>14.8 MiB (923.0 KiB, 949.8 KiB, 970.5 KiB (stage 335723.0: task 940195))<br>merged fetch fallback count: 0<br>local blocks read: 480<br>remote merged chunks fetched: 0<br>remote blocks read: 420<br>data size total (min, med, max (stageId: taskId))<br>137.1 MiB (4.4 MiB, 4.6 MiB, 4.7 MiB (stage 335722.0: task 939732))<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>145 ms (2 ms, 3 ms, 31 ms (stage 335722.0: task 939752))<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 335723.0: task 940120))<br>remote bytes read total (min, med, max (stageId: taskId))<br>12.8 MiB (916.9 KiB, 934.6 KiB, 958.0 KiB (stage 335723.0: task 940362))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>49 ms (2 ms, 3 ms, 5 ms (stage 335723.0: task 940244))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>27.6 MiB (915.5 KiB, 945.1 KiB, 972.0 KiB (stage 335722.0: task 939732))" tooltip="Exchange hashpartitioning(shardId#3580449, worklistShardItemId#3581971L, 30), ENSURE_REQUIREMENTS, [plan_id=1027601]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (38 ms, 67 ms, 87 ms (stage 335722.0: task 939780))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 118,908<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335722.0: task 939696))" tooltip="SortMergeJoin [worklistShardItemId#3581971L], [worklistShardItemId#3582445L], LeftOuter, (shardId#3580449 = 0_3_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.1 s (39 ms, 70 ms, 143 ms (stage 335722.0: task 939696))";
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 335722.0: task 939696))<br>peak memory total (min, med, max (stageId: taskId))<br>64.0 MiB (2.1 MiB, 2.1 MiB, 2.3 MiB (stage 335722.0: task 939732))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335722.0: task 939696))" tooltip="Sort [worklistShardItemId#3581971L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 118,908<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 118,908<br>local bytes read total (min, med, max (stageId: taskId))<br>542.9 KiB (17.6 KiB, 18.1 KiB, 18.7 KiB (stage 335722.0: task 939732))<br>merged fetch fallback count: 0<br>local blocks read: 540<br>remote merged chunks fetched: 0<br>remote blocks read: 360<br>data size total (min, med, max (stageId: taskId))<br>6.4 MiB (202.5 KiB, 216.6 KiB, 233.2 KiB (stage 335718.0: task 939425))<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>51 ms (1 ms, 1 ms, 2 ms (stage 335718.0: task 939413))<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>89 ms (0 ms, 0 ms, 32 ms (stage 335722.0: task 939761))<br>remote bytes read total (min, med, max (stageId: taskId))<br>363.5 KiB (11.7 KiB, 12.2 KiB, 12.6 KiB (stage 335722.0: task 939752))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>138 ms (1 ms, 1 ms, 36 ms (stage 335722.0: task 939761))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>906.4 KiB (28.5 KiB, 30.1 KiB, 32.2 KiB (stage 335718.0: task 939425))" tooltip="Exchange hashpartitioning(worklistShardItemId#3581971L, 30), ENSURE_REQUIREMENTS, [plan_id=1027582]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n165 ms (4 ms, 4 ms, 12 ms (stage 335718.0: task 939416))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3580449, item#3581970.worklistShardItemId AS worklistShardItemId#3581971L, item#3581970.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3581972, item#3581970.qty AS qty#3581973]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 118,908" tooltip="Generate explode(items#3580451), [shardId#3580449], false, [item#3581970]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,343" tooltip="Filter ((size(items#3580451, true) > 0) AND isnotnull(items#3580451))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,343" tooltip="InMemoryTableScan [shardId#3580449, items#3580451], [(size(items#3580451, true) > 0), isnotnull(items#3580451)]"];
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#3580449) AND (shardId#3580449 = 0_3_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, optimizationInsights#3580455], [isnotnull(shardId#3580449), (shardId#3580449 = 0_3_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#3580449) AND (shardId#3580449 = 0_3_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3580449,orderProposalId#3580450L,items#3580451,optimizationGroups#3580452,isOptimal#3580453,lastModified#3580454,optimizationInsights#3580455]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.0 s (39 ms, 69 ms, 104 ms (stage 335722.0: task 939696))";
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 335722.0: task 939696))<br>peak memory total (min, med, max (stageId: taskId))<br>184.0 MiB (6.1 MiB, 6.1 MiB, 6.3 MiB (stage 335722.0: task 939732))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335722.0: task 939696))" tooltip="Sort [worklistShardItemId#3582445L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3582445L, orderProposalId#3582422L, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, originalReplenishmentRunId#3582464L, splitIndicator#3582441L, previousOrderProposal#3582442L, sourceOfSupplyUuid#3582436, supplierGroup#3582424, supplier#3582425, subrange#3582428, product#3582431, plant#3582426, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, isFallbackOrderOnly#3582439, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, netPriceAmount#3582458, netPriceCurrencyCode#3582459, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 118,908<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 118,908<br>local bytes read total (min, med, max (stageId: taskId))<br>7.1 MiB (226.8 KiB, 241.8 KiB, 258.6 KiB (stage 335722.0: task 939727))<br>merged fetch fallback count: 0<br>local blocks read: 300<br>remote merged chunks fetched: 0<br>remote blocks read: 810<br>data size total (min, med, max (stageId: taskId))<br>132.5 MiB (3.5 MiB, 3.6 MiB, 3.7 MiB (stage 335717.0: task 939412))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>110 ms (2 ms, 2 ms, 4 ms (stage 335717.0: task 939415))<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 335722.0: task 939696))<br>remote bytes read total (min, med, max (stageId: taskId))<br>19.1 MiB (628.0 KiB, 654.2 KiB, 676.0 KiB (stage 335722.0: task 939732))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>323 ms (4 ms, 5 ms, 70 ms (stage 335722.0: task 939761))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.2 MiB (698.6 KiB, 727.4 KiB, 754.9 KiB (stage 335717.0: task 939412))" tooltip="Exchange hashpartitioning(worklistShardItemId#3582445L, 30), REPARTITION_BY_NUM, [plan_id=1027592]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.7 s (129 ms, 164 ms, 493 ms (stage 335717.0: task 939479))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3582422L, orderProposalItemId#3582423, supplierGroup#3582424, supplier#3582425, plant#3582426, deliveryDateTime#3582427, subrange#3582428, supplyingPlant#3582429, productGroup#3582430, product#3582431, orderDateTime#3582432, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, sourceOfSupplyUuid#3582436, isFallbackOrderOnly#3582439, splitIndicator#3582441L, previousOrderProposal#3582442L, worklistShardItemId#3582445L, orderProposalItemGroupId#3582446, externalProductId#3582447, externalPlantId#3582448, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, minimumOrderQuantity#3582452, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 118,908" tooltip="Filter isnotnull(worklistShardItemId#3582445L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 118,908<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
66 [id="node66" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>5.4 s (112 ms, 138 ms, 239 ms (stage 335717.0: task 939415))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.4 MiB<br>number of output rows: 118,908<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3582422L,orderProposalItemId#3582423,supplierGroup#3582424,supplier#3582425,plant#3582426,deliveryDateTime#3582427,subrange#3582428,supplyingPlant#3582429,productGroup#3582430,product#3582431,orderDateTime#3582432,availabilityDateTime#3582433,nextAvailabilityDateTime#3582434,sourceOfSupplyUuid#3582436,isFallbackOrderOnly#3582439,splitIndicator#3582441L,previousOrderProposal#3582442L,worklistShardItemId#3582445L,orderProposalItemGroupId#3582446,externalProductId#3582447,externalPlantId#3582448,logisticUnits#3582449,orderQuantityBaseUom#3582450,orderQuantityBaseUomUuid#3582451,minimumOrderQuantity#3582452,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3582445L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3582466), isnotnull(sequenceId#3582444), (shardId#3582466 = 0_3_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>712 ms (16 ms, 20 ms, 52 ms (stage 335723.0: task 940195))<br>peak memory total (min, med, max (stageId: taskId))<br>675.0 MiB (22.5 MiB, 22.5 MiB, 22.5 MiB (stage 335723.0: task 940120))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335723.0: task 940120))" tooltip="Sort [shardId#3583179 ASC NULLS FIRST, worklistShardItemId#3583180L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>8.7 MiB (53.1 KiB, 500.2 KiB, 514.4 KiB (stage 335723.0: task 940234))<br>merged fetch fallback count: 0<br>local blocks read: 316<br>remote merged chunks fetched: 0<br>remote blocks read: 584<br>data size total (min, med, max (stageId: taskId))<br>610.4 MiB (20.1 MiB, 20.3 MiB, 20.6 MiB (stage 335720.0: task 939599))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>95 ms (2 ms, 2 ms, 11 ms (stage 335720.0: task 939939))<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 335723.0: task 940120))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.0 MiB (331.0 KiB, 349.0 KiB, 803.2 KiB (stage 335723.0: task 940244))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>248 ms (4 ms, 8 ms, 17 ms (stage 335723.0: task 940363))<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 335720.0: task 939599))" tooltip="Exchange hashpartitioning(shardId#3583179, worklistShardItemId#3583180L, 30), ENSURE_REQUIREMENTS, [plan_id=1027607]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n26.4 s (783 ms, 835 ms, 1.7 s (stage 335720.0: task 939485))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3583179, worklistShardItemId#3583180L, coalesce(kpis#3583184, []) AS prodLocSpecificKpis#3583185]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter (((isnull(qty#3583181) AND isnull(demandChannel#3583182)) AND isnull(demandStream#3583183)) AND (isnotnull(shardId#3583179) AND isnotnull(worklistShardItemId#3583180L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3583179,worklistShardItemId#3583180L,qty#3583181,demandChannel#3583182,demandStream#3583183,kpis#3583184]"];
}
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>50 ms (1 ms, 1 ms, 17 ms (stage 335723.0: task 940119))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 335723.0: task 940120))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335723.0: task 940120))" tooltip="Sort [shardId#3583195 ASC NULLS FIRST, worklistShardItemId#3583196L 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.1 s (22 ms, 30 ms, 66 ms (stage 335723.0: task 940153))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335723.0: task 940120))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3583195, worklistShardItemId#3583196L], functions=[collect_list(struct(demandChannel, demandChannel#3583198, demandStream, demandStream#3583199, kpis, kpis#3583200), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 597,098<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 597,098<br>local bytes read total (min, med, max (stageId: taskId))<br>2.1 MiB (30.6 KiB, 33.1 KiB, 121.0 KiB (stage 335723.0: task 940244))<br>merged fetch fallback count: 0<br>local blocks read: 274<br>remote merged chunks fetched: 0<br>remote blocks read: 626<br>data size total (min, med, max (stageId: taskId))<br>236.9 MiB (7.8 MiB, 7.9 MiB, 8.0 MiB (stage 335719.0: task 939417))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>58 ms (1 ms, 1 ms, 2 ms (stage 335719.0: task 939956))<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 335723.0: task 940120))<br>remote bytes read total (min, med, max (stageId: taskId))<br>4.8 MiB (116.3 KiB, 204.5 KiB, 208.1 KiB (stage 335723.0: task 940055))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>242 ms (4 ms, 6 ms, 32 ms (stage 335723.0: task 940195))<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 335719.0: task 940020))" tooltip="Exchange hashpartitioning(shardId#3583195, worklistShardItemId#3583196L, 30), ENSURE_REQUIREMENTS, [plan_id=1027618]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 597,098<br>time in aggregation build total (min, med, max (stageId: taskId))<br>28.3 s (780 ms, 860 ms, 2.2 s (stage 335719.0: task 939484))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335719.0: task 939410))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3583195, worklistShardItemId#3583196L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3583198, demandStream, demandStream#3583199, kpis, kpis#3583200), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n27.7 s (762 ms, 824 ms, 2.1 s (stage 335719.0: task 939484))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3583195, worklistShardItemId#3583196L, demandChannel#3583198, demandStream#3583199, kpis#3583200]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 597,098" tooltip="Filter ((((isnull(qty#3583197) AND isnotnull(demandChannel#3583198)) AND isnotnull(demandStream#3583199)) AND (size(kpis#3583200, true) > 0)) AND (isnotnull(shardId#3583195) AND isnotnull(worklistShardItemId#3583196L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3583195,worklistShardItemId#3583196L,qty#3583197,demandChannel#3583198,demandStream#3583199,kpis#3583200]"];
}
subgraph cluster83 {
isCluster="true";
id="cluster83";
label="WholeStageCodegen (14)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (14)";
84 [id="node84" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>34 ms (1 ms, 1 ms, 2 ms (stage 335723.0: task 940152))<br>peak memory total (min, med, max (stageId: taskId))<br>735.0 MiB (24.5 MiB, 24.5 MiB, 24.5 MiB (stage 335723.0: task 940120))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335723.0: task 940120))" tooltip="Sort [shardId#3583208 ASC NULLS FIRST, worklistShardItemId#3583209L 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.2 s (46 ms, 71 ms, 109 ms (stage 335723.0: task 940053))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335723.0: task 940120))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3583208, worklistShardItemId#3583209L], functions=[collect_list(struct(qty, qty#3583210, kpis, kpis#3583213), 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>8.8 MiB (282.1 KiB, 309.9 KiB, 317.3 KiB (stage 335723.0: task 940055))<br>merged fetch fallback count: 0<br>local blocks read: 346<br>remote merged chunks fetched: 0<br>remote blocks read: 554<br>data size total (min, med, max (stageId: taskId))<br>727.4 MiB (24.1 MiB, 24.2 MiB, 24.4 MiB (stage 335721.0: task 939702))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>89 ms (2 ms, 2 ms, 6 ms (stage 335721.0: task 939891))<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 335723.0: task 940120))<br>remote bytes read total (min, med, max (stageId: taskId))<br>14.1 MiB (465.7 KiB, 475.2 KiB, 508.9 KiB (stage 335723.0: task 940244))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>273 ms (4 ms, 6 ms, 60 ms (stage 335723.0: task 940445))<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 335721.0: task 939702))" tooltip="Exchange hashpartitioning(shardId#3583208, worklistShardItemId#3583209L, 30), ENSURE_REQUIREMENTS, [plan_id=1027630]"];
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>27.6 s (800 ms, 889 ms, 1.2 s (stage 335721.0: task 939414))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335721.0: task 939414))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3583208, worklistShardItemId#3583209L], functions=[partial_collect_list(struct(qty, qty#3583210, kpis, kpis#3583213), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n26.2 s (764 ms, 846 ms, 1.2 s (stage 335721.0: task 939414))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3583208, worklistShardItemId#3583209L, qty#3583210, kpis#3583213]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter ((isnotnull(qty#3583210) AND isnotnull(kpis#3583213)) AND (isnotnull(shardId#3583208) AND isnotnull(worklistShardItemId#3583209L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3583208,worklistShardItemId#3583209L,qty#3583210,demandChannel#3583211,demandStream#3583212,kpis#3583213]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (22 ms, 25 ms, 227 ms (stage 335730.0: task 940831))";
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 335730.0: task 940831))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335730.0: task 940831))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335730.0: task 940831))" tooltip="Sort [coalesce(shardId#3583995, ) ASC NULLS FIRST, isnull(shardId#3583995) ASC NULLS FIRST, coalesce(orderProposalId#3583996L, 0) ASC NULLS FIRST, isnull(orderProposalId#3583996L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,343<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,343<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: 832<br>data size total (min, med, max (stageId: taskId))<br>128.1 KiB (3.6 KiB, 4.2 KiB, 5.7 KiB (stage 335728.0: task 939856))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>44 ms (1 ms, 1 ms, 1 ms (stage 335728.0: task 939836))<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>43 ms (0 ms, 0 ms, 38 ms (stage 335730.0: task 940842))<br>remote bytes read total (min, med, max (stageId: taskId))<br>111.8 KiB (3.3 KiB, 3.8 KiB, 4.1 KiB (stage 335730.0: task 940841))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>115 ms (1 ms, 1 ms, 46 ms (stage 335730.0: task 940842))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>111.8 KiB (3.2 KiB, 3.7 KiB, 4.1 KiB (stage 335728.0: task 939856))" tooltip="Exchange hashpartitioning(coalesce(shardId#3583995, ), isnull(shardId#3583995), coalesce(orderProposalId#3583996L, 0), isnull(orderProposalId#3583996L), 30), ENSURE_REQUIREMENTS, [plan_id=1028009]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3583996L, shardId#3583995, coalesce(transform(optimizationGroups#3583998, lambdafunction(struct(optGroupId, lambda x_11885#3583993.optGroupId, minOrderProfile, lambda x_11885#3583993.minOrderProfile, assignmentDetails, lambda x_11885#3583993.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11885#3583993.minOrderGoal.dimensionType, unit, lambda x_11885#3583993.minOrderGoal.unit, unitUuid, lambda x_11885#3583993.minOrderGoal.unitUuid, goalValue, lambda x_11885#3583993.minOrderGoal.minOrderValue, calcValue, lambda x_11885#3583993.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11885#3583993, false)), []) AS optimizationGroups#3583992]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n423 ms (9 ms, 10 ms, 62 ms (stage 335728.0: task 939819))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,343<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335728.0: task 939819))" tooltip="SortMergeJoin [orderProposalId#3583996L], [orderProposalId#3584051L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n756 ms (10 ms, 11 ms, 254 ms (stage 335728.0: task 939814))";
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 335728.0: task 939819))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335728.0: task 939819))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335728.0: task 939819))" tooltip="Sort [orderProposalId#3583996L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,343<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,343<br>local bytes read total (min, med, max (stageId: taskId))<br>92.1 KiB (2.6 KiB, 3.1 KiB, 3.6 KiB (stage 335728.0: task 939856))<br>merged fetch fallback count: 0<br>local blocks read: 680<br>remote merged chunks fetched: 0<br>remote blocks read: 139<br>data size total (min, med, max (stageId: taskId))<br>128.1 KiB (4.0 KiB, 4.3 KiB, 4.6 KiB (stage 335727.0: task 939474))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>44 ms (1 ms, 1 ms, 1 ms (stage 335727.0: task 939456))<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 335728.0: task 939819))<br>remote bytes read total (min, med, max (stageId: taskId))<br>18.6 KiB (353.0 B, 669.0 B, 753.0 B (stage 335728.0: task 939838))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>100 ms (3 ms, 3 ms, 4 ms (stage 335728.0: task 939819))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>110.7 KiB (3.4 KiB, 3.7 KiB, 3.9 KiB (stage 335727.0: task 939474))" tooltip="Exchange hashpartitioning(orderProposalId#3583996L, 30), ENSURE_REQUIREMENTS, [plan_id=1027975]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n334 ms (3 ms, 3 ms, 181 ms (stage 335727.0: task 939462))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,343" tooltip="Filter isnotnull(orderProposalId#3583996L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,343" tooltip="InMemoryTableScan [shardId#3583995, orderProposalId#3583996L, optimizationGroups#3583998], [isnotnull(orderProposalId#3583996L)]"];
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#3580449) AND (shardId#3580449 = 0_3_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, optimizationInsights#3580455], [isnotnull(shardId#3580449), (shardId#3580449 = 0_3_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#3580449) AND (shardId#3580449 = 0_3_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3580449,orderProposalId#3580450L,items#3580451,optimizationGroups#3580452,isOptimal#3580453,lastModified#3580454,optimizationInsights#3580455]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n586 ms (9 ms, 10 ms, 139 ms (stage 335728.0: task 939819))";
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 335728.0: task 939819))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 335728.0: task 939819))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 335728.0: task 939819))" tooltip="Sort [orderProposalId#3584051L 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>92 ms (2 ms, 2 ms, 10 ms (stage 335728.0: task 939855))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 335728.0: task 939819))<br>number of output rows: 2,343<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3584051L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 57,689<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 57,689<br>local bytes read total (min, med, max (stageId: taskId))<br>335.2 KiB (9.4 KiB, 10.9 KiB, 14.4 KiB (stage 335728.0: task 939856))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 450<br>data size total (min, med, max (stageId: taskId))<br>901.4 KiB (29.5 KiB, 30.0 KiB, 30.5 KiB (stage 335726.0: task 939782))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>77 ms (1 ms, 1 ms, 29 ms (stage 335726.0: task 939778))<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 335728.0: task 939819))<br>remote bytes read total (min, med, max (stageId: taskId))<br>335.2 KiB (9.6 KiB, 11.1 KiB, 14.5 KiB (stage 335728.0: task 939856))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>35 ms (1 ms, 1 ms, 2 ms (stage 335728.0: task 939828))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>670.4 KiB (22.0 KiB, 22.3 KiB, 22.7 KiB (stage 335726.0: task 939782))" tooltip="Exchange hashpartitioning(orderProposalId#3584051L, 30), ENSURE_REQUIREMENTS, [plan_id=1028000]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n726 ms (9 ms, 12 ms, 162 ms (stage 335726.0: task 939739))";
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>260 ms (4 ms, 6 ms, 29 ms (stage 335726.0: task 939802))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 335726.0: task 939739))<br>number of output rows: 57,689<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3584051L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3584051L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 118,908" tooltip="BroadcastHashJoin [worklistShardItemId#3584003L], [worklistShardItemId#3584074L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3584074L, orderProposalId#3584051L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 11 ms<br>time to build: 34 ms<br>time to collect: 414 ms<br>number of output rows: 118,908<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1027986]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n82 ms (1 ms, 3 ms, 6 ms (stage 335548.0: task 939291))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3584002L AS worklistShardItemId#3584003L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 118,908" tooltip="Generate explode(_extract_worklistShardItemId#3584643), false, [item#3584002L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3583624.worklistShardItemId AS _extract_worklistShardItemId#3584643]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,343" tooltip="Filter (((size(items#3583624.worklistShardItemId, true) > 0) AND isnotnull(items#3583624.worklistShardItemId)) AND (shardId#3583622 = 0_3_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,343" tooltip="InMemoryTableScan [items#3583624, shardId#3583622], [(size(items#3583624.worklistShardItemId, true) > 0), isnotnull(items#3583624.worklistShardItemId), (shardId#3583622 = 0_3_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#3580449) AND (shardId#3580449 = 0_3_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, optimizationInsights#3580455], [isnotnull(shardId#3580449), (shardId#3580449 = 0_3_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#3580449) AND (shardId#3580449 = 0_3_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3580449,orderProposalId#3580450L,items#3580451,optimizationGroups#3580452,isOptimal#3580453,lastModified#3580454,optimizationInsights#3580455]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 118,908<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 118,908<br>local bytes read total (min, med, max (stageId: taskId))<br>802.1 KiB (18.1 KiB, 33.6 KiB, 35.6 KiB (stage 335726.0: task 939778))<br>merged fetch fallback count: 0<br>local blocks read: 510<br>remote merged chunks fetched: 0<br>remote blocks read: 600<br>data size total (min, med, max (stageId: taskId))<br>2.7 MiB (72.7 KiB, 75.5 KiB, 78.7 KiB (stage 335725.0: task 939408))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>63 ms (1 ms, 1 ms, 2 ms (stage 335725.0: task 939699))<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>61 ms (0 ms, 0 ms, 23 ms (stage 335726.0: task 939802))<br>remote bytes read total (min, med, max (stageId: taskId))<br>950.7 KiB (23.0 KiB, 38.4 KiB, 40.4 KiB (stage 335726.0: task 939783))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>207 ms (4 ms, 4 ms, 31 ms (stage 335726.0: task 939802))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1752.8 KiB (45.8 KiB, 47.5 KiB, 49.2 KiB (stage 335725.0: task 939408))" tooltip="Exchange hashpartitioning(worklistShardItemId#3584074L, 30), REPARTITION_BY_NUM, [plan_id=1027993]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n6.0 s (123 ms, 154 ms, 365 ms (stage 335725.0: task 939638))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3584051L, worklistShardItemId#3584074L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 118,908" tooltip="Filter ((isnotnull(worklistShardItemId#3584074L) AND NOT (isFallbackOrderOnly#3584068 <=> true)) AND isnotnull(orderProposalId#3584051L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 118,908<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
137 [id="node137" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>5.8 s (119 ms, 149 ms, 361 ms (stage 335725.0: task 939638))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.4 MiB<br>number of output rows: 118,908<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3584051L,isFallbackOrderOnly#3584068,worklistShardItemId#3584074L,shardId#3584095,sequenceId#3584073] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3584074L), NOT (isFallbackOrderOnly#3584068 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3584095), isnotnull(sequenceId#3584073), (shardId#3584095 = 0_3_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#3584099]
Arguments: [orderProposal#3584099], [(size(orderProposal#3584099.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3580449, orderProposal#3584099], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3582219, channelStreamSpecificKpis#3583201, constraintLabels#3582231, constraintOperators#3582232, constraintValues#3582234, deliveryDateTime#3582218, isFallbackOrderOnly#3582221, logisticUnits#3582236, measurements#3582229, minimumOrderQuantity#3582230, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, nextAvailabilityDateTime#3582220, optimizationGroups#3582237, orderDateTime#3582217, orderProposalId#3582199L, orderProposalItemGroupId#3582201, orderProposalItemId#3582200, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, originalReplenishmentRunId#3582202L, plant#3582213, previousOrderProposal#3582205L, prodLocSpecificKpis#3583186, product#3582212, productGroup#3582241, qty#3581973, quantityAfterProdPlantOptimization#3581972, quantityKpis#3583214, shardId#3580449, sourceOfSupplyUuid#3582208, splitIndicator#3582204L, subrange#3582211, supplier#3582210, supplierGroup#3582209, supplyingPlant#3582240]
Arguments: [availabilityDateTime#3582219, channelStreamSpecificKpis#3583201, constraintLabels#3582231, constraintOperators#3582232, constraintValues#3582234, deliveryDateTime#3582218, isFallbackOrderOnly#3582221, logisticUnits#3582236, measurements#3582229, minimumOrderQuantity#3582230, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, nextAvailabilityDateTime#3582220, optimizationGroups#3582237, orderDateTime#3582217, orderProposalId#3582199L, orderProposalItemGroupId#3582201, orderProposalItemId#3582200, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, originalReplenishmentRunId#3582202L, plant#3582213, ... 14 more fields], [NOT (isFallbackOrderOnly#3582221 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, productGroup#3582241, product#3582212, plant#3582213, subrange#3582211, orderDateTime#3582217, deliveryDateTime#3582218, availabilityDateTime#3582219, nextAvailabilityDateTime#3582220, constraintValues#3582234, constraintOperators#3582232, constraintLabels#3582231, logisticUnits#3582236, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, splitIndicator#3582204L, netPriceAmount#3582227, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3580449, items#3580451]
Arguments: [shardId#3580449, items#3580451], [(size(items#3580451, true) > 0), isnotnull(items#3580451)]
(6) InMemoryRelation
Arguments: [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, optimizationInsights#3580455], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, optimizationInsights#3580455]
Arguments: [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, optimizationInsights#3580455], [isnotnull(shardId#3580449), (shardId#3580449 = 0_3_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, lastModified#3580454, optimizationInsights#3580455], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, lastModified#3580454, optimizationInsights#3580455]
Arguments: [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, lastModified#3580454, optimizationInsights#3580455], MapPartitionsRDD[152568] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, lastModified#3580454, optimizationInsights#3580455]
Condition : (isnotnull(shardId#3580449) AND (shardId#3580449 = 0_3_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, optimizationInsights#3580455]
Condition : (isnotnull(shardId#3580449) AND (shardId#3580449 = 0_3_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3580449, items#3580451]
Condition : ((size(items#3580451, true) > 0) AND isnotnull(items#3580451))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3580449, items#3580451]
Arguments: explode(items#3580451), [shardId#3580449], false, [item#3581970]
(14) Project [codegen id : 1]
Output [4]: [shardId#3580449, item#3581970.worklistShardItemId AS worklistShardItemId#3581971L, item#3581970.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3581972, item#3581970.qty AS qty#3581973]
Input [2]: [shardId#3580449, item#3581970]
(15) Exchange
Input [4]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973]
Arguments: hashpartitioning(worklistShardItemId#3581971L, 30), ENSURE_REQUIREMENTS, [plan_id=1027582]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973]
Arguments: [worklistShardItemId#3581971L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3582422L, orderProposalItemId#3582423, supplierGroup#3582424, supplier#3582425, plant#3582426, deliveryDateTime#3582427, subrange#3582428, supplyingPlant#3582429, productGroup#3582430, product#3582431, orderDateTime#3582432, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, sourceOfSupplyUuid#3582436, isFallbackOrderOnly#3582439, splitIndicator#3582441L, previousOrderProposal#3582442L, worklistShardItemId#3582445L, orderProposalItemGroupId#3582446, externalProductId#3582447, externalPlantId#3582448, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, minimumOrderQuantity#3582452, constraintLabels#3582453, constraintOperators#3582454, constraintValues#3582455, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, measurements#3582463, originalReplenishmentRunId#3582464L, optimizationGroups#3582465, shardId#3582466, sequenceId#3582444]
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#3582466), isnotnull(sequenceId#3582444), (shardId#3582466 = 0_3_10000000532), (sequenceId#3582444 = 2)]
PushedFilters: [IsNotNull(worklistShardItemId)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,sourceOfSupplyUuid:string,isFallbackOrderOnly:boolean,splitIndicator:bigint,previousOrderProposal:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(18) ColumnarToRow [codegen id : 3]
Input [38]: [orderProposalId#3582422L, orderProposalItemId#3582423, supplierGroup#3582424, supplier#3582425, plant#3582426, deliveryDateTime#3582427, subrange#3582428, supplyingPlant#3582429, productGroup#3582430, product#3582431, orderDateTime#3582432, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, sourceOfSupplyUuid#3582436, isFallbackOrderOnly#3582439, splitIndicator#3582441L, previousOrderProposal#3582442L, worklistShardItemId#3582445L, orderProposalItemGroupId#3582446, externalProductId#3582447, externalPlantId#3582448, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, minimumOrderQuantity#3582452, constraintLabels#3582453, constraintOperators#3582454, constraintValues#3582455, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, measurements#3582463, originalReplenishmentRunId#3582464L, optimizationGroups#3582465, shardId#3582466, sequenceId#3582444]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3582422L, orderProposalItemId#3582423, supplierGroup#3582424, supplier#3582425, plant#3582426, deliveryDateTime#3582427, subrange#3582428, supplyingPlant#3582429, productGroup#3582430, product#3582431, orderDateTime#3582432, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, sourceOfSupplyUuid#3582436, isFallbackOrderOnly#3582439, splitIndicator#3582441L, previousOrderProposal#3582442L, worklistShardItemId#3582445L, orderProposalItemGroupId#3582446, externalProductId#3582447, externalPlantId#3582448, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, minimumOrderQuantity#3582452, constraintLabels#3582453, constraintOperators#3582454, constraintValues#3582455, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, measurements#3582463, originalReplenishmentRunId#3582464L, optimizationGroups#3582465, shardId#3582466, sequenceId#3582444]
Condition : isnotnull(worklistShardItemId#3582445L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3582422L, orderProposalItemId#3582423, supplierGroup#3582424, supplier#3582425, plant#3582426, deliveryDateTime#3582427, subrange#3582428, supplyingPlant#3582429, productGroup#3582430, product#3582431, orderDateTime#3582432, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, sourceOfSupplyUuid#3582436, isFallbackOrderOnly#3582439, splitIndicator#3582441L, previousOrderProposal#3582442L, worklistShardItemId#3582445L, orderProposalItemGroupId#3582446, externalProductId#3582447, externalPlantId#3582448, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, minimumOrderQuantity#3582452, constraintLabels#3582453, constraintOperators#3582454, constraintValues#3582455, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, measurements#3582463, originalReplenishmentRunId#3582464L, optimizationGroups#3582465]
Input [38]: [orderProposalId#3582422L, orderProposalItemId#3582423, supplierGroup#3582424, supplier#3582425, plant#3582426, deliveryDateTime#3582427, subrange#3582428, supplyingPlant#3582429, productGroup#3582430, product#3582431, orderDateTime#3582432, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, sourceOfSupplyUuid#3582436, isFallbackOrderOnly#3582439, splitIndicator#3582441L, previousOrderProposal#3582442L, worklistShardItemId#3582445L, orderProposalItemGroupId#3582446, externalProductId#3582447, externalPlantId#3582448, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, minimumOrderQuantity#3582452, constraintLabels#3582453, constraintOperators#3582454, constraintValues#3582455, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, measurements#3582463, originalReplenishmentRunId#3582464L, optimizationGroups#3582465, shardId#3582466, sequenceId#3582444]
(21) Exchange
Input [36]: [orderProposalId#3582422L, orderProposalItemId#3582423, supplierGroup#3582424, supplier#3582425, plant#3582426, deliveryDateTime#3582427, subrange#3582428, supplyingPlant#3582429, productGroup#3582430, product#3582431, orderDateTime#3582432, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, sourceOfSupplyUuid#3582436, isFallbackOrderOnly#3582439, splitIndicator#3582441L, previousOrderProposal#3582442L, worklistShardItemId#3582445L, orderProposalItemGroupId#3582446, externalProductId#3582447, externalPlantId#3582448, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, minimumOrderQuantity#3582452, constraintLabels#3582453, constraintOperators#3582454, constraintValues#3582455, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, measurements#3582463, originalReplenishmentRunId#3582464L, optimizationGroups#3582465]
Arguments: hashpartitioning(worklistShardItemId#3582445L, 30), REPARTITION_BY_NUM, [plan_id=1027592]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3582445L, orderProposalId#3582422L, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, originalReplenishmentRunId#3582464L, splitIndicator#3582441L, previousOrderProposal#3582442L, sourceOfSupplyUuid#3582436, supplierGroup#3582424, supplier#3582425, subrange#3582428, product#3582431, plant#3582426, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, isFallbackOrderOnly#3582439, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, netPriceAmount#3582458, netPriceCurrencyCode#3582459, measurements#3582463, minimumOrderQuantity#3582452, constraintLabels#3582453, constraintOperators#3582454, constraintValues#3582455, logisticUnits#3582449, optimizationGroups#3582465, externalProductId#3582447, externalPlantId#3582448, supplyingPlant#3582429, productGroup#3582430]
Input [36]: [orderProposalId#3582422L, orderProposalItemId#3582423, supplierGroup#3582424, supplier#3582425, plant#3582426, deliveryDateTime#3582427, subrange#3582428, supplyingPlant#3582429, productGroup#3582430, product#3582431, orderDateTime#3582432, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, sourceOfSupplyUuid#3582436, isFallbackOrderOnly#3582439, splitIndicator#3582441L, previousOrderProposal#3582442L, worklistShardItemId#3582445L, orderProposalItemGroupId#3582446, externalProductId#3582447, externalPlantId#3582448, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, minimumOrderQuantity#3582452, constraintLabels#3582453, constraintOperators#3582454, constraintValues#3582455, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, measurements#3582463, originalReplenishmentRunId#3582464L, optimizationGroups#3582465]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3582445L, orderProposalId#3582422L, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, originalReplenishmentRunId#3582464L, splitIndicator#3582441L, previousOrderProposal#3582442L, sourceOfSupplyUuid#3582436, supplierGroup#3582424, supplier#3582425, subrange#3582428, product#3582431, plant#3582426, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, isFallbackOrderOnly#3582439, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, netPriceAmount#3582458, netPriceCurrencyCode#3582459, measurements#3582463, minimumOrderQuantity#3582452, constraintLabels#3582453, constraintOperators#3582454, constraintValues#3582455, logisticUnits#3582449, optimizationGroups#3582465, externalProductId#3582447, externalPlantId#3582448, supplyingPlant#3582429, productGroup#3582430]
Arguments: [worklistShardItemId#3582445L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3581971L]
Right keys [1]: [worklistShardItemId#3582445L]
Join type: LeftOuter
Join condition: (shardId#3580449 = 0_3_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, sourceOfSupplyUuid#3582436, minimumOrderQuantity#3582452, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, optimizationGroups#3582465, measurements#3582463, externalProductId#3582447, externalPlantId#3582448, previousOrderProposal#3582442L, isFallbackOrderOnly#3582439]
Input [40]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, worklistShardItemId#3582445L, orderProposalId#3582422L, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, originalReplenishmentRunId#3582464L, splitIndicator#3582441L, previousOrderProposal#3582442L, sourceOfSupplyUuid#3582436, supplierGroup#3582424, supplier#3582425, subrange#3582428, product#3582431, plant#3582426, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, isFallbackOrderOnly#3582439, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, netPriceAmount#3582458, netPriceCurrencyCode#3582459, measurements#3582463, minimumOrderQuantity#3582452, constraintLabels#3582453, constraintOperators#3582454, constraintValues#3582455, logisticUnits#3582449, optimizationGroups#3582465, externalProductId#3582447, externalPlantId#3582448, supplyingPlant#3582429, productGroup#3582430]
(26) Exchange
Input [39]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, sourceOfSupplyUuid#3582436, minimumOrderQuantity#3582452, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, optimizationGroups#3582465, measurements#3582463, externalProductId#3582447, externalPlantId#3582448, previousOrderProposal#3582442L, isFallbackOrderOnly#3582439]
Arguments: hashpartitioning(shardId#3580449, worklistShardItemId#3581971L, 30), ENSURE_REQUIREMENTS, [plan_id=1027601]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, sourceOfSupplyUuid#3582436, minimumOrderQuantity#3582452, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, optimizationGroups#3582465, measurements#3582463, externalProductId#3582447, externalPlantId#3582448, previousOrderProposal#3582442L, isFallbackOrderOnly#3582439]
Arguments: [shardId#3580449 ASC NULLS FIRST, worklistShardItemId#3581971L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3583179, worklistShardItemId#3583180L, qty#3583181, demandChannel#3583182, demandStream#3583183, kpis#3583184]
Arguments: [shardId#3583179, worklistShardItemId#3583180L, qty#3583181, demandChannel#3583182, demandStream#3583183, kpis#3583184], MapPartitionsRDD[152726] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3583179, worklistShardItemId#3583180L, qty#3583181, demandChannel#3583182, demandStream#3583183, kpis#3583184]
Condition : (((isnull(qty#3583181) AND isnull(demandChannel#3583182)) AND isnull(demandStream#3583183)) AND (isnotnull(shardId#3583179) AND isnotnull(worklistShardItemId#3583180L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3583179, worklistShardItemId#3583180L, coalesce(kpis#3583184, []) AS prodLocSpecificKpis#3583185]
Input [6]: [shardId#3583179, worklistShardItemId#3583180L, qty#3583181, demandChannel#3583182, demandStream#3583183, kpis#3583184]
(31) Exchange
Input [3]: [shardId#3583179, worklistShardItemId#3583180L, prodLocSpecificKpis#3583185]
Arguments: hashpartitioning(shardId#3583179, worklistShardItemId#3583180L, 30), ENSURE_REQUIREMENTS, [plan_id=1027607]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3583179, worklistShardItemId#3583180L, prodLocSpecificKpis#3583185]
Arguments: [shardId#3583179 ASC NULLS FIRST, worklistShardItemId#3583180L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3580449, worklistShardItemId#3581971L]
Right keys [2]: [shardId#3583179, worklistShardItemId#3583180L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, sourceOfSupplyUuid#3582436, minimumOrderQuantity#3582452, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, optimizationGroups#3582465, measurements#3582463, externalProductId#3582447, externalPlantId#3582448, previousOrderProposal#3582442L, isFallbackOrderOnly#3582439, coalesce(prodLocSpecificKpis#3583185, []) AS prodLocSpecificKpis#3583186]
Input [42]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, sourceOfSupplyUuid#3582436, minimumOrderQuantity#3582452, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, optimizationGroups#3582465, measurements#3582463, externalProductId#3582447, externalPlantId#3582448, previousOrderProposal#3582442L, isFallbackOrderOnly#3582439, shardId#3583179, worklistShardItemId#3583180L, prodLocSpecificKpis#3583185]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3583195, worklistShardItemId#3583196L, qty#3583197, demandChannel#3583198, demandStream#3583199, kpis#3583200]
Arguments: [shardId#3583195, worklistShardItemId#3583196L, qty#3583197, demandChannel#3583198, demandStream#3583199, kpis#3583200], MapPartitionsRDD[152726] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3583195, worklistShardItemId#3583196L, qty#3583197, demandChannel#3583198, demandStream#3583199, kpis#3583200]
Condition : ((((isnull(qty#3583197) AND isnotnull(demandChannel#3583198)) AND isnotnull(demandStream#3583199)) AND (size(kpis#3583200, true) > 0)) AND (isnotnull(shardId#3583195) AND isnotnull(worklistShardItemId#3583196L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3583195, worklistShardItemId#3583196L, demandChannel#3583198, demandStream#3583199, kpis#3583200]
Input [6]: [shardId#3583195, worklistShardItemId#3583196L, qty#3583197, demandChannel#3583198, demandStream#3583199, kpis#3583200]
(38) ObjectHashAggregate
Input [5]: [shardId#3583195, worklistShardItemId#3583196L, demandChannel#3583198, demandStream#3583199, kpis#3583200]
Keys [2]: [shardId#3583195, worklistShardItemId#3583196L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3583198, demandStream, demandStream#3583199, kpis, kpis#3583200), 0, 0)]
Aggregate Attributes [1]: [buf#3583376]
Results [3]: [shardId#3583195, worklistShardItemId#3583196L, buf#3583377]
(39) Exchange
Input [3]: [shardId#3583195, worklistShardItemId#3583196L, buf#3583377]
Arguments: hashpartitioning(shardId#3583195, worklistShardItemId#3583196L, 30), ENSURE_REQUIREMENTS, [plan_id=1027618]
(40) ObjectHashAggregate
Input [3]: [shardId#3583195, worklistShardItemId#3583196L, buf#3583377]
Keys [2]: [shardId#3583195, worklistShardItemId#3583196L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3583198, demandStream, demandStream#3583199, kpis, kpis#3583200), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3583198, demandStream, demandStream#3583199, kpis, kpis#3583200), 0, 0)#3583194]
Results [3]: [shardId#3583195, worklistShardItemId#3583196L, collect_list(struct(demandChannel, demandChannel#3583198, demandStream, demandStream#3583199, kpis, kpis#3583200), 0, 0)#3583194 AS channelStreamSpecificKpis#3583187]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3583195, worklistShardItemId#3583196L, channelStreamSpecificKpis#3583187]
Arguments: [shardId#3583195 ASC NULLS FIRST, worklistShardItemId#3583196L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3580449, worklistShardItemId#3581971L]
Right keys [2]: [shardId#3583195, worklistShardItemId#3583196L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, sourceOfSupplyUuid#3582436, minimumOrderQuantity#3582452, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, optimizationGroups#3582465, measurements#3582463, externalProductId#3582447, externalPlantId#3582448, previousOrderProposal#3582442L, isFallbackOrderOnly#3582439, prodLocSpecificKpis#3583186, coalesce(channelStreamSpecificKpis#3583187, []) AS channelStreamSpecificKpis#3583201]
Input [43]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, sourceOfSupplyUuid#3582436, minimumOrderQuantity#3582452, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, optimizationGroups#3582465, measurements#3582463, externalProductId#3582447, externalPlantId#3582448, previousOrderProposal#3582442L, isFallbackOrderOnly#3582439, prodLocSpecificKpis#3583186, shardId#3583195, worklistShardItemId#3583196L, channelStreamSpecificKpis#3583187]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3583208, worklistShardItemId#3583209L, qty#3583210, demandChannel#3583211, demandStream#3583212, kpis#3583213]
Arguments: [shardId#3583208, worklistShardItemId#3583209L, qty#3583210, demandChannel#3583211, demandStream#3583212, kpis#3583213], MapPartitionsRDD[152726] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3583208, worklistShardItemId#3583209L, qty#3583210, demandChannel#3583211, demandStream#3583212, kpis#3583213]
Condition : ((isnotnull(qty#3583210) AND isnotnull(kpis#3583213)) AND (isnotnull(shardId#3583208) AND isnotnull(worklistShardItemId#3583209L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3583208, worklistShardItemId#3583209L, qty#3583210, kpis#3583213]
Input [6]: [shardId#3583208, worklistShardItemId#3583209L, qty#3583210, demandChannel#3583211, demandStream#3583212, kpis#3583213]
(47) ObjectHashAggregate
Input [4]: [shardId#3583208, worklistShardItemId#3583209L, qty#3583210, kpis#3583213]
Keys [2]: [shardId#3583208, worklistShardItemId#3583209L]
Functions [1]: [partial_collect_list(struct(qty, qty#3583210, kpis, kpis#3583213), 0, 0)]
Aggregate Attributes [1]: [buf#3583378]
Results [3]: [shardId#3583208, worklistShardItemId#3583209L, buf#3583379]
(48) Exchange
Input [3]: [shardId#3583208, worklistShardItemId#3583209L, buf#3583379]
Arguments: hashpartitioning(shardId#3583208, worklistShardItemId#3583209L, 30), ENSURE_REQUIREMENTS, [plan_id=1027630]
(49) ObjectHashAggregate
Input [3]: [shardId#3583208, worklistShardItemId#3583209L, buf#3583379]
Keys [2]: [shardId#3583208, worklistShardItemId#3583209L]
Functions [1]: [collect_list(struct(qty, qty#3583210, kpis, kpis#3583213), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3583210, kpis, kpis#3583213), 0, 0)#3583207]
Results [3]: [shardId#3583208, worklistShardItemId#3583209L, map_from_entries(collect_list(struct(qty, qty#3583210, kpis, kpis#3583213), 0, 0)#3583207) AS quantityKpis#3583202]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3583208, worklistShardItemId#3583209L, quantityKpis#3583202]
Arguments: [shardId#3583208 ASC NULLS FIRST, worklistShardItemId#3583209L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3580449, worklistShardItemId#3581971L]
Right keys [2]: [shardId#3583208, worklistShardItemId#3583209L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, sourceOfSupplyUuid#3582436, minimumOrderQuantity#3582452, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, optimizationGroups#3582465, measurements#3582463, externalProductId#3582447, externalPlantId#3582448, previousOrderProposal#3582442L, isFallbackOrderOnly#3582439, prodLocSpecificKpis#3583186, channelStreamSpecificKpis#3583201, coalesce(quantityKpis#3583202, map(keys: [], values: [])) AS quantityKpis#3583214]
Input [44]: [shardId#3580449, worklistShardItemId#3581971L, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582422L, originalReplenishmentRunId#3582464L, supplierGroup#3582424, supplier#3582425, supplyingPlant#3582429, productGroup#3582430, product#3582431, plant#3582426, subrange#3582428, orderDateTime#3582432, deliveryDateTime#3582427, availabilityDateTime#3582433, nextAvailabilityDateTime#3582434, constraintValues#3582455, constraintOperators#3582454, constraintLabels#3582453, logisticUnits#3582449, orderQuantityBaseUom#3582450, orderQuantityBaseUomUuid#3582451, splitIndicator#3582441L, netPriceAmount#3582458, netPriceCurrencyCode#3582459, netPriceQuantity#3582460, netPriceQuantityUom#3582461, netPriceQuantityUomUuid#3582462, sourceOfSupplyUuid#3582436, minimumOrderQuantity#3582452, orderProposalItemId#3582423, orderProposalItemGroupId#3582446, optimizationGroups#3582465, measurements#3582463, externalProductId#3582447, externalPlantId#3582448, previousOrderProposal#3582442L, isFallbackOrderOnly#3582439, prodLocSpecificKpis#3583186, channelStreamSpecificKpis#3583201, shardId#3583208, worklistShardItemId#3583209L, quantityKpis#3583202]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3582219, channelStreamSpecificKpis#3583201, constraintLabels#3582231, constraintOperators#3582232, constraintValues#3582234, deliveryDateTime#3582218, isFallbackOrderOnly#3582221, logisticUnits#3582236, measurements#3582229, minimumOrderQuantity#3582230, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, nextAvailabilityDateTime#3582220, optimizationGroups#3582237, orderDateTime#3582217, orderProposalId#3582199L, orderProposalItemGroupId#3582201, orderProposalItemId#3582200, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, originalReplenishmentRunId#3582202L, plant#3582213, previousOrderProposal#3582205L, prodLocSpecificKpis#3583186, product#3582212, productGroup#3582241, qty#3581973, quantityAfterProdPlantOptimization#3581972, quantityKpis#3583214, shardId#3580449, sourceOfSupplyUuid#3582208, splitIndicator#3582204L, subrange#3582211, supplier#3582210, supplierGroup#3582209, supplyingPlant#3582240]
Condition : NOT (isFallbackOrderOnly#3582221 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3580449, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, productGroup#3582241, product#3582212, plant#3582213, subrange#3582211, orderDateTime#3582217, deliveryDateTime#3582218, availabilityDateTime#3582219, nextAvailabilityDateTime#3582220, logisticUnits#3582236, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, splitIndicator#3582204L, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, sourceOfSupplyUuid#3582208, minimumOrderQuantity#3582230, orderProposalItemId#3582200, orderProposalItemGroupId#3582201, optimizationGroups#3582237, measurements#3582229, previousOrderProposal#3582205L, prodLocSpecificKpis#3583186, channelStreamSpecificKpis#3583201, quantityKpis#3583214, arrays_zip(constraintLabels#3582231, constraintOperators#3582232, constraintValues#3582234, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3583629]
Input [39]: [availabilityDateTime#3582219, channelStreamSpecificKpis#3583201, constraintLabels#3582231, constraintOperators#3582232, constraintValues#3582234, deliveryDateTime#3582218, isFallbackOrderOnly#3582221, logisticUnits#3582236, measurements#3582229, minimumOrderQuantity#3582230, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, nextAvailabilityDateTime#3582220, optimizationGroups#3582237, orderDateTime#3582217, orderProposalId#3582199L, orderProposalItemGroupId#3582201, orderProposalItemId#3582200, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, originalReplenishmentRunId#3582202L, plant#3582213, previousOrderProposal#3582205L, prodLocSpecificKpis#3583186, product#3582212, productGroup#3582241, qty#3581973, quantityAfterProdPlantOptimization#3581972, quantityKpis#3583214, shardId#3580449, sourceOfSupplyUuid#3582208, splitIndicator#3582204L, subrange#3582211, supplier#3582210, supplierGroup#3582209, supplyingPlant#3582240]
(55) Project
Output [37]: [shardId#3580449, qty#3581973, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, productGroup#3582241, product#3582212, plant#3582213, subrange#3582211, orderDateTime#3582217, deliveryDateTime#3582218, availabilityDateTime#3582219, nextAvailabilityDateTime#3582220, logisticUnits#3582236, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, splitIndicator#3582204L, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, sourceOfSupplyUuid#3582208, orderProposalItemId#3582200, orderProposalItemGroupId#3582201, optimizationGroups#3582237, measurements#3582229, previousOrderProposal#3582205L, prodLocSpecificKpis#3583186, channelStreamSpecificKpis#3583201, quantityKpis#3583214, struct(minServiceLevel, array_min(filter(constraintStructArray#3583629, lambdafunction((lambda x_11831#3583636.constraintLabels = ServiceLevel), lambda x_11831#3583636, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3583629, lambdafunction((lambda x_11832#3583637.constraintLabels = ServiceLevelMinimumStock), lambda x_11832#3583637, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3583629, lambdafunction((lambda x_11833#3583638.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11833#3583638, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3583629, lambdafunction((lambda x_11834#3583639.constraintLabels = RangeOfCoverage), lambda x_11834#3583639, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3582230, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3583186, lambdafunction((lambda x_11835#3583640.label = NonListingStartTimestamp), lambda x_11835#3583640, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3583635, CASE WHEN (qty#3581973 <=> quantityAfterProdPlantOptimization#3581972) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3581973 * (cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11836#3583708.isOrderUnit, lambda x_11836#3583708, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11836#3583709.isOrderUnit, lambda x_11836#3583709, false)), 1, None, false).numerator as double))), qty#3581973), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11836#3583710.isOrderUnit, lambda x_11836#3583710, false)), 1, None, false).uom, orderQuantityBaseUom#3582222), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11836#3583711.isOrderUnit, lambda x_11836#3583711, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3582223), candidateOrderQuantityInBaseUnit, qty#3581973, orderQuantityBaseUom, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3582223, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3582236, lambdafunction((lambda x_11838#3583712.isPreferred AND (((qty#3581973 * cast(lambda x_11838#3583712.denominator as double)) % cast(lambda x_11838#3583712.numerator as double)) = 0.0)), lambda x_11838#3583712, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581973 * cast(lambda x_11839#3583753.denominator as double)) / cast(lambda x_11839#3583753.numerator as double)), uom, lambda x_11839#3583753.uom, uomUuid, lambda x_11839#3583753.uomUuid), lambda x_11839#3583753, false))).inPreferredQuantity, coalesce((qty#3581973 * (cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11837#3583713.isOrderUnit, lambda x_11837#3583713, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11837#3583714.isOrderUnit, lambda x_11837#3583714, false)), 1, None, false).numerator as double))), qty#3581973)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3582236, lambdafunction((lambda x_11838#3583715.isPreferred AND (((qty#3581973 * cast(lambda x_11838#3583715.denominator as double)) % cast(lambda x_11838#3583715.numerator as double)) = 0.0)), lambda x_11838#3583715, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581973 * cast(lambda x_11839#3583754.denominator as double)) / cast(lambda x_11839#3583754.numerator as double)), uom, lambda x_11839#3583754.uom, uomUuid, lambda x_11839#3583754.uomUuid), lambda x_11839#3583754, false))).uom, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11837#3583716.isOrderUnit, lambda x_11837#3583716, false)), 1, None, false).uom, orderQuantityBaseUom#3582222)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3582236, lambdafunction((lambda x_11838#3583717.isPreferred AND (((qty#3581973 * cast(lambda x_11838#3583717.denominator as double)) % cast(lambda x_11838#3583717.numerator as double)) = 0.0)), lambda x_11838#3583717, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581973 * cast(lambda x_11839#3583755.denominator as double)) / cast(lambda x_11839#3583755.numerator as double)), uom, lambda x_11839#3583755.uom, uomUuid, lambda x_11839#3583755.uomUuid), lambda x_11839#3583755, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11837#3583718.isOrderUnit, lambda x_11837#3583718, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3582223)), serviceLevel, coalesce(filter(element_at(quantityKpis#3583214, qty#3581973, None, false), lambdafunction((lambda x_11844#3583719.label = ServiceLevel), lambda x_11844#3583719, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3581973 * (cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11836#3583723.isOrderUnit, lambda x_11836#3583723, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11836#3583724.isOrderUnit, lambda x_11836#3583724, false)), 1, None, false).numerator as double))), qty#3581973), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11836#3583725.isOrderUnit, lambda x_11836#3583725, false)), 1, None, false).uom, orderQuantityBaseUom#3582222), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11836#3583726.isOrderUnit, lambda x_11836#3583726, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3582223), candidateOrderQuantityInBaseUnit, qty#3581973, orderQuantityBaseUom, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3582223, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3582236, lambdafunction((lambda x_11838#3583727.isPreferred AND (((qty#3581973 * cast(lambda x_11838#3583727.denominator as double)) % cast(lambda x_11838#3583727.numerator as double)) = 0.0)), lambda x_11838#3583727, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581973 * cast(lambda x_11839#3583756.denominator as double)) / cast(lambda x_11839#3583756.numerator as double)), uom, lambda x_11839#3583756.uom, uomUuid, lambda x_11839#3583756.uomUuid), lambda x_11839#3583756, false))).inPreferredQuantity, coalesce((qty#3581973 * (cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11837#3583728.isOrderUnit, lambda x_11837#3583728, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11837#3583729.isOrderUnit, lambda x_11837#3583729, false)), 1, None, false).numerator as double))), qty#3581973)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3582236, lambdafunction((lambda x_11838#3583730.isPreferred AND (((qty#3581973 * cast(lambda x_11838#3583730.denominator as double)) % cast(lambda x_11838#3583730.numerator as double)) = 0.0)), lambda x_11838#3583730, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581973 * cast(lambda x_11839#3583757.denominator as double)) / cast(lambda x_11839#3583757.numerator as double)), uom, lambda x_11839#3583757.uom, uomUuid, lambda x_11839#3583757.uomUuid), lambda x_11839#3583757, false))).uom, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11837#3583731.isOrderUnit, lambda x_11837#3583731, false)), 1, None, false).uom, orderQuantityBaseUom#3582222)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3582236, lambdafunction((lambda x_11838#3583732.isPreferred AND (((qty#3581973 * cast(lambda x_11838#3583732.denominator as double)) % cast(lambda x_11838#3583732.numerator as double)) = 0.0)), lambda x_11838#3583732, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3581973 * cast(lambda x_11839#3583758.denominator as double)) / cast(lambda x_11839#3583758.numerator as double)), uom, lambda x_11839#3583758.uom, uomUuid, lambda x_11839#3583758.uomUuid), lambda x_11839#3583758, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11837#3583733.isOrderUnit, lambda x_11837#3583733, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3582223)), serviceLevel, coalesce(filter(element_at(quantityKpis#3583214, qty#3581973, None, false), lambdafunction((lambda x_11848#3583734.label = ServiceLevel), lambda x_11848#3583734, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3581972 * (cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11840#3583738.isOrderUnit, lambda x_11840#3583738, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11840#3583739.isOrderUnit, lambda x_11840#3583739, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3581972), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11840#3583740.isOrderUnit, lambda x_11840#3583740, false)), 1, None, false).uom, orderQuantityBaseUom#3582222), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11840#3583741.isOrderUnit, lambda x_11840#3583741, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3582223), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3581972, orderQuantityBaseUom, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3582223, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3582236, lambdafunction((lambda x_11842#3583742.isPreferred AND (((quantityAfterProdPlantOptimization#3581972 * cast(lambda x_11842#3583742.denominator as double)) % cast(lambda x_11842#3583742.numerator as double)) = 0.0)), lambda x_11842#3583742, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3581972 * cast(lambda x_11843#3583759.denominator as double)) / cast(lambda x_11843#3583759.numerator as double)), uom, lambda x_11843#3583759.uom, uomUuid, lambda x_11843#3583759.uomUuid), lambda x_11843#3583759, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3581972 * (cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11841#3583743.isOrderUnit, lambda x_11841#3583743, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11841#3583744.isOrderUnit, lambda x_11841#3583744, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3581972)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3582236, lambdafunction((lambda x_11842#3583745.isPreferred AND (((quantityAfterProdPlantOptimization#3581972 * cast(lambda x_11842#3583745.denominator as double)) % cast(lambda x_11842#3583745.numerator as double)) = 0.0)), lambda x_11842#3583745, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3581972 * cast(lambda x_11843#3583760.denominator as double)) / cast(lambda x_11843#3583760.numerator as double)), uom, lambda x_11843#3583760.uom, uomUuid, lambda x_11843#3583760.uomUuid), lambda x_11843#3583760, false))).uom, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11841#3583746.isOrderUnit, lambda x_11841#3583746, false)), 1, None, false).uom, orderQuantityBaseUom#3582222)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3582236, lambdafunction((lambda x_11842#3583747.isPreferred AND (((quantityAfterProdPlantOptimization#3581972 * cast(lambda x_11842#3583747.denominator as double)) % cast(lambda x_11842#3583747.numerator as double)) = 0.0)), lambda x_11842#3583747, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3581972 * cast(lambda x_11843#3583761.denominator as double)) / cast(lambda x_11843#3583761.numerator as double)), uom, lambda x_11843#3583761.uom, uomUuid, lambda x_11843#3583761.uomUuid), lambda x_11843#3583761, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11841#3583748.isOrderUnit, lambda x_11841#3583748, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3582223)), serviceLevel, coalesce(filter(element_at(quantityKpis#3583214, quantityAfterProdPlantOptimization#3581972, None, false), lambdafunction((lambda x_11852#3583749.label = ServiceLevel), lambda x_11852#3583749, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3583707, coalesce(filter(prodLocSpecificKpis#3583186, lambdafunction((lambda x_11856#3583763.label = InitialStockQty), lambda x_11856#3583763, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3583762, coalesce(filter(prodLocSpecificKpis#3583186, lambdafunction((lambda x_11857#3583765.label = DemandPeriodEndTimestamp), lambda x_11857#3583765, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3583764]
Input [36]: [shardId#3580449, quantityAfterProdPlantOptimization#3581972, qty#3581973, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, productGroup#3582241, product#3582212, plant#3582213, subrange#3582211, orderDateTime#3582217, deliveryDateTime#3582218, availabilityDateTime#3582219, nextAvailabilityDateTime#3582220, logisticUnits#3582236, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, splitIndicator#3582204L, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, sourceOfSupplyUuid#3582208, minimumOrderQuantity#3582230, orderProposalItemId#3582200, orderProposalItemGroupId#3582201, optimizationGroups#3582237, measurements#3582229, previousOrderProposal#3582205L, prodLocSpecificKpis#3583186, channelStreamSpecificKpis#3583201, quantityKpis#3583214, constraintStructArray#3583629]
(56) Project
Output [21]: [shardId#3580449, qty#3581973, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, productGroup#3582241, product#3582212, plant#3582213, subrange#3582211, orderDateTime#3582217, deliveryDateTime#3582218, logisticUnits#3582236, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, splitIndicator#3582204L, orderProposalItemId#3582200, orderProposalItemGroupId#3582201, previousOrderProposal#3582205L, struct(itemId, orderProposalItemId#3582200, itemGroupId, orderProposalItemGroupId#3582201, supplier, supplier#3582210, supplyingPlant, supplyingPlant#3582240, productGroup, productGroup#3582241, product, product#3582212, plant, plant#3582213, supplierSubRange, subrange#3582211, sourceOfSupplyUuid, sourceOfSupplyUuid#3582208, deliveryDateTime, deliveryDateTime#3582218, unitPrice, netPriceAmount#3582227, unitPriceCurrency, netPriceCurrencyCode#3582228, unitPriceQuantity, ... 37 more fields) AS parentItem#3583838]
Input [37]: [shardId#3580449, qty#3581973, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, productGroup#3582241, product#3582212, plant#3582213, subrange#3582211, orderDateTime#3582217, deliveryDateTime#3582218, availabilityDateTime#3582219, nextAvailabilityDateTime#3582220, logisticUnits#3582236, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, splitIndicator#3582204L, netPriceAmount#3582227, netPriceCurrencyCode#3582228, netPriceQuantity#3582224, netPriceQuantityUom#3582225, netPriceQuantityUomUuid#3582226, sourceOfSupplyUuid#3582208, orderProposalItemId#3582200, orderProposalItemGroupId#3582201, optimizationGroups#3582237, measurements#3582229, previousOrderProposal#3582205L, prodLocSpecificKpis#3583186, channelStreamSpecificKpis#3583201, quantityKpis#3583214, constraintBenchmark#3583635, calculationAnalysis#3583707, inventoryDateTime#3583762, demandPeriodEndDateTime#3583764]
(57) Project
Output [12]: [shardId#3580449, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, orderDateTime#3582217, splitIndicator#3582204L, orderProposalItemGroupId#3582201, previousOrderProposal#3582205L, parentItem#3583838, struct(itemId, orderProposalItemId#3582200, supplier, supplier#3582210, supplyingPlant, supplyingPlant#3582240, productGroup, productGroup#3582241, product, product#3582212, plant, plant#3582213, supplierSubRange, subrange#3582211, deliveryDateTime, deliveryDateTime#3582218, orderQuantity, coalesce((qty#3581973 * (cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11881#3583872.isOrderUnit, lambda x_11881#3583872, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11881#3583873.isOrderUnit, lambda x_11881#3583873, false)), 1, None, false).numerator as double))), qty#3581973), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11881#3583874.isOrderUnit, lambda x_11881#3583874, false)), 1, None, false).uom, orderQuantityBaseUom#3582222), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3582236, lambdafunction(lambda x_11881#3583875.isOrderUnit, lambda x_11881#3583875, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3582223), orderQuantityInBaseUnit, qty#3581973, orderQuantityBaseUom, ... 13 more fields) AS item#3583869]
Input [21]: [shardId#3580449, qty#3581973, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, productGroup#3582241, product#3582212, plant#3582213, subrange#3582211, orderDateTime#3582217, deliveryDateTime#3582218, logisticUnits#3582236, orderQuantityBaseUom#3582222, orderQuantityBaseUomUuid#3582223, splitIndicator#3582204L, orderProposalItemId#3582200, orderProposalItemGroupId#3582201, previousOrderProposal#3582205L, parentItem#3583838]
(58) ObjectHashAggregate
Input [12]: [shardId#3580449, orderProposalId#3582199L, originalReplenishmentRunId#3582202L, supplierGroup#3582209, supplier#3582210, supplyingPlant#3582240, orderDateTime#3582217, splitIndicator#3582204L, orderProposalItemGroupId#3582201, previousOrderProposal#3582205L, parentItem#3583838, item#3583869]
Keys [4]: [shardId#3580449, orderProposalId#3582199L, splitIndicator#3582204L, orderProposalItemGroupId#3582201]
Functions [8]: [partial_max(originalReplenishmentRunId#3582202L), partial_max(supplierGroup#3582209), partial_max(supplier#3582210), partial_max(supplyingPlant#3582240), partial_max(orderDateTime#3582217), partial_collect_list(parentItem#3583838, 0, 0), partial_collect_set(previousOrderProposal#3582205L, 0, 0), partial_collect_list(item#3583869, 0, 0)]
Aggregate Attributes [8]: [max#3585494L, max#3585495, max#3585496, max#3585497, max#3585498, buf#3585499, buf#3585500, buf#3585501]
Results [12]: [shardId#3580449, orderProposalId#3582199L, splitIndicator#3582204L, orderProposalItemGroupId#3582201, max#3585502L, max#3585503, max#3585504, max#3585505, max#3585506, buf#3585507, buf#3585508, buf#3585509]
(59) Exchange
Input [12]: [shardId#3580449, orderProposalId#3582199L, splitIndicator#3582204L, orderProposalItemGroupId#3582201, max#3585502L, max#3585503, max#3585504, max#3585505, max#3585506, buf#3585507, buf#3585508, buf#3585509]
Arguments: hashpartitioning(shardId#3580449, orderProposalId#3582199L, splitIndicator#3582204L, orderProposalItemGroupId#3582201, 30), ENSURE_REQUIREMENTS, [plan_id=1027963]
(60) ObjectHashAggregate
Input [12]: [shardId#3580449, orderProposalId#3582199L, splitIndicator#3582204L, orderProposalItemGroupId#3582201, max#3585502L, max#3585503, max#3585504, max#3585505, max#3585506, buf#3585507, buf#3585508, buf#3585509]
Keys [4]: [shardId#3580449, orderProposalId#3582199L, splitIndicator#3582204L, orderProposalItemGroupId#3582201]
Functions [8]: [max(originalReplenishmentRunId#3582202L), max(supplierGroup#3582209), max(supplier#3582210), max(supplyingPlant#3582240), max(orderDateTime#3582217), collect_list(parentItem#3583838, 0, 0), collect_set(previousOrderProposal#3582205L, 0, 0), collect_list(item#3583869, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3582202L)#3583938L, max(supplierGroup#3582209)#3583939, max(supplier#3582210)#3583940, max(supplyingPlant#3582240)#3583941, max(orderDateTime#3582217)#3583942, collect_list(parentItem#3583838, 0, 0)#3583943, collect_set(previousOrderProposal#3582205L, 0, 0)#3583945, collect_list(item#3583869, 0, 0)#3583944]
Results [10]: [shardId#3580449, orderProposalId#3582199L, max(originalReplenishmentRunId#3582202L)#3583938L AS originalReplenishmentRunId#3583886L, max(supplierGroup#3582209)#3583939 AS supplierGroup#3583887, max(supplier#3582210)#3583940 AS supplier#3583888, max(supplyingPlant#3582240)#3583941 AS supplyingPlant#3583889, max(orderDateTime#3582217)#3583942 AS orderDateTime#3583890, collect_list(parentItem#3583838, 0, 0)#3583943 AS parentItems#3583891, collect_set(previousOrderProposal#3582205L, 0, 0)#3583945 AS previousOrderProposals#3583893, struct(itemGroupId, orderProposalItemGroupId#3582201, items, collect_list(item#3583869, 0, 0)#3583944) AS itemGroup#3583947]
(61) ObjectHashAggregate
Input [10]: [shardId#3580449, orderProposalId#3582199L, originalReplenishmentRunId#3583886L, supplierGroup#3583887, supplier#3583888, supplyingPlant#3583889, orderDateTime#3583890, parentItems#3583891, previousOrderProposals#3583893, itemGroup#3583947]
Keys [2]: [shardId#3580449, orderProposalId#3582199L]
Functions [8]: [partial_max(originalReplenishmentRunId#3583886L), partial_max(supplierGroup#3583887), partial_max(supplier#3583888), partial_max(supplyingPlant#3583889), partial_max(orderDateTime#3583890), partial_collect_list(itemGroup#3583947, 0, 0), partial_collect_list(parentItems#3583891, 0, 0), partial_collect_set(previousOrderProposals#3583893, 0, 0)]
Aggregate Attributes [8]: [max#3585478L, max#3585479, max#3585480, max#3585481, max#3585482, buf#3585483, buf#3585484, buf#3585485]
Results [10]: [shardId#3580449, orderProposalId#3582199L, max#3585486L, max#3585487, max#3585488, max#3585489, max#3585490, buf#3585491, buf#3585492, buf#3585493]
(62) Exchange
Input [10]: [shardId#3580449, orderProposalId#3582199L, max#3585486L, max#3585487, max#3585488, max#3585489, max#3585490, buf#3585491, buf#3585492, buf#3585493]
Arguments: hashpartitioning(shardId#3580449, orderProposalId#3582199L, 30), ENSURE_REQUIREMENTS, [plan_id=1027966]
(63) ObjectHashAggregate
Input [10]: [shardId#3580449, orderProposalId#3582199L, max#3585486L, max#3585487, max#3585488, max#3585489, max#3585490, buf#3585491, buf#3585492, buf#3585493]
Keys [2]: [shardId#3580449, orderProposalId#3582199L]
Functions [8]: [max(originalReplenishmentRunId#3583886L), max(supplierGroup#3583887), max(supplier#3583888), max(supplyingPlant#3583889), max(orderDateTime#3583890), collect_list(itemGroup#3583947, 0, 0), collect_list(parentItems#3583891, 0, 0), collect_set(previousOrderProposals#3583893, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3583886L)#3583969L, max(supplierGroup#3583887)#3583970, max(supplier#3583888)#3583971, max(supplyingPlant#3583889)#3583972, max(orderDateTime#3583890)#3583973, collect_list(itemGroup#3583947, 0, 0)#3583974, collect_list(parentItems#3583891, 0, 0)#3583975, collect_set(previousOrderProposals#3583893, 0, 0)#3583976]
Results [10]: [shardId#3580449, orderProposalId#3582199L, max(originalReplenishmentRunId#3583886L)#3583969L AS originalReplenishmentRunId#3583948L, max(supplierGroup#3583887)#3583970 AS supplierGroup#3583949, max(supplier#3583888)#3583971 AS supplier#3583950, max(supplyingPlant#3583889)#3583972 AS supplyingPlant#3583951, max(orderDateTime#3583890)#3583973 AS orderDateTime#3583952, collect_list(itemGroup#3583947, 0, 0)#3583974 AS itemGroups#3583953, flatten(collect_list(parentItems#3583891, 0, 0)#3583975) AS parentItems#3583954, flatten(collect_set(previousOrderProposals#3583893, 0, 0)#3583976) AS previousOrderProposals#3583955]
(64) Project
Output [2]: [shardId#3580449, struct(orderProposalId, orderProposalId#3582199L, originalReplenishmentRunId, originalReplenishmentRunId#3583948L, supplierGroup, supplierGroup#3583949, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3583949) THEN supplier#3583950 END, supplyingPlant, supplyingPlant#3583951, orderDateTime, orderDateTime#3583952, itemGroups, itemGroups#3583953, previousOrderProposals, array_distinct(previousOrderProposals#3583955), parentItems, parentItems#3583954) AS orderProposal#3583980]
Input [10]: [shardId#3580449, orderProposalId#3582199L, originalReplenishmentRunId#3583948L, supplierGroup#3583949, supplier#3583950, supplyingPlant#3583951, orderDateTime#3583952, itemGroups#3583953, parentItems#3583954, previousOrderProposals#3583955]
(65) Project
Output [11]: [shardId#3580449, orderProposal#3583980.orderProposalId AS _extract_orderProposalId#3585110L, orderProposal#3583980.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3585111L, orderProposal#3583980.supplierGroup AS _extract_supplierGroup#3585112, orderProposal#3583980.supplier AS _extract_supplier#3585113, orderProposal#3583980.supplyingPlant AS _extract_supplyingPlant#3585114, orderProposal#3583980.orderDateTime AS _extract_orderDateTime#3585115, orderProposal#3583980.itemGroups AS _extract_itemGroups#3585116, orderProposal#3583980.previousOrderProposals AS _extract_previousOrderProposals#3585117, orderProposal#3583980.parentItems AS _extract_parentItems#3585118, orderProposal#3583980.orderProposalId AS _extract_orderProposalId#3585119L]
Input [2]: [shardId#3580449, orderProposal#3583980]
(66) Exchange
Input [11]: [shardId#3580449, _extract_orderProposalId#3585110L, _extract_originalReplenishmentRunId#3585111L, _extract_supplierGroup#3585112, _extract_supplier#3585113, _extract_supplyingPlant#3585114, _extract_orderDateTime#3585115, _extract_itemGroups#3585116, _extract_previousOrderProposals#3585117, _extract_parentItems#3585118, _extract_orderProposalId#3585119L]
Arguments: hashpartitioning(coalesce(shardId#3580449, ), isnull(shardId#3580449), coalesce(_extract_orderProposalId#3585119L, 0), isnull(_extract_orderProposalId#3585119L), 30), ENSURE_REQUIREMENTS, [plan_id=1027970]
(67) Sort
Input [11]: [shardId#3580449, _extract_orderProposalId#3585110L, _extract_originalReplenishmentRunId#3585111L, _extract_supplierGroup#3585112, _extract_supplier#3585113, _extract_supplyingPlant#3585114, _extract_orderDateTime#3585115, _extract_itemGroups#3585116, _extract_previousOrderProposals#3585117, _extract_parentItems#3585118, _extract_orderProposalId#3585119L]
Arguments: [coalesce(shardId#3580449, ) ASC NULLS FIRST, isnull(shardId#3580449) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3585119L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3585119L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3583995, orderProposalId#3583996L, optimizationGroups#3583998]
Arguments: [shardId#3583995, orderProposalId#3583996L, optimizationGroups#3583998], [isnotnull(orderProposalId#3583996L)]
(69) InMemoryRelation
Arguments: [shardId#3583995, orderProposalId#3583996L, items#3583997, optimizationGroups#3583998, isOptimal#3583999, optimizationInsights#3584001], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3583995, orderProposalId#3583996L, optimizationGroups#3583998]
Condition : isnotnull(orderProposalId#3583996L)
(71) Exchange
Input [3]: [shardId#3583995, orderProposalId#3583996L, optimizationGroups#3583998]
Arguments: hashpartitioning(orderProposalId#3583996L, 30), ENSURE_REQUIREMENTS, [plan_id=1027975]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3583995, orderProposalId#3583996L, optimizationGroups#3583998]
Arguments: [orderProposalId#3583996L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3583624, shardId#3583622]
Arguments: [items#3583624, shardId#3583622], [(size(items#3583624.worklistShardItemId, true) > 0), isnotnull(items#3583624.worklistShardItemId), (shardId#3583622 = 0_3_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3583622, orderProposalId#3583623L, items#3583624, optimizationGroups#3583625, isOptimal#3583626, optimizationInsights#3583628], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3583624, shardId#3583622]
Condition : (((size(items#3583624.worklistShardItemId, true) > 0) AND isnotnull(items#3583624.worklistShardItemId)) AND (shardId#3583622 = 0_3_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3583624.worklistShardItemId AS _extract_worklistShardItemId#3584643]
Input [2]: [items#3583624, shardId#3583622]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3584643]
Arguments: explode(_extract_worklistShardItemId#3584643), false, [item#3584002L]
(78) Project [codegen id : 4]
Output [1]: [item#3584002L AS worklistShardItemId#3584003L]
Input [1]: [item#3584002L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3584003L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1027986]
(80) Scan parquet
Output [5]: [orderProposalId#3584051L, isFallbackOrderOnly#3584068, worklistShardItemId#3584074L, shardId#3584095, sequenceId#3584073]
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#3584095), isnotnull(sequenceId#3584073), (shardId#3584095 = 0_3_10000000532), (sequenceId#3584073 = 2)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(81) ColumnarToRow [codegen id : 5]
Input [5]: [orderProposalId#3584051L, isFallbackOrderOnly#3584068, worklistShardItemId#3584074L, shardId#3584095, sequenceId#3584073]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3584051L, isFallbackOrderOnly#3584068, worklistShardItemId#3584074L, shardId#3584095, sequenceId#3584073]
Condition : ((isnotnull(worklistShardItemId#3584074L) AND NOT (isFallbackOrderOnly#3584068 <=> true)) AND isnotnull(orderProposalId#3584051L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3584051L, worklistShardItemId#3584074L]
Input [5]: [orderProposalId#3584051L, isFallbackOrderOnly#3584068, worklistShardItemId#3584074L, shardId#3584095, sequenceId#3584073]
(84) Exchange
Input [2]: [orderProposalId#3584051L, worklistShardItemId#3584074L]
Arguments: hashpartitioning(worklistShardItemId#3584074L, 30), REPARTITION_BY_NUM, [plan_id=1027993]
(85) Project
Output [2]: [worklistShardItemId#3584074L, orderProposalId#3584051L]
Input [2]: [orderProposalId#3584051L, worklistShardItemId#3584074L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3584003L]
Right keys [1]: [worklistShardItemId#3584074L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3584051L]
Input [3]: [worklistShardItemId#3584003L, worklistShardItemId#3584074L, orderProposalId#3584051L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3584051L]
Keys [1]: [orderProposalId#3584051L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3584051L]
(89) Exchange
Input [1]: [orderProposalId#3584051L]
Arguments: hashpartitioning(orderProposalId#3584051L, 30), ENSURE_REQUIREMENTS, [plan_id=1028000]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3584051L]
Keys [1]: [orderProposalId#3584051L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3584051L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3584051L]
Arguments: [orderProposalId#3584051L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3583996L]
Right keys [1]: [orderProposalId#3584051L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3583996L, shardId#3583995, coalesce(transform(optimizationGroups#3583998, lambdafunction(struct(optGroupId, lambda x_11885#3583993.optGroupId, minOrderProfile, lambda x_11885#3583993.minOrderProfile, assignmentDetails, lambda x_11885#3583993.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11885#3583993.minOrderGoal.dimensionType, unit, lambda x_11885#3583993.minOrderGoal.unit, unitUuid, lambda x_11885#3583993.minOrderGoal.unitUuid, goalValue, lambda x_11885#3583993.minOrderGoal.minOrderValue, calcValue, lambda x_11885#3583993.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11885#3583993, false)), []) AS optimizationGroups#3583992]
Input [4]: [shardId#3583995, orderProposalId#3583996L, optimizationGroups#3583998, orderProposalId#3584051L]
(94) Exchange
Input [3]: [orderProposalId#3583996L, shardId#3583995, optimizationGroups#3583992]
Arguments: hashpartitioning(coalesce(shardId#3583995, ), isnull(shardId#3583995), coalesce(orderProposalId#3583996L, 0), isnull(orderProposalId#3583996L), 30), ENSURE_REQUIREMENTS, [plan_id=1028009]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3583996L, shardId#3583995, optimizationGroups#3583992]
Arguments: [coalesce(shardId#3583995, ) ASC NULLS FIRST, isnull(shardId#3583995) ASC NULLS FIRST, coalesce(orderProposalId#3583996L, 0) ASC NULLS FIRST, isnull(orderProposalId#3583996L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3580449, ), isnull(shardId#3580449), coalesce(_extract_orderProposalId#3585119L, 0), isnull(_extract_orderProposalId#3585119L)]
Right keys [4]: [coalesce(shardId#3583995, ), isnull(shardId#3583995), coalesce(orderProposalId#3583996L, 0), isnull(orderProposalId#3583996L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3580449, named_struct(orderProposalId, _extract_orderProposalId#3585119L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3585111L, supplierGroup, _extract_supplierGroup#3585112, optimizationGroups, coalesce(optimizationGroups#3583992, []), supplier, _extract_supplier#3585113, supplyingPlant, _extract_supplyingPlant#3585114, orderDateTime, _extract_orderDateTime#3585115, itemGroups, _extract_itemGroups#3585116, previousOrderProposals, _extract_previousOrderProposals#3585117, parentItems, _extract_parentItems#3585118) AS orderProposal#3584099]
Input [14]: [shardId#3580449, _extract_orderProposalId#3585110L, _extract_originalReplenishmentRunId#3585111L, _extract_supplierGroup#3585112, _extract_supplier#3585113, _extract_supplyingPlant#3585114, _extract_orderDateTime#3585115, _extract_itemGroups#3585116, _extract_previousOrderProposals#3585117, _extract_parentItems#3585118, _extract_orderProposalId#3585119L, orderProposalId#3583996L, shardId#3583995, optimizationGroups#3583992]
(98) Filter
Input [1]: [orderProposal#3584099]
Condition : (size(orderProposal#3584099.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3584099.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3585890]
Input [1]: [orderProposal#3584099]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3585890]
Arguments: explode(_extract_deliveryDateTime#3585890), false, [numberOfOrderProposalItems#3585862]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3585862]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3585901L]
Results [1]: [count#3585902L]
(103) Exchange
Input [1]: [count#3585902L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1028136]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3585902L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3585867L]
Results [1]: [count(1)#3585867L AS count#3585863L]