digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 2 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 20<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 20<br>local bytes read: 726.0 B<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>320.0 B (16.0 B, 16.0 B, 16.0 B (stage 77198.0: task 190995))<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>3 ms (0 ms, 0 ms, 0 ms (stage 77198.0: task 191006))<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: 726.0 B<br>number of partitions: 1<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1452.0 B (72.0 B, 72.0 B, 75.0 B (stage 77198.0: task 190991))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=368921]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n16 ms (0 ms, 1 ms, 3 ms (stage 77198.0: task 190991))";
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>10 ms (0 ms, 0 ms, 2 ms (stage 77198.0: task 190991))<br>number of output rows: 20" 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: 8" tooltip="Generate explode(_extract_deliveryDateTime#938765), false, [numberOfOrderProposalItems#938737]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#937362.parentItems.deliveryDateTime AS _extract_deliveryDateTime#938765]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 5" tooltip="Filter (size(orderProposal#937362.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 5" tooltip="InMemoryTableScan [orderProposal#937362], [(size(orderProposal#937362.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, named_struct(orderProposalId, _extract_orderProposalId#938010L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#938002L, supplierGroup, _extract_supplierGroup#938003, optimizationGroups, coalesce(optimizationGroups#937255, []), supplier, _extract_supplier#938004, supplyingPlant, _extract_supplyingPlant#938005, orderDateTime, _extract_orderDateTime#938006, itemGroups, _extract_itemGroups#938007, previousOrderProposals, _extract_previousOrderProposals#938008, parentItems, _extract_parentItems#938009) AS orderProposal#937362]"];
11 [id="node11" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 5" tooltip="BroadcastHashJoin [coalesce(shardId#935024, ), isnull(shardId#935024), coalesce(_extract_orderProposalId#938010L, 0), isnull(_extract_orderProposalId#938010L)], [coalesce(shardId#937258, ), isnull(shardId#937258), coalesce(orderProposalId#937259L, 0), isnull(orderProposalId#937259L)], LeftOuter, BuildRight, false"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, orderProposal#937235.orderProposalId AS _extract_orderProposalId#938001L, orderProposal#937235.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#938002L, orderProposal#937235.supplierGroup AS _extract_supplierGroup#938003, orderProposal#937235.supplier AS _extract_supplier#938004, orderProposal#937235.supplyingPlant AS _extract_supplyingPlant#938005, orderProposal#937235.orderDateTime AS _extract_orderDateTime#938006, orderProposal#937235.itemGroups AS _extract_itemGroups#938007, orderProposal#937235.previousOrderProposals AS _extract_previousOrderProposals#938008, orderProposal#937235.parentItems AS _extract_parentItems#938009, orderProposal#937235.orderProposalId AS _extract_orderProposalId#938010L]"];
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, struct(orderProposalId, orderProposalId#935694L, originalReplenishmentRunId, originalReplenishmentRunId#937203L, supplierGroup, supplierGroup#937204, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#937204) THEN supplier#937205 END, supplyingPlant, supplyingPlant#937206, orderDateTime, orderDateTime#937207, itemGroups, itemGroups#937208, previousOrderProposals, array_distinct(previousOrderProposals#937210), parentItems, parentItems#937209) AS orderProposal#937235]"];
14 [id="node14" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 5<br>time in aggregation build total (min, med, max (stageId: taskId))<br>263 ms (0 ms, 0 ms, 71 ms (stage 77198.0: task 190992))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77198.0: task 190991))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#935024, orderProposalId#935694L], functions=[max(originalReplenishmentRunId#937141L), max(supplierGroup#937142), max(supplier#937143), max(supplyingPlant#937144), max(orderDateTime#937145), collect_list(itemGroup#937202, 0, 0), collect_list(parentItems#937146, 0, 0), collect_set(previousOrderProposals#937148, 0, 0)])"];
15 [id="node15" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 5<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 5<br>local bytes read total (min, med, max (stageId: taskId))<br>5.7 KiB (1281.0 B, 1552.0 B, 1557.0 B (stage 77198.0: task 190994))<br>merged fetch fallback count: 0<br>local blocks read: 4<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>18.6 KiB (2.4 KiB, 4.6 KiB, 4.6 KiB (stage 77197.0: task 190972))<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>2 ms (0 ms, 0 ms, 0 ms (stage 77197.0: task 190974))<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 77198.0: task 190991))<br>remote bytes read: 1811.0 B<br>number of partitions: 20<br>remote reqs duration: 1 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>7.5 KiB (1281.0 B, 1552.0 B, 1811.0 B (stage 77197.0: task 190972))" tooltip="Exchange hashpartitioning(shardId#935024, orderProposalId#935694L, 20), ENSURE_REQUIREMENTS, [plan_id=368780]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 5<br>time in aggregation build total (min, med, max (stageId: taskId))<br>122 ms (0 ms, 0 ms, 25 ms (stage 77197.0: task 190975))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77197.0: task 190971))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#935024, orderProposalId#935694L], functions=[partial_max(originalReplenishmentRunId#937141L), partial_max(supplierGroup#937142), partial_max(supplier#937143), partial_max(supplyingPlant#937144), partial_max(orderDateTime#937145), partial_collect_list(itemGroup#937202, 0, 0), partial_collect_list(parentItems#937146, 0, 0), partial_collect_set(previousOrderProposals#937148, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 5<br>time in aggregation build total (min, med, max (stageId: taskId))<br>519 ms (0 ms, 0 ms, 105 ms (stage 77197.0: task 190971))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77197.0: task 190971))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#935024, orderProposalId#935694L, splitIndicator#935699L, orderProposalItemGroupId#935696], functions=[max(originalReplenishmentRunId#935697L), max(supplierGroup#935704), max(supplier#935705), max(supplyingPlant#935735), max(orderDateTime#935712), collect_list(parentItem#937093, 0, 0), collect_set(previousOrderProposal#935700L, 0, 0), collect_list(item#937124, 0, 0)])"];
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>10.3 KiB (1247.0 B, 2.6 KiB, 2.6 KiB (stage 77197.0: task 190972))<br>merged fetch fallback count: 0<br>local blocks read: 8<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>18.9 KiB (2.3 KiB, 2.4 KiB, 2.4 KiB (stage 77196.0: task 190955))<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>3 ms (0 ms, 0 ms, 0 ms (stage 77196.0: task 190958))<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 77197.0: task 190971))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>10.3 KiB (1247.0 B, 1318.0 B, 1397.0 B (stage 77196.0: task 190955))" tooltip="Exchange hashpartitioning(shardId#935024, orderProposalId#935694L, splitIndicator#935699L, orderProposalItemGroupId#935696, 20), ENSURE_REQUIREMENTS, [plan_id=368777]"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 8<br>time in aggregation build total (min, med, max (stageId: taskId))<br>1.1 s (0 ms, 1 ms, 144 ms (stage 77196.0: task 190957))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77196.0: task 190954))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#935024, orderProposalId#935694L, splitIndicator#935699L, orderProposalItemGroupId#935696], functions=[partial_max(originalReplenishmentRunId#935697L), partial_max(supplierGroup#935704), partial_max(supplier#935705), partial_max(supplyingPlant#935735), partial_max(orderDateTime#935712), partial_collect_list(parentItem#937093, 0, 0), partial_collect_set(previousOrderProposal#935700L, 0, 0), partial_collect_list(item#937124, 0, 0)])"];
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, orderDateTime#935712, splitIndicator#935699L, orderProposalItemGroupId#935696, previousOrderProposal#935700L, parentItem#937093, struct(itemId, orderProposalItemId#935695, supplier, supplier#935705, supplyingPlant, supplyingPlant#935735, productGroup, productGroup#935736, product, product#935707, plant, plant#935708, supplierSubRange, subrange#935706, deliveryDateTime, deliveryDateTime#935713, orderQuantity, coalesce((qty#935538 * (cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2448#937127.isOrderUnit, lambda x_2448#937127, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2448#937128.isOrderUnit, lambda x_2448#937128, false)), 1, None, false).numerator as double))), qty#935538), orderQuantityUom, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2448#937129.isOrderUnit, lambda x_2448#937129, false)), 1, None, false).uom, orderQuantityBaseUom#935717), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2448#937130.isOrderUnit, lambda x_2448#937130, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#935718), orderQuantityInBaseUnit, qty#935538, orderQuantityBaseUom, ... 13 more fields) AS item#937124]"];
21 [id="node21" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, qty#935538, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, productGroup#935736, product#935707, plant#935708, subrange#935706, orderDateTime#935712, deliveryDateTime#935713, logisticUnits#935731, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, splitIndicator#935699L, orderProposalItemId#935695, orderProposalItemGroupId#935696, previousOrderProposal#935700L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#935705, supplyingPlant, supplyingPlant#935735, productGroup, productGroup#935736, product, product#935707, plant, plant#935708, supplierSubRange, subrange#935706, sourceOfSupplyUuid, sourceOfSupplyUuid#935703, deliveryDateTime, deliveryDateTime#935713, unitPrice, netPriceAmount#935722, unitPriceCurrency, netPriceCurrencyCode#935723, unitPriceQuantity, ... 37 more fields) AS parentItem#937093]"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, qty#935538, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, productGroup#935736, product#935707, plant#935708, subrange#935706, orderDateTime#935712, deliveryDateTime#935713, availabilityDateTime#935714, nextAvailabilityDateTime#935715, logisticUnits#935731, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, splitIndicator#935699L, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, sourceOfSupplyUuid#935703, ... 12 more fields]"];
subgraph cluster23 {
isCluster="true";
id="cluster23";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n3.1 s (26 ms, 173 ms, 319 ms (stage 77196.0: task 190957))";
tooltip="WholeStageCodegen (1)";
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, productGroup#935736, product#935707, plant#935708, subrange#935706, orderDateTime#935712, deliveryDateTime#935713, availabilityDateTime#935714, nextAvailabilityDateTime#935715, logisticUnits#935731, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, splitIndicator#935699L, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, ... 11 more fields]"];
25 [id="node25" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter NOT (isFallbackOrderOnly#935716 <=> true)"];
}
26 [id="node26" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 8" tooltip="InMemoryTableScan [availabilityDateTime#935714, channelStreamSpecificKpis#936455, constraintLabels#935726, constraintOperators#935727, constraintValues#935729, deliveryDateTime#935713, isFallbackOrderOnly#935716, logisticUnits#935731, measurements#935724, minimumOrderQuantity#935725, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, nextAvailabilityDateTime#935715, optimizationGroups#935732, orderDateTime#935712, orderProposalId#935694L, orderProposalItemGroupId#935696, orderProposalItemId#935695, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, originalReplenishmentRunId#935697L, plant#935708, ... 14 more fields], [NOT (isFallbackOrderOnly#935716 <=> true)]"];
subgraph cluster27 {
isCluster="true";
id="cluster27";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n568 ms (0 ms, 8 ms, 76 ms (stage 77196.0: task 190954))";
tooltip="WholeStageCodegen (13)";
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, ... 17 more fields]"];
29 [id="node29" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 8<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77196.0: task 190959))" tooltip="SortMergeJoin [shardId#935024, worklistShardItemId#935536L], [shardId#936462, worklistShardItemId#936463L], LeftOuter"];
}
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (0 ms, 99 ms, 270 ms (stage 77196.0: task 190954))";
tooltip="WholeStageCodegen (10)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, ... 16 more fields]"];
32 [id="node32" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 8<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77196.0: task 190959))" tooltip="SortMergeJoin [shardId#935024, worklistShardItemId#935536L], [shardId#936449, worklistShardItemId#936450L], LeftOuter"];
}
subgraph cluster33 {
isCluster="true";
id="cluster33";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n4.0 s (0 ms, 194 ms, 460 ms (stage 77196.0: task 190958))";
tooltip="WholeStageCodegen (7)";
34 [id="node34" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, ... 15 more fields]"];
35 [id="node35" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 8<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77196.0: task 190959))" tooltip="SortMergeJoin [shardId#935024, worklistShardItemId#935536L], [shardId#936433, worklistShardItemId#936434L], LeftOuter"];
}
subgraph cluster36 {
isCluster="true";
id="cluster36";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n5.2 s (1 ms, 261 ms, 594 ms (stage 77196.0: task 190958))";
tooltip="WholeStageCodegen (4)";
37 [id="node37" 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 77196.0: task 190959))<br>peak memory total (min, med, max (stageId: taskId))<br>17.3 MiB (64.0 KiB, 64.0 KiB, 2.1 MiB (stage 77196.0: task 190954))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77196.0: task 190959))" tooltip="Sort [shardId#935024 ASC NULLS FIRST, worklistShardItemId#935536L ASC NULLS FIRST], false, 0"];
}
38 [id="node38" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>8.7 KiB (1029.0 B, 1086.0 B, 1258.0 B (stage 77196.0: task 190955))<br>merged fetch fallback count: 0<br>local blocks read: 8<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>12.1 KiB (1448.0 B, 2.9 KiB, 3.2 KiB (stage 77194.0: task 190894))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 0 ms (stage 77194.0: task 190925))<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 77196.0: task 190954))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>8.7 KiB (1029.0 B, 2.1 KiB, 2.2 KiB (stage 77194.0: task 190894))" tooltip="Exchange hashpartitioning(shardId#935024, worklistShardItemId#935536L, 20), ENSURE_REQUIREMENTS, [plan_id=368510]"];
subgraph cluster39 {
isCluster="true";
id="cluster39";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n20 ms (0 ms, 0 ms, 8 ms (stage 77194.0: task 190885))";
tooltip="WholeStageCodegen (3)";
40 [id="node40" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, ... 14 more fields]"];
41 [id="node41" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 8" tooltip="BroadcastHashJoin [worklistShardItemId#935536L], [worklistShardItemId#935760L], LeftOuter, BuildRight, (shardId#935024 = 0_1_10000002110), false"];
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#935024, item#935535.worklistShardItemId AS worklistShardItemId#935536L, item#935535.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#935537, item#935535.qty AS qty#935538]"];
43 [id="node43" labelType="html" label="<b>Generate</b><br><br>number of output rows: 8" tooltip="Generate explode(items#935026), [shardId#935024], false, [item#935535]"];
44 [id="node44" labelType="html" label="<b>Filter</b><br><br>number of output rows: 5" tooltip="Filter ((size(items#935026, true) > 0) AND isnotnull(items#935026))"];
}
45 [id="node45" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 5" tooltip="InMemoryTableScan [shardId#935024, items#935026], [(size(items#935026, true) > 0), isnotnull(items#935026)]"];
subgraph cluster46 {
isCluster="true";
id="cluster46";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
47 [id="node47" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))"];
}
48 [id="node48" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, optimizationInsights#935030], [isnotnull(shardId#935024), (shardId#935024 = 0_1_10000002110)]"];
subgraph cluster49 {
isCluster="true";
id="cluster49";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))"];
51 [id="node51" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#935024,orderProposalId#935025L,items#935026,optimizationGroups#935027,isOptimal#935028,lastModified#935029,optimizationInsights#935030]"];
}
52 [id="node52" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 272 ms<br>number of output rows: 8<br>data size: 1024.2 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=368505]"];
subgraph cluster53 {
isCluster="true";
id="cluster53";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n10 ms (0 ms, 0 ms, 2 ms (stage 77164.0: task 190854))";
tooltip="WholeStageCodegen (2)";
54 [id="node54" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#935760L, orderProposalId#935737L, orderProposalItemId#935738, orderProposalItemGroupId#935761, originalReplenishmentRunId#935779L, splitIndicator#935756L, previousOrderProposal#935757L, sourceOfSupplyUuid#935751, supplierGroup#935739, supplier#935740, subrange#935743, product#935746, plant#935741, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, isFallbackOrderOnly#935754, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, netPriceAmount#935773, netPriceCurrencyCode#935774, ... 11 more fields]"];
}
55 [id="node55" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>7.5 KiB (1015.0 B, 1070.0 B, 1245.0 B (stage 77164.0: task 190855))<br>merged fetch fallback count: 0<br>local blocks read: 7<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>11.8 KiB (1408.0 B, 1736.0 B, 3.0 KiB (stage 77163.0: task 190846))<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>2 ms (0 ms, 0 ms, 0 ms (stage 77163.0: task 190847))<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 77164.0: task 190857))<br>remote bytes read: 1028.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>8.6 KiB (1015.0 B, 1234.0 B, 2.2 KiB (stage 77163.0: task 190846))" tooltip="Exchange hashpartitioning(worklistShardItemId#935760L, 20), REPARTITION_BY_NUM, [plan_id=368501]"];
subgraph cluster56 {
isCluster="true";
id="cluster56";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n756 ms (120 ms, 124 ms, 144 ms (stage 77163.0: task 190850))";
tooltip="WholeStageCodegen (1)";
57 [id="node57" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#935737L, orderProposalItemId#935738, supplierGroup#935739, supplier#935740, plant#935741, deliveryDateTime#935742, subrange#935743, supplyingPlant#935744, productGroup#935745, product#935746, orderDateTime#935747, availabilityDateTime#935748, nextAvailabilityDateTime#935749, sourceOfSupplyUuid#935751, isFallbackOrderOnly#935754, splitIndicator#935756L, previousOrderProposal#935757L, worklistShardItemId#935760L, orderProposalItemGroupId#935761, externalProductId#935762, externalPlantId#935763, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, minimumOrderQuantity#935767, ... 11 more fields]"];
58 [id="node58" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter isnotnull(worklistShardItemId#935760L)"];
59 [id="node59" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 8<br>number of input batches: 6" tooltip="ColumnarToRow"];
}
60 [id="node60" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 6<br>scan time total (min, med, max (stageId: taskId))<br>576 ms (89 ms, 93 ms, 115 ms (stage 77163.0: task 190850))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 113.4 KiB<br>number of output rows: 8<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#935737L,orderProposalItemId#935738,supplierGroup#935739,supplier#935740,plant#935741,deliveryDateTime#935742,subrange#935743,supplyingPlant#935744,productGroup#935745,product#935746,orderDateTime#935747,availabilityDateTime#935748,nextAvailabilityDateTime#935749,sourceOfSupplyUuid#935751,isFallbackOrderOnly#935754,splitIndicator#935756L,previousOrderProposal#935757L,worklistShardItemId#935760L,orderProposalItemGroupId#935761,externalProductId#935762,externalPlantId#935763,logisticUnits#935764,orderQuantityBaseUom#935765,orderQuantityBaseUomUuid#935766,minimumOrderQuantity#935767,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#935760L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#935781), isnotnull(sequenceId#935759), (shardId#935781 = 0_1_10000002110), (se..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster61 {
isCluster="true";
id="cluster61";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (234 ms, 239 ms, 239 ms (stage 77196.0: task 190954))";
tooltip="WholeStageCodegen (6)";
62 [id="node62" 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 77196.0: task 190954))<br>peak memory total (min, med, max (stageId: taskId))<br>16.5 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 77196.0: task 190954))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77196.0: task 190954))" tooltip="Sort [shardId#936433 ASC NULLS FIRST, worklistShardItemId#936434L ASC NULLS FIRST], false, 0"];
}
63 [id="node63" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>1667.0 B (551.0 B, 554.0 B, 562.0 B (stage 77196.0: task 190955))<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 5<br>data size total (min, med, max (stageId: taskId))<br>8.4 KiB (1072.0 B, 1072.0 B, 3.1 KiB (stage 77193.0: task 190899))<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>2 ms (0 ms, 0 ms, 0 ms (stage 77193.0: task 190899))<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 77196.0: task 190954))<br>remote bytes read total (min, med, max (stageId: taskId))<br>2.8 KiB (555.0 B, 572.0 B, 583.0 B (stage 77196.0: task 190952))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 77196.0: task 190954))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>4.4 KiB (554.0 B, 572.0 B, 1696.0 B (stage 77193.0: task 190899))" tooltip="Exchange hashpartitioning(shardId#936433, worklistShardItemId#936434L, 20), ENSURE_REQUIREMENTS, [plan_id=368516]"];
subgraph cluster64 {
isCluster="true";
id="cluster64";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n73 ms (0 ms, 3 ms, 33 ms (stage 77193.0: task 190884))";
tooltip="WholeStageCodegen (5)";
65 [id="node65" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#936433, worklistShardItemId#936434L, coalesce(kpis#936438, []) AS prodLocSpecificKpis#936439]"];
66 [id="node66" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter (((isnull(qty#936435) AND isnull(demandChannel#936436)) AND isnull(demandStream#936437)) AND (isnotnull(shardId#936433) AND isnotnull(worklistShardItemId#936434L)))"];
67 [id="node67" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 34" tooltip="Scan ExistingRDD[shardId#936433,worklistShardItemId#936434L,qty#936435,demandChannel#936436,demandStream#936437,kpis#936438]"];
}
subgraph cluster68 {
isCluster="true";
id="cluster68";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (145 ms, 147 ms, 147 ms (stage 77196.0: task 190954))";
tooltip="WholeStageCodegen (9)";
69 [id="node69" 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 77196.0: task 190954))<br>peak memory total (min, med, max (stageId: taskId))<br>16.5 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 77196.0: task 190954))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77196.0: task 190954))" tooltip="Sort [shardId#936449 ASC NULLS FIRST, worklistShardItemId#936450L ASC NULLS FIRST], false, 0"];
}
70 [id="node70" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 8<br>time in aggregation build total (min, med, max (stageId: taskId))<br>417 ms (0 ms, 0 ms, 54 ms (stage 77196.0: task 190954))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77196.0: task 190954))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#936449, worklistShardItemId#936450L], functions=[collect_list(struct(demandChannel, demandChannel#936452, demandStream, demandStream#936453, kpis, kpis#936454), 0, 0)])"];
71 [id="node71" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>931.0 B (309.0 B, 311.0 B, 311.0 B (stage 77196.0: task 190955))<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 5<br>data size total (min, med, max (stageId: taskId))<br>3.2 KiB (408.0 B, 408.0 B, 816.0 B (stage 77195.0: task 190937))<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>2 ms (0 ms, 0 ms, 0 ms (stage 77195.0: task 190937))<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>2 ms (0 ms, 0 ms, 1 ms (stage 77196.0: task 190958))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1557.0 B (310.0 B, 311.0 B, 314.0 B (stage 77196.0: task 190954))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 1 ms, 1 ms (stage 77196.0: task 190958))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.4 KiB (310.0 B, 311.0 B, 625.0 B (stage 77195.0: task 190947))" tooltip="Exchange hashpartitioning(shardId#936449, worklistShardItemId#936450L, 20), ENSURE_REQUIREMENTS, [plan_id=368527]"];
72 [id="node72" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 8<br>time in aggregation build total (min, med, max (stageId: taskId))<br>52 ms (0 ms, 2 ms, 16 ms (stage 77195.0: task 190883))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77195.0: task 190945))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#936449, worklistShardItemId#936450L], functions=[partial_collect_list(struct(demandChannel, demandChannel#936452, demandStream, demandStream#936453, kpis, kpis#936454), 0, 0)])"];
subgraph cluster73 {
isCluster="true";
id="cluster73";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n52 ms (0 ms, 2 ms, 16 ms (stage 77195.0: task 190883))";
tooltip="WholeStageCodegen (8)";
74 [id="node74" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#936449, worklistShardItemId#936450L, demandChannel#936452, demandStream#936453, kpis#936454]"];
75 [id="node75" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter ((((isnull(qty#936451) AND isnotnull(demandChannel#936452)) AND isnotnull(demandStream#936453)) AND (size(kpis#936454, true) > 0)) AND (isnotnull(shardId#936449) AND isnotnull(worklistShardItemId#936450L)))"];
76 [id="node76" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 34" tooltip="Scan ExistingRDD[shardId#936449,worklistShardItemId#936450L,qty#936451,demandChannel#936452,demandStream#936453,kpis#936454]"];
}
subgraph cluster77 {
isCluster="true";
id="cluster77";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n524 ms (62 ms, 69 ms, 69 ms (stage 77196.0: task 190954))";
tooltip="WholeStageCodegen (12)";
78 [id="node78" 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 77196.0: task 190954))<br>peak memory total (min, med, max (stageId: taskId))<br>16.5 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 77196.0: task 190954))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77196.0: task 190954))" tooltip="Sort [shardId#936462 ASC NULLS FIRST, worklistShardItemId#936463L ASC NULLS FIRST], false, 0"];
}
79 [id="node79" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 8<br>time in aggregation build total (min, med, max (stageId: taskId))<br>432 ms (0 ms, 0 ms, 56 ms (stage 77196.0: task 190954))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77196.0: task 190954))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#936462, worklistShardItemId#936463L], functions=[collect_list(struct(qty, qty#936464, kpis, kpis#936467), 0, 0)])"];
80 [id="node80" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 18<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 18<br>local bytes read total (min, med, max (stageId: taskId))<br>4.0 KiB (459.0 B, 909.0 B, 921.0 B (stage 77196.0: task 190955))<br>merged fetch fallback count: 0<br>local blocks read: 9<br>remote merged chunks fetched: 0<br>remote blocks read: 9<br>data size total (min, med, max (stageId: taskId))<br>11.3 KiB (640.0 B, 640.0 B, 2.5 KiB (stage 77192.0: task 190910))<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>4 ms (0 ms, 0 ms, 0 ms (stage 77192.0: task 190900))<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>2 ms (0 ms, 0 ms, 1 ms (stage 77196.0: task 190954))<br>remote bytes read total (min, med, max (stageId: taskId))<br>4.0 KiB (458.0 B, 459.0 B, 922.0 B (stage 77196.0: task 190952))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>7 ms (1 ms, 1 ms, 1 ms (stage 77196.0: task 190954))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>8.1 KiB (458.0 B, 461.0 B, 1836.0 B (stage 77192.0: task 190910))" tooltip="Exchange hashpartitioning(shardId#936462, worklistShardItemId#936463L, 20), ENSURE_REQUIREMENTS, [plan_id=368539]"];
81 [id="node81" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 18<br>time in aggregation build total (min, med, max (stageId: taskId))<br>554 ms (0 ms, 3 ms, 144 ms (stage 77192.0: task 190872))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 77192.0: task 190875))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#936462, worklistShardItemId#936463L], functions=[partial_collect_list(struct(qty, qty#936464, kpis, kpis#936467), 0, 0)])"];
subgraph cluster82 {
isCluster="true";
id="cluster82";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n554 ms (0 ms, 3 ms, 144 ms (stage 77192.0: task 190872))";
tooltip="WholeStageCodegen (11)";
83 [id="node83" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#936462, worklistShardItemId#936463L, qty#936464, kpis#936467]"];
84 [id="node84" labelType="html" label="<b>Filter</b><br><br>number of output rows: 18" tooltip="Filter ((isnotnull(qty#936464) AND isnotnull(kpis#936467)) AND (isnotnull(shardId#936462) AND isnotnull(worklistShardItemId#936463L)))"];
85 [id="node85" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 34" tooltip="Scan ExistingRDD[shardId#936462,worklistShardItemId#936463L,qty#936464,demandChannel#936465,demandStream#936466,kpis#936467]"];
}
86 [id="node86" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 6 ms<br>time to collect: 758 ms<br>number of output rows: 5<br>data size: 2.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[0, bigint, true], 0), isnull(input[0, bigint, true])),false), [plan_id=368815]"];
87 [id="node87" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#937259L, shardId#937258, coalesce(transform(optimizationGroups#937261, lambdafunction(struct(optGroupId, lambda x_2452#937256.optGroupId, minOrderProfile, lambda x_2452#937256.minOrderProfile, assignmentDetails, lambda x_2452#937256.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2452#937256.minOrderGoal.dimensionType, unit, lambda x_2452#937256.minOrderGoal.unit, unitUuid, lambda x_2452#937256.minOrderGoal.unitUuid, goalValue, lambda x_2452#937256.minOrderGoal.minOrderValue, calcValue, lambda x_2452#937256.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2452#937256, false)), []) AS optimizationGroups#937255]"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n386 ms (1 ms, 36 ms, 40 ms (stage 77162.0: task 190827))";
tooltip="WholeStageCodegen (6)";
89 [id="node89" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 5" tooltip="BroadcastHashJoin [orderProposalId#937259L], [orderProposalId#937314L], Inner, BuildLeft, false"];
100 [id="node100" 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>6 ms (0 ms, 0 ms, 1 ms (stage 77162.0: task 190831))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 77162.0: task 190832))<br>number of output rows: 5<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#937314L], functions=[])"];
}
90 [id="node90" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 5 ms<br>time to collect: 237 ms<br>number of output rows: 5<br>data size: 1024.3 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=368787]"];
subgraph cluster91 {
isCluster="true";
id="cluster91";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n14 ms (0 ms, 1 ms, 2 ms (stage 77159.0: task 190772))";
tooltip="WholeStageCodegen (2)";
92 [id="node92" labelType="html" label="<b>Filter</b><br><br>number of output rows: 5" tooltip="Filter isnotnull(orderProposalId#937259L)"];
}
93 [id="node93" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 5" tooltip="InMemoryTableScan [shardId#937258, orderProposalId#937259L, optimizationGroups#937261], [isnotnull(orderProposalId#937259L)]"];
subgraph cluster94 {
isCluster="true";
id="cluster94";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
95 [id="node95" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))"];
}
96 [id="node96" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, optimizationInsights#935030], [isnotnull(shardId#935024), (shardId#935024 = 0_1_10000002110)]"];
subgraph cluster97 {
isCluster="true";
id="cluster97";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
98 [id="node98" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))"];
99 [id="node99" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#935024,orderProposalId#935025L,items#935026,optimizationGroups#935027,isOptimal#935028,lastModified#935029,optimizationInsights#935030]"];
}
101 [id="node101" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>375.0 B (75.0 B, 150.0 B, 150.0 B (stage 77162.0: task 190827))<br>merged fetch fallback count: 0<br>local blocks read: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 3<br>data size total (min, med, max (stageId: taskId))<br>128.0 B (16.0 B, 16.0 B, 32.0 B (stage 77161.0: task 190805))<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>2 ms (0 ms, 0 ms, 0 ms (stage 77161.0: task 190809))<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 77162.0: task 190827))<br>remote bytes read: 225.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>600.0 B (75.0 B, 75.0 B, 150.0 B (stage 77161.0: task 190805))" tooltip="Exchange hashpartitioning(orderProposalId#937314L, 20), ENSURE_REQUIREMENTS, [plan_id=368809]"];
subgraph cluster102 {
isCluster="true";
id="cluster102";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n263 ms (0 ms, 11 ms, 42 ms (stage 77161.0: task 190806))";
tooltip="WholeStageCodegen (5)";
103 [id="node103" 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>4 ms (0 ms, 0 ms, 1 ms (stage 77161.0: task 190805))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 77161.0: task 190812))<br>number of output rows: 8<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#937314L], functions=[])"];
104 [id="node104" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#937314L]"];
105 [id="node105" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 8" tooltip="BroadcastHashJoin [worklistShardItemId#937266L], [worklistShardItemId#937337L], Inner, BuildLeft, false"];
119 [id="node119" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#937337L, orderProposalId#937314L]"];
}
106 [id="node106" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 131 ms<br>number of output rows: 8<br>data size: 1024.2 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=368795]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n14 ms (0 ms, 1 ms, 2 ms (stage 77158.0: task 190765))";
tooltip="WholeStageCodegen (3)";
108 [id="node108" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#937265L AS worklistShardItemId#937266L]"];
109 [id="node109" labelType="html" label="<b>Generate</b><br><br>number of output rows: 8" tooltip="Generate explode(_extract_worklistShardItemId#937906), false, [item#937265L]"];
110 [id="node110" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#936877.worklistShardItemId AS _extract_worklistShardItemId#937906]"];
111 [id="node111" labelType="html" label="<b>Filter</b><br><br>number of output rows: 5" tooltip="Filter (((size(items#936877.worklistShardItemId, true) > 0) AND isnotnull(items#936877.worklistShardItemId)) AND (shardId#936875 = 0_1_10000002110))"];
}
112 [id="node112" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 5" tooltip="InMemoryTableScan [items#936877, shardId#936875], [(size(items#936877.worklistShardItemId, true) > 0), isnotnull(items#936877.worklistShardItemId), (shardId#936875 = 0_1_10000002110)]"];
subgraph cluster113 {
isCluster="true";
id="cluster113";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
114 [id="node114" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))"];
}
115 [id="node115" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, optimizationInsights#935030], [isnotnull(shardId#935024), (shardId#935024 = 0_1_10000002110)]"];
subgraph cluster116 {
isCluster="true";
id="cluster116";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
117 [id="node117" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))"];
118 [id="node118" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#935024,orderProposalId#935025L,items#935026,optimizationGroups#935027,isOptimal#935028,lastModified#935029,optimizationInsights#935030]"];
}
120 [id="node120" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read total (min, med, max (stageId: taskId))<br>588.0 B (84.0 B, 84.0 B, 84.0 B (stage 77161.0: task 190805))<br>merged fetch fallback count: 0<br>local blocks read: 7<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>192.0 B (24.0 B, 24.0 B, 48.0 B (stage 77160.0: task 190800))<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>4 ms (0 ms, 0 ms, 2 ms (stage 77160.0: task 190804))<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 77161.0: task 190805))<br>remote bytes read: 84.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>672.0 B (84.0 B, 84.0 B, 168.0 B (stage 77160.0: task 190800))" tooltip="Exchange hashpartitioning(worklistShardItemId#937337L, 20), REPARTITION_BY_NUM, [plan_id=368802]"];
subgraph cluster121 {
isCluster="true";
id="cluster121";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n876 ms (104 ms, 168 ms, 190 ms (stage 77160.0: task 190801))";
tooltip="WholeStageCodegen (4)";
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#937314L, worklistShardItemId#937337L]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 8" tooltip="Filter ((isnotnull(worklistShardItemId#937337L) AND NOT (isFallbackOrderOnly#937331 <=> true)) AND isnotnull(orderProposalId#937314L))"];
124 [id="node124" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 8<br>number of input batches: 6" tooltip="ColumnarToRow"];
}
125 [id="node125" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 6<br>scan time total (min, med, max (stageId: taskId))<br>774 ms (102 ms, 136 ms, 158 ms (stage 77160.0: task 190801))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 113.4 KiB<br>number of output rows: 8<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#937314L,isFallbackOrderOnly#937331,worklistShardItemId#937337L,shardId#937358,sequenceId#937336] Batched: true, DataFilters: [isnotnull(worklistShardItemId#937337L), NOT (isFallbackOrderOnly#937331 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#937358), isnotnull(sequenceId#937336), (shardId#937358 = 0_1_10000002110), (se..., 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;
24->22;
25->24;
26->25;
28->26;
29->28;
31->29;
32->31;
34->32;
35->34;
37->35;
38->37;
40->38;
41->40;
42->41;
43->42;
44->43;
45->44;
47->45;
48->47;
50->48;
51->50;
52->41;
54->52;
55->54;
57->55;
58->57;
59->58;
60->59;
62->35;
63->62;
65->63;
66->65;
67->66;
69->32;
70->69;
71->70;
72->71;
74->72;
75->74;
76->75;
78->29;
79->78;
80->79;
81->80;
83->81;
84->83;
85->84;
86->11;
87->86;
89->87;
90->89;
92->90;
93->92;
95->93;
96->95;
98->96;
99->98;
100->89;
101->100;
103->101;
104->103;
105->104;
106->105;
108->106;
109->108;
110->109;
111->110;
112->111;
114->112;
115->114;
117->115;
118->117;
119->105;
120->119;
122->120;
123->122;
124->123;
125->124;
}
== Physical Plan ==
* HashAggregate (97)
+- Exchange (96)
+- * HashAggregate (95)
+- * Project (94)
+- * Generate (93)
+- Project (92)
+- Filter (91)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (90)
+- BroadcastHashJoin LeftOuter BuildRight (89)
:- Project (63)
: +- Project (62)
: +- ObjectHashAggregate (61)
: +- Exchange (60)
: +- ObjectHashAggregate (59)
: +- ObjectHashAggregate (58)
: +- Exchange (57)
: +- ObjectHashAggregate (56)
: +- Project (55)
: +- Project (54)
: +- Project (53)
: +- * Project (52)
: +- * Filter (51)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (50)
: +- * SortMergeJoin LeftOuter (49)
: :- * Project (41)
: : +- * SortMergeJoin LeftOuter (40)
: : :- * Project (32)
: : : +- * SortMergeJoin LeftOuter (31)
: : : :- * Sort (25)
: : : : +- Exchange (24)
: : : : +- * Project (23)
: : : : +- * BroadcastHashJoin LeftOuter BuildRight (22)
: : : : :- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- BroadcastExchange (21)
: : : : +- * Project (20)
: : : : +- Exchange (19)
: : : : +- * Project (18)
: : : : +- * Filter (17)
: : : : +- * ColumnarToRow (16)
: : : : +- Scan parquet (15)
: : : +- * Sort (30)
: : : +- Exchange (29)
: : : +- * Project (28)
: : : +- * Filter (27)
: : : +- * Scan ExistingRDD (26)
: : +- * Sort (39)
: : +- ObjectHashAggregate (38)
: : +- Exchange (37)
: : +- ObjectHashAggregate (36)
: : +- * Project (35)
: : +- * Filter (34)
: : +- * Scan ExistingRDD (33)
: +- * Sort (48)
: +- ObjectHashAggregate (47)
: +- Exchange (46)
: +- ObjectHashAggregate (45)
: +- * Project (44)
: +- * Filter (43)
: +- * Scan ExistingRDD (42)
+- BroadcastExchange (88)
+- Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (67)
: +- * Filter (66)
: +- InMemoryTableScan (64)
: +- InMemoryRelation (65)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * HashAggregate (85)
+- Exchange (84)
+- * HashAggregate (83)
+- * Project (82)
+- * BroadcastHashJoin Inner BuildLeft (81)
:- BroadcastExchange (74)
: +- * Project (73)
: +- * Generate (72)
: +- * Project (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (80)
+- Exchange (79)
+- * Project (78)
+- * Filter (77)
+- * ColumnarToRow (76)
+- Scan parquet (75)
(1) InMemoryTableScan
Output [1]: [orderProposal#937362]
Arguments: [orderProposal#937362], [(size(orderProposal#937362.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#935024, orderProposal#937362], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#935714, channelStreamSpecificKpis#936455, constraintLabels#935726, constraintOperators#935727, constraintValues#935729, deliveryDateTime#935713, isFallbackOrderOnly#935716, logisticUnits#935731, measurements#935724, minimumOrderQuantity#935725, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, nextAvailabilityDateTime#935715, optimizationGroups#935732, orderDateTime#935712, orderProposalId#935694L, orderProposalItemGroupId#935696, orderProposalItemId#935695, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, originalReplenishmentRunId#935697L, plant#935708, previousOrderProposal#935700L, prodLocSpecificKpis#936440, product#935707, productGroup#935736, qty#935538, quantityAfterProdPlantOptimization#935537, quantityKpis#936468, shardId#935024, sourceOfSupplyUuid#935703, splitIndicator#935699L, subrange#935706, supplier#935705, supplierGroup#935704, supplyingPlant#935735]
Arguments: [availabilityDateTime#935714, channelStreamSpecificKpis#936455, constraintLabels#935726, constraintOperators#935727, constraintValues#935729, deliveryDateTime#935713, isFallbackOrderOnly#935716, logisticUnits#935731, measurements#935724, minimumOrderQuantity#935725, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, nextAvailabilityDateTime#935715, optimizationGroups#935732, orderDateTime#935712, orderProposalId#935694L, orderProposalItemGroupId#935696, orderProposalItemId#935695, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, originalReplenishmentRunId#935697L, plant#935708, ... 14 more fields], [NOT (isFallbackOrderOnly#935716 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, productGroup#935736, product#935707, plant#935708, subrange#935706, orderDateTime#935712, deliveryDateTime#935713, availabilityDateTime#935714, nextAvailabilityDateTime#935715, constraintValues#935729, constraintOperators#935727, constraintLabels#935726, logisticUnits#935731, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, splitIndicator#935699L, netPriceAmount#935722, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#935024, items#935026]
Arguments: [shardId#935024, items#935026], [(size(items#935026, true) > 0), isnotnull(items#935026)]
(6) InMemoryRelation
Arguments: [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, optimizationInsights#935030], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, optimizationInsights#935030]
Arguments: [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, optimizationInsights#935030], [isnotnull(shardId#935024), (shardId#935024 = 0_1_10000002110)]
(8) InMemoryRelation
Arguments: [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, lastModified#935029, optimizationInsights#935030], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, lastModified#935029, optimizationInsights#935030]
Arguments: [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, lastModified#935029, optimizationInsights#935030], MapPartitionsRDD[43911] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, lastModified#935029, optimizationInsights#935030]
Condition : (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))
(11) Filter [codegen id : 1]
Input [6]: [shardId#935024, orderProposalId#935025L, items#935026, optimizationGroups#935027, isOptimal#935028, optimizationInsights#935030]
Condition : (isnotnull(shardId#935024) AND (shardId#935024 = 0_1_10000002110))
(12) Filter [codegen id : 3]
Input [2]: [shardId#935024, items#935026]
Condition : ((size(items#935026, true) > 0) AND isnotnull(items#935026))
(13) Generate [codegen id : 3]
Input [2]: [shardId#935024, items#935026]
Arguments: explode(items#935026), [shardId#935024], false, [item#935535]
(14) Project [codegen id : 3]
Output [4]: [shardId#935024, item#935535.worklistShardItemId AS worklistShardItemId#935536L, item#935535.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#935537, item#935535.qty AS qty#935538]
Input [2]: [shardId#935024, item#935535]
(15) Scan parquet
Output [38]: [orderProposalId#935737L, orderProposalItemId#935738, supplierGroup#935739, supplier#935740, plant#935741, deliveryDateTime#935742, subrange#935743, supplyingPlant#935744, productGroup#935745, product#935746, orderDateTime#935747, availabilityDateTime#935748, nextAvailabilityDateTime#935749, sourceOfSupplyUuid#935751, isFallbackOrderOnly#935754, splitIndicator#935756L, previousOrderProposal#935757L, worklistShardItemId#935760L, orderProposalItemGroupId#935761, externalProductId#935762, externalPlantId#935763, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, minimumOrderQuantity#935767, constraintLabels#935768, constraintOperators#935769, constraintValues#935770, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, measurements#935778, originalReplenishmentRunId#935779L, optimizationGroups#935780, shardId#935781, sequenceId#935759]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002110]
PartitionFilters: [isnotnull(shardId#935781), isnotnull(sequenceId#935759), (shardId#935781 = 0_1_10000002110), (sequenceId#935759 = 0)]
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>>
(16) ColumnarToRow [codegen id : 1]
Input [38]: [orderProposalId#935737L, orderProposalItemId#935738, supplierGroup#935739, supplier#935740, plant#935741, deliveryDateTime#935742, subrange#935743, supplyingPlant#935744, productGroup#935745, product#935746, orderDateTime#935747, availabilityDateTime#935748, nextAvailabilityDateTime#935749, sourceOfSupplyUuid#935751, isFallbackOrderOnly#935754, splitIndicator#935756L, previousOrderProposal#935757L, worklistShardItemId#935760L, orderProposalItemGroupId#935761, externalProductId#935762, externalPlantId#935763, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, minimumOrderQuantity#935767, constraintLabels#935768, constraintOperators#935769, constraintValues#935770, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, measurements#935778, originalReplenishmentRunId#935779L, optimizationGroups#935780, shardId#935781, sequenceId#935759]
(17) Filter [codegen id : 1]
Input [38]: [orderProposalId#935737L, orderProposalItemId#935738, supplierGroup#935739, supplier#935740, plant#935741, deliveryDateTime#935742, subrange#935743, supplyingPlant#935744, productGroup#935745, product#935746, orderDateTime#935747, availabilityDateTime#935748, nextAvailabilityDateTime#935749, sourceOfSupplyUuid#935751, isFallbackOrderOnly#935754, splitIndicator#935756L, previousOrderProposal#935757L, worklistShardItemId#935760L, orderProposalItemGroupId#935761, externalProductId#935762, externalPlantId#935763, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, minimumOrderQuantity#935767, constraintLabels#935768, constraintOperators#935769, constraintValues#935770, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, measurements#935778, originalReplenishmentRunId#935779L, optimizationGroups#935780, shardId#935781, sequenceId#935759]
Condition : isnotnull(worklistShardItemId#935760L)
(18) Project [codegen id : 1]
Output [36]: [orderProposalId#935737L, orderProposalItemId#935738, supplierGroup#935739, supplier#935740, plant#935741, deliveryDateTime#935742, subrange#935743, supplyingPlant#935744, productGroup#935745, product#935746, orderDateTime#935747, availabilityDateTime#935748, nextAvailabilityDateTime#935749, sourceOfSupplyUuid#935751, isFallbackOrderOnly#935754, splitIndicator#935756L, previousOrderProposal#935757L, worklistShardItemId#935760L, orderProposalItemGroupId#935761, externalProductId#935762, externalPlantId#935763, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, minimumOrderQuantity#935767, constraintLabels#935768, constraintOperators#935769, constraintValues#935770, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, measurements#935778, originalReplenishmentRunId#935779L, optimizationGroups#935780]
Input [38]: [orderProposalId#935737L, orderProposalItemId#935738, supplierGroup#935739, supplier#935740, plant#935741, deliveryDateTime#935742, subrange#935743, supplyingPlant#935744, productGroup#935745, product#935746, orderDateTime#935747, availabilityDateTime#935748, nextAvailabilityDateTime#935749, sourceOfSupplyUuid#935751, isFallbackOrderOnly#935754, splitIndicator#935756L, previousOrderProposal#935757L, worklistShardItemId#935760L, orderProposalItemGroupId#935761, externalProductId#935762, externalPlantId#935763, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, minimumOrderQuantity#935767, constraintLabels#935768, constraintOperators#935769, constraintValues#935770, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, measurements#935778, originalReplenishmentRunId#935779L, optimizationGroups#935780, shardId#935781, sequenceId#935759]
(19) Exchange
Input [36]: [orderProposalId#935737L, orderProposalItemId#935738, supplierGroup#935739, supplier#935740, plant#935741, deliveryDateTime#935742, subrange#935743, supplyingPlant#935744, productGroup#935745, product#935746, orderDateTime#935747, availabilityDateTime#935748, nextAvailabilityDateTime#935749, sourceOfSupplyUuid#935751, isFallbackOrderOnly#935754, splitIndicator#935756L, previousOrderProposal#935757L, worklistShardItemId#935760L, orderProposalItemGroupId#935761, externalProductId#935762, externalPlantId#935763, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, minimumOrderQuantity#935767, constraintLabels#935768, constraintOperators#935769, constraintValues#935770, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, measurements#935778, originalReplenishmentRunId#935779L, optimizationGroups#935780]
Arguments: hashpartitioning(worklistShardItemId#935760L, 20), REPARTITION_BY_NUM, [plan_id=368501]
(20) Project [codegen id : 2]
Output [36]: [worklistShardItemId#935760L, orderProposalId#935737L, orderProposalItemId#935738, orderProposalItemGroupId#935761, originalReplenishmentRunId#935779L, splitIndicator#935756L, previousOrderProposal#935757L, sourceOfSupplyUuid#935751, supplierGroup#935739, supplier#935740, subrange#935743, product#935746, plant#935741, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, isFallbackOrderOnly#935754, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, netPriceAmount#935773, netPriceCurrencyCode#935774, measurements#935778, minimumOrderQuantity#935767, constraintLabels#935768, constraintOperators#935769, constraintValues#935770, logisticUnits#935764, optimizationGroups#935780, externalProductId#935762, externalPlantId#935763, supplyingPlant#935744, productGroup#935745]
Input [36]: [orderProposalId#935737L, orderProposalItemId#935738, supplierGroup#935739, supplier#935740, plant#935741, deliveryDateTime#935742, subrange#935743, supplyingPlant#935744, productGroup#935745, product#935746, orderDateTime#935747, availabilityDateTime#935748, nextAvailabilityDateTime#935749, sourceOfSupplyUuid#935751, isFallbackOrderOnly#935754, splitIndicator#935756L, previousOrderProposal#935757L, worklistShardItemId#935760L, orderProposalItemGroupId#935761, externalProductId#935762, externalPlantId#935763, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, minimumOrderQuantity#935767, constraintLabels#935768, constraintOperators#935769, constraintValues#935770, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, measurements#935778, originalReplenishmentRunId#935779L, optimizationGroups#935780]
(21) BroadcastExchange
Input [36]: [worklistShardItemId#935760L, orderProposalId#935737L, orderProposalItemId#935738, orderProposalItemGroupId#935761, originalReplenishmentRunId#935779L, splitIndicator#935756L, previousOrderProposal#935757L, sourceOfSupplyUuid#935751, supplierGroup#935739, supplier#935740, subrange#935743, product#935746, plant#935741, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, isFallbackOrderOnly#935754, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, netPriceAmount#935773, netPriceCurrencyCode#935774, measurements#935778, minimumOrderQuantity#935767, constraintLabels#935768, constraintOperators#935769, constraintValues#935770, logisticUnits#935764, optimizationGroups#935780, externalProductId#935762, externalPlantId#935763, supplyingPlant#935744, productGroup#935745]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=368505]
(22) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#935536L]
Right keys [1]: [worklistShardItemId#935760L]
Join type: LeftOuter
Join condition: (shardId#935024 = 0_1_10000002110)
(23) Project [codegen id : 3]
Output [39]: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, sourceOfSupplyUuid#935751, minimumOrderQuantity#935767, orderProposalItemId#935738, orderProposalItemGroupId#935761, optimizationGroups#935780, measurements#935778, externalProductId#935762, externalPlantId#935763, previousOrderProposal#935757L, isFallbackOrderOnly#935754]
Input [40]: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, worklistShardItemId#935760L, orderProposalId#935737L, orderProposalItemId#935738, orderProposalItemGroupId#935761, originalReplenishmentRunId#935779L, splitIndicator#935756L, previousOrderProposal#935757L, sourceOfSupplyUuid#935751, supplierGroup#935739, supplier#935740, subrange#935743, product#935746, plant#935741, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, isFallbackOrderOnly#935754, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, netPriceAmount#935773, netPriceCurrencyCode#935774, measurements#935778, minimumOrderQuantity#935767, constraintLabels#935768, constraintOperators#935769, constraintValues#935770, logisticUnits#935764, optimizationGroups#935780, externalProductId#935762, externalPlantId#935763, supplyingPlant#935744, productGroup#935745]
(24) Exchange
Input [39]: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, sourceOfSupplyUuid#935751, minimumOrderQuantity#935767, orderProposalItemId#935738, orderProposalItemGroupId#935761, optimizationGroups#935780, measurements#935778, externalProductId#935762, externalPlantId#935763, previousOrderProposal#935757L, isFallbackOrderOnly#935754]
Arguments: hashpartitioning(shardId#935024, worklistShardItemId#935536L, 20), ENSURE_REQUIREMENTS, [plan_id=368510]
(25) Sort [codegen id : 4]
Input [39]: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, sourceOfSupplyUuid#935751, minimumOrderQuantity#935767, orderProposalItemId#935738, orderProposalItemGroupId#935761, optimizationGroups#935780, measurements#935778, externalProductId#935762, externalPlantId#935763, previousOrderProposal#935757L, isFallbackOrderOnly#935754]
Arguments: [shardId#935024 ASC NULLS FIRST, worklistShardItemId#935536L ASC NULLS FIRST], false, 0
(26) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#936433, worklistShardItemId#936434L, qty#936435, demandChannel#936436, demandStream#936437, kpis#936438]
Arguments: [shardId#936433, worklistShardItemId#936434L, qty#936435, demandChannel#936436, demandStream#936437, kpis#936438], MapPartitionsRDD[43985] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(27) Filter [codegen id : 5]
Input [6]: [shardId#936433, worklistShardItemId#936434L, qty#936435, demandChannel#936436, demandStream#936437, kpis#936438]
Condition : (((isnull(qty#936435) AND isnull(demandChannel#936436)) AND isnull(demandStream#936437)) AND (isnotnull(shardId#936433) AND isnotnull(worklistShardItemId#936434L)))
(28) Project [codegen id : 5]
Output [3]: [shardId#936433, worklistShardItemId#936434L, coalesce(kpis#936438, []) AS prodLocSpecificKpis#936439]
Input [6]: [shardId#936433, worklistShardItemId#936434L, qty#936435, demandChannel#936436, demandStream#936437, kpis#936438]
(29) Exchange
Input [3]: [shardId#936433, worklistShardItemId#936434L, prodLocSpecificKpis#936439]
Arguments: hashpartitioning(shardId#936433, worklistShardItemId#936434L, 20), ENSURE_REQUIREMENTS, [plan_id=368516]
(30) Sort [codegen id : 6]
Input [3]: [shardId#936433, worklistShardItemId#936434L, prodLocSpecificKpis#936439]
Arguments: [shardId#936433 ASC NULLS FIRST, worklistShardItemId#936434L ASC NULLS FIRST], false, 0
(31) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#935024, worklistShardItemId#935536L]
Right keys [2]: [shardId#936433, worklistShardItemId#936434L]
Join type: LeftOuter
Join condition: None
(32) Project [codegen id : 7]
Output [40]: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, sourceOfSupplyUuid#935751, minimumOrderQuantity#935767, orderProposalItemId#935738, orderProposalItemGroupId#935761, optimizationGroups#935780, measurements#935778, externalProductId#935762, externalPlantId#935763, previousOrderProposal#935757L, isFallbackOrderOnly#935754, coalesce(prodLocSpecificKpis#936439, []) AS prodLocSpecificKpis#936440]
Input [42]: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, sourceOfSupplyUuid#935751, minimumOrderQuantity#935767, orderProposalItemId#935738, orderProposalItemGroupId#935761, optimizationGroups#935780, measurements#935778, externalProductId#935762, externalPlantId#935763, previousOrderProposal#935757L, isFallbackOrderOnly#935754, shardId#936433, worklistShardItemId#936434L, prodLocSpecificKpis#936439]
(33) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#936449, worklistShardItemId#936450L, qty#936451, demandChannel#936452, demandStream#936453, kpis#936454]
Arguments: [shardId#936449, worklistShardItemId#936450L, qty#936451, demandChannel#936452, demandStream#936453, kpis#936454], MapPartitionsRDD[43985] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(34) Filter [codegen id : 8]
Input [6]: [shardId#936449, worklistShardItemId#936450L, qty#936451, demandChannel#936452, demandStream#936453, kpis#936454]
Condition : ((((isnull(qty#936451) AND isnotnull(demandChannel#936452)) AND isnotnull(demandStream#936453)) AND (size(kpis#936454, true) > 0)) AND (isnotnull(shardId#936449) AND isnotnull(worklistShardItemId#936450L)))
(35) Project [codegen id : 8]
Output [5]: [shardId#936449, worklistShardItemId#936450L, demandChannel#936452, demandStream#936453, kpis#936454]
Input [6]: [shardId#936449, worklistShardItemId#936450L, qty#936451, demandChannel#936452, demandStream#936453, kpis#936454]
(36) ObjectHashAggregate
Input [5]: [shardId#936449, worklistShardItemId#936450L, demandChannel#936452, demandStream#936453, kpis#936454]
Keys [2]: [shardId#936449, worklistShardItemId#936450L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#936452, demandStream, demandStream#936453, kpis, kpis#936454), 0, 0)]
Aggregate Attributes [1]: [buf#936629]
Results [3]: [shardId#936449, worklistShardItemId#936450L, buf#936630]
(37) Exchange
Input [3]: [shardId#936449, worklistShardItemId#936450L, buf#936630]
Arguments: hashpartitioning(shardId#936449, worklistShardItemId#936450L, 20), ENSURE_REQUIREMENTS, [plan_id=368527]
(38) ObjectHashAggregate
Input [3]: [shardId#936449, worklistShardItemId#936450L, buf#936630]
Keys [2]: [shardId#936449, worklistShardItemId#936450L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#936452, demandStream, demandStream#936453, kpis, kpis#936454), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#936452, demandStream, demandStream#936453, kpis, kpis#936454), 0, 0)#936448]
Results [3]: [shardId#936449, worklistShardItemId#936450L, collect_list(struct(demandChannel, demandChannel#936452, demandStream, demandStream#936453, kpis, kpis#936454), 0, 0)#936448 AS channelStreamSpecificKpis#936441]
(39) Sort [codegen id : 9]
Input [3]: [shardId#936449, worklistShardItemId#936450L, channelStreamSpecificKpis#936441]
Arguments: [shardId#936449 ASC NULLS FIRST, worklistShardItemId#936450L ASC NULLS FIRST], false, 0
(40) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#935024, worklistShardItemId#935536L]
Right keys [2]: [shardId#936449, worklistShardItemId#936450L]
Join type: LeftOuter
Join condition: None
(41) Project [codegen id : 10]
Output [41]: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, sourceOfSupplyUuid#935751, minimumOrderQuantity#935767, orderProposalItemId#935738, orderProposalItemGroupId#935761, optimizationGroups#935780, measurements#935778, externalProductId#935762, externalPlantId#935763, previousOrderProposal#935757L, isFallbackOrderOnly#935754, prodLocSpecificKpis#936440, coalesce(channelStreamSpecificKpis#936441, []) AS channelStreamSpecificKpis#936455]
Input [43]: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, sourceOfSupplyUuid#935751, minimumOrderQuantity#935767, orderProposalItemId#935738, orderProposalItemGroupId#935761, optimizationGroups#935780, measurements#935778, externalProductId#935762, externalPlantId#935763, previousOrderProposal#935757L, isFallbackOrderOnly#935754, prodLocSpecificKpis#936440, shardId#936449, worklistShardItemId#936450L, channelStreamSpecificKpis#936441]
(42) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#936462, worklistShardItemId#936463L, qty#936464, demandChannel#936465, demandStream#936466, kpis#936467]
Arguments: [shardId#936462, worklistShardItemId#936463L, qty#936464, demandChannel#936465, demandStream#936466, kpis#936467], MapPartitionsRDD[43985] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(43) Filter [codegen id : 11]
Input [6]: [shardId#936462, worklistShardItemId#936463L, qty#936464, demandChannel#936465, demandStream#936466, kpis#936467]
Condition : ((isnotnull(qty#936464) AND isnotnull(kpis#936467)) AND (isnotnull(shardId#936462) AND isnotnull(worklistShardItemId#936463L)))
(44) Project [codegen id : 11]
Output [4]: [shardId#936462, worklistShardItemId#936463L, qty#936464, kpis#936467]
Input [6]: [shardId#936462, worklistShardItemId#936463L, qty#936464, demandChannel#936465, demandStream#936466, kpis#936467]
(45) ObjectHashAggregate
Input [4]: [shardId#936462, worklistShardItemId#936463L, qty#936464, kpis#936467]
Keys [2]: [shardId#936462, worklistShardItemId#936463L]
Functions [1]: [partial_collect_list(struct(qty, qty#936464, kpis, kpis#936467), 0, 0)]
Aggregate Attributes [1]: [buf#936631]
Results [3]: [shardId#936462, worklistShardItemId#936463L, buf#936632]
(46) Exchange
Input [3]: [shardId#936462, worklistShardItemId#936463L, buf#936632]
Arguments: hashpartitioning(shardId#936462, worklistShardItemId#936463L, 20), ENSURE_REQUIREMENTS, [plan_id=368539]
(47) ObjectHashAggregate
Input [3]: [shardId#936462, worklistShardItemId#936463L, buf#936632]
Keys [2]: [shardId#936462, worklistShardItemId#936463L]
Functions [1]: [collect_list(struct(qty, qty#936464, kpis, kpis#936467), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#936464, kpis, kpis#936467), 0, 0)#936461]
Results [3]: [shardId#936462, worklistShardItemId#936463L, map_from_entries(collect_list(struct(qty, qty#936464, kpis, kpis#936467), 0, 0)#936461) AS quantityKpis#936456]
(48) Sort [codegen id : 12]
Input [3]: [shardId#936462, worklistShardItemId#936463L, quantityKpis#936456]
Arguments: [shardId#936462 ASC NULLS FIRST, worklistShardItemId#936463L ASC NULLS FIRST], false, 0
(49) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#935024, worklistShardItemId#935536L]
Right keys [2]: [shardId#936462, worklistShardItemId#936463L]
Join type: LeftOuter
Join condition: None
(50) Project [codegen id : 13]
Output [42]: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, sourceOfSupplyUuid#935751, minimumOrderQuantity#935767, orderProposalItemId#935738, orderProposalItemGroupId#935761, optimizationGroups#935780, measurements#935778, externalProductId#935762, externalPlantId#935763, previousOrderProposal#935757L, isFallbackOrderOnly#935754, prodLocSpecificKpis#936440, channelStreamSpecificKpis#936455, coalesce(quantityKpis#936456, map(keys: [], values: [])) AS quantityKpis#936468]
Input [44]: [shardId#935024, worklistShardItemId#935536L, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935737L, originalReplenishmentRunId#935779L, supplierGroup#935739, supplier#935740, supplyingPlant#935744, productGroup#935745, product#935746, plant#935741, subrange#935743, orderDateTime#935747, deliveryDateTime#935742, availabilityDateTime#935748, nextAvailabilityDateTime#935749, constraintValues#935770, constraintOperators#935769, constraintLabels#935768, logisticUnits#935764, orderQuantityBaseUom#935765, orderQuantityBaseUomUuid#935766, splitIndicator#935756L, netPriceAmount#935773, netPriceCurrencyCode#935774, netPriceQuantity#935775, netPriceQuantityUom#935776, netPriceQuantityUomUuid#935777, sourceOfSupplyUuid#935751, minimumOrderQuantity#935767, orderProposalItemId#935738, orderProposalItemGroupId#935761, optimizationGroups#935780, measurements#935778, externalProductId#935762, externalPlantId#935763, previousOrderProposal#935757L, isFallbackOrderOnly#935754, prodLocSpecificKpis#936440, channelStreamSpecificKpis#936455, shardId#936462, worklistShardItemId#936463L, quantityKpis#936456]
(51) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#935714, channelStreamSpecificKpis#936455, constraintLabels#935726, constraintOperators#935727, constraintValues#935729, deliveryDateTime#935713, isFallbackOrderOnly#935716, logisticUnits#935731, measurements#935724, minimumOrderQuantity#935725, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, nextAvailabilityDateTime#935715, optimizationGroups#935732, orderDateTime#935712, orderProposalId#935694L, orderProposalItemGroupId#935696, orderProposalItemId#935695, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, originalReplenishmentRunId#935697L, plant#935708, previousOrderProposal#935700L, prodLocSpecificKpis#936440, product#935707, productGroup#935736, qty#935538, quantityAfterProdPlantOptimization#935537, quantityKpis#936468, shardId#935024, sourceOfSupplyUuid#935703, splitIndicator#935699L, subrange#935706, supplier#935705, supplierGroup#935704, supplyingPlant#935735]
Condition : NOT (isFallbackOrderOnly#935716 <=> true)
(52) Project [codegen id : 1]
Output [36]: [shardId#935024, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, productGroup#935736, product#935707, plant#935708, subrange#935706, orderDateTime#935712, deliveryDateTime#935713, availabilityDateTime#935714, nextAvailabilityDateTime#935715, logisticUnits#935731, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, splitIndicator#935699L, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, sourceOfSupplyUuid#935703, minimumOrderQuantity#935725, orderProposalItemId#935695, orderProposalItemGroupId#935696, optimizationGroups#935732, measurements#935724, previousOrderProposal#935700L, prodLocSpecificKpis#936440, channelStreamSpecificKpis#936455, quantityKpis#936468, arrays_zip(constraintLabels#935726, constraintOperators#935727, constraintValues#935729, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#936882]
Input [39]: [availabilityDateTime#935714, channelStreamSpecificKpis#936455, constraintLabels#935726, constraintOperators#935727, constraintValues#935729, deliveryDateTime#935713, isFallbackOrderOnly#935716, logisticUnits#935731, measurements#935724, minimumOrderQuantity#935725, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, nextAvailabilityDateTime#935715, optimizationGroups#935732, orderDateTime#935712, orderProposalId#935694L, orderProposalItemGroupId#935696, orderProposalItemId#935695, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, originalReplenishmentRunId#935697L, plant#935708, previousOrderProposal#935700L, prodLocSpecificKpis#936440, product#935707, productGroup#935736, qty#935538, quantityAfterProdPlantOptimization#935537, quantityKpis#936468, shardId#935024, sourceOfSupplyUuid#935703, splitIndicator#935699L, subrange#935706, supplier#935705, supplierGroup#935704, supplyingPlant#935735]
(53) Project
Output [37]: [shardId#935024, qty#935538, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, productGroup#935736, product#935707, plant#935708, subrange#935706, orderDateTime#935712, deliveryDateTime#935713, availabilityDateTime#935714, nextAvailabilityDateTime#935715, logisticUnits#935731, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, splitIndicator#935699L, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, sourceOfSupplyUuid#935703, orderProposalItemId#935695, orderProposalItemGroupId#935696, optimizationGroups#935732, measurements#935724, previousOrderProposal#935700L, prodLocSpecificKpis#936440, channelStreamSpecificKpis#936455, quantityKpis#936468, struct(minServiceLevel, array_min(filter(constraintStructArray#936882, lambdafunction((lambda x_2402#936889.constraintLabels = ServiceLevel), lambda x_2402#936889, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#936882, lambdafunction((lambda x_2403#936890.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_2403#936890, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#936882, lambdafunction((lambda x_2404#936891.constraintLabels = RangeOfCoverage), lambda x_2404#936891, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#935725, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#936440, lambdafunction((lambda x_2405#936892.label = NonListingStartTimestamp), lambda x_2405#936892, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#936888, CASE WHEN (qty#935538 <=> quantityAfterProdPlantOptimization#935537) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#935538 * (cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2406#936960.isOrderUnit, lambda x_2406#936960, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2406#936961.isOrderUnit, lambda x_2406#936961, false)), 1, None, false).numerator as double))), qty#935538), orderQuantityUom, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2406#936962.isOrderUnit, lambda x_2406#936962, false)), 1, None, false).uom, orderQuantityBaseUom#935717), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2406#936963.isOrderUnit, lambda x_2406#936963, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#935718), candidateOrderQuantityInBaseUnit, qty#935538, orderQuantityBaseUom, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#935718, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#935731, lambdafunction((lambda x_2408#936964.isPreferred AND (((qty#935538 * cast(lambda x_2408#936964.denominator as double)) % cast(lambda x_2408#936964.numerator as double)) = 0.0)), lambda x_2408#936964, false)), lambdafunction(struct(inPreferredQuantity, ((qty#935538 * cast(lambda x_2409#937002.denominator as double)) / cast(lambda x_2409#937002.numerator as double)), uom, lambda x_2409#937002.uom, uomUuid, lambda x_2409#937002.uomUuid), lambda x_2409#937002, false))).inPreferredQuantity, coalesce((qty#935538 * (cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2407#936965.isOrderUnit, lambda x_2407#936965, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2407#936966.isOrderUnit, lambda x_2407#936966, false)), 1, None, false).numerator as double))), qty#935538)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#935731, lambdafunction((lambda x_2408#936967.isPreferred AND (((qty#935538 * cast(lambda x_2408#936967.denominator as double)) % cast(lambda x_2408#936967.numerator as double)) = 0.0)), lambda x_2408#936967, false)), lambdafunction(struct(inPreferredQuantity, ((qty#935538 * cast(lambda x_2409#937003.denominator as double)) / cast(lambda x_2409#937003.numerator as double)), uom, lambda x_2409#937003.uom, uomUuid, lambda x_2409#937003.uomUuid), lambda x_2409#937003, false))).uom, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2407#936968.isOrderUnit, lambda x_2407#936968, false)), 1, None, false).uom, orderQuantityBaseUom#935717)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#935731, lambdafunction((lambda x_2408#936969.isPreferred AND (((qty#935538 * cast(lambda x_2408#936969.denominator as double)) % cast(lambda x_2408#936969.numerator as double)) = 0.0)), lambda x_2408#936969, false)), lambdafunction(struct(inPreferredQuantity, ((qty#935538 * cast(lambda x_2409#937004.denominator as double)) / cast(lambda x_2409#937004.numerator as double)), uom, lambda x_2409#937004.uom, uomUuid, lambda x_2409#937004.uomUuid), lambda x_2409#937004, false))).uomUuid, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2407#936970.isOrderUnit, lambda x_2407#936970, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#935718)), serviceLevel, coalesce(filter(element_at(quantityKpis#936468, qty#935538, None, false), lambdafunction((lambda x_2414#936971.label = ServiceLevel), lambda x_2414#936971, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#935538 * (cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2406#936974.isOrderUnit, lambda x_2406#936974, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2406#936975.isOrderUnit, lambda x_2406#936975, false)), 1, None, false).numerator as double))), qty#935538), orderQuantityUom, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2406#936976.isOrderUnit, lambda x_2406#936976, false)), 1, None, false).uom, orderQuantityBaseUom#935717), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2406#936977.isOrderUnit, lambda x_2406#936977, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#935718), candidateOrderQuantityInBaseUnit, qty#935538, orderQuantityBaseUom, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#935718, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#935731, lambdafunction((lambda x_2408#936978.isPreferred AND (((qty#935538 * cast(lambda x_2408#936978.denominator as double)) % cast(lambda x_2408#936978.numerator as double)) = 0.0)), lambda x_2408#936978, false)), lambdafunction(struct(inPreferredQuantity, ((qty#935538 * cast(lambda x_2409#937005.denominator as double)) / cast(lambda x_2409#937005.numerator as double)), uom, lambda x_2409#937005.uom, uomUuid, lambda x_2409#937005.uomUuid), lambda x_2409#937005, false))).inPreferredQuantity, coalesce((qty#935538 * (cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2407#936979.isOrderUnit, lambda x_2407#936979, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2407#936980.isOrderUnit, lambda x_2407#936980, false)), 1, None, false).numerator as double))), qty#935538)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#935731, lambdafunction((lambda x_2408#936981.isPreferred AND (((qty#935538 * cast(lambda x_2408#936981.denominator as double)) % cast(lambda x_2408#936981.numerator as double)) = 0.0)), lambda x_2408#936981, false)), lambdafunction(struct(inPreferredQuantity, ((qty#935538 * cast(lambda x_2409#937006.denominator as double)) / cast(lambda x_2409#937006.numerator as double)), uom, lambda x_2409#937006.uom, uomUuid, lambda x_2409#937006.uomUuid), lambda x_2409#937006, false))).uom, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2407#936982.isOrderUnit, lambda x_2407#936982, false)), 1, None, false).uom, orderQuantityBaseUom#935717)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#935731, lambdafunction((lambda x_2408#936983.isPreferred AND (((qty#935538 * cast(lambda x_2408#936983.denominator as double)) % cast(lambda x_2408#936983.numerator as double)) = 0.0)), lambda x_2408#936983, false)), lambdafunction(struct(inPreferredQuantity, ((qty#935538 * cast(lambda x_2409#937007.denominator as double)) / cast(lambda x_2409#937007.numerator as double)), uom, lambda x_2409#937007.uom, uomUuid, lambda x_2409#937007.uomUuid), lambda x_2409#937007, false))).uomUuid, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2407#936984.isOrderUnit, lambda x_2407#936984, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#935718)), serviceLevel, coalesce(filter(element_at(quantityKpis#936468, qty#935538, None, false), lambdafunction((lambda x_2417#936985.label = ServiceLevel), lambda x_2417#936985, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#935537 * (cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2410#936988.isOrderUnit, lambda x_2410#936988, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2410#936989.isOrderUnit, lambda x_2410#936989, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#935537), orderQuantityUom, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2410#936990.isOrderUnit, lambda x_2410#936990, false)), 1, None, false).uom, orderQuantityBaseUom#935717), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2410#936991.isOrderUnit, lambda x_2410#936991, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#935718), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#935537, orderQuantityBaseUom, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#935718, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#935731, lambdafunction((lambda x_2412#936992.isPreferred AND (((quantityAfterProdPlantOptimization#935537 * cast(lambda x_2412#936992.denominator as double)) % cast(lambda x_2412#936992.numerator as double)) = 0.0)), lambda x_2412#936992, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#935537 * cast(lambda x_2413#937008.denominator as double)) / cast(lambda x_2413#937008.numerator as double)), uom, lambda x_2413#937008.uom, uomUuid, lambda x_2413#937008.uomUuid), lambda x_2413#937008, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#935537 * (cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2411#936993.isOrderUnit, lambda x_2411#936993, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2411#936994.isOrderUnit, lambda x_2411#936994, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#935537)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#935731, lambdafunction((lambda x_2412#936995.isPreferred AND (((quantityAfterProdPlantOptimization#935537 * cast(lambda x_2412#936995.denominator as double)) % cast(lambda x_2412#936995.numerator as double)) = 0.0)), lambda x_2412#936995, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#935537 * cast(lambda x_2413#937009.denominator as double)) / cast(lambda x_2413#937009.numerator as double)), uom, lambda x_2413#937009.uom, uomUuid, lambda x_2413#937009.uomUuid), lambda x_2413#937009, false))).uom, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2411#936996.isOrderUnit, lambda x_2411#936996, false)), 1, None, false).uom, orderQuantityBaseUom#935717)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#935731, lambdafunction((lambda x_2412#936997.isPreferred AND (((quantityAfterProdPlantOptimization#935537 * cast(lambda x_2412#936997.denominator as double)) % cast(lambda x_2412#936997.numerator as double)) = 0.0)), lambda x_2412#936997, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#935537 * cast(lambda x_2413#937010.denominator as double)) / cast(lambda x_2413#937010.numerator as double)), uom, lambda x_2413#937010.uom, uomUuid, lambda x_2413#937010.uomUuid), lambda x_2413#937010, false))).uomUuid, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2411#936998.isOrderUnit, lambda x_2411#936998, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#935718)), serviceLevel, coalesce(filter(element_at(quantityKpis#936468, quantityAfterProdPlantOptimization#935537, None, false), lambdafunction((lambda x_2420#936999.label = ServiceLevel), lambda x_2420#936999, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#936959, coalesce(filter(prodLocSpecificKpis#936440, lambdafunction((lambda x_2423#937012.label = InitialStockQty), lambda x_2423#937012, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#937011, coalesce(filter(prodLocSpecificKpis#936440, lambdafunction((lambda x_2424#937014.label = DemandPeriodEndTimestamp), lambda x_2424#937014, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#937013]
Input [36]: [shardId#935024, quantityAfterProdPlantOptimization#935537, qty#935538, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, productGroup#935736, product#935707, plant#935708, subrange#935706, orderDateTime#935712, deliveryDateTime#935713, availabilityDateTime#935714, nextAvailabilityDateTime#935715, logisticUnits#935731, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, splitIndicator#935699L, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, sourceOfSupplyUuid#935703, minimumOrderQuantity#935725, orderProposalItemId#935695, orderProposalItemGroupId#935696, optimizationGroups#935732, measurements#935724, previousOrderProposal#935700L, prodLocSpecificKpis#936440, channelStreamSpecificKpis#936455, quantityKpis#936468, constraintStructArray#936882]
(54) Project
Output [21]: [shardId#935024, qty#935538, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, productGroup#935736, product#935707, plant#935708, subrange#935706, orderDateTime#935712, deliveryDateTime#935713, logisticUnits#935731, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, splitIndicator#935699L, orderProposalItemId#935695, orderProposalItemGroupId#935696, previousOrderProposal#935700L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#935705, supplyingPlant, supplyingPlant#935735, productGroup, productGroup#935736, product, product#935707, plant, plant#935708, supplierSubRange, subrange#935706, sourceOfSupplyUuid, sourceOfSupplyUuid#935703, deliveryDateTime, deliveryDateTime#935713, unitPrice, netPriceAmount#935722, unitPriceCurrency, netPriceCurrencyCode#935723, unitPriceQuantity, ... 37 more fields) AS parentItem#937093]
Input [37]: [shardId#935024, qty#935538, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, productGroup#935736, product#935707, plant#935708, subrange#935706, orderDateTime#935712, deliveryDateTime#935713, availabilityDateTime#935714, nextAvailabilityDateTime#935715, logisticUnits#935731, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, splitIndicator#935699L, netPriceAmount#935722, netPriceCurrencyCode#935723, netPriceQuantity#935719, netPriceQuantityUom#935720, netPriceQuantityUomUuid#935721, sourceOfSupplyUuid#935703, orderProposalItemId#935695, orderProposalItemGroupId#935696, optimizationGroups#935732, measurements#935724, previousOrderProposal#935700L, prodLocSpecificKpis#936440, channelStreamSpecificKpis#936455, quantityKpis#936468, constraintBenchmark#936888, calculationAnalysis#936959, inventoryDateTime#937011, demandPeriodEndDateTime#937013]
(55) Project
Output [12]: [shardId#935024, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, orderDateTime#935712, splitIndicator#935699L, orderProposalItemGroupId#935696, previousOrderProposal#935700L, parentItem#937093, struct(itemId, orderProposalItemId#935695, supplier, supplier#935705, supplyingPlant, supplyingPlant#935735, productGroup, productGroup#935736, product, product#935707, plant, plant#935708, supplierSubRange, subrange#935706, deliveryDateTime, deliveryDateTime#935713, orderQuantity, coalesce((qty#935538 * (cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2448#937127.isOrderUnit, lambda x_2448#937127, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2448#937128.isOrderUnit, lambda x_2448#937128, false)), 1, None, false).numerator as double))), qty#935538), orderQuantityUom, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2448#937129.isOrderUnit, lambda x_2448#937129, false)), 1, None, false).uom, orderQuantityBaseUom#935717), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#935731, lambdafunction(lambda x_2448#937130.isOrderUnit, lambda x_2448#937130, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#935718), orderQuantityInBaseUnit, qty#935538, orderQuantityBaseUom, ... 13 more fields) AS item#937124]
Input [21]: [shardId#935024, qty#935538, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, productGroup#935736, product#935707, plant#935708, subrange#935706, orderDateTime#935712, deliveryDateTime#935713, logisticUnits#935731, orderQuantityBaseUom#935717, orderQuantityBaseUomUuid#935718, splitIndicator#935699L, orderProposalItemId#935695, orderProposalItemGroupId#935696, previousOrderProposal#935700L, parentItem#937093]
(56) ObjectHashAggregate
Input [12]: [shardId#935024, orderProposalId#935694L, originalReplenishmentRunId#935697L, supplierGroup#935704, supplier#935705, supplyingPlant#935735, orderDateTime#935712, splitIndicator#935699L, orderProposalItemGroupId#935696, previousOrderProposal#935700L, parentItem#937093, item#937124]
Keys [4]: [shardId#935024, orderProposalId#935694L, splitIndicator#935699L, orderProposalItemGroupId#935696]
Functions [8]: [partial_max(originalReplenishmentRunId#935697L), partial_max(supplierGroup#935704), partial_max(supplier#935705), partial_max(supplyingPlant#935735), partial_max(orderDateTime#935712), partial_collect_list(parentItem#937093, 0, 0), partial_collect_set(previousOrderProposal#935700L, 0, 0), partial_collect_list(item#937124, 0, 0)]
Aggregate Attributes [8]: [max#938385L, max#938386, max#938387, max#938388, max#938389, buf#938390, buf#938391, buf#938392]
Results [12]: [shardId#935024, orderProposalId#935694L, splitIndicator#935699L, orderProposalItemGroupId#935696, max#938393L, max#938394, max#938395, max#938396, max#938397, buf#938398, buf#938399, buf#938400]
(57) Exchange
Input [12]: [shardId#935024, orderProposalId#935694L, splitIndicator#935699L, orderProposalItemGroupId#935696, max#938393L, max#938394, max#938395, max#938396, max#938397, buf#938398, buf#938399, buf#938400]
Arguments: hashpartitioning(shardId#935024, orderProposalId#935694L, splitIndicator#935699L, orderProposalItemGroupId#935696, 20), ENSURE_REQUIREMENTS, [plan_id=368777]
(58) ObjectHashAggregate
Input [12]: [shardId#935024, orderProposalId#935694L, splitIndicator#935699L, orderProposalItemGroupId#935696, max#938393L, max#938394, max#938395, max#938396, max#938397, buf#938398, buf#938399, buf#938400]
Keys [4]: [shardId#935024, orderProposalId#935694L, splitIndicator#935699L, orderProposalItemGroupId#935696]
Functions [8]: [max(originalReplenishmentRunId#935697L), max(supplierGroup#935704), max(supplier#935705), max(supplyingPlant#935735), max(orderDateTime#935712), collect_list(parentItem#937093, 0, 0), collect_set(previousOrderProposal#935700L, 0, 0), collect_list(item#937124, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#935697L)#937193L, max(supplierGroup#935704)#937194, max(supplier#935705)#937195, max(supplyingPlant#935735)#937196, max(orderDateTime#935712)#937197, collect_list(parentItem#937093, 0, 0)#937198, collect_set(previousOrderProposal#935700L, 0, 0)#937200, collect_list(item#937124, 0, 0)#937199]
Results [10]: [shardId#935024, orderProposalId#935694L, max(originalReplenishmentRunId#935697L)#937193L AS originalReplenishmentRunId#937141L, max(supplierGroup#935704)#937194 AS supplierGroup#937142, max(supplier#935705)#937195 AS supplier#937143, max(supplyingPlant#935735)#937196 AS supplyingPlant#937144, max(orderDateTime#935712)#937197 AS orderDateTime#937145, collect_list(parentItem#937093, 0, 0)#937198 AS parentItems#937146, collect_set(previousOrderProposal#935700L, 0, 0)#937200 AS previousOrderProposals#937148, struct(itemGroupId, coalesce(orderProposalItemGroupId#935696, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#937124, 0, 0)#937199) AS itemGroup#937202]
(59) ObjectHashAggregate
Input [10]: [shardId#935024, orderProposalId#935694L, originalReplenishmentRunId#937141L, supplierGroup#937142, supplier#937143, supplyingPlant#937144, orderDateTime#937145, parentItems#937146, previousOrderProposals#937148, itemGroup#937202]
Keys [2]: [shardId#935024, orderProposalId#935694L]
Functions [8]: [partial_max(originalReplenishmentRunId#937141L), partial_max(supplierGroup#937142), partial_max(supplier#937143), partial_max(supplyingPlant#937144), partial_max(orderDateTime#937145), partial_collect_list(itemGroup#937202, 0, 0), partial_collect_list(parentItems#937146, 0, 0), partial_collect_set(previousOrderProposals#937148, 0, 0)]
Aggregate Attributes [8]: [max#938369L, max#938370, max#938371, max#938372, max#938373, buf#938374, buf#938375, buf#938376]
Results [10]: [shardId#935024, orderProposalId#935694L, max#938377L, max#938378, max#938379, max#938380, max#938381, buf#938382, buf#938383, buf#938384]
(60) Exchange
Input [10]: [shardId#935024, orderProposalId#935694L, max#938377L, max#938378, max#938379, max#938380, max#938381, buf#938382, buf#938383, buf#938384]
Arguments: hashpartitioning(shardId#935024, orderProposalId#935694L, 20), ENSURE_REQUIREMENTS, [plan_id=368780]
(61) ObjectHashAggregate
Input [10]: [shardId#935024, orderProposalId#935694L, max#938377L, max#938378, max#938379, max#938380, max#938381, buf#938382, buf#938383, buf#938384]
Keys [2]: [shardId#935024, orderProposalId#935694L]
Functions [8]: [max(originalReplenishmentRunId#937141L), max(supplierGroup#937142), max(supplier#937143), max(supplyingPlant#937144), max(orderDateTime#937145), collect_list(itemGroup#937202, 0, 0), collect_list(parentItems#937146, 0, 0), collect_set(previousOrderProposals#937148, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#937141L)#937224L, max(supplierGroup#937142)#937225, max(supplier#937143)#937226, max(supplyingPlant#937144)#937227, max(orderDateTime#937145)#937228, collect_list(itemGroup#937202, 0, 0)#937229, collect_list(parentItems#937146, 0, 0)#937230, collect_set(previousOrderProposals#937148, 0, 0)#937231]
Results [10]: [shardId#935024, orderProposalId#935694L, max(originalReplenishmentRunId#937141L)#937224L AS originalReplenishmentRunId#937203L, max(supplierGroup#937142)#937225 AS supplierGroup#937204, max(supplier#937143)#937226 AS supplier#937205, max(supplyingPlant#937144)#937227 AS supplyingPlant#937206, max(orderDateTime#937145)#937228 AS orderDateTime#937207, collect_list(itemGroup#937202, 0, 0)#937229 AS itemGroups#937208, flatten(collect_list(parentItems#937146, 0, 0)#937230) AS parentItems#937209, flatten(collect_set(previousOrderProposals#937148, 0, 0)#937231) AS previousOrderProposals#937210]
(62) Project
Output [2]: [shardId#935024, struct(orderProposalId, orderProposalId#935694L, originalReplenishmentRunId, originalReplenishmentRunId#937203L, supplierGroup, supplierGroup#937204, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#937204) THEN supplier#937205 END, supplyingPlant, supplyingPlant#937206, orderDateTime, orderDateTime#937207, itemGroups, itemGroups#937208, previousOrderProposals, array_distinct(previousOrderProposals#937210), parentItems, parentItems#937209) AS orderProposal#937235]
Input [10]: [shardId#935024, orderProposalId#935694L, originalReplenishmentRunId#937203L, supplierGroup#937204, supplier#937205, supplyingPlant#937206, orderDateTime#937207, itemGroups#937208, parentItems#937209, previousOrderProposals#937210]
(63) Project
Output [11]: [shardId#935024, orderProposal#937235.orderProposalId AS _extract_orderProposalId#938001L, orderProposal#937235.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#938002L, orderProposal#937235.supplierGroup AS _extract_supplierGroup#938003, orderProposal#937235.supplier AS _extract_supplier#938004, orderProposal#937235.supplyingPlant AS _extract_supplyingPlant#938005, orderProposal#937235.orderDateTime AS _extract_orderDateTime#938006, orderProposal#937235.itemGroups AS _extract_itemGroups#938007, orderProposal#937235.previousOrderProposals AS _extract_previousOrderProposals#938008, orderProposal#937235.parentItems AS _extract_parentItems#938009, orderProposal#937235.orderProposalId AS _extract_orderProposalId#938010L]
Input [2]: [shardId#935024, orderProposal#937235]
(64) InMemoryTableScan
Output [3]: [shardId#937258, orderProposalId#937259L, optimizationGroups#937261]
Arguments: [shardId#937258, orderProposalId#937259L, optimizationGroups#937261], [isnotnull(orderProposalId#937259L)]
(65) InMemoryRelation
Arguments: [shardId#937258, orderProposalId#937259L, items#937260, optimizationGroups#937261, isOptimal#937262, optimizationInsights#937264], StorageLevel(disk, memory, 2 replicas)
(66) Filter [codegen id : 2]
Input [3]: [shardId#937258, orderProposalId#937259L, optimizationGroups#937261]
Condition : isnotnull(orderProposalId#937259L)
(67) BroadcastExchange
Input [3]: [shardId#937258, orderProposalId#937259L, optimizationGroups#937261]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=368787]
(68) InMemoryTableScan
Output [2]: [items#936877, shardId#936875]
Arguments: [items#936877, shardId#936875], [(size(items#936877.worklistShardItemId, true) > 0), isnotnull(items#936877.worklistShardItemId), (shardId#936875 = 0_1_10000002110)]
(69) InMemoryRelation
Arguments: [shardId#936875, orderProposalId#936876L, items#936877, optimizationGroups#936878, isOptimal#936879, optimizationInsights#936881], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 3]
Input [2]: [items#936877, shardId#936875]
Condition : (((size(items#936877.worklistShardItemId, true) > 0) AND isnotnull(items#936877.worklistShardItemId)) AND (shardId#936875 = 0_1_10000002110))
(71) Project [codegen id : 3]
Output [1]: [items#936877.worklistShardItemId AS _extract_worklistShardItemId#937906]
Input [2]: [items#936877, shardId#936875]
(72) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#937906]
Arguments: explode(_extract_worklistShardItemId#937906), false, [item#937265L]
(73) Project [codegen id : 3]
Output [1]: [item#937265L AS worklistShardItemId#937266L]
Input [1]: [item#937265L]
(74) BroadcastExchange
Input [1]: [worklistShardItemId#937266L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=368795]
(75) Scan parquet
Output [5]: [orderProposalId#937314L, isFallbackOrderOnly#937331, worklistShardItemId#937337L, shardId#937358, sequenceId#937336]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002110]
PartitionFilters: [isnotnull(shardId#937358), isnotnull(sequenceId#937336), (shardId#937358 = 0_1_10000002110), (sequenceId#937336 = 0)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(76) ColumnarToRow [codegen id : 4]
Input [5]: [orderProposalId#937314L, isFallbackOrderOnly#937331, worklistShardItemId#937337L, shardId#937358, sequenceId#937336]
(77) Filter [codegen id : 4]
Input [5]: [orderProposalId#937314L, isFallbackOrderOnly#937331, worklistShardItemId#937337L, shardId#937358, sequenceId#937336]
Condition : ((isnotnull(worklistShardItemId#937337L) AND NOT (isFallbackOrderOnly#937331 <=> true)) AND isnotnull(orderProposalId#937314L))
(78) Project [codegen id : 4]
Output [2]: [orderProposalId#937314L, worklistShardItemId#937337L]
Input [5]: [orderProposalId#937314L, isFallbackOrderOnly#937331, worklistShardItemId#937337L, shardId#937358, sequenceId#937336]
(79) Exchange
Input [2]: [orderProposalId#937314L, worklistShardItemId#937337L]
Arguments: hashpartitioning(worklistShardItemId#937337L, 20), REPARTITION_BY_NUM, [plan_id=368802]
(80) Project
Output [2]: [worklistShardItemId#937337L, orderProposalId#937314L]
Input [2]: [orderProposalId#937314L, worklistShardItemId#937337L]
(81) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#937266L]
Right keys [1]: [worklistShardItemId#937337L]
Join type: Inner
Join condition: None
(82) Project [codegen id : 5]
Output [1]: [orderProposalId#937314L]
Input [3]: [worklistShardItemId#937266L, worklistShardItemId#937337L, orderProposalId#937314L]
(83) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#937314L]
Keys [1]: [orderProposalId#937314L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#937314L]
(84) Exchange
Input [1]: [orderProposalId#937314L]
Arguments: hashpartitioning(orderProposalId#937314L, 20), ENSURE_REQUIREMENTS, [plan_id=368809]
(85) HashAggregate
Input [1]: [orderProposalId#937314L]
Keys [1]: [orderProposalId#937314L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#937314L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#937259L]
Right keys [1]: [orderProposalId#937314L]
Join type: Inner
Join condition: None
(87) Project
Output [3]: [orderProposalId#937259L, shardId#937258, coalesce(transform(optimizationGroups#937261, lambdafunction(struct(optGroupId, lambda x_2452#937256.optGroupId, minOrderProfile, lambda x_2452#937256.minOrderProfile, assignmentDetails, lambda x_2452#937256.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2452#937256.minOrderGoal.dimensionType, unit, lambda x_2452#937256.minOrderGoal.unit, unitUuid, lambda x_2452#937256.minOrderGoal.unitUuid, goalValue, lambda x_2452#937256.minOrderGoal.minOrderValue, calcValue, lambda x_2452#937256.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2452#937256, false)), []) AS optimizationGroups#937255]
Input [4]: [shardId#937258, orderProposalId#937259L, optimizationGroups#937261, orderProposalId#937314L]
(88) BroadcastExchange
Input [3]: [orderProposalId#937259L, shardId#937258, optimizationGroups#937255]
Arguments: HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[0, bigint, true], 0), isnull(input[0, bigint, true])),false), [plan_id=368815]
(89) BroadcastHashJoin
Left keys [4]: [coalesce(shardId#935024, ), isnull(shardId#935024), coalesce(_extract_orderProposalId#938010L, 0), isnull(_extract_orderProposalId#938010L)]
Right keys [4]: [coalesce(shardId#937258, ), isnull(shardId#937258), coalesce(orderProposalId#937259L, 0), isnull(orderProposalId#937259L)]
Join type: LeftOuter
Join condition: None
(90) Project
Output [2]: [shardId#935024, named_struct(orderProposalId, _extract_orderProposalId#938010L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#938002L, supplierGroup, _extract_supplierGroup#938003, optimizationGroups, coalesce(optimizationGroups#937255, []), supplier, _extract_supplier#938004, supplyingPlant, _extract_supplyingPlant#938005, orderDateTime, _extract_orderDateTime#938006, itemGroups, _extract_itemGroups#938007, previousOrderProposals, _extract_previousOrderProposals#938008, parentItems, _extract_parentItems#938009) AS orderProposal#937362]
Input [14]: [shardId#935024, _extract_orderProposalId#938001L, _extract_originalReplenishmentRunId#938002L, _extract_supplierGroup#938003, _extract_supplier#938004, _extract_supplyingPlant#938005, _extract_orderDateTime#938006, _extract_itemGroups#938007, _extract_previousOrderProposals#938008, _extract_parentItems#938009, _extract_orderProposalId#938010L, orderProposalId#937259L, shardId#937258, optimizationGroups#937255]
(91) Filter
Input [1]: [orderProposal#937362]
Condition : (size(orderProposal#937362.parentItems.deliveryDateTime, true) > 0)
(92) Project
Output [1]: [orderProposal#937362.parentItems.deliveryDateTime AS _extract_deliveryDateTime#938765]
Input [1]: [orderProposal#937362]
(93) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#938765]
Arguments: explode(_extract_deliveryDateTime#938765), false, [numberOfOrderProposalItems#938737]
(94) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#938737]
(95) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#938776L]
Results [1]: [count#938777L]
(96) Exchange
Input [1]: [count#938777L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=368921]
(97) HashAggregate [codegen id : 2]
Input [1]: [count#938777L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#938742L]
Results [1]: [count(1)#938742L AS count#938738L]