digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 3 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 3 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 1875.0 B<br>merged fetch fallback count: 0<br>local blocks read: 25<br>remote merged chunks fetched: 0<br>remote blocks read: 5<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 329030.0: task 926865))<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 329030.0: task 926871))<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: 375.0 B<br>number of partitions: 1<br>remote reqs duration: 3 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 329030.0: task 926865))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1015346]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n303 ms (5 ms, 8 ms, 17 ms (stage 329030.0: task 926872))";
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>282 ms (4 ms, 8 ms, 17 ms (stage 329030.0: task 926870))<br>number of output rows: 30" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,146" tooltip="Generate explode(_extract_deliveryDateTime#3544332), false, [numberOfOrderProposalItems#3544304]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#3542808.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3544332]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,349" tooltip="Filter (size(orderProposal#3542808.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,349" tooltip="InMemoryTableScan [orderProposal#3542808], [(size(orderProposal#3542808.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, named_struct(orderProposalId, _extract_orderProposalId#3543561L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3543553L, supplierGroup, _extract_supplierGroup#3543554, optimizationGroups, coalesce(optimizationGroups#3542701, []), supplier, _extract_supplier#3543555, supplyingPlant, _extract_supplyingPlant#3543556, orderDateTime, _extract_orderDateTime#3543557, itemGroups, _extract_itemGroups#3543558, previousOrderProposals, _extract_previousOrderProposals#3543559, parentItems, _extract_parentItems#3543560) AS orderProposal#3542808]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,349<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329030.0: task 926865))" tooltip="SortMergeJoin [coalesce(shardId#3524906, ), isnull(shardId#3524906), coalesce(_extract_orderProposalId#3543561L, 0), isnull(_extract_orderProposalId#3543561L)], [coalesce(shardId#3542704, ), isnull(shardId#3542704), coalesce(orderProposalId#3542705L, 0), isnull(orderProposalId#3542705L)], 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 329030.0: task 926865))<br>peak memory total (min, med, max (stageId: taskId))<br>251.9 MiB (6.1 MiB, 8.1 MiB, 10.1 MiB (stage 329030.0: task 926869))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329030.0: task 926865))" tooltip="Sort [coalesce(shardId#3524906, ) ASC NULLS FIRST, isnull(shardId#3524906) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3543561L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3543561L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,349<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,349<br>local bytes read total (min, med, max (stageId: taskId))<br>15.3 MiB (116.8 KiB, 594.5 KiB, 715.2 KiB (stage 329030.0: task 926881))<br>merged fetch fallback count: 0<br>local blocks read: 604<br>remote merged chunks fetched: 0<br>remote blocks read: 229<br>data size total (min, med, max (stageId: taskId))<br>216.0 MiB (5.2 MiB, 7.1 MiB, 8.2 MiB (stage 329029.0: task 926839))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>103 ms (2 ms, 3 ms, 4 ms (stage 329029.0: task 926838))<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 329030.0: task 926865))<br>remote bytes read total (min, med, max (stageId: taskId))<br>5.2 MiB (44.6 KiB, 117.3 KiB, 619.9 KiB (stage 329030.0: task 926868))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>134 ms (3 ms, 4 ms, 9 ms (stage 329030.0: task 926866))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.5 MiB (502.6 KiB, 693.3 KiB, 802.6 KiB (stage 329029.0: task 926839))" tooltip="Exchange hashpartitioning(coalesce(shardId#3524906, ), isnull(shardId#3524906), coalesce(_extract_orderProposalId#3543561L, 0), isnull(_extract_orderProposalId#3543561L), 30), ENSURE_REQUIREMENTS, [plan_id=1015180]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, orderProposal#3542689.orderProposalId AS _extract_orderProposalId#3543552L, orderProposal#3542689.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3543553L, orderProposal#3542689.supplierGroup AS _extract_supplierGroup#3543554, orderProposal#3542689.supplier AS _extract_supplier#3543555, orderProposal#3542689.supplyingPlant AS _extract_supplyingPlant#3543556, orderProposal#3542689.orderDateTime AS _extract_orderDateTime#3543557, orderProposal#3542689.itemGroups AS _extract_itemGroups#3543558, orderProposal#3542689.previousOrderProposals AS _extract_previousOrderProposals#3543559, orderProposal#3542689.parentItems AS _extract_parentItems#3543560, orderProposal#3542689.orderProposalId AS _extract_orderProposalId#3543561L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, struct(orderProposalId, orderProposalId#3525576L, originalReplenishmentRunId, originalReplenishmentRunId#3542657L, supplierGroup, supplierGroup#3542658, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3542658) THEN supplier#3542659 END, supplyingPlant, supplyingPlant#3542660, orderDateTime, orderDateTime#3542661, itemGroups, itemGroups#3542662, previousOrderProposals, array_distinct(previousOrderProposals#3542664), parentItems, parentItems#3542663) AS orderProposal#3542689]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,349<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.2 s (17 ms, 29 ms, 104 ms (stage 329029.0: task 926841))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329029.0: task 926834))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3524906, orderProposalId#3525576L], functions=[max(originalReplenishmentRunId#3542595L), max(supplierGroup#3542596), max(supplier#3542597), max(supplyingPlant#3542598), max(orderDateTime#3542599), collect_list(itemGroup#3542656, 0, 0), collect_list(parentItems#3542600, 0, 0), collect_set(previousOrderProposals#3542602, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,349<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,349<br>local bytes read total (min, med, max (stageId: taskId))<br>15.2 MiB (108.2 KiB, 578.8 KiB, 651.3 KiB (stage 329029.0: task 926853))<br>merged fetch fallback count: 0<br>local blocks read: 607<br>remote merged chunks fetched: 0<br>remote blocks read: 230<br>data size total (min, med, max (stageId: taskId))<br>216.2 MiB (5.9 MiB, 7.1 MiB, 9.4 MiB (stage 329024.0: task 926833))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>153 ms (2 ms, 2 ms, 23 ms (stage 329024.0: task 926827))<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 329029.0: task 926834))<br>remote bytes read total (min, med, max (stageId: taskId))<br>5.4 MiB (53.6 KiB, 122.6 KiB, 642.4 KiB (stage 329029.0: task 926839))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>136 ms (3 ms, 4 ms, 10 ms (stage 329029.0: task 926839))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>20.6 MiB (576.5 KiB, 692.9 KiB, 924.1 KiB (stage 329024.0: task 926833))" tooltip="Exchange hashpartitioning(shardId#3524906, orderProposalId#3525576L, 30), ENSURE_REQUIREMENTS, [plan_id=1015176]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,349<br>time in aggregation build total (min, med, max (stageId: taskId))<br>588 ms (4 ms, 5 ms, 81 ms (stage 329024.0: task 926804))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329024.0: task 926805))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3524906, orderProposalId#3525576L], functions=[partial_max(originalReplenishmentRunId#3542595L), partial_max(supplierGroup#3542596), partial_max(supplier#3542597), partial_max(supplyingPlant#3542598), partial_max(orderDateTime#3542599), partial_collect_list(itemGroup#3542656, 0, 0), partial_collect_list(parentItems#3542600, 0, 0), partial_collect_set(previousOrderProposals#3542602, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 2,349<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.2 s (20 ms, 24 ms, 310 ms (stage 329024.0: task 926806))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329024.0: task 926805))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#3524906, orderProposalId#3525576L, splitIndicator#3525581L, orderProposalItemGroupId#3525578], functions=[max(originalReplenishmentRunId#3525579L), max(supplierGroup#3525586), max(supplier#3525587), max(supplyingPlant#3525617), max(orderDateTime#3525594), collect_list(parentItem#3542547, 0, 0), collect_set(previousOrderProposal#3525582L, 0, 0), collect_list(item#3542578, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 57,632<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 57,632<br>local bytes read total (min, med, max (stageId: taskId))<br>16.0 MiB (365.9 KiB, 546.5 KiB, 746.1 KiB (stage 329024.0: task 926833))<br>merged fetch fallback count: 0<br>local blocks read: 510<br>remote merged chunks fetched: 0<br>remote blocks read: 390<br>data size total (min, med, max (stageId: taskId))<br>230.7 MiB (7.5 MiB, 7.7 MiB, 8.0 MiB (stage 329023.0: task 926758))<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>125 ms (2 ms, 3 ms, 14 ms (stage 329023.0: task 926619))<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 329024.0: task 926805))<br>remote bytes read total (min, med, max (stageId: taskId))<br>12.3 MiB (304.0 KiB, 381.0 KiB, 649.1 KiB (stage 329024.0: task 926808))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>129 ms (3 ms, 4 ms, 7 ms (stage 329024.0: task 926808))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.3 MiB (942.9 KiB, 965.0 KiB, 999.6 KiB (stage 329023.0: task 926758))" tooltip="Exchange hashpartitioning(shardId#3524906, orderProposalId#3525576L, splitIndicator#3525581L, orderProposalItemGroupId#3525578, 30), ENSURE_REQUIREMENTS, [plan_id=1015173]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 57,632<br>time in aggregation build total (min, med, max (stageId: taskId))<br>14.7 s (194 ms, 434 ms, 1.3 s (stage 329023.0: task 926458))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329023.0: task 926454))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3524906, orderProposalId#3525576L, splitIndicator#3525581L, orderProposalItemGroupId#3525578], functions=[partial_max(originalReplenishmentRunId#3525579L), partial_max(supplierGroup#3525586), partial_max(supplier#3525587), partial_max(supplyingPlant#3525617), partial_max(orderDateTime#3525594), partial_collect_list(parentItem#3542547, 0, 0), partial_collect_set(previousOrderProposal#3525582L, 0, 0), partial_collect_list(item#3542578, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, orderDateTime#3525594, splitIndicator#3525581L, orderProposalItemGroupId#3525578, previousOrderProposal#3525582L, parentItem#3542547, struct(itemId, orderProposalItemId#3525577, supplier, supplier#3525587, supplyingPlant, supplyingPlant#3525617, productGroup, productGroup#3525618, product, product#3525589, plant, plant#3525590, supplierSubRange, subrange#3525588, deliveryDateTime, deliveryDateTime#3525595, orderQuantity, coalesce((qty#3525420 * (cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11737#3542581.isOrderUnit, lambda x_11737#3542581, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11737#3542582.isOrderUnit, lambda x_11737#3542582, false)), 1, None, false).numerator as double))), qty#3525420), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11737#3542583.isOrderUnit, lambda x_11737#3542583, false)), 1, None, false).uom, orderQuantityBaseUom#3525599), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11737#3542584.isOrderUnit, lambda x_11737#3542584, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3525600), orderQuantityInBaseUnit, qty#3525420, orderQuantityBaseUom, ... 13 more fields) AS item#3542578]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, qty#3525420, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, productGroup#3525618, product#3525589, plant#3525590, subrange#3525588, orderDateTime#3525594, deliveryDateTime#3525595, logisticUnits#3525613, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, splitIndicator#3525581L, orderProposalItemId#3525577, orderProposalItemGroupId#3525578, previousOrderProposal#3525582L, struct(itemId, orderProposalItemId#3525577, itemGroupId, orderProposalItemGroupId#3525578, supplier, supplier#3525587, supplyingPlant, supplyingPlant#3525617, productGroup, productGroup#3525618, product, product#3525589, plant, plant#3525590, supplierSubRange, subrange#3525588, sourceOfSupplyUuid, sourceOfSupplyUuid#3525585, deliveryDateTime, deliveryDateTime#3525595, unitPrice, netPriceAmount#3525604, unitPriceCurrency, netPriceCurrencyCode#3525605, unitPriceQuantity, ... 37 more fields) AS parentItem#3542547]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, qty#3525420, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, productGroup#3525618, product#3525589, plant#3525590, subrange#3525588, orderDateTime#3525594, deliveryDateTime#3525595, availabilityDateTime#3525596, nextAvailabilityDateTime#3525597, logisticUnits#3525613, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, splitIndicator#3525581L, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, sourceOfSupplyUuid#3525585, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n16.9 s (227 ms, 451 ms, 1.7 s (stage 329023.0: task 926458))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, productGroup#3525618, product#3525589, plant#3525590, subrange#3525588, orderDateTime#3525594, deliveryDateTime#3525595, availabilityDateTime#3525596, nextAvailabilityDateTime#3525597, logisticUnits#3525613, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, splitIndicator#3525581L, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,146" tooltip="Filter NOT (isFallbackOrderOnly#3525598 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 119,146" tooltip="InMemoryTableScan [availabilityDateTime#3525596, channelStreamSpecificKpis#3541247, constraintLabels#3525608, constraintOperators#3525609, constraintValues#3525611, deliveryDateTime#3525595, isFallbackOrderOnly#3525598, logisticUnits#3525613, measurements#3525606, minimumOrderQuantity#3525607, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, nextAvailabilityDateTime#3525597, optimizationGroups#3525614, orderDateTime#3525594, orderProposalId#3525576L, orderProposalItemGroupId#3525578, orderProposalItemId#3525577, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, originalReplenishmentRunId#3525579L, plant#3525590, ... 14 more fields], [NOT (isFallbackOrderOnly#3525598 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n13.1 s (262 ms, 399 ms, 748 ms (stage 329023.0: task 926453))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,146<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329023.0: task 926454))" tooltip="SortMergeJoin [shardId#3524906, worklistShardItemId#3525418L], [shardId#3541254, worklistShardItemId#3541255L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n16.8 s (317 ms, 463 ms, 1.2 s (stage 329023.0: task 926458))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,146<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329023.0: task 926454))" tooltip="SortMergeJoin [shardId#3524906, worklistShardItemId#3525418L], [shardId#3541241, worklistShardItemId#3541242L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n19.7 s (352 ms, 501 ms, 1.7 s (stage 329023.0: task 926458))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,146<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329023.0: task 926454))" tooltip="SortMergeJoin [shardId#3524906, worklistShardItemId#3525418L], [shardId#3541196, worklistShardItemId#3541197L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n21.2 s (354 ms, 503 ms, 2.2 s (stage 329023.0: task 926458))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>35 ms (1 ms, 1 ms, 2 ms (stage 329023.0: task 926456))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 329023.0: task 926454))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329023.0: task 926454))" tooltip="Sort [shardId#3524906 ASC NULLS FIRST, worklistShardItemId#3525418L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,146<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,146<br>local bytes read total (min, med, max (stageId: taskId))<br>14.0 MiB (462.2 KiB, 477.4 KiB, 501.6 KiB (stage 329023.0: task 926769))<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>137.4 MiB (4.5 MiB, 4.6 MiB, 4.7 MiB (stage 329021.0: task 926110))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>113 ms (2 ms, 3 ms, 12 ms (stage 329021.0: task 926157))<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 329023.0: task 926454))<br>remote bytes read total (min, med, max (stageId: taskId))<br>14.0 MiB (449.4 KiB, 476.7 KiB, 496.4 KiB (stage 329023.0: task 926758))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>249 ms (4 ms, 7 ms, 36 ms (stage 329023.0: task 926781))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>28.0 MiB (933.4 KiB, 955.5 KiB, 979.3 KiB (stage 329021.0: task 926106))" tooltip="Exchange hashpartitioning(shardId#3524906, worklistShardItemId#3525418L, 30), ENSURE_REQUIREMENTS, [plan_id=1014888]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (43 ms, 52 ms, 135 ms (stage 329021.0: task 926012))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 119,146<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329021.0: task 926013))" tooltip="SortMergeJoin [worklistShardItemId#3525418L], [worklistShardItemId#3525642L], LeftOuter, (shardId#3524906 = 0_6_10000000532)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.8 s (44 ms, 53 ms, 981 ms (stage 329021.0: task 926012))";
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 329021.0: task 926013))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 329021.0: task 926013))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329021.0: task 926013))" tooltip="Sort [worklistShardItemId#3525418L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,146<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,146<br>local bytes read total (min, med, max (stageId: taskId))<br>439.7 KiB (6.9 KiB, 21.6 KiB, 22.7 KiB (stage 329021.0: task 926110))<br>merged fetch fallback count: 0<br>local blocks read: 435<br>remote merged chunks fetched: 0<br>remote blocks read: 465<br>data size total (min, med, max (stageId: taskId))<br>6.4 MiB (203.6 KiB, 217.9 KiB, 225.9 KiB (stage 329018.0: task 925755))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>46 ms (1 ms, 1 ms, 1 ms (stage 329018.0: task 925788))<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 329021.0: task 926013))<br>remote bytes read total (min, med, max (stageId: taskId))<br>469.0 KiB (7.8 KiB, 22.7 KiB, 23.5 KiB (stage 329021.0: task 926013))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>150 ms (3 ms, 5 ms, 7 ms (stage 329021.0: task 926107))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>908.7 KiB (28.4 KiB, 30.5 KiB, 31.5 KiB (stage 329018.0: task 925755))" tooltip="Exchange hashpartitioning(worklistShardItemId#3525418L, 30), ENSURE_REQUIREMENTS, [plan_id=1014869]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n575 ms (3 ms, 5 ms, 211 ms (stage 329018.0: task 925710))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3524906, item#3525417.worklistShardItemId AS worklistShardItemId#3525418L, item#3525417.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3525419, item#3525417.qty AS qty#3525420]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,146" tooltip="Generate explode(items#3524908), [shardId#3524906], false, [item#3525417]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,349" tooltip="Filter ((size(items#3524908, true) > 0) AND isnotnull(items#3524908))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,349" tooltip="InMemoryTableScan [shardId#3524906, items#3524908], [(size(items#3524908, true) > 0), isnotnull(items#3524908)]"];
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#3524906) AND (shardId#3524906 = 0_6_10000000532))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, optimizationInsights#3524912], [isnotnull(shardId#3524906), (shardId#3524906 = 0_6_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#3524906) AND (shardId#3524906 = 0_6_10000000532))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3524906,orderProposalId#3524907L,items#3524908,optimizationGroups#3524909,isOptimal#3524910,lastModified#3524911,optimizationInsights#3524912]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (43 ms, 52 ms, 568 ms (stage 329021.0: task 926012))";
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 329021.0: task 926013))<br>peak memory total (min, med, max (stageId: taskId))<br>183.8 MiB (6.1 MiB, 6.1 MiB, 6.1 MiB (stage 329021.0: task 926013))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329021.0: task 926013))" tooltip="Sort [worklistShardItemId#3525642L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3525642L, orderProposalId#3525619L, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, originalReplenishmentRunId#3525661L, splitIndicator#3525638L, previousOrderProposal#3525639L, sourceOfSupplyUuid#3525633, supplierGroup#3525621, supplier#3525622, subrange#3525625, product#3525628, plant#3525623, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, isFallbackOrderOnly#3525636, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, netPriceAmount#3525655, netPriceCurrencyCode#3525656, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,146<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,146<br>local bytes read total (min, med, max (stageId: taskId))<br>13.2 MiB (186.8 KiB, 696.2 KiB, 722.3 KiB (stage 329021.0: task 926031))<br>merged fetch fallback count: 0<br>local blocks read: 555<br>remote merged chunks fetched: 0<br>remote blocks read: 555<br>data size total (min, med, max (stageId: taskId))<br>132.8 MiB (3.4 MiB, 3.6 MiB, 3.7 MiB (stage 329017.0: task 925697))<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>115 ms (2 ms, 2 ms, 4 ms (stage 329017.0: task 925782))<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 329021.0: task 926013))<br>remote bytes read total (min, med, max (stageId: taskId))<br>13.3 MiB (186.6 KiB, 691.3 KiB, 733.8 KiB (stage 329021.0: task 926110))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>131 ms (3 ms, 4 ms, 9 ms (stage 329021.0: task 926012))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>26.5 MiB (700.1 KiB, 733.1 KiB, 767.6 KiB (stage 329017.0: task 925697))" tooltip="Exchange hashpartitioning(worklistShardItemId#3525642L, 30), REPARTITION_BY_NUM, [plan_id=1014879]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n7.6 s (157 ms, 201 ms, 335 ms (stage 329017.0: task 925827))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3525619L, orderProposalItemId#3525620, supplierGroup#3525621, supplier#3525622, plant#3525623, deliveryDateTime#3525624, subrange#3525625, supplyingPlant#3525626, productGroup#3525627, product#3525628, orderDateTime#3525629, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, sourceOfSupplyUuid#3525633, isFallbackOrderOnly#3525636, splitIndicator#3525638L, previousOrderProposal#3525639L, worklistShardItemId#3525642L, orderProposalItemGroupId#3525643, externalProductId#3525644, externalPlantId#3525645, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, minimumOrderQuantity#3525649, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,146" tooltip="Filter isnotnull(worklistShardItemId#3525642L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,146<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>6.8 s (143 ms, 182 ms, 242 ms (stage 329017.0: task 925815))<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: 119,146<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3525619L,orderProposalItemId#3525620,supplierGroup#3525621,supplier#3525622,plant#3525623,deliveryDateTime#3525624,subrange#3525625,supplyingPlant#3525626,productGroup#3525627,product#3525628,orderDateTime#3525629,availabilityDateTime#3525630,nextAvailabilityDateTime#3525631,sourceOfSupplyUuid#3525633,isFallbackOrderOnly#3525636,splitIndicator#3525638L,previousOrderProposal#3525639L,worklistShardItemId#3525642L,orderProposalItemGroupId#3525643,externalProductId#3525644,externalPlantId#3525645,logisticUnits#3525646,orderQuantityBaseUom#3525647,orderQuantityBaseUomUuid#3525648,minimumOrderQuantity#3525649,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3525642L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3525663), isnotnull(sequenceId#3525641), (shardId#3525663 = 0_6_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: total (min, med, max (stageId: taskId))\n10.2 s (176 ms, 250 ms, 980 ms (stage 329023.0: task 926458))";
tooltip="WholeStageCodegen (8)";
68 [id="node68" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>296 ms (7 ms, 8 ms, 35 ms (stage 329023.0: task 926769))<br>peak memory total (min, med, max (stageId: taskId))<br>367.5 MiB (12.3 MiB, 12.3 MiB, 12.3 MiB (stage 329023.0: task 926454))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329023.0: task 926454))" tooltip="Sort [shardId#3541196 ASC NULLS FIRST, worklistShardItemId#3541197L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 318,361<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 318,361<br>local bytes read total (min, med, max (stageId: taskId))<br>4.5 MiB (36.4 KiB, 229.4 KiB, 238.3 KiB (stage 329023.0: task 926758))<br>merged fetch fallback count: 0<br>local blocks read: 360<br>remote merged chunks fetched: 0<br>remote blocks read: 540<br>data size total (min, med, max (stageId: taskId))<br>325.5 MiB (10.7 MiB, 10.8 MiB, 11.1 MiB (stage 329019.0: task 926105))<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>76 ms (2 ms, 2 ms, 12 ms (stage 329019.0: task 925954))<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 329023.0: task 926454))<br>remote bytes read total (min, med, max (stageId: taskId))<br>6.8 MiB (148.1 KiB, 157.0 KiB, 353.2 KiB (stage 329023.0: task 926769))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>292 ms (4 ms, 8 ms, 36 ms (stage 329023.0: task 926781))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>11.3 MiB (380.7 KiB, 384.9 KiB, 393.6 KiB (stage 329019.0: task 926105))" tooltip="Exchange hashpartitioning(shardId#3541196, worklistShardItemId#3541197L, 30), ENSURE_REQUIREMENTS, [plan_id=1014894]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n12.5 s (369 ms, 406 ms, 573 ms (stage 329019.0: task 925713))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3541196, worklistShardItemId#3541197L, coalesce(kpis#3541201, []) AS prodLocSpecificKpis#3541216]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 318,361" tooltip="Filter (((isnull(qty#3541198) AND isnull(demandChannel#3541199)) AND isnull(demandStream#3541200)) AND (isnotnull(shardId#3541196) AND isnotnull(worklistShardItemId#3541197L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,273,444" tooltip="Scan ExistingRDD[shardId#3541196,worklistShardItemId#3541197L,qty#3541198,demandChannel#3541199,demandStream#3541200,kpis#3541201]"];
}
subgraph cluster74 {
isCluster="true";
id="cluster74";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n8.7 s (158 ms, 231 ms, 689 ms (stage 329023.0: task 926458))";
tooltip="WholeStageCodegen (11)";
75 [id="node75" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 1 ms (stage 329023.0: task 926454))<br>peak memory total (min, med, max (stageId: taskId))<br>187.5 MiB (6.3 MiB, 6.3 MiB, 6.3 MiB (stage 329023.0: task 926454))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329023.0: task 926454))" tooltip="Sort [shardId#3541241 ASC NULLS FIRST, worklistShardItemId#3541242L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 318,361<br>time in aggregation build total (min, med, max (stageId: taskId))<br>799 ms (13 ms, 17 ms, 95 ms (stage 329023.0: task 926478))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329023.0: task 926454))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3541241, worklistShardItemId#3541242L], functions=[collect_list(struct(demandChannel, demandChannel#3541244, demandStream, demandStream#3541245, kpis, kpis#3541246), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 318,361<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 318,361<br>local bytes read total (min, med, max (stageId: taskId))<br>921.3 KiB (24.9 KiB, 26.6 KiB, 38.9 KiB (stage 329023.0: task 926632))<br>merged fetch fallback count: 0<br>local blocks read: 216<br>remote merged chunks fetched: 0<br>remote blocks read: 684<br>data size total (min, med, max (stageId: taskId))<br>126.3 MiB (4.1 MiB, 4.2 MiB, 4.3 MiB (stage 329022.0: task 926258))<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>90 ms (1 ms, 1 ms, 30 ms (stage 329022.0: task 926293))<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>67 ms (0 ms, 0 ms, 26 ms (stage 329023.0: task 926781))<br>remote bytes read total (min, med, max (stageId: taskId))<br>2.9 MiB (88.6 KiB, 102.1 KiB, 104.1 KiB (stage 329023.0: task 926758))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>327 ms (5 ms, 8 ms, 37 ms (stage 329023.0: task 926781))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>3.8 MiB (126.7 KiB, 128.2 KiB, 130.0 KiB (stage 329022.0: task 926258))" tooltip="Exchange hashpartitioning(shardId#3541241, worklistShardItemId#3541242L, 30), ENSURE_REQUIREMENTS, [plan_id=1014905]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 318,361<br>time in aggregation build total (min, med, max (stageId: taskId))<br>14.0 s (370 ms, 408 ms, 1.3 s (stage 329022.0: task 925715))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329022.0: task 925701))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3541241, worklistShardItemId#3541242L], functions=[partial_collect_list(struct(demandChannel, demandChannel#3541244, demandStream, demandStream#3541245, kpis, kpis#3541246), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n13.7 s (363 ms, 400 ms, 1.3 s (stage 329022.0: task 925715))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3541241, worklistShardItemId#3541242L, demandChannel#3541244, demandStream#3541245, kpis#3541246]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 318,361" tooltip="Filter ((((isnull(qty#3541243) AND isnotnull(demandChannel#3541244)) AND isnotnull(demandStream#3541245)) AND (size(kpis#3541246, true) > 0)) AND (isnotnull(shardId#3541241) AND isnotnull(worklistShardItemId#3541242L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,273,444" tooltip="Scan ExistingRDD[shardId#3541241,worklistShardItemId#3541242L,qty#3541243,demandChannel#3541244,demandStream#3541245,kpis#3541246]"];
}
subgraph cluster83 {
isCluster="true";
id="cluster83";
label="WholeStageCodegen (14)\n \nduration: total (min, med, max (stageId: taskId))\n6.9 s (130 ms, 199 ms, 408 ms (stage 329023.0: task 926453))";
tooltip="WholeStageCodegen (14)";
84 [id="node84" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 1 ms (stage 329023.0: task 926457))<br>peak memory total (min, med, max (stageId: taskId))<br>385.5 MiB (12.3 MiB, 12.3 MiB, 14.3 MiB (stage 329023.0: task 926455))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329023.0: task 926454))" tooltip="Sort [shardId#3541254 ASC NULLS FIRST, worklistShardItemId#3541255L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 318,361<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.1 s (25 ms, 28 ms, 101 ms (stage 329023.0: task 926478))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329023.0: task 926454))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3541254, worklistShardItemId#3541255L], functions=[collect_list(struct(qty, qty#3541256, kpis, kpis#3541259), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 625,989<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 625,989<br>local bytes read total (min, med, max (stageId: taskId))<br>2.2 MiB (68.1 KiB, 70.7 KiB, 85.5 KiB (stage 329023.0: task 926769))<br>merged fetch fallback count: 0<br>local blocks read: 162<br>remote merged chunks fetched: 0<br>remote blocks read: 738<br>data size total (min, med, max (stageId: taskId))<br>387.8 MiB (12.8 MiB, 12.9 MiB, 13.1 MiB (stage 329020.0: task 926006))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>68 ms (1 ms, 2 ms, 3 ms (stage 329020.0: task 926061))<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 329023.0: task 926454))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.1 MiB (331.1 KiB, 346.4 KiB, 359.0 KiB (stage 329023.0: task 926758))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>228 ms (4 ms, 8 ms, 10 ms (stage 329023.0: task 926454))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>12.3 MiB (413.3 KiB, 419.7 KiB, 423.5 KiB (stage 329020.0: task 926006))" tooltip="Exchange hashpartitioning(shardId#3541254, worklistShardItemId#3541255L, 30), ENSURE_REQUIREMENTS, [plan_id=1014917]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 625,989<br>time in aggregation build total (min, med, max (stageId: taskId))<br>14.9 s (382 ms, 441 ms, 1.2 s (stage 329020.0: task 925700))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329020.0: task 925714))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#3541254, worklistShardItemId#3541255L], functions=[partial_collect_list(struct(qty, qty#3541256, kpis, kpis#3541259), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n14.2 s (364 ms, 421 ms, 1.1 s (stage 329020.0: task 925700))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3541254, worklistShardItemId#3541255L, qty#3541256, kpis#3541259]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 636,722" tooltip="Filter ((isnotnull(qty#3541256) AND isnotnull(kpis#3541259)) AND (isnotnull(shardId#3541254) AND isnotnull(worklistShardItemId#3541255L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,273,444" tooltip="Scan ExistingRDD[shardId#3541254,worklistShardItemId#3541255L,qty#3541256,demandChannel#3541257,demandStream#3541258,kpis#3541259]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n5.6 s (25 ms, 38 ms, 778 ms (stage 329030.0: task 926870))";
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 329030.0: task 926865))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 329030.0: task 926865))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329030.0: task 926865))" tooltip="Sort [coalesce(shardId#3542704, ) ASC NULLS FIRST, isnull(shardId#3542704) ASC NULLS FIRST, coalesce(orderProposalId#3542705L, 0) ASC NULLS FIRST, isnull(orderProposalId#3542705L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,349<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,349<br>local bytes read total (min, med, max (stageId: taskId))<br>72.2 KiB (2.5 KiB, 2.9 KiB, 3.1 KiB (stage 329030.0: task 926875))<br>merged fetch fallback count: 0<br>local blocks read: 538<br>remote merged chunks fetched: 0<br>remote blocks read: 297<br>data size total (min, med, max (stageId: taskId))<br>128.5 KiB (3.2 KiB, 4.4 KiB, 5.0 KiB (stage 329028.0: task 926256))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>49 ms (1 ms, 1 ms, 2 ms (stage 329028.0: task 926196))<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 329030.0: task 926865))<br>remote bytes read total (min, med, max (stageId: taskId))<br>40.0 KiB (601.0 B, 917.0 B, 3.9 KiB (stage 329030.0: task 926868))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>52 ms (0 ms, 1 ms, 9 ms (stage 329030.0: task 926868))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>112.2 KiB (3.0 KiB, 3.8 KiB, 4.0 KiB (stage 329028.0: task 926272))" tooltip="Exchange hashpartitioning(coalesce(shardId#3542704, ), isnull(shardId#3542704), coalesce(orderProposalId#3542705L, 0), isnull(orderProposalId#3542705L), 30), ENSURE_REQUIREMENTS, [plan_id=1015219]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3542705L, shardId#3542704, coalesce(transform(optimizationGroups#3542707, lambdafunction(struct(optGroupId, lambda x_11741#3542702.optGroupId, minOrderProfile, lambda x_11741#3542702.minOrderProfile, assignmentDetails, lambda x_11741#3542702.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11741#3542702.minOrderGoal.dimensionType, unit, lambda x_11741#3542702.minOrderGoal.unit, unitUuid, lambda x_11741#3542702.minOrderGoal.unitUuid, goalValue, lambda x_11741#3542702.minOrderGoal.minOrderValue, calcValue, lambda x_11741#3542702.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11741#3542702, false)), []) AS optimizationGroups#3542701]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n681 ms (9 ms, 13 ms, 120 ms (stage 329028.0: task 926196))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 2,349<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329028.0: task 926196))" tooltip="SortMergeJoin [orderProposalId#3542705L], [orderProposalId#3542760L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (9 ms, 14 ms, 336 ms (stage 329028.0: task 926197))";
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 329028.0: task 926196))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 329028.0: task 926196))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329028.0: task 926196))" tooltip="Sort [orderProposalId#3542705L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 2,349<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 2,349<br>local bytes read total (min, med, max (stageId: taskId))<br>46.2 KiB (811.0 B, 1359.0 B, 2.8 KiB (stage 329028.0: task 926288))<br>merged fetch fallback count: 0<br>local blocks read: 343<br>remote merged chunks fetched: 0<br>remote blocks read: 497<br>data size total (min, med, max (stageId: taskId))<br>128.5 KiB (4.0 KiB, 4.3 KiB, 4.4 KiB (stage 329027.0: task 925719))<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>43 ms (1 ms, 1 ms, 1 ms (stage 329027.0: task 925717))<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>14 ms (0 ms, 0 ms, 14 ms (stage 329028.0: task 926279))<br>remote bytes read total (min, med, max (stageId: taskId))<br>66.7 KiB (1059.0 B, 2.5 KiB, 2.8 KiB (stage 329028.0: task 926256))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>70 ms (1 ms, 1 ms, 18 ms (stage 329028.0: task 926279))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>112.9 KiB (3.6 KiB, 3.8 KiB, 4.0 KiB (stage 329027.0: task 925717))" tooltip="Exchange hashpartitioning(orderProposalId#3542705L, 30), ENSURE_REQUIREMENTS, [plan_id=1015185]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n167 ms (3 ms, 3 ms, 50 ms (stage 329027.0: task 925702))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,349" tooltip="Filter isnotnull(orderProposalId#3542705L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,349" tooltip="InMemoryTableScan [shardId#3542704, orderProposalId#3542705L, optimizationGroups#3542707], [isnotnull(orderProposalId#3542705L)]"];
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#3524906) AND (shardId#3524906 = 0_6_10000000532))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, optimizationInsights#3524912], [isnotnull(shardId#3524906), (shardId#3524906 = 0_6_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#3524906) AND (shardId#3524906 = 0_6_10000000532))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3524906,orderProposalId#3524907L,items#3524908,optimizationGroups#3524909,isOptimal#3524910,lastModified#3524911,optimizationInsights#3524912]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n809 ms (9 ms, 13 ms, 205 ms (stage 329028.0: task 926197))";
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 329028.0: task 926196))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 329028.0: task 926196))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 329028.0: task 926196))" tooltip="Sort [orderProposalId#3542760L 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>103 ms (2 ms, 2 ms, 24 ms (stage 329028.0: task 926261))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 329028.0: task 926196))<br>number of output rows: 2,349<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3542760L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 57,698<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 57,698<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: 900<br>data size total (min, med, max (stageId: taskId))<br>901.5 KiB (29.3 KiB, 30.0 KiB, 30.8 KiB (stage 329026.0: task 926178))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>46 ms (1 ms, 1 ms, 2 ms (stage 329026.0: task 926119))<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 329028.0: task 926196))<br>remote bytes read total (min, med, max (stageId: taskId))<br>671.4 KiB (17.1 KiB, 22.9 KiB, 26.0 KiB (stage 329028.0: task 926256))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>116 ms (3 ms, 4 ms, 5 ms (stage 329028.0: task 926257))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>671.4 KiB (21.9 KiB, 22.4 KiB, 22.8 KiB (stage 329026.0: task 926178))" tooltip="Exchange hashpartitioning(orderProposalId#3542760L, 30), ENSURE_REQUIREMENTS, [plan_id=1015210]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n754 ms (8 ms, 10 ms, 278 ms (stage 329026.0: task 926056))";
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>174 ms (4 ms, 6 ms, 11 ms (stage 329026.0: task 926056))<br>peak memory total (min, med, max (stageId: taskId))<br>35.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 329026.0: task 926113))<br>number of output rows: 57,698<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 329026.0: task 926113))" tooltip="HashAggregate(keys=[orderProposalId#3542760L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3542760L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 119,146" tooltip="BroadcastHashJoin [worklistShardItemId#3542712L], [worklistShardItemId#3542783L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3542783L, orderProposalId#3542760L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 9 ms<br>time to build: 24 ms<br>time to collect: 409 ms<br>number of output rows: 119,146<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1015196]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n118 ms (1 ms, 5 ms, 8 ms (stage 329010.0: task 925614))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3542711L AS worklistShardItemId#3542712L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 119,146" tooltip="Generate explode(_extract_worklistShardItemId#3543352), false, [item#3542711L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3542323.worklistShardItemId AS _extract_worklistShardItemId#3543352]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,349" tooltip="Filter (((size(items#3542323.worklistShardItemId, true) > 0) AND isnotnull(items#3542323.worklistShardItemId)) AND (shardId#3542321 = 0_6_10000000532))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,349" tooltip="InMemoryTableScan [items#3542323, shardId#3542321], [(size(items#3542323.worklistShardItemId, true) > 0), isnotnull(items#3542323.worklistShardItemId), (shardId#3542321 = 0_6_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#3524906) AND (shardId#3524906 = 0_6_10000000532))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, optimizationInsights#3524912], [isnotnull(shardId#3524906), (shardId#3524906 = 0_6_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#3524906) AND (shardId#3524906 = 0_6_10000000532))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3524906,orderProposalId#3524907L,items#3524908,optimizationGroups#3524909,isOptimal#3524910,lastModified#3524911,optimizationInsights#3524912]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,146<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,146<br>local bytes read total (min, med, max (stageId: taskId))<br>1518.1 KiB (49.5 KiB, 50.7 KiB, 51.8 KiB (stage 329026.0: task 926165))<br>merged fetch fallback count: 0<br>local blocks read: 960<br>remote merged chunks fetched: 0<br>remote blocks read: 150<br>data size total (min, med, max (stageId: taskId))<br>2.7 MiB (72.0 KiB, 75.4 KiB, 78.6 KiB (stage 329025.0: task 925696))<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>60 ms (1 ms, 1 ms, 2 ms (stage 329025.0: task 925881))<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 329026.0: task 926090))<br>remote bytes read total (min, med, max (stageId: taskId))<br>236.7 KiB (7.2 KiB, 7.9 KiB, 8.6 KiB (stage 329026.0: task 926158))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>184 ms (5 ms, 6 ms, 10 ms (stage 329026.0: task 926160))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1754.8 KiB (45.4 KiB, 47.4 KiB, 49.3 KiB (stage 329025.0: task 925696))" tooltip="Exchange hashpartitioning(worklistShardItemId#3542783L, 30), REPARTITION_BY_NUM, [plan_id=1015203]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n7.3 s (144 ms, 193 ms, 312 ms (stage 329025.0: task 925716))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3542760L, worklistShardItemId#3542783L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 119,146" tooltip="Filter ((isnotnull(worklistShardItemId#3542783L) AND NOT (isFallbackOrderOnly#3542777 <=> true)) AND isnotnull(orderProposalId#3542760L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 119,146<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>7.0 s (141 ms, 188 ms, 291 ms (stage 329025.0: task 926009))<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: 119,146<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3542760L,isFallbackOrderOnly#3542777,worklistShardItemId#3542783L,shardId#3542804,sequenceId#3542782] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3542783L), NOT (isFallbackOrderOnly#3542777 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3542804), isnotnull(sequenceId#3542782), (shardId#3542804 = 0_6_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#3542808]
Arguments: [orderProposal#3542808], [(size(orderProposal#3542808.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#3524906, orderProposal#3542808], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#3525596, channelStreamSpecificKpis#3541247, constraintLabels#3525608, constraintOperators#3525609, constraintValues#3525611, deliveryDateTime#3525595, isFallbackOrderOnly#3525598, logisticUnits#3525613, measurements#3525606, minimumOrderQuantity#3525607, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, nextAvailabilityDateTime#3525597, optimizationGroups#3525614, orderDateTime#3525594, orderProposalId#3525576L, orderProposalItemGroupId#3525578, orderProposalItemId#3525577, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, originalReplenishmentRunId#3525579L, plant#3525590, previousOrderProposal#3525582L, prodLocSpecificKpis#3541225, product#3525589, productGroup#3525618, qty#3525420, quantityAfterProdPlantOptimization#3525419, quantityKpis#3541260, shardId#3524906, sourceOfSupplyUuid#3525585, splitIndicator#3525581L, subrange#3525588, supplier#3525587, supplierGroup#3525586, supplyingPlant#3525617]
Arguments: [availabilityDateTime#3525596, channelStreamSpecificKpis#3541247, constraintLabels#3525608, constraintOperators#3525609, constraintValues#3525611, deliveryDateTime#3525595, isFallbackOrderOnly#3525598, logisticUnits#3525613, measurements#3525606, minimumOrderQuantity#3525607, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, nextAvailabilityDateTime#3525597, optimizationGroups#3525614, orderDateTime#3525594, orderProposalId#3525576L, orderProposalItemGroupId#3525578, orderProposalItemId#3525577, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, originalReplenishmentRunId#3525579L, plant#3525590, ... 14 more fields], [NOT (isFallbackOrderOnly#3525598 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, productGroup#3525618, product#3525589, plant#3525590, subrange#3525588, orderDateTime#3525594, deliveryDateTime#3525595, availabilityDateTime#3525596, nextAvailabilityDateTime#3525597, constraintValues#3525611, constraintOperators#3525609, constraintLabels#3525608, logisticUnits#3525613, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, splitIndicator#3525581L, netPriceAmount#3525604, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#3524906, items#3524908]
Arguments: [shardId#3524906, items#3524908], [(size(items#3524908, true) > 0), isnotnull(items#3524908)]
(6) InMemoryRelation
Arguments: [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, optimizationInsights#3524912], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, optimizationInsights#3524912]
Arguments: [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, optimizationInsights#3524912], [isnotnull(shardId#3524906), (shardId#3524906 = 0_6_10000000532)]
(8) InMemoryRelation
Arguments: [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, lastModified#3524911, optimizationInsights#3524912], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, lastModified#3524911, optimizationInsights#3524912]
Arguments: [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, lastModified#3524911, optimizationInsights#3524912], MapPartitionsRDD[149795] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, lastModified#3524911, optimizationInsights#3524912]
Condition : (isnotnull(shardId#3524906) AND (shardId#3524906 = 0_6_10000000532))
(11) Filter [codegen id : 1]
Input [6]: [shardId#3524906, orderProposalId#3524907L, items#3524908, optimizationGroups#3524909, isOptimal#3524910, optimizationInsights#3524912]
Condition : (isnotnull(shardId#3524906) AND (shardId#3524906 = 0_6_10000000532))
(12) Filter [codegen id : 1]
Input [2]: [shardId#3524906, items#3524908]
Condition : ((size(items#3524908, true) > 0) AND isnotnull(items#3524908))
(13) Generate [codegen id : 1]
Input [2]: [shardId#3524906, items#3524908]
Arguments: explode(items#3524908), [shardId#3524906], false, [item#3525417]
(14) Project [codegen id : 1]
Output [4]: [shardId#3524906, item#3525417.worklistShardItemId AS worklistShardItemId#3525418L, item#3525417.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#3525419, item#3525417.qty AS qty#3525420]
Input [2]: [shardId#3524906, item#3525417]
(15) Exchange
Input [4]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420]
Arguments: hashpartitioning(worklistShardItemId#3525418L, 30), ENSURE_REQUIREMENTS, [plan_id=1014869]
(16) Sort [codegen id : 2]
Input [4]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420]
Arguments: [worklistShardItemId#3525418L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#3525619L, orderProposalItemId#3525620, supplierGroup#3525621, supplier#3525622, plant#3525623, deliveryDateTime#3525624, subrange#3525625, supplyingPlant#3525626, productGroup#3525627, product#3525628, orderDateTime#3525629, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, sourceOfSupplyUuid#3525633, isFallbackOrderOnly#3525636, splitIndicator#3525638L, previousOrderProposal#3525639L, worklistShardItemId#3525642L, orderProposalItemGroupId#3525643, externalProductId#3525644, externalPlantId#3525645, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, minimumOrderQuantity#3525649, constraintLabels#3525650, constraintOperators#3525651, constraintValues#3525652, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, measurements#3525660, originalReplenishmentRunId#3525661L, optimizationGroups#3525662, shardId#3525663, sequenceId#3525641]
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#3525663), isnotnull(sequenceId#3525641), (shardId#3525663 = 0_6_10000000532), (sequenceId#3525641 = 6)]
PushedFilters: [IsNotNull(worklistShardItemId)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,sourceOfSupplyUuid:string,isFallbackOrderOnly:boolean,splitIndicator:bigint,previousOrderProposal:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(18) ColumnarToRow [codegen id : 3]
Input [38]: [orderProposalId#3525619L, orderProposalItemId#3525620, supplierGroup#3525621, supplier#3525622, plant#3525623, deliveryDateTime#3525624, subrange#3525625, supplyingPlant#3525626, productGroup#3525627, product#3525628, orderDateTime#3525629, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, sourceOfSupplyUuid#3525633, isFallbackOrderOnly#3525636, splitIndicator#3525638L, previousOrderProposal#3525639L, worklistShardItemId#3525642L, orderProposalItemGroupId#3525643, externalProductId#3525644, externalPlantId#3525645, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, minimumOrderQuantity#3525649, constraintLabels#3525650, constraintOperators#3525651, constraintValues#3525652, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, measurements#3525660, originalReplenishmentRunId#3525661L, optimizationGroups#3525662, shardId#3525663, sequenceId#3525641]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#3525619L, orderProposalItemId#3525620, supplierGroup#3525621, supplier#3525622, plant#3525623, deliveryDateTime#3525624, subrange#3525625, supplyingPlant#3525626, productGroup#3525627, product#3525628, orderDateTime#3525629, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, sourceOfSupplyUuid#3525633, isFallbackOrderOnly#3525636, splitIndicator#3525638L, previousOrderProposal#3525639L, worklistShardItemId#3525642L, orderProposalItemGroupId#3525643, externalProductId#3525644, externalPlantId#3525645, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, minimumOrderQuantity#3525649, constraintLabels#3525650, constraintOperators#3525651, constraintValues#3525652, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, measurements#3525660, originalReplenishmentRunId#3525661L, optimizationGroups#3525662, shardId#3525663, sequenceId#3525641]
Condition : isnotnull(worklistShardItemId#3525642L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#3525619L, orderProposalItemId#3525620, supplierGroup#3525621, supplier#3525622, plant#3525623, deliveryDateTime#3525624, subrange#3525625, supplyingPlant#3525626, productGroup#3525627, product#3525628, orderDateTime#3525629, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, sourceOfSupplyUuid#3525633, isFallbackOrderOnly#3525636, splitIndicator#3525638L, previousOrderProposal#3525639L, worklistShardItemId#3525642L, orderProposalItemGroupId#3525643, externalProductId#3525644, externalPlantId#3525645, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, minimumOrderQuantity#3525649, constraintLabels#3525650, constraintOperators#3525651, constraintValues#3525652, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, measurements#3525660, originalReplenishmentRunId#3525661L, optimizationGroups#3525662]
Input [38]: [orderProposalId#3525619L, orderProposalItemId#3525620, supplierGroup#3525621, supplier#3525622, plant#3525623, deliveryDateTime#3525624, subrange#3525625, supplyingPlant#3525626, productGroup#3525627, product#3525628, orderDateTime#3525629, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, sourceOfSupplyUuid#3525633, isFallbackOrderOnly#3525636, splitIndicator#3525638L, previousOrderProposal#3525639L, worklistShardItemId#3525642L, orderProposalItemGroupId#3525643, externalProductId#3525644, externalPlantId#3525645, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, minimumOrderQuantity#3525649, constraintLabels#3525650, constraintOperators#3525651, constraintValues#3525652, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, measurements#3525660, originalReplenishmentRunId#3525661L, optimizationGroups#3525662, shardId#3525663, sequenceId#3525641]
(21) Exchange
Input [36]: [orderProposalId#3525619L, orderProposalItemId#3525620, supplierGroup#3525621, supplier#3525622, plant#3525623, deliveryDateTime#3525624, subrange#3525625, supplyingPlant#3525626, productGroup#3525627, product#3525628, orderDateTime#3525629, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, sourceOfSupplyUuid#3525633, isFallbackOrderOnly#3525636, splitIndicator#3525638L, previousOrderProposal#3525639L, worklistShardItemId#3525642L, orderProposalItemGroupId#3525643, externalProductId#3525644, externalPlantId#3525645, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, minimumOrderQuantity#3525649, constraintLabels#3525650, constraintOperators#3525651, constraintValues#3525652, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, measurements#3525660, originalReplenishmentRunId#3525661L, optimizationGroups#3525662]
Arguments: hashpartitioning(worklistShardItemId#3525642L, 30), REPARTITION_BY_NUM, [plan_id=1014879]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#3525642L, orderProposalId#3525619L, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, originalReplenishmentRunId#3525661L, splitIndicator#3525638L, previousOrderProposal#3525639L, sourceOfSupplyUuid#3525633, supplierGroup#3525621, supplier#3525622, subrange#3525625, product#3525628, plant#3525623, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, isFallbackOrderOnly#3525636, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, netPriceAmount#3525655, netPriceCurrencyCode#3525656, measurements#3525660, minimumOrderQuantity#3525649, constraintLabels#3525650, constraintOperators#3525651, constraintValues#3525652, logisticUnits#3525646, optimizationGroups#3525662, externalProductId#3525644, externalPlantId#3525645, supplyingPlant#3525626, productGroup#3525627]
Input [36]: [orderProposalId#3525619L, orderProposalItemId#3525620, supplierGroup#3525621, supplier#3525622, plant#3525623, deliveryDateTime#3525624, subrange#3525625, supplyingPlant#3525626, productGroup#3525627, product#3525628, orderDateTime#3525629, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, sourceOfSupplyUuid#3525633, isFallbackOrderOnly#3525636, splitIndicator#3525638L, previousOrderProposal#3525639L, worklistShardItemId#3525642L, orderProposalItemGroupId#3525643, externalProductId#3525644, externalPlantId#3525645, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, minimumOrderQuantity#3525649, constraintLabels#3525650, constraintOperators#3525651, constraintValues#3525652, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, measurements#3525660, originalReplenishmentRunId#3525661L, optimizationGroups#3525662]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#3525642L, orderProposalId#3525619L, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, originalReplenishmentRunId#3525661L, splitIndicator#3525638L, previousOrderProposal#3525639L, sourceOfSupplyUuid#3525633, supplierGroup#3525621, supplier#3525622, subrange#3525625, product#3525628, plant#3525623, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, isFallbackOrderOnly#3525636, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, netPriceAmount#3525655, netPriceCurrencyCode#3525656, measurements#3525660, minimumOrderQuantity#3525649, constraintLabels#3525650, constraintOperators#3525651, constraintValues#3525652, logisticUnits#3525646, optimizationGroups#3525662, externalProductId#3525644, externalPlantId#3525645, supplyingPlant#3525626, productGroup#3525627]
Arguments: [worklistShardItemId#3525642L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#3525418L]
Right keys [1]: [worklistShardItemId#3525642L]
Join type: LeftOuter
Join condition: (shardId#3524906 = 0_6_10000000532)
(25) Project [codegen id : 5]
Output [39]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, sourceOfSupplyUuid#3525633, minimumOrderQuantity#3525649, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, optimizationGroups#3525662, measurements#3525660, externalProductId#3525644, externalPlantId#3525645, previousOrderProposal#3525639L, isFallbackOrderOnly#3525636]
Input [40]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, worklistShardItemId#3525642L, orderProposalId#3525619L, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, originalReplenishmentRunId#3525661L, splitIndicator#3525638L, previousOrderProposal#3525639L, sourceOfSupplyUuid#3525633, supplierGroup#3525621, supplier#3525622, subrange#3525625, product#3525628, plant#3525623, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, isFallbackOrderOnly#3525636, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, netPriceAmount#3525655, netPriceCurrencyCode#3525656, measurements#3525660, minimumOrderQuantity#3525649, constraintLabels#3525650, constraintOperators#3525651, constraintValues#3525652, logisticUnits#3525646, optimizationGroups#3525662, externalProductId#3525644, externalPlantId#3525645, supplyingPlant#3525626, productGroup#3525627]
(26) Exchange
Input [39]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, sourceOfSupplyUuid#3525633, minimumOrderQuantity#3525649, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, optimizationGroups#3525662, measurements#3525660, externalProductId#3525644, externalPlantId#3525645, previousOrderProposal#3525639L, isFallbackOrderOnly#3525636]
Arguments: hashpartitioning(shardId#3524906, worklistShardItemId#3525418L, 30), ENSURE_REQUIREMENTS, [plan_id=1014888]
(27) Sort [codegen id : 6]
Input [39]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, sourceOfSupplyUuid#3525633, minimumOrderQuantity#3525649, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, optimizationGroups#3525662, measurements#3525660, externalProductId#3525644, externalPlantId#3525645, previousOrderProposal#3525639L, isFallbackOrderOnly#3525636]
Arguments: [shardId#3524906 ASC NULLS FIRST, worklistShardItemId#3525418L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#3541196, worklistShardItemId#3541197L, qty#3541198, demandChannel#3541199, demandStream#3541200, kpis#3541201]
Arguments: [shardId#3541196, worklistShardItemId#3541197L, qty#3541198, demandChannel#3541199, demandStream#3541200, kpis#3541201], MapPartitionsRDD[150472] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#3541196, worklistShardItemId#3541197L, qty#3541198, demandChannel#3541199, demandStream#3541200, kpis#3541201]
Condition : (((isnull(qty#3541198) AND isnull(demandChannel#3541199)) AND isnull(demandStream#3541200)) AND (isnotnull(shardId#3541196) AND isnotnull(worklistShardItemId#3541197L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#3541196, worklistShardItemId#3541197L, coalesce(kpis#3541201, []) AS prodLocSpecificKpis#3541216]
Input [6]: [shardId#3541196, worklistShardItemId#3541197L, qty#3541198, demandChannel#3541199, demandStream#3541200, kpis#3541201]
(31) Exchange
Input [3]: [shardId#3541196, worklistShardItemId#3541197L, prodLocSpecificKpis#3541216]
Arguments: hashpartitioning(shardId#3541196, worklistShardItemId#3541197L, 30), ENSURE_REQUIREMENTS, [plan_id=1014894]
(32) Sort [codegen id : 8]
Input [3]: [shardId#3541196, worklistShardItemId#3541197L, prodLocSpecificKpis#3541216]
Arguments: [shardId#3541196 ASC NULLS FIRST, worklistShardItemId#3541197L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#3524906, worklistShardItemId#3525418L]
Right keys [2]: [shardId#3541196, worklistShardItemId#3541197L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, sourceOfSupplyUuid#3525633, minimumOrderQuantity#3525649, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, optimizationGroups#3525662, measurements#3525660, externalProductId#3525644, externalPlantId#3525645, previousOrderProposal#3525639L, isFallbackOrderOnly#3525636, coalesce(prodLocSpecificKpis#3541216, []) AS prodLocSpecificKpis#3541225]
Input [42]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, sourceOfSupplyUuid#3525633, minimumOrderQuantity#3525649, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, optimizationGroups#3525662, measurements#3525660, externalProductId#3525644, externalPlantId#3525645, previousOrderProposal#3525639L, isFallbackOrderOnly#3525636, shardId#3541196, worklistShardItemId#3541197L, prodLocSpecificKpis#3541216]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#3541241, worklistShardItemId#3541242L, qty#3541243, demandChannel#3541244, demandStream#3541245, kpis#3541246]
Arguments: [shardId#3541241, worklistShardItemId#3541242L, qty#3541243, demandChannel#3541244, demandStream#3541245, kpis#3541246], MapPartitionsRDD[150472] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#3541241, worklistShardItemId#3541242L, qty#3541243, demandChannel#3541244, demandStream#3541245, kpis#3541246]
Condition : ((((isnull(qty#3541243) AND isnotnull(demandChannel#3541244)) AND isnotnull(demandStream#3541245)) AND (size(kpis#3541246, true) > 0)) AND (isnotnull(shardId#3541241) AND isnotnull(worklistShardItemId#3541242L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#3541241, worklistShardItemId#3541242L, demandChannel#3541244, demandStream#3541245, kpis#3541246]
Input [6]: [shardId#3541241, worklistShardItemId#3541242L, qty#3541243, demandChannel#3541244, demandStream#3541245, kpis#3541246]
(38) ObjectHashAggregate
Input [5]: [shardId#3541241, worklistShardItemId#3541242L, demandChannel#3541244, demandStream#3541245, kpis#3541246]
Keys [2]: [shardId#3541241, worklistShardItemId#3541242L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#3541244, demandStream, demandStream#3541245, kpis, kpis#3541246), 0, 0)]
Aggregate Attributes [1]: [buf#3542075]
Results [3]: [shardId#3541241, worklistShardItemId#3541242L, buf#3542076]
(39) Exchange
Input [3]: [shardId#3541241, worklistShardItemId#3541242L, buf#3542076]
Arguments: hashpartitioning(shardId#3541241, worklistShardItemId#3541242L, 30), ENSURE_REQUIREMENTS, [plan_id=1014905]
(40) ObjectHashAggregate
Input [3]: [shardId#3541241, worklistShardItemId#3541242L, buf#3542076]
Keys [2]: [shardId#3541241, worklistShardItemId#3541242L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#3541244, demandStream, demandStream#3541245, kpis, kpis#3541246), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#3541244, demandStream, demandStream#3541245, kpis, kpis#3541246), 0, 0)#3541240]
Results [3]: [shardId#3541241, worklistShardItemId#3541242L, collect_list(struct(demandChannel, demandChannel#3541244, demandStream, demandStream#3541245, kpis, kpis#3541246), 0, 0)#3541240 AS channelStreamSpecificKpis#3541233]
(41) Sort [codegen id : 11]
Input [3]: [shardId#3541241, worklistShardItemId#3541242L, channelStreamSpecificKpis#3541233]
Arguments: [shardId#3541241 ASC NULLS FIRST, worklistShardItemId#3541242L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#3524906, worklistShardItemId#3525418L]
Right keys [2]: [shardId#3541241, worklistShardItemId#3541242L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, sourceOfSupplyUuid#3525633, minimumOrderQuantity#3525649, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, optimizationGroups#3525662, measurements#3525660, externalProductId#3525644, externalPlantId#3525645, previousOrderProposal#3525639L, isFallbackOrderOnly#3525636, prodLocSpecificKpis#3541225, coalesce(channelStreamSpecificKpis#3541233, []) AS channelStreamSpecificKpis#3541247]
Input [43]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, sourceOfSupplyUuid#3525633, minimumOrderQuantity#3525649, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, optimizationGroups#3525662, measurements#3525660, externalProductId#3525644, externalPlantId#3525645, previousOrderProposal#3525639L, isFallbackOrderOnly#3525636, prodLocSpecificKpis#3541225, shardId#3541241, worklistShardItemId#3541242L, channelStreamSpecificKpis#3541233]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#3541254, worklistShardItemId#3541255L, qty#3541256, demandChannel#3541257, demandStream#3541258, kpis#3541259]
Arguments: [shardId#3541254, worklistShardItemId#3541255L, qty#3541256, demandChannel#3541257, demandStream#3541258, kpis#3541259], MapPartitionsRDD[150472] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#3541254, worklistShardItemId#3541255L, qty#3541256, demandChannel#3541257, demandStream#3541258, kpis#3541259]
Condition : ((isnotnull(qty#3541256) AND isnotnull(kpis#3541259)) AND (isnotnull(shardId#3541254) AND isnotnull(worklistShardItemId#3541255L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#3541254, worklistShardItemId#3541255L, qty#3541256, kpis#3541259]
Input [6]: [shardId#3541254, worklistShardItemId#3541255L, qty#3541256, demandChannel#3541257, demandStream#3541258, kpis#3541259]
(47) ObjectHashAggregate
Input [4]: [shardId#3541254, worklistShardItemId#3541255L, qty#3541256, kpis#3541259]
Keys [2]: [shardId#3541254, worklistShardItemId#3541255L]
Functions [1]: [partial_collect_list(struct(qty, qty#3541256, kpis, kpis#3541259), 0, 0)]
Aggregate Attributes [1]: [buf#3542077]
Results [3]: [shardId#3541254, worklistShardItemId#3541255L, buf#3542078]
(48) Exchange
Input [3]: [shardId#3541254, worklistShardItemId#3541255L, buf#3542078]
Arguments: hashpartitioning(shardId#3541254, worklistShardItemId#3541255L, 30), ENSURE_REQUIREMENTS, [plan_id=1014917]
(49) ObjectHashAggregate
Input [3]: [shardId#3541254, worklistShardItemId#3541255L, buf#3542078]
Keys [2]: [shardId#3541254, worklistShardItemId#3541255L]
Functions [1]: [collect_list(struct(qty, qty#3541256, kpis, kpis#3541259), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#3541256, kpis, kpis#3541259), 0, 0)#3541253]
Results [3]: [shardId#3541254, worklistShardItemId#3541255L, map_from_entries(collect_list(struct(qty, qty#3541256, kpis, kpis#3541259), 0, 0)#3541253) AS quantityKpis#3541248]
(50) Sort [codegen id : 14]
Input [3]: [shardId#3541254, worklistShardItemId#3541255L, quantityKpis#3541248]
Arguments: [shardId#3541254 ASC NULLS FIRST, worklistShardItemId#3541255L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#3524906, worklistShardItemId#3525418L]
Right keys [2]: [shardId#3541254, worklistShardItemId#3541255L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, sourceOfSupplyUuid#3525633, minimumOrderQuantity#3525649, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, optimizationGroups#3525662, measurements#3525660, externalProductId#3525644, externalPlantId#3525645, previousOrderProposal#3525639L, isFallbackOrderOnly#3525636, prodLocSpecificKpis#3541225, channelStreamSpecificKpis#3541247, coalesce(quantityKpis#3541248, map(keys: [], values: [])) AS quantityKpis#3541260]
Input [44]: [shardId#3524906, worklistShardItemId#3525418L, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525619L, originalReplenishmentRunId#3525661L, supplierGroup#3525621, supplier#3525622, supplyingPlant#3525626, productGroup#3525627, product#3525628, plant#3525623, subrange#3525625, orderDateTime#3525629, deliveryDateTime#3525624, availabilityDateTime#3525630, nextAvailabilityDateTime#3525631, constraintValues#3525652, constraintOperators#3525651, constraintLabels#3525650, logisticUnits#3525646, orderQuantityBaseUom#3525647, orderQuantityBaseUomUuid#3525648, splitIndicator#3525638L, netPriceAmount#3525655, netPriceCurrencyCode#3525656, netPriceQuantity#3525657, netPriceQuantityUom#3525658, netPriceQuantityUomUuid#3525659, sourceOfSupplyUuid#3525633, minimumOrderQuantity#3525649, orderProposalItemId#3525620, orderProposalItemGroupId#3525643, optimizationGroups#3525662, measurements#3525660, externalProductId#3525644, externalPlantId#3525645, previousOrderProposal#3525639L, isFallbackOrderOnly#3525636, prodLocSpecificKpis#3541225, channelStreamSpecificKpis#3541247, shardId#3541254, worklistShardItemId#3541255L, quantityKpis#3541248]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#3525596, channelStreamSpecificKpis#3541247, constraintLabels#3525608, constraintOperators#3525609, constraintValues#3525611, deliveryDateTime#3525595, isFallbackOrderOnly#3525598, logisticUnits#3525613, measurements#3525606, minimumOrderQuantity#3525607, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, nextAvailabilityDateTime#3525597, optimizationGroups#3525614, orderDateTime#3525594, orderProposalId#3525576L, orderProposalItemGroupId#3525578, orderProposalItemId#3525577, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, originalReplenishmentRunId#3525579L, plant#3525590, previousOrderProposal#3525582L, prodLocSpecificKpis#3541225, product#3525589, productGroup#3525618, qty#3525420, quantityAfterProdPlantOptimization#3525419, quantityKpis#3541260, shardId#3524906, sourceOfSupplyUuid#3525585, splitIndicator#3525581L, subrange#3525588, supplier#3525587, supplierGroup#3525586, supplyingPlant#3525617]
Condition : NOT (isFallbackOrderOnly#3525598 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#3524906, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, productGroup#3525618, product#3525589, plant#3525590, subrange#3525588, orderDateTime#3525594, deliveryDateTime#3525595, availabilityDateTime#3525596, nextAvailabilityDateTime#3525597, logisticUnits#3525613, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, splitIndicator#3525581L, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, sourceOfSupplyUuid#3525585, minimumOrderQuantity#3525607, orderProposalItemId#3525577, orderProposalItemGroupId#3525578, optimizationGroups#3525614, measurements#3525606, previousOrderProposal#3525582L, prodLocSpecificKpis#3541225, channelStreamSpecificKpis#3541247, quantityKpis#3541260, arrays_zip(constraintLabels#3525608, constraintOperators#3525609, constraintValues#3525611, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#3542328]
Input [39]: [availabilityDateTime#3525596, channelStreamSpecificKpis#3541247, constraintLabels#3525608, constraintOperators#3525609, constraintValues#3525611, deliveryDateTime#3525595, isFallbackOrderOnly#3525598, logisticUnits#3525613, measurements#3525606, minimumOrderQuantity#3525607, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, nextAvailabilityDateTime#3525597, optimizationGroups#3525614, orderDateTime#3525594, orderProposalId#3525576L, orderProposalItemGroupId#3525578, orderProposalItemId#3525577, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, originalReplenishmentRunId#3525579L, plant#3525590, previousOrderProposal#3525582L, prodLocSpecificKpis#3541225, product#3525589, productGroup#3525618, qty#3525420, quantityAfterProdPlantOptimization#3525419, quantityKpis#3541260, shardId#3524906, sourceOfSupplyUuid#3525585, splitIndicator#3525581L, subrange#3525588, supplier#3525587, supplierGroup#3525586, supplyingPlant#3525617]
(55) Project
Output [37]: [shardId#3524906, qty#3525420, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, productGroup#3525618, product#3525589, plant#3525590, subrange#3525588, orderDateTime#3525594, deliveryDateTime#3525595, availabilityDateTime#3525596, nextAvailabilityDateTime#3525597, logisticUnits#3525613, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, splitIndicator#3525581L, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, sourceOfSupplyUuid#3525585, orderProposalItemId#3525577, orderProposalItemGroupId#3525578, optimizationGroups#3525614, measurements#3525606, previousOrderProposal#3525582L, prodLocSpecificKpis#3541225, channelStreamSpecificKpis#3541247, quantityKpis#3541260, struct(minServiceLevel, array_min(filter(constraintStructArray#3542328, lambdafunction((lambda x_11687#3542335.constraintLabels = ServiceLevel), lambda x_11687#3542335, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#3542328, lambdafunction((lambda x_11688#3542336.constraintLabels = ServiceLevelMinimumStock), lambda x_11688#3542336, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#3542328, lambdafunction((lambda x_11689#3542337.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_11689#3542337, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#3542328, lambdafunction((lambda x_11690#3542338.constraintLabels = RangeOfCoverage), lambda x_11690#3542338, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#3525607, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#3541225, lambdafunction((lambda x_11691#3542339.label = NonListingStartTimestamp), lambda x_11691#3542339, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#3542334, CASE WHEN (qty#3525420 <=> quantityAfterProdPlantOptimization#3525419) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#3525420 * (cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11692#3542417.isOrderUnit, lambda x_11692#3542417, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11692#3542418.isOrderUnit, lambda x_11692#3542418, false)), 1, None, false).numerator as double))), qty#3525420), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11692#3542419.isOrderUnit, lambda x_11692#3542419, false)), 1, None, false).uom, orderQuantityBaseUom#3525599), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11692#3542420.isOrderUnit, lambda x_11692#3542420, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3525600), candidateOrderQuantityInBaseUnit, qty#3525420, orderQuantityBaseUom, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3525600, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3525613, lambdafunction((lambda x_11694#3542421.isPreferred AND (((qty#3525420 * cast(lambda x_11694#3542421.denominator as double)) % cast(lambda x_11694#3542421.numerator as double)) = 0.0)), lambda x_11694#3542421, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3525420 * cast(lambda x_11695#3542462.denominator as double)) / cast(lambda x_11695#3542462.numerator as double)), uom, lambda x_11695#3542462.uom, uomUuid, lambda x_11695#3542462.uomUuid), lambda x_11695#3542462, false))).inPreferredQuantity, coalesce((qty#3525420 * (cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11693#3542422.isOrderUnit, lambda x_11693#3542422, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11693#3542423.isOrderUnit, lambda x_11693#3542423, false)), 1, None, false).numerator as double))), qty#3525420)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3525613, lambdafunction((lambda x_11694#3542424.isPreferred AND (((qty#3525420 * cast(lambda x_11694#3542424.denominator as double)) % cast(lambda x_11694#3542424.numerator as double)) = 0.0)), lambda x_11694#3542424, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3525420 * cast(lambda x_11695#3542463.denominator as double)) / cast(lambda x_11695#3542463.numerator as double)), uom, lambda x_11695#3542463.uom, uomUuid, lambda x_11695#3542463.uomUuid), lambda x_11695#3542463, false))).uom, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11693#3542425.isOrderUnit, lambda x_11693#3542425, false)), 1, None, false).uom, orderQuantityBaseUom#3525599)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3525613, lambdafunction((lambda x_11694#3542426.isPreferred AND (((qty#3525420 * cast(lambda x_11694#3542426.denominator as double)) % cast(lambda x_11694#3542426.numerator as double)) = 0.0)), lambda x_11694#3542426, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3525420 * cast(lambda x_11695#3542464.denominator as double)) / cast(lambda x_11695#3542464.numerator as double)), uom, lambda x_11695#3542464.uom, uomUuid, lambda x_11695#3542464.uomUuid), lambda x_11695#3542464, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11693#3542427.isOrderUnit, lambda x_11693#3542427, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3525600)), serviceLevel, coalesce(filter(element_at(quantityKpis#3541260, qty#3525420, None, false), lambdafunction((lambda x_11700#3542428.label = ServiceLevel), lambda x_11700#3542428, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#3525420 * (cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11692#3542432.isOrderUnit, lambda x_11692#3542432, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11692#3542433.isOrderUnit, lambda x_11692#3542433, false)), 1, None, false).numerator as double))), qty#3525420), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11692#3542434.isOrderUnit, lambda x_11692#3542434, false)), 1, None, false).uom, orderQuantityBaseUom#3525599), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11692#3542435.isOrderUnit, lambda x_11692#3542435, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3525600), candidateOrderQuantityInBaseUnit, qty#3525420, orderQuantityBaseUom, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3525600, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3525613, lambdafunction((lambda x_11694#3542436.isPreferred AND (((qty#3525420 * cast(lambda x_11694#3542436.denominator as double)) % cast(lambda x_11694#3542436.numerator as double)) = 0.0)), lambda x_11694#3542436, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3525420 * cast(lambda x_11695#3542465.denominator as double)) / cast(lambda x_11695#3542465.numerator as double)), uom, lambda x_11695#3542465.uom, uomUuid, lambda x_11695#3542465.uomUuid), lambda x_11695#3542465, false))).inPreferredQuantity, coalesce((qty#3525420 * (cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11693#3542437.isOrderUnit, lambda x_11693#3542437, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11693#3542438.isOrderUnit, lambda x_11693#3542438, false)), 1, None, false).numerator as double))), qty#3525420)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3525613, lambdafunction((lambda x_11694#3542439.isPreferred AND (((qty#3525420 * cast(lambda x_11694#3542439.denominator as double)) % cast(lambda x_11694#3542439.numerator as double)) = 0.0)), lambda x_11694#3542439, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3525420 * cast(lambda x_11695#3542466.denominator as double)) / cast(lambda x_11695#3542466.numerator as double)), uom, lambda x_11695#3542466.uom, uomUuid, lambda x_11695#3542466.uomUuid), lambda x_11695#3542466, false))).uom, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11693#3542440.isOrderUnit, lambda x_11693#3542440, false)), 1, None, false).uom, orderQuantityBaseUom#3525599)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3525613, lambdafunction((lambda x_11694#3542441.isPreferred AND (((qty#3525420 * cast(lambda x_11694#3542441.denominator as double)) % cast(lambda x_11694#3542441.numerator as double)) = 0.0)), lambda x_11694#3542441, false)), lambdafunction(struct(inPreferredQuantity, ((qty#3525420 * cast(lambda x_11695#3542467.denominator as double)) / cast(lambda x_11695#3542467.numerator as double)), uom, lambda x_11695#3542467.uom, uomUuid, lambda x_11695#3542467.uomUuid), lambda x_11695#3542467, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11693#3542442.isOrderUnit, lambda x_11693#3542442, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3525600)), serviceLevel, coalesce(filter(element_at(quantityKpis#3541260, qty#3525420, None, false), lambdafunction((lambda x_11704#3542443.label = ServiceLevel), lambda x_11704#3542443, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#3525419 * (cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11696#3542447.isOrderUnit, lambda x_11696#3542447, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11696#3542448.isOrderUnit, lambda x_11696#3542448, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3525419), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11696#3542449.isOrderUnit, lambda x_11696#3542449, false)), 1, None, false).uom, orderQuantityBaseUom#3525599), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11696#3542450.isOrderUnit, lambda x_11696#3542450, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3525600), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#3525419, orderQuantityBaseUom, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#3525600, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#3525613, lambdafunction((lambda x_11698#3542451.isPreferred AND (((quantityAfterProdPlantOptimization#3525419 * cast(lambda x_11698#3542451.denominator as double)) % cast(lambda x_11698#3542451.numerator as double)) = 0.0)), lambda x_11698#3542451, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3525419 * cast(lambda x_11699#3542468.denominator as double)) / cast(lambda x_11699#3542468.numerator as double)), uom, lambda x_11699#3542468.uom, uomUuid, lambda x_11699#3542468.uomUuid), lambda x_11699#3542468, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#3525419 * (cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11697#3542452.isOrderUnit, lambda x_11697#3542452, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11697#3542453.isOrderUnit, lambda x_11697#3542453, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#3525419)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#3525613, lambdafunction((lambda x_11698#3542454.isPreferred AND (((quantityAfterProdPlantOptimization#3525419 * cast(lambda x_11698#3542454.denominator as double)) % cast(lambda x_11698#3542454.numerator as double)) = 0.0)), lambda x_11698#3542454, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3525419 * cast(lambda x_11699#3542469.denominator as double)) / cast(lambda x_11699#3542469.numerator as double)), uom, lambda x_11699#3542469.uom, uomUuid, lambda x_11699#3542469.uomUuid), lambda x_11699#3542469, false))).uom, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11697#3542455.isOrderUnit, lambda x_11697#3542455, false)), 1, None, false).uom, orderQuantityBaseUom#3525599)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#3525613, lambdafunction((lambda x_11698#3542456.isPreferred AND (((quantityAfterProdPlantOptimization#3525419 * cast(lambda x_11698#3542456.denominator as double)) % cast(lambda x_11698#3542456.numerator as double)) = 0.0)), lambda x_11698#3542456, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#3525419 * cast(lambda x_11699#3542470.denominator as double)) / cast(lambda x_11699#3542470.numerator as double)), uom, lambda x_11699#3542470.uom, uomUuid, lambda x_11699#3542470.uomUuid), lambda x_11699#3542470, false))).uomUuid, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11697#3542457.isOrderUnit, lambda x_11697#3542457, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3525600)), serviceLevel, coalesce(filter(element_at(quantityKpis#3541260, quantityAfterProdPlantOptimization#3525419, None, false), lambdafunction((lambda x_11708#3542458.label = ServiceLevel), lambda x_11708#3542458, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#3542416, coalesce(filter(prodLocSpecificKpis#3541225, lambdafunction((lambda x_11712#3542472.label = InitialStockQty), lambda x_11712#3542472, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#3542471, coalesce(filter(prodLocSpecificKpis#3541225, lambdafunction((lambda x_11713#3542474.label = DemandPeriodEndTimestamp), lambda x_11713#3542474, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#3542473]
Input [36]: [shardId#3524906, quantityAfterProdPlantOptimization#3525419, qty#3525420, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, productGroup#3525618, product#3525589, plant#3525590, subrange#3525588, orderDateTime#3525594, deliveryDateTime#3525595, availabilityDateTime#3525596, nextAvailabilityDateTime#3525597, logisticUnits#3525613, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, splitIndicator#3525581L, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, sourceOfSupplyUuid#3525585, minimumOrderQuantity#3525607, orderProposalItemId#3525577, orderProposalItemGroupId#3525578, optimizationGroups#3525614, measurements#3525606, previousOrderProposal#3525582L, prodLocSpecificKpis#3541225, channelStreamSpecificKpis#3541247, quantityKpis#3541260, constraintStructArray#3542328]
(56) Project
Output [21]: [shardId#3524906, qty#3525420, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, productGroup#3525618, product#3525589, plant#3525590, subrange#3525588, orderDateTime#3525594, deliveryDateTime#3525595, logisticUnits#3525613, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, splitIndicator#3525581L, orderProposalItemId#3525577, orderProposalItemGroupId#3525578, previousOrderProposal#3525582L, struct(itemId, orderProposalItemId#3525577, itemGroupId, orderProposalItemGroupId#3525578, supplier, supplier#3525587, supplyingPlant, supplyingPlant#3525617, productGroup, productGroup#3525618, product, product#3525589, plant, plant#3525590, supplierSubRange, subrange#3525588, sourceOfSupplyUuid, sourceOfSupplyUuid#3525585, deliveryDateTime, deliveryDateTime#3525595, unitPrice, netPriceAmount#3525604, unitPriceCurrency, netPriceCurrencyCode#3525605, unitPriceQuantity, ... 37 more fields) AS parentItem#3542547]
Input [37]: [shardId#3524906, qty#3525420, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, productGroup#3525618, product#3525589, plant#3525590, subrange#3525588, orderDateTime#3525594, deliveryDateTime#3525595, availabilityDateTime#3525596, nextAvailabilityDateTime#3525597, logisticUnits#3525613, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, splitIndicator#3525581L, netPriceAmount#3525604, netPriceCurrencyCode#3525605, netPriceQuantity#3525601, netPriceQuantityUom#3525602, netPriceQuantityUomUuid#3525603, sourceOfSupplyUuid#3525585, orderProposalItemId#3525577, orderProposalItemGroupId#3525578, optimizationGroups#3525614, measurements#3525606, previousOrderProposal#3525582L, prodLocSpecificKpis#3541225, channelStreamSpecificKpis#3541247, quantityKpis#3541260, constraintBenchmark#3542334, calculationAnalysis#3542416, inventoryDateTime#3542471, demandPeriodEndDateTime#3542473]
(57) Project
Output [12]: [shardId#3524906, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, orderDateTime#3525594, splitIndicator#3525581L, orderProposalItemGroupId#3525578, previousOrderProposal#3525582L, parentItem#3542547, struct(itemId, orderProposalItemId#3525577, supplier, supplier#3525587, supplyingPlant, supplyingPlant#3525617, productGroup, productGroup#3525618, product, product#3525589, plant, plant#3525590, supplierSubRange, subrange#3525588, deliveryDateTime, deliveryDateTime#3525595, orderQuantity, coalesce((qty#3525420 * (cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11737#3542581.isOrderUnit, lambda x_11737#3542581, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11737#3542582.isOrderUnit, lambda x_11737#3542582, false)), 1, None, false).numerator as double))), qty#3525420), orderQuantityUom, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11737#3542583.isOrderUnit, lambda x_11737#3542583, false)), 1, None, false).uom, orderQuantityBaseUom#3525599), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#3525613, lambdafunction(lambda x_11737#3542584.isOrderUnit, lambda x_11737#3542584, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#3525600), orderQuantityInBaseUnit, qty#3525420, orderQuantityBaseUom, ... 13 more fields) AS item#3542578]
Input [21]: [shardId#3524906, qty#3525420, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, productGroup#3525618, product#3525589, plant#3525590, subrange#3525588, orderDateTime#3525594, deliveryDateTime#3525595, logisticUnits#3525613, orderQuantityBaseUom#3525599, orderQuantityBaseUomUuid#3525600, splitIndicator#3525581L, orderProposalItemId#3525577, orderProposalItemGroupId#3525578, previousOrderProposal#3525582L, parentItem#3542547]
(58) ObjectHashAggregate
Input [12]: [shardId#3524906, orderProposalId#3525576L, originalReplenishmentRunId#3525579L, supplierGroup#3525586, supplier#3525587, supplyingPlant#3525617, orderDateTime#3525594, splitIndicator#3525581L, orderProposalItemGroupId#3525578, previousOrderProposal#3525582L, parentItem#3542547, item#3542578]
Keys [4]: [shardId#3524906, orderProposalId#3525576L, splitIndicator#3525581L, orderProposalItemGroupId#3525578]
Functions [8]: [partial_max(originalReplenishmentRunId#3525579L), partial_max(supplierGroup#3525586), partial_max(supplier#3525587), partial_max(supplyingPlant#3525617), partial_max(orderDateTime#3525594), partial_collect_list(parentItem#3542547, 0, 0), partial_collect_set(previousOrderProposal#3525582L, 0, 0), partial_collect_list(item#3542578, 0, 0)]
Aggregate Attributes [8]: [max#3543936L, max#3543937, max#3543938, max#3543939, max#3543940, buf#3543941, buf#3543942, buf#3543943]
Results [12]: [shardId#3524906, orderProposalId#3525576L, splitIndicator#3525581L, orderProposalItemGroupId#3525578, max#3543944L, max#3543945, max#3543946, max#3543947, max#3543948, buf#3543949, buf#3543950, buf#3543951]
(59) Exchange
Input [12]: [shardId#3524906, orderProposalId#3525576L, splitIndicator#3525581L, orderProposalItemGroupId#3525578, max#3543944L, max#3543945, max#3543946, max#3543947, max#3543948, buf#3543949, buf#3543950, buf#3543951]
Arguments: hashpartitioning(shardId#3524906, orderProposalId#3525576L, splitIndicator#3525581L, orderProposalItemGroupId#3525578, 30), ENSURE_REQUIREMENTS, [plan_id=1015173]
(60) ObjectHashAggregate
Input [12]: [shardId#3524906, orderProposalId#3525576L, splitIndicator#3525581L, orderProposalItemGroupId#3525578, max#3543944L, max#3543945, max#3543946, max#3543947, max#3543948, buf#3543949, buf#3543950, buf#3543951]
Keys [4]: [shardId#3524906, orderProposalId#3525576L, splitIndicator#3525581L, orderProposalItemGroupId#3525578]
Functions [8]: [max(originalReplenishmentRunId#3525579L), max(supplierGroup#3525586), max(supplier#3525587), max(supplyingPlant#3525617), max(orderDateTime#3525594), collect_list(parentItem#3542547, 0, 0), collect_set(previousOrderProposal#3525582L, 0, 0), collect_list(item#3542578, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3525579L)#3542647L, max(supplierGroup#3525586)#3542648, max(supplier#3525587)#3542649, max(supplyingPlant#3525617)#3542650, max(orderDateTime#3525594)#3542651, collect_list(parentItem#3542547, 0, 0)#3542652, collect_set(previousOrderProposal#3525582L, 0, 0)#3542654, collect_list(item#3542578, 0, 0)#3542653]
Results [10]: [shardId#3524906, orderProposalId#3525576L, max(originalReplenishmentRunId#3525579L)#3542647L AS originalReplenishmentRunId#3542595L, max(supplierGroup#3525586)#3542648 AS supplierGroup#3542596, max(supplier#3525587)#3542649 AS supplier#3542597, max(supplyingPlant#3525617)#3542650 AS supplyingPlant#3542598, max(orderDateTime#3525594)#3542651 AS orderDateTime#3542599, collect_list(parentItem#3542547, 0, 0)#3542652 AS parentItems#3542600, collect_set(previousOrderProposal#3525582L, 0, 0)#3542654 AS previousOrderProposals#3542602, struct(itemGroupId, orderProposalItemGroupId#3525578, items, collect_list(item#3542578, 0, 0)#3542653) AS itemGroup#3542656]
(61) ObjectHashAggregate
Input [10]: [shardId#3524906, orderProposalId#3525576L, originalReplenishmentRunId#3542595L, supplierGroup#3542596, supplier#3542597, supplyingPlant#3542598, orderDateTime#3542599, parentItems#3542600, previousOrderProposals#3542602, itemGroup#3542656]
Keys [2]: [shardId#3524906, orderProposalId#3525576L]
Functions [8]: [partial_max(originalReplenishmentRunId#3542595L), partial_max(supplierGroup#3542596), partial_max(supplier#3542597), partial_max(supplyingPlant#3542598), partial_max(orderDateTime#3542599), partial_collect_list(itemGroup#3542656, 0, 0), partial_collect_list(parentItems#3542600, 0, 0), partial_collect_set(previousOrderProposals#3542602, 0, 0)]
Aggregate Attributes [8]: [max#3543920L, max#3543921, max#3543922, max#3543923, max#3543924, buf#3543925, buf#3543926, buf#3543927]
Results [10]: [shardId#3524906, orderProposalId#3525576L, max#3543928L, max#3543929, max#3543930, max#3543931, max#3543932, buf#3543933, buf#3543934, buf#3543935]
(62) Exchange
Input [10]: [shardId#3524906, orderProposalId#3525576L, max#3543928L, max#3543929, max#3543930, max#3543931, max#3543932, buf#3543933, buf#3543934, buf#3543935]
Arguments: hashpartitioning(shardId#3524906, orderProposalId#3525576L, 30), ENSURE_REQUIREMENTS, [plan_id=1015176]
(63) ObjectHashAggregate
Input [10]: [shardId#3524906, orderProposalId#3525576L, max#3543928L, max#3543929, max#3543930, max#3543931, max#3543932, buf#3543933, buf#3543934, buf#3543935]
Keys [2]: [shardId#3524906, orderProposalId#3525576L]
Functions [8]: [max(originalReplenishmentRunId#3542595L), max(supplierGroup#3542596), max(supplier#3542597), max(supplyingPlant#3542598), max(orderDateTime#3542599), collect_list(itemGroup#3542656, 0, 0), collect_list(parentItems#3542600, 0, 0), collect_set(previousOrderProposals#3542602, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#3542595L)#3542678L, max(supplierGroup#3542596)#3542679, max(supplier#3542597)#3542680, max(supplyingPlant#3542598)#3542681, max(orderDateTime#3542599)#3542682, collect_list(itemGroup#3542656, 0, 0)#3542683, collect_list(parentItems#3542600, 0, 0)#3542684, collect_set(previousOrderProposals#3542602, 0, 0)#3542685]
Results [10]: [shardId#3524906, orderProposalId#3525576L, max(originalReplenishmentRunId#3542595L)#3542678L AS originalReplenishmentRunId#3542657L, max(supplierGroup#3542596)#3542679 AS supplierGroup#3542658, max(supplier#3542597)#3542680 AS supplier#3542659, max(supplyingPlant#3542598)#3542681 AS supplyingPlant#3542660, max(orderDateTime#3542599)#3542682 AS orderDateTime#3542661, collect_list(itemGroup#3542656, 0, 0)#3542683 AS itemGroups#3542662, flatten(collect_list(parentItems#3542600, 0, 0)#3542684) AS parentItems#3542663, flatten(collect_set(previousOrderProposals#3542602, 0, 0)#3542685) AS previousOrderProposals#3542664]
(64) Project
Output [2]: [shardId#3524906, struct(orderProposalId, orderProposalId#3525576L, originalReplenishmentRunId, originalReplenishmentRunId#3542657L, supplierGroup, supplierGroup#3542658, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#3542658) THEN supplier#3542659 END, supplyingPlant, supplyingPlant#3542660, orderDateTime, orderDateTime#3542661, itemGroups, itemGroups#3542662, previousOrderProposals, array_distinct(previousOrderProposals#3542664), parentItems, parentItems#3542663) AS orderProposal#3542689]
Input [10]: [shardId#3524906, orderProposalId#3525576L, originalReplenishmentRunId#3542657L, supplierGroup#3542658, supplier#3542659, supplyingPlant#3542660, orderDateTime#3542661, itemGroups#3542662, parentItems#3542663, previousOrderProposals#3542664]
(65) Project
Output [11]: [shardId#3524906, orderProposal#3542689.orderProposalId AS _extract_orderProposalId#3543552L, orderProposal#3542689.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#3543553L, orderProposal#3542689.supplierGroup AS _extract_supplierGroup#3543554, orderProposal#3542689.supplier AS _extract_supplier#3543555, orderProposal#3542689.supplyingPlant AS _extract_supplyingPlant#3543556, orderProposal#3542689.orderDateTime AS _extract_orderDateTime#3543557, orderProposal#3542689.itemGroups AS _extract_itemGroups#3543558, orderProposal#3542689.previousOrderProposals AS _extract_previousOrderProposals#3543559, orderProposal#3542689.parentItems AS _extract_parentItems#3543560, orderProposal#3542689.orderProposalId AS _extract_orderProposalId#3543561L]
Input [2]: [shardId#3524906, orderProposal#3542689]
(66) Exchange
Input [11]: [shardId#3524906, _extract_orderProposalId#3543552L, _extract_originalReplenishmentRunId#3543553L, _extract_supplierGroup#3543554, _extract_supplier#3543555, _extract_supplyingPlant#3543556, _extract_orderDateTime#3543557, _extract_itemGroups#3543558, _extract_previousOrderProposals#3543559, _extract_parentItems#3543560, _extract_orderProposalId#3543561L]
Arguments: hashpartitioning(coalesce(shardId#3524906, ), isnull(shardId#3524906), coalesce(_extract_orderProposalId#3543561L, 0), isnull(_extract_orderProposalId#3543561L), 30), ENSURE_REQUIREMENTS, [plan_id=1015180]
(67) Sort
Input [11]: [shardId#3524906, _extract_orderProposalId#3543552L, _extract_originalReplenishmentRunId#3543553L, _extract_supplierGroup#3543554, _extract_supplier#3543555, _extract_supplyingPlant#3543556, _extract_orderDateTime#3543557, _extract_itemGroups#3543558, _extract_previousOrderProposals#3543559, _extract_parentItems#3543560, _extract_orderProposalId#3543561L]
Arguments: [coalesce(shardId#3524906, ) ASC NULLS FIRST, isnull(shardId#3524906) ASC NULLS FIRST, coalesce(_extract_orderProposalId#3543561L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#3543561L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#3542704, orderProposalId#3542705L, optimizationGroups#3542707]
Arguments: [shardId#3542704, orderProposalId#3542705L, optimizationGroups#3542707], [isnotnull(orderProposalId#3542705L)]
(69) InMemoryRelation
Arguments: [shardId#3542704, orderProposalId#3542705L, items#3542706, optimizationGroups#3542707, isOptimal#3542708, optimizationInsights#3542710], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#3542704, orderProposalId#3542705L, optimizationGroups#3542707]
Condition : isnotnull(orderProposalId#3542705L)
(71) Exchange
Input [3]: [shardId#3542704, orderProposalId#3542705L, optimizationGroups#3542707]
Arguments: hashpartitioning(orderProposalId#3542705L, 30), ENSURE_REQUIREMENTS, [plan_id=1015185]
(72) Sort [codegen id : 3]
Input [3]: [shardId#3542704, orderProposalId#3542705L, optimizationGroups#3542707]
Arguments: [orderProposalId#3542705L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#3542323, shardId#3542321]
Arguments: [items#3542323, shardId#3542321], [(size(items#3542323.worklistShardItemId, true) > 0), isnotnull(items#3542323.worklistShardItemId), (shardId#3542321 = 0_6_10000000532)]
(74) InMemoryRelation
Arguments: [shardId#3542321, orderProposalId#3542322L, items#3542323, optimizationGroups#3542324, isOptimal#3542325, optimizationInsights#3542327], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#3542323, shardId#3542321]
Condition : (((size(items#3542323.worklistShardItemId, true) > 0) AND isnotnull(items#3542323.worklistShardItemId)) AND (shardId#3542321 = 0_6_10000000532))
(76) Project [codegen id : 4]
Output [1]: [items#3542323.worklistShardItemId AS _extract_worklistShardItemId#3543352]
Input [2]: [items#3542323, shardId#3542321]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#3543352]
Arguments: explode(_extract_worklistShardItemId#3543352), false, [item#3542711L]
(78) Project [codegen id : 4]
Output [1]: [item#3542711L AS worklistShardItemId#3542712L]
Input [1]: [item#3542711L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#3542712L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1015196]
(80) Scan parquet
Output [5]: [orderProposalId#3542760L, isFallbackOrderOnly#3542777, worklistShardItemId#3542783L, shardId#3542804, sequenceId#3542782]
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#3542804), isnotnull(sequenceId#3542782), (shardId#3542804 = 0_6_10000000532), (sequenceId#3542782 = 6)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(81) ColumnarToRow [codegen id : 5]
Input [5]: [orderProposalId#3542760L, isFallbackOrderOnly#3542777, worklistShardItemId#3542783L, shardId#3542804, sequenceId#3542782]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#3542760L, isFallbackOrderOnly#3542777, worklistShardItemId#3542783L, shardId#3542804, sequenceId#3542782]
Condition : ((isnotnull(worklistShardItemId#3542783L) AND NOT (isFallbackOrderOnly#3542777 <=> true)) AND isnotnull(orderProposalId#3542760L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#3542760L, worklistShardItemId#3542783L]
Input [5]: [orderProposalId#3542760L, isFallbackOrderOnly#3542777, worklistShardItemId#3542783L, shardId#3542804, sequenceId#3542782]
(84) Exchange
Input [2]: [orderProposalId#3542760L, worklistShardItemId#3542783L]
Arguments: hashpartitioning(worklistShardItemId#3542783L, 30), REPARTITION_BY_NUM, [plan_id=1015203]
(85) Project
Output [2]: [worklistShardItemId#3542783L, orderProposalId#3542760L]
Input [2]: [orderProposalId#3542760L, worklistShardItemId#3542783L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#3542712L]
Right keys [1]: [worklistShardItemId#3542783L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#3542760L]
Input [3]: [worklistShardItemId#3542712L, worklistShardItemId#3542783L, orderProposalId#3542760L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#3542760L]
Keys [1]: [orderProposalId#3542760L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3542760L]
(89) Exchange
Input [1]: [orderProposalId#3542760L]
Arguments: hashpartitioning(orderProposalId#3542760L, 30), ENSURE_REQUIREMENTS, [plan_id=1015210]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#3542760L]
Keys [1]: [orderProposalId#3542760L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#3542760L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#3542760L]
Arguments: [orderProposalId#3542760L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#3542705L]
Right keys [1]: [orderProposalId#3542760L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#3542705L, shardId#3542704, coalesce(transform(optimizationGroups#3542707, lambdafunction(struct(optGroupId, lambda x_11741#3542702.optGroupId, minOrderProfile, lambda x_11741#3542702.minOrderProfile, assignmentDetails, lambda x_11741#3542702.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_11741#3542702.minOrderGoal.dimensionType, unit, lambda x_11741#3542702.minOrderGoal.unit, unitUuid, lambda x_11741#3542702.minOrderGoal.unitUuid, goalValue, lambda x_11741#3542702.minOrderGoal.minOrderValue, calcValue, lambda x_11741#3542702.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_11741#3542702, false)), []) AS optimizationGroups#3542701]
Input [4]: [shardId#3542704, orderProposalId#3542705L, optimizationGroups#3542707, orderProposalId#3542760L]
(94) Exchange
Input [3]: [orderProposalId#3542705L, shardId#3542704, optimizationGroups#3542701]
Arguments: hashpartitioning(coalesce(shardId#3542704, ), isnull(shardId#3542704), coalesce(orderProposalId#3542705L, 0), isnull(orderProposalId#3542705L), 30), ENSURE_REQUIREMENTS, [plan_id=1015219]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#3542705L, shardId#3542704, optimizationGroups#3542701]
Arguments: [coalesce(shardId#3542704, ) ASC NULLS FIRST, isnull(shardId#3542704) ASC NULLS FIRST, coalesce(orderProposalId#3542705L, 0) ASC NULLS FIRST, isnull(orderProposalId#3542705L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#3524906, ), isnull(shardId#3524906), coalesce(_extract_orderProposalId#3543561L, 0), isnull(_extract_orderProposalId#3543561L)]
Right keys [4]: [coalesce(shardId#3542704, ), isnull(shardId#3542704), coalesce(orderProposalId#3542705L, 0), isnull(orderProposalId#3542705L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#3524906, named_struct(orderProposalId, _extract_orderProposalId#3543561L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#3543553L, supplierGroup, _extract_supplierGroup#3543554, optimizationGroups, coalesce(optimizationGroups#3542701, []), supplier, _extract_supplier#3543555, supplyingPlant, _extract_supplyingPlant#3543556, orderDateTime, _extract_orderDateTime#3543557, itemGroups, _extract_itemGroups#3543558, previousOrderProposals, _extract_previousOrderProposals#3543559, parentItems, _extract_parentItems#3543560) AS orderProposal#3542808]
Input [14]: [shardId#3524906, _extract_orderProposalId#3543552L, _extract_originalReplenishmentRunId#3543553L, _extract_supplierGroup#3543554, _extract_supplier#3543555, _extract_supplyingPlant#3543556, _extract_orderDateTime#3543557, _extract_itemGroups#3543558, _extract_previousOrderProposals#3543559, _extract_parentItems#3543560, _extract_orderProposalId#3543561L, orderProposalId#3542705L, shardId#3542704, optimizationGroups#3542701]
(98) Filter
Input [1]: [orderProposal#3542808]
Condition : (size(orderProposal#3542808.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#3542808.parentItems.deliveryDateTime AS _extract_deliveryDateTime#3544332]
Input [1]: [orderProposal#3542808]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#3544332]
Arguments: explode(_extract_deliveryDateTime#3544332), false, [numberOfOrderProposalItems#3544304]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#3544304]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#3544343L]
Results [1]: [count#3544344L]
(103) Exchange
Input [1]: [count#3544344L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1015346]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#3544344L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#3544309L]
Results [1]: [count(1)#3544309L AS count#3544305L]