digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 2 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 1440.0 B<br>merged fetch fallback count: 0<br>local blocks read: 20<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 3727417.0: task 6726439))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>5 ms (0 ms, 0 ms, 0 ms (stage 3727417.0: task 6726429))<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: 720.0 B<br>number of partitions: 1<br>remote reqs duration: 6 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.1 KiB (72.0 B, 72.0 B, 72.0 B (stage 3727417.0: task 6726439))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=7843883]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n33 ms (0 ms, 0 ms, 3 ms (stage 3727417.0: task 6726437))";
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>19 ms (0 ms, 0 ms, 3 ms (stage 3727417.0: task 6726438))<br>number of output rows: 30" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_deliveryDateTime#15074328), false, [numberOfOrderProposalItems#15074300]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#15072925.parentItems.deliveryDateTime AS _extract_deliveryDateTime#15074328]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (size(orderProposal#15072925.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [orderProposal#15072925], [(size(orderProposal#15072925.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, named_struct(orderProposalId, _extract_orderProposalId#15073573L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#15073565L, supplierGroup, _extract_supplierGroup#15073566, optimizationGroups, coalesce(optimizationGroups#15072818, []), supplier, _extract_supplier#15073567, supplyingPlant, _extract_supplyingPlant#15073568, orderDateTime, _extract_orderDateTime#15073569, itemGroups, _extract_itemGroups#15073570, previousOrderProposals, _extract_previousOrderProposals#15073571, parentItems, _extract_parentItems#15073572) AS orderProposal#15072925]"];
11 [id="node11" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [coalesce(shardId#15070782, ), isnull(shardId#15070782), coalesce(_extract_orderProposalId#15073573L, 0), isnull(_extract_orderProposalId#15073573L)], [coalesce(shardId#15072821, ), isnull(shardId#15072821), coalesce(orderProposalId#15072822L, 0), isnull(orderProposalId#15072822L)], LeftOuter, BuildRight, false"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, orderProposal#15072808.orderProposalId AS _extract_orderProposalId#15073564L, orderProposal#15072808.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#15073565L, orderProposal#15072808.supplierGroup AS _extract_supplierGroup#15073566, orderProposal#15072808.supplier AS _extract_supplier#15073567, orderProposal#15072808.supplyingPlant AS _extract_supplyingPlant#15073568, orderProposal#15072808.orderDateTime AS _extract_orderDateTime#15073569, orderProposal#15072808.itemGroups AS _extract_itemGroups#15073570, orderProposal#15072808.previousOrderProposals AS _extract_previousOrderProposals#15073571, orderProposal#15072808.parentItems AS _extract_parentItems#15073572, orderProposal#15072808.orderProposalId AS _extract_orderProposalId#15073573L]"];
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, struct(orderProposalId, orderProposalId#15071452L, originalReplenishmentRunId, originalReplenishmentRunId#15072776L, supplierGroup, supplierGroup#15072777, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#15072777) THEN supplier#15072778 END, supplyingPlant, supplyingPlant#15072779, orderDateTime, orderDateTime#15072780, itemGroups, itemGroups#15072781, previousOrderProposals, array_distinct(previousOrderProposals#15072783), parentItems, parentItems#15072782) AS orderProposal#15072808]"];
14 [id="node14" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 3727417.0: task 6726439))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#15070782, orderProposalId#15071452L], functions=[max(originalReplenishmentRunId#15072714L), max(supplierGroup#15072715), max(supplier#15072716), max(supplyingPlant#15072717), max(orderDateTime#15072718), collect_list(itemGroup#15072775, 0, 0), collect_list(parentItems#15072719, 0, 0), collect_set(previousOrderProposals#15072721, 0, 0)])"];
15 [id="node15" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(shardId#15070782, orderProposalId#15071452L, 30), ENSURE_REQUIREMENTS, [plan_id=7843742]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 3727416.0: task 6726403))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#15070782, orderProposalId#15071452L], functions=[partial_max(originalReplenishmentRunId#15072714L), partial_max(supplierGroup#15072715), partial_max(supplier#15072716), partial_max(supplyingPlant#15072717), partial_max(orderDateTime#15072718), partial_collect_list(itemGroup#15072775, 0, 0), partial_collect_list(parentItems#15072719, 0, 0), partial_collect_set(previousOrderProposals#15072721, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 3727416.0: task 6726403))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#15070782, orderProposalId#15071452L, splitIndicator#15071457L, orderProposalItemGroupId#15071454], functions=[max(originalReplenishmentRunId#15071455L), max(supplierGroup#15071462), max(supplier#15071463), max(supplyingPlant#15071493), max(orderDateTime#15071470), collect_list(parentItem#15072666, 0, 0), collect_set(previousOrderProposal#15071458L, 0, 0), collect_list(item#15072697, 0, 0)])"];
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(shardId#15070782, orderProposalId#15071452L, splitIndicator#15071457L, orderProposalItemGroupId#15071454, 30), ENSURE_REQUIREMENTS, [plan_id=7843739]"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>36 ms (0 ms, 1 ms, 4 ms (stage 3727415.0: task 6726368))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#15070782, orderProposalId#15071452L, splitIndicator#15071457L, orderProposalItemGroupId#15071454], functions=[partial_max(originalReplenishmentRunId#15071455L), partial_max(supplierGroup#15071462), partial_max(supplier#15071463), partial_max(supplyingPlant#15071493), partial_max(orderDateTime#15071470), partial_collect_list(parentItem#15072666, 0, 0), partial_collect_set(previousOrderProposal#15071458L, 0, 0), partial_collect_list(item#15072697, 0, 0)])"];
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, orderDateTime#15071470, splitIndicator#15071457L, orderProposalItemGroupId#15071454, previousOrderProposal#15071458L, parentItem#15072666, struct(itemId, orderProposalItemId#15071453, supplier, supplier#15071463, supplyingPlant, supplyingPlant#15071493, productGroup, productGroup#15071494, product, product#15071465, plant, plant#15071466, supplierSubRange, subrange#15071464, deliveryDateTime, deliveryDateTime#15071471, orderQuantity, coalesce((qty#15071296 * (cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29758#15072700.isOrderUnit, lambda x_29758#15072700, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29758#15072701.isOrderUnit, lambda x_29758#15072701, false)), 1, None, false).numerator as double))), qty#15071296), orderQuantityUom, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29758#15072702.isOrderUnit, lambda x_29758#15072702, false)), 1, None, false).uom, orderQuantityBaseUom#15071475), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29758#15072703.isOrderUnit, lambda x_29758#15072703, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#15071476), orderQuantityInBaseUnit, qty#15071296, orderQuantityBaseUom, ... 13 more fields) AS item#15072697]"];
21 [id="node21" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, qty#15071296, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, productGroup#15071494, product#15071465, plant#15071466, subrange#15071464, orderDateTime#15071470, deliveryDateTime#15071471, logisticUnits#15071489, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, splitIndicator#15071457L, orderProposalItemId#15071453, orderProposalItemGroupId#15071454, previousOrderProposal#15071458L, struct(supplier, supplier#15071463, supplyingPlant, supplyingPlant#15071493, productGroup, productGroup#15071494, product, product#15071465, plant, plant#15071466, supplierSubRange, subrange#15071464, sourceOfSupplyUuid, sourceOfSupplyUuid#15071461, deliveryDateTime, deliveryDateTime#15071471, unitPrice, netPriceAmount#15071480, unitPriceCurrency, netPriceCurrencyCode#15071481, unitPriceQuantity, netPriceQuantity#15071477, unitPriceQuantityUom, netPriceQuantityUom#15071478, unitPriceQuantityUomUuid, ... 31 more fields) AS parentItem#15072666]"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, qty#15071296, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, productGroup#15071494, product#15071465, plant#15071466, subrange#15071464, orderDateTime#15071470, deliveryDateTime#15071471, availabilityDateTime#15071472, nextAvailabilityDateTime#15071473, logisticUnits#15071489, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, splitIndicator#15071457L, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, sourceOfSupplyUuid#15071461, ... 12 more fields]"];
subgraph cluster23 {
isCluster="true";
id="cluster23";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n4.7 s (31 ms, 158 ms, 347 ms (stage 3727415.0: task 6726380))";
tooltip="WholeStageCodegen (1)";
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, productGroup#15071494, product#15071465, plant#15071466, subrange#15071464, orderDateTime#15071470, deliveryDateTime#15071471, availabilityDateTime#15071472, nextAvailabilityDateTime#15071473, logisticUnits#15071489, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, splitIndicator#15071457L, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, ... 11 more fields]"];
25 [id="node25" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT (isFallbackOrderOnly#15071474 <=> true)"];
}
26 [id="node26" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 29" tooltip="InMemoryTableScan [availabilityDateTime#15071472, channelStreamSpecificKpis#15072037, constraintLabels#15071484, constraintOperators#15071485, constraintValues#15071487, deliveryDateTime#15071471, isFallbackOrderOnly#15071474, logisticUnits#15071489, measurements#15071482, minimumOrderQuantity#15071483, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, nextAvailabilityDateTime#15071473, optimizationGroups#15071490, orderDateTime#15071470, orderProposalId#15071452L, orderProposalItemGroupId#15071454, orderProposalItemId#15071453, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, originalReplenishmentRunId#15071455L, plant#15071466, ... 14 more fields], [NOT (isFallbackOrderOnly#15071474 <=> true)]"];
subgraph cluster27 {
isCluster="true";
id="cluster27";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n707 ms (0 ms, 19 ms, 145 ms (stage 3727415.0: task 6726368))";
tooltip="WholeStageCodegen (13)";
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 17 more fields]"];
29 [id="node29" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 29<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727415.0: task 6726373))" tooltip="SortMergeJoin [shardId#15070782, worklistShardItemId#15071294L], [shardId#15072044, worklistShardItemId#15072045L], LeftOuter"];
}
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n4.1 s (0 ms, 158 ms, 577 ms (stage 3727415.0: task 6726372))";
tooltip="WholeStageCodegen (10)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 16 more fields]"];
32 [id="node32" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 29<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727415.0: task 6726373))" tooltip="SortMergeJoin [shardId#15070782, worklistShardItemId#15071294L], [shardId#15072031, worklistShardItemId#15072032L], LeftOuter"];
}
subgraph cluster33 {
isCluster="true";
id="cluster33";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n7.3 s (0 ms, 284 ms, 1.0 s (stage 3727415.0: task 6726370))";
tooltip="WholeStageCodegen (7)";
34 [id="node34" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 15 more fields]"];
35 [id="node35" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 29<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727415.0: task 6726373))" tooltip="SortMergeJoin [shardId#15070782, worklistShardItemId#15071294L], [shardId#15072015, worklistShardItemId#15072016L], LeftOuter"];
}
subgraph cluster36 {
isCluster="true";
id="cluster36";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n10.2 s (1 ms, 434 ms, 1.3 s (stage 3727415.0: task 6726368))";
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 3727415.0: task 6726373))<br>peak memory total (min, med, max (stageId: taskId))<br>41.9 MiB (64.0 KiB, 2.1 MiB, 2.1 MiB (stage 3727415.0: task 6726373))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727415.0: task 6726373))" tooltip="Sort [shardId#15070782 ASC NULLS FIRST, worklistShardItemId#15071294L ASC NULLS FIRST], false, 0"];
}
38 [id="node38" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 29<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 29<br>local bytes read total (min, med, max (stageId: taskId))<br>19.8 KiB (842.0 B, 887.0 B, 1549.0 B (stage 3727415.0: task 6726385))<br>merged fetch fallback count: 0<br>local blocks read: 20<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>35.7 KiB (4.7 KiB, 31.0 KiB, 31.0 KiB (stage 3727413.0: task 6726266))<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, 1 ms, 1 ms (stage 3727413.0: task 6726266))<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 3727415.0: task 6726373))<br>remote bytes read: 1477.0 B<br>number of partitions: 30<br>remote reqs duration: 3 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>21.3 KiB (2.6 KiB, 18.6 KiB, 18.6 KiB (stage 3727413.0: task 6726266))" tooltip="Exchange hashpartitioning(shardId#15070782, worklistShardItemId#15071294L, 30), ENSURE_REQUIREMENTS, [plan_id=7843472]"];
subgraph cluster39 {
isCluster="true";
id="cluster39";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n54 ms (0 ms, 0 ms, 18 ms (stage 3727413.0: task 6726290))";
tooltip="WholeStageCodegen (3)";
40 [id="node40" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 14 more fields]"];
41 [id="node41" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 29" tooltip="BroadcastHashJoin [worklistShardItemId#15071294L], [worklistShardItemId#15071518L], LeftOuter, BuildRight, (shardId#15070782 = 0_1_10000001452), false"];
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, item#15071293.worklistShardItemId AS worklistShardItemId#15071294L, item#15071293.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#15071295, item#15071293.qty AS qty#15071296]"];
43 [id="node43" labelType="html" label="<b>Generate</b><br><br>number of output rows: 29" tooltip="Generate explode(items#15070784), [shardId#15070782], false, [item#15071293]"];
44 [id="node44" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2" tooltip="Filter ((size(items#15070784, true) > 0) AND isnotnull(items#15070784))"];
}
45 [id="node45" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2" tooltip="InMemoryTableScan [shardId#15070782, items#15070784], [(size(items#15070784, true) > 0), isnotnull(items#15070784)]"];
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#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
}
48 [id="node48" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], [isnotnull(shardId#15070782), (shardId#15070782 = 0_1_10000001452)]"];
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#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
51 [id="node51" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15070782,orderProposalId#15070783L,items#15070784,optimizationGroups#15070785,isOptimal#15070786,lastModified#15070787,optimizationInsights#15070788]"];
}
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: 386 ms<br>number of output rows: 29<br>data size: 1028.4 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=7843467]"];
subgraph cluster53 {
isCluster="true";
id="cluster53";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n37 ms (0 ms, 1 ms, 3 ms (stage 3727300.0: task 6726229))";
tooltip="WholeStageCodegen (2)";
54 [id="node54" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#15071518L, orderProposalId#15071495L, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, originalReplenishmentRunId#15071537L, splitIndicator#15071514L, previousOrderProposal#15071515L, sourceOfSupplyUuid#15071509, supplierGroup#15071497, supplier#15071498, subrange#15071501, product#15071504, plant#15071499, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, isFallbackOrderOnly#15071512, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, netPriceAmount#15071531, netPriceCurrencyCode#15071532, ... 11 more fields]"];
}
55 [id="node55" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 29<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 29<br>local bytes read total (min, med, max (stageId: taskId))<br>17.8 KiB (829.0 B, 857.0 B, 1703.0 B (stage 3727300.0: task 6726232))<br>merged fetch fallback count: 0<br>local blocks read: 21<br>remote merged chunks fetched: 0<br>remote blocks read: 8<br>data size total (min, med, max (stageId: taskId))<br>34.5 KiB (1168.0 B, 2.3 KiB, 3.7 KiB (stage 3727299.0: task 6726200))<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>8 ms (0 ms, 0 ms, 0 ms (stage 3727299.0: task 6726208))<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, 2 ms (stage 3727300.0: task 6726232))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.3 KiB (858.0 B, 997.0 B, 1701.0 B (stage 3727300.0: task 6726217))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>9 ms (0 ms, 2 ms, 3 ms (stage 3727300.0: task 6726220))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>25.1 KiB (850.0 B, 1700.0 B, 2.7 KiB (stage 3727299.0: task 6726200))" tooltip="Exchange hashpartitioning(worklistShardItemId#15071518L, 30), REPARTITION_BY_NUM, [plan_id=7843463]"];
subgraph cluster56 {
isCluster="true";
id="cluster56";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (78 ms, 164 ms, 178 ms (stage 3727299.0: task 6726210))";
tooltip="WholeStageCodegen (1)";
57 [id="node57" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, ... 11 more fields]"];
58 [id="node58" labelType="html" label="<b>Filter</b><br><br>number of output rows: 29" tooltip="Filter isnotnull(worklistShardItemId#15071518L)"];
59 [id="node59" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 29<br>number of input batches: 17" tooltip="ColumnarToRow"];
}
60 [id="node60" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 17<br>scan time total (min, med, max (stageId: taskId))<br>1.5 s (77 ms, 94 ms, 98 ms (stage 3727299.0: task 6726206))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 319.0 KiB<br>number of output rows: 29<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#15071495L,orderProposalItemId#15071496,supplierGroup#15071497,supplier#15071498,plant#15071499,deliveryDateTime#15071500,subrange#15071501,supplyingPlant#15071502,productGroup#15071503,product#15071504,orderDateTime#15071505,availabilityDateTime#15071506,nextAvailabilityDateTime#15071507,sourceOfSupplyUuid#15071509,isFallbackOrderOnly#15071512,splitIndicator#15071514L,previousOrderProposal#15071515L,worklistShardItemId#15071518L,orderProposalItemGroupId#15071519,externalProductId#15071520,externalPlantId#15071521,logisticUnits#15071522,orderQuantityBaseUom#15071523,orderQuantityBaseUomUuid#15071524,minimumOrderQuantity#15071525,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#15071518L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#15071539), isnotnull(sequenceId#15071517), (shardId#15071539 = 0_1_10000001452..., 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))\n2.6 s (3 ms, 9 ms, 593 ms (stage 3727415.0: task 6726372))";
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 3727415.0: task 6726373))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 3727415.0: task 6726373))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727415.0: task 6726373))" tooltip="Sort [shardId#15072015 ASC NULLS FIRST, worklistShardItemId#15072016L ASC NULLS FIRST], false, 0"];
}
63 [id="node63" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 29<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 29<br>local bytes read total (min, med, max (stageId: taskId))<br>5.9 KiB (658.0 B, 661.0 B, 679.0 B (stage 3727415.0: task 6726367))<br>merged fetch fallback count: 0<br>local blocks read: 9<br>remote merged chunks fetched: 0<br>remote blocks read: 20<br>data size total (min, med, max (stageId: taskId))<br>33.5 KiB (1184.0 B, 1184.0 B, 3.5 KiB (stage 3727411.0: task 6726249))<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>9 ms (0 ms, 0 ms, 0 ms (stage 3727411.0: task 6726259))<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 3727415.0: task 6726373))<br>remote bytes read total (min, med, max (stageId: taskId))<br>12.5 KiB (593.0 B, 658.0 B, 1934.0 B (stage 3727415.0: task 6726369))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>42 ms (1 ms, 3 ms, 6 ms (stage 3727415.0: task 6726385))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>18.3 KiB (593.0 B, 679.0 B, 1916.0 B (stage 3727411.0: task 6726249))" tooltip="Exchange hashpartitioning(shardId#15072015, worklistShardItemId#15072016L, 30), ENSURE_REQUIREMENTS, [plan_id=7843478]"];
subgraph cluster64 {
isCluster="true";
id="cluster64";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n291 ms (2 ms, 4 ms, 39 ms (stage 3727411.0: task 6726254))";
tooltip="WholeStageCodegen (5)";
65 [id="node65" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15072015, worklistShardItemId#15072016L, coalesce(kpis#15072020, []) AS prodLocSpecificKpis#15072021]"];
66 [id="node66" labelType="html" label="<b>Filter</b><br><br>number of output rows: 29" tooltip="Filter (((isnull(qty#15072017) AND isnull(demandChannel#15072018)) AND isnull(demandStream#15072019)) AND (isnotnull(shardId#15072015) AND isnotnull(worklistShardItemId#15072016L)))"];
67 [id="node67" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 440" tooltip="Scan ExistingRDD[shardId#15072015,worklistShardItemId#15072016L,qty#15072017,demandChannel#15072018,demandStream#15072019,kpis#15072020]"];
}
subgraph cluster68 {
isCluster="true";
id="cluster68";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n1.7 s (1 ms, 6 ms, 376 ms (stage 3727415.0: task 6726370))";
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 3727415.0: task 6726373))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 3727415.0: task 6726373))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727415.0: task 6726373))" tooltip="Sort [shardId#15072031 ASC NULLS FIRST, worklistShardItemId#15072032L ASC NULLS FIRST], false, 0"];
}
70 [id="node70" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 29<br>time in aggregation build total (min, med, max (stageId: taskId))<br>475 ms (0 ms, 1 ms, 125 ms (stage 3727415.0: task 6726372))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727415.0: task 6726373))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#15072031, worklistShardItemId#15072032L], functions=[collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)])"];
71 [id="node71" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 45<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 45<br>local bytes read total (min, med, max (stageId: taskId))<br>7.4 KiB (319.0 B, 335.0 B, 677.0 B (stage 3727415.0: task 6726369))<br>merged fetch fallback count: 0<br>local blocks read: 23<br>remote merged chunks fetched: 0<br>remote blocks read: 22<br>data size total (min, med, max (stageId: taskId))<br>18.3 KiB (408.0 B, 816.0 B, 2.4 KiB (stage 3727412.0: task 6726321))<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>11 ms (0 ms, 0 ms, 0 ms (stage 3727412.0: task 6726343))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>6 ms (0 ms, 0 ms, 2 ms (stage 3727415.0: task 6726391))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.2 KiB (333.0 B, 343.0 B, 1996.0 B (stage 3727415.0: task 6726372))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>30 ms (2 ms, 3 ms, 4 ms (stage 3727415.0: task 6726391))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>14.7 KiB (318.0 B, 662.0 B, 1983.0 B (stage 3727412.0: task 6726321))" tooltip="Exchange hashpartitioning(shardId#15072031, worklistShardItemId#15072032L, 30), ENSURE_REQUIREMENTS, [plan_id=7843489]"];
72 [id="node72" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 45<br>time in aggregation build total (min, med, max (stageId: taskId))<br>543 ms (2 ms, 3 ms, 131 ms (stage 3727412.0: task 6726289))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727412.0: task 6726262))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#15072031, worklistShardItemId#15072032L], functions=[partial_collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)])"];
subgraph cluster73 {
isCluster="true";
id="cluster73";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n543 ms (2 ms, 3 ms, 131 ms (stage 3727412.0: task 6726289))";
tooltip="WholeStageCodegen (8)";
74 [id="node74" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15072031, worklistShardItemId#15072032L, demandChannel#15072034, demandStream#15072035, kpis#15072036]"];
75 [id="node75" labelType="html" label="<b>Filter</b><br><br>number of output rows: 46" tooltip="Filter ((((isnull(qty#15072033) AND isnotnull(demandChannel#15072034)) AND isnotnull(demandStream#15072035)) AND (size(kpis#15072036, true) > 0)) AND (isnotnull(shardId#15072031) AND isnotnull(worklistShardItemId#15072032L)))"];
76 [id="node76" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 440" tooltip="Scan ExistingRDD[shardId#15072031,worklistShardItemId#15072032L,qty#15072033,demandChannel#15072034,demandStream#15072035,kpis#15072036]"];
}
subgraph cluster77 {
isCluster="true";
id="cluster77";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n667 ms (0 ms, 1 ms, 157 ms (stage 3727415.0: task 6726370))";
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 3727415.0: task 6726373))<br>peak memory total (min, med, max (stageId: taskId))<br>41.3 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 3727415.0: task 6726373))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727415.0: task 6726373))" tooltip="Sort [shardId#15072044 ASC NULLS FIRST, worklistShardItemId#15072045L ASC NULLS FIRST], false, 0"];
}
79 [id="node79" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 29<br>time in aggregation build total (min, med, max (stageId: taskId))<br>509 ms (0 ms, 3 ms, 128 ms (stage 3727415.0: task 6726372))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727415.0: task 6726373))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#15072044, worklistShardItemId#15072045L], functions=[collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)])"];
80 [id="node80" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 281<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 281<br>local bytes read total (min, med, max (stageId: taskId))<br>87.6 KiB (604.0 B, 3.8 KiB, 9.3 KiB (stage 3727415.0: task 6726369))<br>merged fetch fallback count: 0<br>local blocks read: 135<br>remote merged chunks fetched: 0<br>remote blocks read: 115<br>data size total (min, med, max (stageId: taskId))<br>347.0 KiB (7.7 KiB, 11.4 KiB, 15.3 KiB (stage 3727414.0: task 6726335))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>20 ms (0 ms, 0 ms, 0 ms (stage 3727414.0: task 6726358))<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>8 ms (0 ms, 0 ms, 3 ms (stage 3727415.0: task 6726391))<br>remote bytes read total (min, med, max (stageId: taskId))<br>74.5 KiB (604.0 B, 3.1 KiB, 10.1 KiB (stage 3727415.0: task 6726372))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>92 ms (2 ms, 5 ms, 8 ms (stage 3727415.0: task 6726391))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>162.0 KiB (3.6 KiB, 5.2 KiB, 7.6 KiB (stage 3727414.0: task 6726335))" tooltip="Exchange hashpartitioning(shardId#15072044, worklistShardItemId#15072045L, 30), ENSURE_REQUIREMENTS, [plan_id=7843501]"];
81 [id="node81" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 281<br>time in aggregation build total (min, med, max (stageId: taskId))<br>707 ms (2 ms, 3 ms, 158 ms (stage 3727414.0: task 6726270))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3727414.0: task 6726264))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#15072044, worklistShardItemId#15072045L], functions=[partial_collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)])"];
subgraph cluster82 {
isCluster="true";
id="cluster82";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n707 ms (2 ms, 3 ms, 158 ms (stage 3727414.0: task 6726270))";
tooltip="WholeStageCodegen (11)";
83 [id="node83" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, kpis#15072049]"];
84 [id="node84" labelType="html" label="<b>Filter</b><br><br>number of output rows: 365" tooltip="Filter ((isnotnull(qty#15072046) AND isnotnull(kpis#15072049)) AND (isnotnull(shardId#15072044) AND isnotnull(worklistShardItemId#15072045L)))"];
85 [id="node85" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 440" tooltip="Scan ExistingRDD[shardId#15072044,worklistShardItemId#15072045L,qty#15072046,demandChannel#15072047,demandStream#15072048,kpis#15072049]"];
}
86 [id="node86" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 1.2 s<br>number of output rows: 0<br>data size: 0.0 B" 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=7843777]"];
87 [id="node87" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#15072822L, shardId#15072821, coalesce(transform(optimizationGroups#15072824, lambdafunction(struct(optGroupId, lambda x_29762#15072819.optGroupId, minOrderProfile, lambda x_29762#15072819.minOrderProfile, assignmentDetails, lambda x_29762#15072819.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_29762#15072819.minOrderGoal.dimensionType, unit, lambda x_29762#15072819.minOrderGoal.unit, unitUuid, lambda x_29762#15072819.minOrderGoal.unitUuid, goalValue, lambda x_29762#15072819.minOrderGoal.minOrderValue, calcValue, lambda x_29762#15072819.minOrderGoal.calculatedOrderValue)), lambda x_29762#15072819, false)), []) AS optimizationGroups#15072818]"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n1.0 s (1 ms, 25 ms, 92 ms (stage 3727298.0: task 6726175))";
tooltip="WholeStageCodegen (6)";
89 [id="node89" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [orderProposalId#15072822L], [orderProposalId#15072877L], 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>21 ms (0 ms, 0 ms, 4 ms (stage 3727298.0: task 6726174))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 3727298.0: task 6726173))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#15072877L], functions=[])"];
}
90 [id="node90" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 4 ms<br>time to collect: 246 ms<br>number of output rows: 2<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=7843749]"];
subgraph cluster91 {
isCluster="true";
id="cluster91";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n42 ms (0 ms, 0 ms, 8 ms (stage 3727294.0: task 6726067))";
tooltip="WholeStageCodegen (2)";
92 [id="node92" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2" tooltip="Filter isnotnull(orderProposalId#15072822L)"];
}
93 [id="node93" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2" tooltip="InMemoryTableScan [shardId#15072821, orderProposalId#15072822L, optimizationGroups#15072824], [isnotnull(orderProposalId#15072822L)]"];
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#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
}
96 [id="node96" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], [isnotnull(shardId#15070782), (shardId#15070782 = 0_1_10000001452)]"];
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#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
99 [id="node99" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15070782,orderProposalId#15070783L,items#15070784,optimizationGroups#15070785,isOptimal#15070786,lastModified#15070787,optimizationInsights#15070788]"];
}
101 [id="node101" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(orderProposalId#15072877L, 30), ENSURE_REQUIREMENTS, [plan_id=7843771]"];
subgraph cluster102 {
isCluster="true";
id="cluster102";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (0 ms, 26 ms, 99 ms (stage 3727297.0: task 6726149))";
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>10 ms (0 ms, 0 ms, 2 ms (stage 3727297.0: task 6726143))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 3727297.0: task 6726151))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#15072877L], functions=[])"];
104 [id="node104" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#15072877L]"];
105 [id="node105" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#15072829L], [worklistShardItemId#15072900L], Inner, BuildLeft, false"];
119 [id="node119" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#15072900L, orderProposalId#15072877L]"];
}
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: 465 ms<br>number of output rows: 29<br>data size: 1028.4 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=7843757]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n27 ms (0 ms, 0 ms, 5 ms (stage 3727295.0: task 6726113))";
tooltip="WholeStageCodegen (3)";
108 [id="node108" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#15072828L AS worklistShardItemId#15072829L]"];
109 [id="node109" labelType="html" label="<b>Generate</b><br><br>number of output rows: 29" tooltip="Generate explode(_extract_worklistShardItemId#15073469), false, [item#15072828L]"];
110 [id="node110" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#15072459.worklistShardItemId AS _extract_worklistShardItemId#15073469]"];
111 [id="node111" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2" tooltip="Filter (((size(items#15072459.worklistShardItemId, true) > 0) AND isnotnull(items#15072459.worklistShardItemId)) AND (shardId#15072457 = 0_1_10000001452))"];
}
112 [id="node112" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2" tooltip="InMemoryTableScan [items#15072459, shardId#15072457], [(size(items#15072459.worklistShardItemId, true) > 0), isnotnull(items#15072459.worklistShardItemId), (shardId#15072457 = 0_1_10000001452)]"];
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#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
}
115 [id="node115" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], [isnotnull(shardId#15070782), (shardId#15070782 = 0_1_10000001452)]"];
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#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
118 [id="node118" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15070782,orderProposalId#15070783L,items#15070784,optimizationGroups#15070785,isOptimal#15070786,lastModified#15070787,optimizationInsights#15070788]"];
}
120 [id="node120" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(worklistShardItemId#15072900L, 30), REPARTITION_BY_NUM, [plan_id=7843764]"];
subgraph cluster121 {
isCluster="true";
id="cluster121";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (51 ms, 80 ms, 88 ms (stage 3727296.0: task 6726134))";
tooltip="WholeStageCodegen (4)";
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#15072877L, worklistShardItemId#15072900L]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(worklistShardItemId#15072900L) AND NOT (isFallbackOrderOnly#15072894 <=> true)) AND isnotnull(orderProposalId#15072877L))"];
124 [id="node124" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
125 [id="node125" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 17<br>scan time total (min, med, max (stageId: taskId))<br>1.1 s (50 ms, 69 ms, 78 ms (stage 3727296.0: task 6726136))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 319.0 KiB<br>number of output rows: 0<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#15072877L,isFallbackOrderOnly#15072894,worklistShardItemId#15072900L,shardId#15072921,sequenceId#15072899] Batched: true, DataFilters: [isnotnull(worklistShardItemId#15072900L), NOT (isFallbackOrderOnly#15072894 <=> true), isnotnull..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#15072921), isnotnull(sequenceId#15072899), (shardId#15072921 = 0_1_10000001452..., 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#15072925]
Arguments: [orderProposal#15072925], [(size(orderProposal#15072925.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#15070782, orderProposal#15072925], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#15071472, channelStreamSpecificKpis#15072037, constraintLabels#15071484, constraintOperators#15071485, constraintValues#15071487, deliveryDateTime#15071471, isFallbackOrderOnly#15071474, logisticUnits#15071489, measurements#15071482, minimumOrderQuantity#15071483, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, nextAvailabilityDateTime#15071473, optimizationGroups#15071490, orderDateTime#15071470, orderProposalId#15071452L, orderProposalItemGroupId#15071454, orderProposalItemId#15071453, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, originalReplenishmentRunId#15071455L, plant#15071466, previousOrderProposal#15071458L, prodLocSpecificKpis#15072022, product#15071465, productGroup#15071494, qty#15071296, quantityAfterProdPlantOptimization#15071295, quantityKpis#15072050, shardId#15070782, sourceOfSupplyUuid#15071461, splitIndicator#15071457L, subrange#15071464, supplier#15071463, supplierGroup#15071462, supplyingPlant#15071493]
Arguments: [availabilityDateTime#15071472, channelStreamSpecificKpis#15072037, constraintLabels#15071484, constraintOperators#15071485, constraintValues#15071487, deliveryDateTime#15071471, isFallbackOrderOnly#15071474, logisticUnits#15071489, measurements#15071482, minimumOrderQuantity#15071483, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, nextAvailabilityDateTime#15071473, optimizationGroups#15071490, orderDateTime#15071470, orderProposalId#15071452L, orderProposalItemGroupId#15071454, orderProposalItemId#15071453, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, originalReplenishmentRunId#15071455L, plant#15071466, ... 14 more fields], [NOT (isFallbackOrderOnly#15071474 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, productGroup#15071494, product#15071465, plant#15071466, subrange#15071464, orderDateTime#15071470, deliveryDateTime#15071471, availabilityDateTime#15071472, nextAvailabilityDateTime#15071473, constraintValues#15071487, constraintOperators#15071485, constraintLabels#15071484, logisticUnits#15071489, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, splitIndicator#15071457L, netPriceAmount#15071480, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#15070782, items#15070784]
Arguments: [shardId#15070782, items#15070784], [(size(items#15070784, true) > 0), isnotnull(items#15070784)]
(6) InMemoryRelation
Arguments: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788]
Arguments: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], [isnotnull(shardId#15070782), (shardId#15070782 = 0_1_10000001452)]
(8) InMemoryRelation
Arguments: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, lastModified#15070787, optimizationInsights#15070788], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, lastModified#15070787, optimizationInsights#15070788]
Arguments: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, lastModified#15070787, optimizationInsights#15070788], MapPartitionsRDD[1062227] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, lastModified#15070787, optimizationInsights#15070788]
Condition : (isnotnull(shardId#15070782) AND (shardId#15070782 = 0_1_10000001452))
(11) Filter [codegen id : 1]
Input [6]: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788]
Condition : (isnotnull(shardId#15070782) AND (shardId#15070782 = 0_1_10000001452))
(12) Filter [codegen id : 3]
Input [2]: [shardId#15070782, items#15070784]
Condition : ((size(items#15070784, true) > 0) AND isnotnull(items#15070784))
(13) Generate [codegen id : 3]
Input [2]: [shardId#15070782, items#15070784]
Arguments: explode(items#15070784), [shardId#15070782], false, [item#15071293]
(14) Project [codegen id : 3]
Output [4]: [shardId#15070782, item#15071293.worklistShardItemId AS worklistShardItemId#15071294L, item#15071293.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#15071295, item#15071293.qty AS qty#15071296]
Input [2]: [shardId#15070782, item#15071293]
(15) Scan parquet
Output [38]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538, shardId#15071539, sequenceId#15071517]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000001452]
PartitionFilters: [isnotnull(shardId#15071539), isnotnull(sequenceId#15071517), (shardId#15071539 = 0_1_10000001452), (sequenceId#15071517 = 5)]
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#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538, shardId#15071539, sequenceId#15071517]
(17) Filter [codegen id : 1]
Input [38]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538, shardId#15071539, sequenceId#15071517]
Condition : isnotnull(worklistShardItemId#15071518L)
(18) Project [codegen id : 1]
Output [36]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538]
Input [38]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538, shardId#15071539, sequenceId#15071517]
(19) Exchange
Input [36]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538]
Arguments: hashpartitioning(worklistShardItemId#15071518L, 30), REPARTITION_BY_NUM, [plan_id=7843463]
(20) Project [codegen id : 2]
Output [36]: [worklistShardItemId#15071518L, orderProposalId#15071495L, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, originalReplenishmentRunId#15071537L, splitIndicator#15071514L, previousOrderProposal#15071515L, sourceOfSupplyUuid#15071509, supplierGroup#15071497, supplier#15071498, subrange#15071501, product#15071504, plant#15071499, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, isFallbackOrderOnly#15071512, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, netPriceAmount#15071531, netPriceCurrencyCode#15071532, measurements#15071536, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, logisticUnits#15071522, optimizationGroups#15071538, externalProductId#15071520, externalPlantId#15071521, supplyingPlant#15071502, productGroup#15071503]
Input [36]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538]
(21) BroadcastExchange
Input [36]: [worklistShardItemId#15071518L, orderProposalId#15071495L, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, originalReplenishmentRunId#15071537L, splitIndicator#15071514L, previousOrderProposal#15071515L, sourceOfSupplyUuid#15071509, supplierGroup#15071497, supplier#15071498, subrange#15071501, product#15071504, plant#15071499, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, isFallbackOrderOnly#15071512, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, netPriceAmount#15071531, netPriceCurrencyCode#15071532, measurements#15071536, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, logisticUnits#15071522, optimizationGroups#15071538, externalProductId#15071520, externalPlantId#15071521, supplyingPlant#15071502, productGroup#15071503]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=7843467]
(22) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#15071294L]
Right keys [1]: [worklistShardItemId#15071518L]
Join type: LeftOuter
Join condition: (shardId#15070782 = 0_1_10000001452)
(23) Project [codegen id : 3]
Output [39]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512]
Input [40]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, worklistShardItemId#15071518L, orderProposalId#15071495L, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, originalReplenishmentRunId#15071537L, splitIndicator#15071514L, previousOrderProposal#15071515L, sourceOfSupplyUuid#15071509, supplierGroup#15071497, supplier#15071498, subrange#15071501, product#15071504, plant#15071499, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, isFallbackOrderOnly#15071512, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, netPriceAmount#15071531, netPriceCurrencyCode#15071532, measurements#15071536, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, logisticUnits#15071522, optimizationGroups#15071538, externalProductId#15071520, externalPlantId#15071521, supplyingPlant#15071502, productGroup#15071503]
(24) Exchange
Input [39]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512]
Arguments: hashpartitioning(shardId#15070782, worklistShardItemId#15071294L, 30), ENSURE_REQUIREMENTS, [plan_id=7843472]
(25) Sort [codegen id : 4]
Input [39]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512]
Arguments: [shardId#15070782 ASC NULLS FIRST, worklistShardItemId#15071294L ASC NULLS FIRST], false, 0
(26) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#15072015, worklistShardItemId#15072016L, qty#15072017, demandChannel#15072018, demandStream#15072019, kpis#15072020]
Arguments: [shardId#15072015, worklistShardItemId#15072016L, qty#15072017, demandChannel#15072018, demandStream#15072019, kpis#15072020], MapPartitionsRDD[1062287] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(27) Filter [codegen id : 5]
Input [6]: [shardId#15072015, worklistShardItemId#15072016L, qty#15072017, demandChannel#15072018, demandStream#15072019, kpis#15072020]
Condition : (((isnull(qty#15072017) AND isnull(demandChannel#15072018)) AND isnull(demandStream#15072019)) AND (isnotnull(shardId#15072015) AND isnotnull(worklistShardItemId#15072016L)))
(28) Project [codegen id : 5]
Output [3]: [shardId#15072015, worklistShardItemId#15072016L, coalesce(kpis#15072020, []) AS prodLocSpecificKpis#15072021]
Input [6]: [shardId#15072015, worklistShardItemId#15072016L, qty#15072017, demandChannel#15072018, demandStream#15072019, kpis#15072020]
(29) Exchange
Input [3]: [shardId#15072015, worklistShardItemId#15072016L, prodLocSpecificKpis#15072021]
Arguments: hashpartitioning(shardId#15072015, worklistShardItemId#15072016L, 30), ENSURE_REQUIREMENTS, [plan_id=7843478]
(30) Sort [codegen id : 6]
Input [3]: [shardId#15072015, worklistShardItemId#15072016L, prodLocSpecificKpis#15072021]
Arguments: [shardId#15072015 ASC NULLS FIRST, worklistShardItemId#15072016L ASC NULLS FIRST], false, 0
(31) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#15070782, worklistShardItemId#15071294L]
Right keys [2]: [shardId#15072015, worklistShardItemId#15072016L]
Join type: LeftOuter
Join condition: None
(32) Project [codegen id : 7]
Output [40]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, coalesce(prodLocSpecificKpis#15072021, []) AS prodLocSpecificKpis#15072022]
Input [42]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, shardId#15072015, worklistShardItemId#15072016L, prodLocSpecificKpis#15072021]
(33) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#15072031, worklistShardItemId#15072032L, qty#15072033, demandChannel#15072034, demandStream#15072035, kpis#15072036]
Arguments: [shardId#15072031, worklistShardItemId#15072032L, qty#15072033, demandChannel#15072034, demandStream#15072035, kpis#15072036], MapPartitionsRDD[1062287] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(34) Filter [codegen id : 8]
Input [6]: [shardId#15072031, worklistShardItemId#15072032L, qty#15072033, demandChannel#15072034, demandStream#15072035, kpis#15072036]
Condition : ((((isnull(qty#15072033) AND isnotnull(demandChannel#15072034)) AND isnotnull(demandStream#15072035)) AND (size(kpis#15072036, true) > 0)) AND (isnotnull(shardId#15072031) AND isnotnull(worklistShardItemId#15072032L)))
(35) Project [codegen id : 8]
Output [5]: [shardId#15072031, worklistShardItemId#15072032L, demandChannel#15072034, demandStream#15072035, kpis#15072036]
Input [6]: [shardId#15072031, worklistShardItemId#15072032L, qty#15072033, demandChannel#15072034, demandStream#15072035, kpis#15072036]
(36) ObjectHashAggregate
Input [5]: [shardId#15072031, worklistShardItemId#15072032L, demandChannel#15072034, demandStream#15072035, kpis#15072036]
Keys [2]: [shardId#15072031, worklistShardItemId#15072032L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)]
Aggregate Attributes [1]: [buf#15072211]
Results [3]: [shardId#15072031, worklistShardItemId#15072032L, buf#15072212]
(37) Exchange
Input [3]: [shardId#15072031, worklistShardItemId#15072032L, buf#15072212]
Arguments: hashpartitioning(shardId#15072031, worklistShardItemId#15072032L, 30), ENSURE_REQUIREMENTS, [plan_id=7843489]
(38) ObjectHashAggregate
Input [3]: [shardId#15072031, worklistShardItemId#15072032L, buf#15072212]
Keys [2]: [shardId#15072031, worklistShardItemId#15072032L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)#15072030]
Results [3]: [shardId#15072031, worklistShardItemId#15072032L, collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)#15072030 AS channelStreamSpecificKpis#15072023]
(39) Sort [codegen id : 9]
Input [3]: [shardId#15072031, worklistShardItemId#15072032L, channelStreamSpecificKpis#15072023]
Arguments: [shardId#15072031 ASC NULLS FIRST, worklistShardItemId#15072032L ASC NULLS FIRST], false, 0
(40) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#15070782, worklistShardItemId#15071294L]
Right keys [2]: [shardId#15072031, worklistShardItemId#15072032L]
Join type: LeftOuter
Join condition: None
(41) Project [codegen id : 10]
Output [41]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, prodLocSpecificKpis#15072022, coalesce(channelStreamSpecificKpis#15072023, []) AS channelStreamSpecificKpis#15072037]
Input [43]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, prodLocSpecificKpis#15072022, shardId#15072031, worklistShardItemId#15072032L, channelStreamSpecificKpis#15072023]
(42) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, demandChannel#15072047, demandStream#15072048, kpis#15072049]
Arguments: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, demandChannel#15072047, demandStream#15072048, kpis#15072049], MapPartitionsRDD[1062287] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(43) Filter [codegen id : 11]
Input [6]: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, demandChannel#15072047, demandStream#15072048, kpis#15072049]
Condition : ((isnotnull(qty#15072046) AND isnotnull(kpis#15072049)) AND (isnotnull(shardId#15072044) AND isnotnull(worklistShardItemId#15072045L)))
(44) Project [codegen id : 11]
Output [4]: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, kpis#15072049]
Input [6]: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, demandChannel#15072047, demandStream#15072048, kpis#15072049]
(45) ObjectHashAggregate
Input [4]: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, kpis#15072049]
Keys [2]: [shardId#15072044, worklistShardItemId#15072045L]
Functions [1]: [partial_collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)]
Aggregate Attributes [1]: [buf#15072213]
Results [3]: [shardId#15072044, worklistShardItemId#15072045L, buf#15072214]
(46) Exchange
Input [3]: [shardId#15072044, worklistShardItemId#15072045L, buf#15072214]
Arguments: hashpartitioning(shardId#15072044, worklistShardItemId#15072045L, 30), ENSURE_REQUIREMENTS, [plan_id=7843501]
(47) ObjectHashAggregate
Input [3]: [shardId#15072044, worklistShardItemId#15072045L, buf#15072214]
Keys [2]: [shardId#15072044, worklistShardItemId#15072045L]
Functions [1]: [collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)#15072043]
Results [3]: [shardId#15072044, worklistShardItemId#15072045L, map_from_entries(collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)#15072043) AS quantityKpis#15072038]
(48) Sort [codegen id : 12]
Input [3]: [shardId#15072044, worklistShardItemId#15072045L, quantityKpis#15072038]
Arguments: [shardId#15072044 ASC NULLS FIRST, worklistShardItemId#15072045L ASC NULLS FIRST], false, 0
(49) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#15070782, worklistShardItemId#15071294L]
Right keys [2]: [shardId#15072044, worklistShardItemId#15072045L]
Join type: LeftOuter
Join condition: None
(50) Project [codegen id : 13]
Output [42]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, prodLocSpecificKpis#15072022, channelStreamSpecificKpis#15072037, coalesce(quantityKpis#15072038, map(keys: [], values: [])) AS quantityKpis#15072050]
Input [44]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, prodLocSpecificKpis#15072022, channelStreamSpecificKpis#15072037, shardId#15072044, worklistShardItemId#15072045L, quantityKpis#15072038]
(51) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#15071472, channelStreamSpecificKpis#15072037, constraintLabels#15071484, constraintOperators#15071485, constraintValues#15071487, deliveryDateTime#15071471, isFallbackOrderOnly#15071474, logisticUnits#15071489, measurements#15071482, minimumOrderQuantity#15071483, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, nextAvailabilityDateTime#15071473, optimizationGroups#15071490, orderDateTime#15071470, orderProposalId#15071452L, orderProposalItemGroupId#15071454, orderProposalItemId#15071453, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, originalReplenishmentRunId#15071455L, plant#15071466, previousOrderProposal#15071458L, prodLocSpecificKpis#15072022, product#15071465, productGroup#15071494, qty#15071296, quantityAfterProdPlantOptimization#15071295, quantityKpis#15072050, shardId#15070782, sourceOfSupplyUuid#15071461, splitIndicator#15071457L, subrange#15071464, supplier#15071463, supplierGroup#15071462, supplyingPlant#15071493]
Condition : NOT (isFallbackOrderOnly#15071474 <=> true)
(52) Project [codegen id : 1]
Output [36]: [shardId#15070782, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, productGroup#15071494, product#15071465, plant#15071466, subrange#15071464, orderDateTime#15071470, deliveryDateTime#15071471, availabilityDateTime#15071472, nextAvailabilityDateTime#15071473, logisticUnits#15071489, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, splitIndicator#15071457L, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, sourceOfSupplyUuid#15071461, minimumOrderQuantity#15071483, orderProposalItemId#15071453, orderProposalItemGroupId#15071454, optimizationGroups#15071490, measurements#15071482, previousOrderProposal#15071458L, prodLocSpecificKpis#15072022, channelStreamSpecificKpis#15072037, quantityKpis#15072050, arrays_zip(constraintLabels#15071484, constraintOperators#15071485, constraintValues#15071487, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#15072464]
Input [39]: [availabilityDateTime#15071472, channelStreamSpecificKpis#15072037, constraintLabels#15071484, constraintOperators#15071485, constraintValues#15071487, deliveryDateTime#15071471, isFallbackOrderOnly#15071474, logisticUnits#15071489, measurements#15071482, minimumOrderQuantity#15071483, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, nextAvailabilityDateTime#15071473, optimizationGroups#15071490, orderDateTime#15071470, orderProposalId#15071452L, orderProposalItemGroupId#15071454, orderProposalItemId#15071453, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, originalReplenishmentRunId#15071455L, plant#15071466, previousOrderProposal#15071458L, prodLocSpecificKpis#15072022, product#15071465, productGroup#15071494, qty#15071296, quantityAfterProdPlantOptimization#15071295, quantityKpis#15072050, shardId#15070782, sourceOfSupplyUuid#15071461, splitIndicator#15071457L, subrange#15071464, supplier#15071463, supplierGroup#15071462, supplyingPlant#15071493]
(53) Project
Output [37]: [shardId#15070782, qty#15071296, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, productGroup#15071494, product#15071465, plant#15071466, subrange#15071464, orderDateTime#15071470, deliveryDateTime#15071471, availabilityDateTime#15071472, nextAvailabilityDateTime#15071473, logisticUnits#15071489, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, splitIndicator#15071457L, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, sourceOfSupplyUuid#15071461, orderProposalItemId#15071453, orderProposalItemGroupId#15071454, optimizationGroups#15071490, measurements#15071482, previousOrderProposal#15071458L, prodLocSpecificKpis#15072022, channelStreamSpecificKpis#15072037, quantityKpis#15072050, struct(minServiceLevel, array_min(filter(constraintStructArray#15072464, lambdafunction((lambda x_29712#15072471.constraintLabels = ServiceLevel), lambda x_29712#15072471, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#15072464, lambdafunction((lambda x_29713#15072472.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_29713#15072472, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#15072464, lambdafunction((lambda x_29714#15072473.constraintLabels = RangeOfCoverage), lambda x_29714#15072473, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#15071483, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#15072022, lambdafunction((lambda x_29715#15072474.label = NonListingStartTimestamp), lambda x_29715#15072474, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#15072470, CASE WHEN (qty#15071296 <=> quantityAfterProdPlantOptimization#15071295) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#15071296 * (cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29716#15072542.isOrderUnit, lambda x_29716#15072542, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29716#15072543.isOrderUnit, lambda x_29716#15072543, false)), 1, None, false).numerator as double))), qty#15071296), orderQuantityUom, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29716#15072544.isOrderUnit, lambda x_29716#15072544, false)), 1, None, false).uom, orderQuantityBaseUom#15071475), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29716#15072545.isOrderUnit, lambda x_29716#15072545, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#15071476), candidateOrderQuantityInBaseUnit, qty#15071296, orderQuantityBaseUom, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#15071476, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#15071489, lambdafunction((lambda x_29718#15072546.isPreferred AND (((qty#15071296 * cast(lambda x_29718#15072546.denominator as double)) % cast(lambda x_29718#15072546.numerator as double)) = 0.0)), lambda x_29718#15072546, false)), lambdafunction(struct(inPreferredQuantity, ((qty#15071296 * cast(lambda x_29719#15072584.denominator as double)) / cast(lambda x_29719#15072584.numerator as double)), uom, lambda x_29719#15072584.uom, uomUuid, lambda x_29719#15072584.uomUuid), lambda x_29719#15072584, false))).inPreferredQuantity, coalesce((qty#15071296 * (cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29717#15072547.isOrderUnit, lambda x_29717#15072547, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29717#15072548.isOrderUnit, lambda x_29717#15072548, false)), 1, None, false).numerator as double))), qty#15071296)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#15071489, lambdafunction((lambda x_29718#15072549.isPreferred AND (((qty#15071296 * cast(lambda x_29718#15072549.denominator as double)) % cast(lambda x_29718#15072549.numerator as double)) = 0.0)), lambda x_29718#15072549, false)), lambdafunction(struct(inPreferredQuantity, ((qty#15071296 * cast(lambda x_29719#15072585.denominator as double)) / cast(lambda x_29719#15072585.numerator as double)), uom, lambda x_29719#15072585.uom, uomUuid, lambda x_29719#15072585.uomUuid), lambda x_29719#15072585, false))).uom, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29717#15072550.isOrderUnit, lambda x_29717#15072550, false)), 1, None, false).uom, orderQuantityBaseUom#15071475)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#15071489, lambdafunction((lambda x_29718#15072551.isPreferred AND (((qty#15071296 * cast(lambda x_29718#15072551.denominator as double)) % cast(lambda x_29718#15072551.numerator as double)) = 0.0)), lambda x_29718#15072551, false)), lambdafunction(struct(inPreferredQuantity, ((qty#15071296 * cast(lambda x_29719#15072586.denominator as double)) / cast(lambda x_29719#15072586.numerator as double)), uom, lambda x_29719#15072586.uom, uomUuid, lambda x_29719#15072586.uomUuid), lambda x_29719#15072586, false))).uomUuid, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29717#15072552.isOrderUnit, lambda x_29717#15072552, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#15071476)), serviceLevel, coalesce(filter(element_at(quantityKpis#15072050, qty#15071296, None, false), lambdafunction((lambda x_29724#15072553.label = ServiceLevel), lambda x_29724#15072553, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#15071296 * (cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29716#15072556.isOrderUnit, lambda x_29716#15072556, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29716#15072557.isOrderUnit, lambda x_29716#15072557, false)), 1, None, false).numerator as double))), qty#15071296), orderQuantityUom, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29716#15072558.isOrderUnit, lambda x_29716#15072558, false)), 1, None, false).uom, orderQuantityBaseUom#15071475), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29716#15072559.isOrderUnit, lambda x_29716#15072559, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#15071476), candidateOrderQuantityInBaseUnit, qty#15071296, orderQuantityBaseUom, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#15071476, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#15071489, lambdafunction((lambda x_29718#15072560.isPreferred AND (((qty#15071296 * cast(lambda x_29718#15072560.denominator as double)) % cast(lambda x_29718#15072560.numerator as double)) = 0.0)), lambda x_29718#15072560, false)), lambdafunction(struct(inPreferredQuantity, ((qty#15071296 * cast(lambda x_29719#15072587.denominator as double)) / cast(lambda x_29719#15072587.numerator as double)), uom, lambda x_29719#15072587.uom, uomUuid, lambda x_29719#15072587.uomUuid), lambda x_29719#15072587, false))).inPreferredQuantity, coalesce((qty#15071296 * (cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29717#15072561.isOrderUnit, lambda x_29717#15072561, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29717#15072562.isOrderUnit, lambda x_29717#15072562, false)), 1, None, false).numerator as double))), qty#15071296)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#15071489, lambdafunction((lambda x_29718#15072563.isPreferred AND (((qty#15071296 * cast(lambda x_29718#15072563.denominator as double)) % cast(lambda x_29718#15072563.numerator as double)) = 0.0)), lambda x_29718#15072563, false)), lambdafunction(struct(inPreferredQuantity, ((qty#15071296 * cast(lambda x_29719#15072588.denominator as double)) / cast(lambda x_29719#15072588.numerator as double)), uom, lambda x_29719#15072588.uom, uomUuid, lambda x_29719#15072588.uomUuid), lambda x_29719#15072588, false))).uom, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29717#15072564.isOrderUnit, lambda x_29717#15072564, false)), 1, None, false).uom, orderQuantityBaseUom#15071475)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#15071489, lambdafunction((lambda x_29718#15072565.isPreferred AND (((qty#15071296 * cast(lambda x_29718#15072565.denominator as double)) % cast(lambda x_29718#15072565.numerator as double)) = 0.0)), lambda x_29718#15072565, false)), lambdafunction(struct(inPreferredQuantity, ((qty#15071296 * cast(lambda x_29719#15072589.denominator as double)) / cast(lambda x_29719#15072589.numerator as double)), uom, lambda x_29719#15072589.uom, uomUuid, lambda x_29719#15072589.uomUuid), lambda x_29719#15072589, false))).uomUuid, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29717#15072566.isOrderUnit, lambda x_29717#15072566, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#15071476)), serviceLevel, coalesce(filter(element_at(quantityKpis#15072050, qty#15071296, None, false), lambdafunction((lambda x_29727#15072567.label = ServiceLevel), lambda x_29727#15072567, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#15071295 * (cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29720#15072570.isOrderUnit, lambda x_29720#15072570, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29720#15072571.isOrderUnit, lambda x_29720#15072571, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#15071295), orderQuantityUom, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29720#15072572.isOrderUnit, lambda x_29720#15072572, false)), 1, None, false).uom, orderQuantityBaseUom#15071475), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29720#15072573.isOrderUnit, lambda x_29720#15072573, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#15071476), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#15071295, orderQuantityBaseUom, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#15071476, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#15071489, lambdafunction((lambda x_29722#15072574.isPreferred AND (((quantityAfterProdPlantOptimization#15071295 * cast(lambda x_29722#15072574.denominator as double)) % cast(lambda x_29722#15072574.numerator as double)) = 0.0)), lambda x_29722#15072574, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#15071295 * cast(lambda x_29723#15072590.denominator as double)) / cast(lambda x_29723#15072590.numerator as double)), uom, lambda x_29723#15072590.uom, uomUuid, lambda x_29723#15072590.uomUuid), lambda x_29723#15072590, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#15071295 * (cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29721#15072575.isOrderUnit, lambda x_29721#15072575, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29721#15072576.isOrderUnit, lambda x_29721#15072576, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#15071295)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#15071489, lambdafunction((lambda x_29722#15072577.isPreferred AND (((quantityAfterProdPlantOptimization#15071295 * cast(lambda x_29722#15072577.denominator as double)) % cast(lambda x_29722#15072577.numerator as double)) = 0.0)), lambda x_29722#15072577, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#15071295 * cast(lambda x_29723#15072591.denominator as double)) / cast(lambda x_29723#15072591.numerator as double)), uom, lambda x_29723#15072591.uom, uomUuid, lambda x_29723#15072591.uomUuid), lambda x_29723#15072591, false))).uom, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29721#15072578.isOrderUnit, lambda x_29721#15072578, false)), 1, None, false).uom, orderQuantityBaseUom#15071475)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#15071489, lambdafunction((lambda x_29722#15072579.isPreferred AND (((quantityAfterProdPlantOptimization#15071295 * cast(lambda x_29722#15072579.denominator as double)) % cast(lambda x_29722#15072579.numerator as double)) = 0.0)), lambda x_29722#15072579, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#15071295 * cast(lambda x_29723#15072592.denominator as double)) / cast(lambda x_29723#15072592.numerator as double)), uom, lambda x_29723#15072592.uom, uomUuid, lambda x_29723#15072592.uomUuid), lambda x_29723#15072592, false))).uomUuid, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29721#15072580.isOrderUnit, lambda x_29721#15072580, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#15071476)), serviceLevel, coalesce(filter(element_at(quantityKpis#15072050, quantityAfterProdPlantOptimization#15071295, None, false), lambdafunction((lambda x_29730#15072581.label = ServiceLevel), lambda x_29730#15072581, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#15072541, coalesce(filter(prodLocSpecificKpis#15072022, lambdafunction((lambda x_29733#15072594.label = InitialStockQty), lambda x_29733#15072594, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#15072593, coalesce(filter(prodLocSpecificKpis#15072022, lambdafunction((lambda x_29734#15072596.label = DemandPeriodEndTimestamp), lambda x_29734#15072596, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#15072595]
Input [36]: [shardId#15070782, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, productGroup#15071494, product#15071465, plant#15071466, subrange#15071464, orderDateTime#15071470, deliveryDateTime#15071471, availabilityDateTime#15071472, nextAvailabilityDateTime#15071473, logisticUnits#15071489, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, splitIndicator#15071457L, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, sourceOfSupplyUuid#15071461, minimumOrderQuantity#15071483, orderProposalItemId#15071453, orderProposalItemGroupId#15071454, optimizationGroups#15071490, measurements#15071482, previousOrderProposal#15071458L, prodLocSpecificKpis#15072022, channelStreamSpecificKpis#15072037, quantityKpis#15072050, constraintStructArray#15072464]
(54) Project
Output [21]: [shardId#15070782, qty#15071296, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, productGroup#15071494, product#15071465, plant#15071466, subrange#15071464, orderDateTime#15071470, deliveryDateTime#15071471, logisticUnits#15071489, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, splitIndicator#15071457L, orderProposalItemId#15071453, orderProposalItemGroupId#15071454, previousOrderProposal#15071458L, struct(supplier, supplier#15071463, supplyingPlant, supplyingPlant#15071493, productGroup, productGroup#15071494, product, product#15071465, plant, plant#15071466, supplierSubRange, subrange#15071464, sourceOfSupplyUuid, sourceOfSupplyUuid#15071461, deliveryDateTime, deliveryDateTime#15071471, unitPrice, netPriceAmount#15071480, unitPriceCurrency, netPriceCurrencyCode#15071481, unitPriceQuantity, netPriceQuantity#15071477, unitPriceQuantityUom, netPriceQuantityUom#15071478, unitPriceQuantityUomUuid, ... 31 more fields) AS parentItem#15072666]
Input [37]: [shardId#15070782, qty#15071296, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, productGroup#15071494, product#15071465, plant#15071466, subrange#15071464, orderDateTime#15071470, deliveryDateTime#15071471, availabilityDateTime#15071472, nextAvailabilityDateTime#15071473, logisticUnits#15071489, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, splitIndicator#15071457L, netPriceAmount#15071480, netPriceCurrencyCode#15071481, netPriceQuantity#15071477, netPriceQuantityUom#15071478, netPriceQuantityUomUuid#15071479, sourceOfSupplyUuid#15071461, orderProposalItemId#15071453, orderProposalItemGroupId#15071454, optimizationGroups#15071490, measurements#15071482, previousOrderProposal#15071458L, prodLocSpecificKpis#15072022, channelStreamSpecificKpis#15072037, quantityKpis#15072050, constraintBenchmark#15072470, calculationAnalysis#15072541, inventoryDateTime#15072593, demandPeriodEndDateTime#15072595]
(55) Project
Output [12]: [shardId#15070782, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, orderDateTime#15071470, splitIndicator#15071457L, orderProposalItemGroupId#15071454, previousOrderProposal#15071458L, parentItem#15072666, struct(itemId, orderProposalItemId#15071453, supplier, supplier#15071463, supplyingPlant, supplyingPlant#15071493, productGroup, productGroup#15071494, product, product#15071465, plant, plant#15071466, supplierSubRange, subrange#15071464, deliveryDateTime, deliveryDateTime#15071471, orderQuantity, coalesce((qty#15071296 * (cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29758#15072700.isOrderUnit, lambda x_29758#15072700, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29758#15072701.isOrderUnit, lambda x_29758#15072701, false)), 1, None, false).numerator as double))), qty#15071296), orderQuantityUom, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29758#15072702.isOrderUnit, lambda x_29758#15072702, false)), 1, None, false).uom, orderQuantityBaseUom#15071475), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#15071489, lambdafunction(lambda x_29758#15072703.isOrderUnit, lambda x_29758#15072703, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#15071476), orderQuantityInBaseUnit, qty#15071296, orderQuantityBaseUom, ... 13 more fields) AS item#15072697]
Input [21]: [shardId#15070782, qty#15071296, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, productGroup#15071494, product#15071465, plant#15071466, subrange#15071464, orderDateTime#15071470, deliveryDateTime#15071471, logisticUnits#15071489, orderQuantityBaseUom#15071475, orderQuantityBaseUomUuid#15071476, splitIndicator#15071457L, orderProposalItemId#15071453, orderProposalItemGroupId#15071454, previousOrderProposal#15071458L, parentItem#15072666]
(56) ObjectHashAggregate
Input [12]: [shardId#15070782, orderProposalId#15071452L, originalReplenishmentRunId#15071455L, supplierGroup#15071462, supplier#15071463, supplyingPlant#15071493, orderDateTime#15071470, splitIndicator#15071457L, orderProposalItemGroupId#15071454, previousOrderProposal#15071458L, parentItem#15072666, item#15072697]
Keys [4]: [shardId#15070782, orderProposalId#15071452L, splitIndicator#15071457L, orderProposalItemGroupId#15071454]
Functions [8]: [partial_max(originalReplenishmentRunId#15071455L), partial_max(supplierGroup#15071462), partial_max(supplier#15071463), partial_max(supplyingPlant#15071493), partial_max(orderDateTime#15071470), partial_collect_list(parentItem#15072666, 0, 0), partial_collect_set(previousOrderProposal#15071458L, 0, 0), partial_collect_list(item#15072697, 0, 0)]
Aggregate Attributes [8]: [max#15073948L, max#15073949, max#15073950, max#15073951, max#15073952, buf#15073953, buf#15073954, buf#15073955]
Results [12]: [shardId#15070782, orderProposalId#15071452L, splitIndicator#15071457L, orderProposalItemGroupId#15071454, max#15073956L, max#15073957, max#15073958, max#15073959, max#15073960, buf#15073961, buf#15073962, buf#15073963]
(57) Exchange
Input [12]: [shardId#15070782, orderProposalId#15071452L, splitIndicator#15071457L, orderProposalItemGroupId#15071454, max#15073956L, max#15073957, max#15073958, max#15073959, max#15073960, buf#15073961, buf#15073962, buf#15073963]
Arguments: hashpartitioning(shardId#15070782, orderProposalId#15071452L, splitIndicator#15071457L, orderProposalItemGroupId#15071454, 30), ENSURE_REQUIREMENTS, [plan_id=7843739]
(58) ObjectHashAggregate
Input [12]: [shardId#15070782, orderProposalId#15071452L, splitIndicator#15071457L, orderProposalItemGroupId#15071454, max#15073956L, max#15073957, max#15073958, max#15073959, max#15073960, buf#15073961, buf#15073962, buf#15073963]
Keys [4]: [shardId#15070782, orderProposalId#15071452L, splitIndicator#15071457L, orderProposalItemGroupId#15071454]
Functions [8]: [max(originalReplenishmentRunId#15071455L), max(supplierGroup#15071462), max(supplier#15071463), max(supplyingPlant#15071493), max(orderDateTime#15071470), collect_list(parentItem#15072666, 0, 0), collect_set(previousOrderProposal#15071458L, 0, 0), collect_list(item#15072697, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#15071455L)#15072766L, max(supplierGroup#15071462)#15072767, max(supplier#15071463)#15072768, max(supplyingPlant#15071493)#15072769, max(orderDateTime#15071470)#15072770, collect_list(parentItem#15072666, 0, 0)#15072771, collect_set(previousOrderProposal#15071458L, 0, 0)#15072773, collect_list(item#15072697, 0, 0)#15072772]
Results [10]: [shardId#15070782, orderProposalId#15071452L, max(originalReplenishmentRunId#15071455L)#15072766L AS originalReplenishmentRunId#15072714L, max(supplierGroup#15071462)#15072767 AS supplierGroup#15072715, max(supplier#15071463)#15072768 AS supplier#15072716, max(supplyingPlant#15071493)#15072769 AS supplyingPlant#15072717, max(orderDateTime#15071470)#15072770 AS orderDateTime#15072718, collect_list(parentItem#15072666, 0, 0)#15072771 AS parentItems#15072719, collect_set(previousOrderProposal#15071458L, 0, 0)#15072773 AS previousOrderProposals#15072721, struct(itemGroupId, coalesce(orderProposalItemGroupId#15071454, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#15072697, 0, 0)#15072772) AS itemGroup#15072775]
(59) ObjectHashAggregate
Input [10]: [shardId#15070782, orderProposalId#15071452L, originalReplenishmentRunId#15072714L, supplierGroup#15072715, supplier#15072716, supplyingPlant#15072717, orderDateTime#15072718, parentItems#15072719, previousOrderProposals#15072721, itemGroup#15072775]
Keys [2]: [shardId#15070782, orderProposalId#15071452L]
Functions [8]: [partial_max(originalReplenishmentRunId#15072714L), partial_max(supplierGroup#15072715), partial_max(supplier#15072716), partial_max(supplyingPlant#15072717), partial_max(orderDateTime#15072718), partial_collect_list(itemGroup#15072775, 0, 0), partial_collect_list(parentItems#15072719, 0, 0), partial_collect_set(previousOrderProposals#15072721, 0, 0)]
Aggregate Attributes [8]: [max#15073932L, max#15073933, max#15073934, max#15073935, max#15073936, buf#15073937, buf#15073938, buf#15073939]
Results [10]: [shardId#15070782, orderProposalId#15071452L, max#15073940L, max#15073941, max#15073942, max#15073943, max#15073944, buf#15073945, buf#15073946, buf#15073947]
(60) Exchange
Input [10]: [shardId#15070782, orderProposalId#15071452L, max#15073940L, max#15073941, max#15073942, max#15073943, max#15073944, buf#15073945, buf#15073946, buf#15073947]
Arguments: hashpartitioning(shardId#15070782, orderProposalId#15071452L, 30), ENSURE_REQUIREMENTS, [plan_id=7843742]
(61) ObjectHashAggregate
Input [10]: [shardId#15070782, orderProposalId#15071452L, max#15073940L, max#15073941, max#15073942, max#15073943, max#15073944, buf#15073945, buf#15073946, buf#15073947]
Keys [2]: [shardId#15070782, orderProposalId#15071452L]
Functions [8]: [max(originalReplenishmentRunId#15072714L), max(supplierGroup#15072715), max(supplier#15072716), max(supplyingPlant#15072717), max(orderDateTime#15072718), collect_list(itemGroup#15072775, 0, 0), collect_list(parentItems#15072719, 0, 0), collect_set(previousOrderProposals#15072721, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#15072714L)#15072797L, max(supplierGroup#15072715)#15072798, max(supplier#15072716)#15072799, max(supplyingPlant#15072717)#15072800, max(orderDateTime#15072718)#15072801, collect_list(itemGroup#15072775, 0, 0)#15072802, collect_list(parentItems#15072719, 0, 0)#15072803, collect_set(previousOrderProposals#15072721, 0, 0)#15072804]
Results [10]: [shardId#15070782, orderProposalId#15071452L, max(originalReplenishmentRunId#15072714L)#15072797L AS originalReplenishmentRunId#15072776L, max(supplierGroup#15072715)#15072798 AS supplierGroup#15072777, max(supplier#15072716)#15072799 AS supplier#15072778, max(supplyingPlant#15072717)#15072800 AS supplyingPlant#15072779, max(orderDateTime#15072718)#15072801 AS orderDateTime#15072780, collect_list(itemGroup#15072775, 0, 0)#15072802 AS itemGroups#15072781, flatten(collect_list(parentItems#15072719, 0, 0)#15072803) AS parentItems#15072782, flatten(collect_set(previousOrderProposals#15072721, 0, 0)#15072804) AS previousOrderProposals#15072783]
(62) Project
Output [2]: [shardId#15070782, struct(orderProposalId, orderProposalId#15071452L, originalReplenishmentRunId, originalReplenishmentRunId#15072776L, supplierGroup, supplierGroup#15072777, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#15072777) THEN supplier#15072778 END, supplyingPlant, supplyingPlant#15072779, orderDateTime, orderDateTime#15072780, itemGroups, itemGroups#15072781, previousOrderProposals, array_distinct(previousOrderProposals#15072783), parentItems, parentItems#15072782) AS orderProposal#15072808]
Input [10]: [shardId#15070782, orderProposalId#15071452L, originalReplenishmentRunId#15072776L, supplierGroup#15072777, supplier#15072778, supplyingPlant#15072779, orderDateTime#15072780, itemGroups#15072781, parentItems#15072782, previousOrderProposals#15072783]
(63) Project
Output [11]: [shardId#15070782, orderProposal#15072808.orderProposalId AS _extract_orderProposalId#15073564L, orderProposal#15072808.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#15073565L, orderProposal#15072808.supplierGroup AS _extract_supplierGroup#15073566, orderProposal#15072808.supplier AS _extract_supplier#15073567, orderProposal#15072808.supplyingPlant AS _extract_supplyingPlant#15073568, orderProposal#15072808.orderDateTime AS _extract_orderDateTime#15073569, orderProposal#15072808.itemGroups AS _extract_itemGroups#15073570, orderProposal#15072808.previousOrderProposals AS _extract_previousOrderProposals#15073571, orderProposal#15072808.parentItems AS _extract_parentItems#15073572, orderProposal#15072808.orderProposalId AS _extract_orderProposalId#15073573L]
Input [2]: [shardId#15070782, orderProposal#15072808]
(64) InMemoryTableScan
Output [3]: [shardId#15072821, orderProposalId#15072822L, optimizationGroups#15072824]
Arguments: [shardId#15072821, orderProposalId#15072822L, optimizationGroups#15072824], [isnotnull(orderProposalId#15072822L)]
(65) InMemoryRelation
Arguments: [shardId#15072821, orderProposalId#15072822L, items#15072823, optimizationGroups#15072824, isOptimal#15072825, optimizationInsights#15072827], StorageLevel(disk, memory, 2 replicas)
(66) Filter [codegen id : 2]
Input [3]: [shardId#15072821, orderProposalId#15072822L, optimizationGroups#15072824]
Condition : isnotnull(orderProposalId#15072822L)
(67) BroadcastExchange
Input [3]: [shardId#15072821, orderProposalId#15072822L, optimizationGroups#15072824]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=7843749]
(68) InMemoryTableScan
Output [2]: [items#15072459, shardId#15072457]
Arguments: [items#15072459, shardId#15072457], [(size(items#15072459.worklistShardItemId, true) > 0), isnotnull(items#15072459.worklistShardItemId), (shardId#15072457 = 0_1_10000001452)]
(69) InMemoryRelation
Arguments: [shardId#15072457, orderProposalId#15072458L, items#15072459, optimizationGroups#15072460, isOptimal#15072461, optimizationInsights#15072463], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 3]
Input [2]: [items#15072459, shardId#15072457]
Condition : (((size(items#15072459.worklistShardItemId, true) > 0) AND isnotnull(items#15072459.worklistShardItemId)) AND (shardId#15072457 = 0_1_10000001452))
(71) Project [codegen id : 3]
Output [1]: [items#15072459.worklistShardItemId AS _extract_worklistShardItemId#15073469]
Input [2]: [items#15072459, shardId#15072457]
(72) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#15073469]
Arguments: explode(_extract_worklistShardItemId#15073469), false, [item#15072828L]
(73) Project [codegen id : 3]
Output [1]: [item#15072828L AS worklistShardItemId#15072829L]
Input [1]: [item#15072828L]
(74) BroadcastExchange
Input [1]: [worklistShardItemId#15072829L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=7843757]
(75) Scan parquet
Output [5]: [orderProposalId#15072877L, isFallbackOrderOnly#15072894, worklistShardItemId#15072900L, shardId#15072921, sequenceId#15072899]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000001452]
PartitionFilters: [isnotnull(shardId#15072921), isnotnull(sequenceId#15072899), (shardId#15072921 = 0_1_10000001452), (sequenceId#15072899 = 5)]
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#15072877L, isFallbackOrderOnly#15072894, worklistShardItemId#15072900L, shardId#15072921, sequenceId#15072899]
(77) Filter [codegen id : 4]
Input [5]: [orderProposalId#15072877L, isFallbackOrderOnly#15072894, worklistShardItemId#15072900L, shardId#15072921, sequenceId#15072899]
Condition : ((isnotnull(worklistShardItemId#15072900L) AND NOT (isFallbackOrderOnly#15072894 <=> true)) AND isnotnull(orderProposalId#15072877L))
(78) Project [codegen id : 4]
Output [2]: [orderProposalId#15072877L, worklistShardItemId#15072900L]
Input [5]: [orderProposalId#15072877L, isFallbackOrderOnly#15072894, worklistShardItemId#15072900L, shardId#15072921, sequenceId#15072899]
(79) Exchange
Input [2]: [orderProposalId#15072877L, worklistShardItemId#15072900L]
Arguments: hashpartitioning(worklistShardItemId#15072900L, 30), REPARTITION_BY_NUM, [plan_id=7843764]
(80) Project
Output [2]: [worklistShardItemId#15072900L, orderProposalId#15072877L]
Input [2]: [orderProposalId#15072877L, worklistShardItemId#15072900L]
(81) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#15072829L]
Right keys [1]: [worklistShardItemId#15072900L]
Join type: Inner
Join condition: None
(82) Project [codegen id : 5]
Output [1]: [orderProposalId#15072877L]
Input [3]: [worklistShardItemId#15072829L, worklistShardItemId#15072900L, orderProposalId#15072877L]
(83) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#15072877L]
Keys [1]: [orderProposalId#15072877L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#15072877L]
(84) Exchange
Input [1]: [orderProposalId#15072877L]
Arguments: hashpartitioning(orderProposalId#15072877L, 30), ENSURE_REQUIREMENTS, [plan_id=7843771]
(85) HashAggregate
Input [1]: [orderProposalId#15072877L]
Keys [1]: [orderProposalId#15072877L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#15072877L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#15072822L]
Right keys [1]: [orderProposalId#15072877L]
Join type: Inner
Join condition: None
(87) Project
Output [3]: [orderProposalId#15072822L, shardId#15072821, coalesce(transform(optimizationGroups#15072824, lambdafunction(struct(optGroupId, lambda x_29762#15072819.optGroupId, minOrderProfile, lambda x_29762#15072819.minOrderProfile, assignmentDetails, lambda x_29762#15072819.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_29762#15072819.minOrderGoal.dimensionType, unit, lambda x_29762#15072819.minOrderGoal.unit, unitUuid, lambda x_29762#15072819.minOrderGoal.unitUuid, goalValue, lambda x_29762#15072819.minOrderGoal.minOrderValue, calcValue, lambda x_29762#15072819.minOrderGoal.calculatedOrderValue)), lambda x_29762#15072819, false)), []) AS optimizationGroups#15072818]
Input [4]: [shardId#15072821, orderProposalId#15072822L, optimizationGroups#15072824, orderProposalId#15072877L]
(88) BroadcastExchange
Input [3]: [orderProposalId#15072822L, shardId#15072821, optimizationGroups#15072818]
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=7843777]
(89) BroadcastHashJoin
Left keys [4]: [coalesce(shardId#15070782, ), isnull(shardId#15070782), coalesce(_extract_orderProposalId#15073573L, 0), isnull(_extract_orderProposalId#15073573L)]
Right keys [4]: [coalesce(shardId#15072821, ), isnull(shardId#15072821), coalesce(orderProposalId#15072822L, 0), isnull(orderProposalId#15072822L)]
Join type: LeftOuter
Join condition: None
(90) Project
Output [2]: [shardId#15070782, named_struct(orderProposalId, _extract_orderProposalId#15073573L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#15073565L, supplierGroup, _extract_supplierGroup#15073566, optimizationGroups, coalesce(optimizationGroups#15072818, []), supplier, _extract_supplier#15073567, supplyingPlant, _extract_supplyingPlant#15073568, orderDateTime, _extract_orderDateTime#15073569, itemGroups, _extract_itemGroups#15073570, previousOrderProposals, _extract_previousOrderProposals#15073571, parentItems, _extract_parentItems#15073572) AS orderProposal#15072925]
Input [14]: [shardId#15070782, _extract_orderProposalId#15073564L, _extract_originalReplenishmentRunId#15073565L, _extract_supplierGroup#15073566, _extract_supplier#15073567, _extract_supplyingPlant#15073568, _extract_orderDateTime#15073569, _extract_itemGroups#15073570, _extract_previousOrderProposals#15073571, _extract_parentItems#15073572, _extract_orderProposalId#15073573L, orderProposalId#15072822L, shardId#15072821, optimizationGroups#15072818]
(91) Filter
Input [1]: [orderProposal#15072925]
Condition : (size(orderProposal#15072925.parentItems.deliveryDateTime, true) > 0)
(92) Project
Output [1]: [orderProposal#15072925.parentItems.deliveryDateTime AS _extract_deliveryDateTime#15074328]
Input [1]: [orderProposal#15072925]
(93) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#15074328]
Arguments: explode(_extract_deliveryDateTime#15074328), false, [numberOfOrderProposalItems#15074300]
(94) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#15074300]
(95) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#15074339L]
Results [1]: [count#15074340L]
(96) Exchange
Input [1]: [count#15074340L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=7843883]
(97) HashAggregate [codegen id : 2]
Input [1]: [count#15074340L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#15074305L]
Results [1]: [count(1)#15074305L AS count#15074301L]