digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 1 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 1 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 20<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 20<br>local bytes read: 726.0 B<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>320.0 B (16.0 B, 16.0 B, 16.0 B (stage 71229.0: task 179338))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 71229.0: task 179335))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 726.0 B<br>number of partitions: 1<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1452.0 B (72.0 B, 72.0 B, 75.0 B (stage 71229.0: task 179332))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=343211]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n17 ms (0 ms, 1 ms, 3 ms (stage 71229.0: task 179331))";
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>9 ms (0 ms, 0 ms, 2 ms (stage 71229.0: task 179331))<br>number of output rows: 20" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 6" tooltip="Generate explode(_extract_deliveryDateTime#874306), false, [numberOfOrderProposalItems#874278]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#872903.parentItems.deliveryDateTime AS _extract_deliveryDateTime#874306]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter (size(orderProposal#872903.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [orderProposal#872903], [(size(orderProposal#872903.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, named_struct(orderProposalId, _extract_orderProposalId#873551L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#873543L, supplierGroup, _extract_supplierGroup#873544, optimizationGroups, coalesce(optimizationGroups#872796, []), supplier, _extract_supplier#873545, supplyingPlant, _extract_supplyingPlant#873546, orderDateTime, _extract_orderDateTime#873547, itemGroups, _extract_itemGroups#873548, previousOrderProposals, _extract_previousOrderProposals#873549, parentItems, _extract_parentItems#873550) AS orderProposal#872903]"];
11 [id="node11" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 4" tooltip="BroadcastHashJoin [coalesce(shardId#870565, ), isnull(shardId#870565), coalesce(_extract_orderProposalId#873551L, 0), isnull(_extract_orderProposalId#873551L)], [coalesce(shardId#872799, ), isnull(shardId#872799), coalesce(orderProposalId#872800L, 0), isnull(orderProposalId#872800L)], LeftOuter, BuildRight, false"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, orderProposal#872776.orderProposalId AS _extract_orderProposalId#873542L, orderProposal#872776.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#873543L, orderProposal#872776.supplierGroup AS _extract_supplierGroup#873544, orderProposal#872776.supplier AS _extract_supplier#873545, orderProposal#872776.supplyingPlant AS _extract_supplyingPlant#873546, orderProposal#872776.orderDateTime AS _extract_orderDateTime#873547, orderProposal#872776.itemGroups AS _extract_itemGroups#873548, orderProposal#872776.previousOrderProposals AS _extract_previousOrderProposals#873549, orderProposal#872776.parentItems AS _extract_parentItems#873550, orderProposal#872776.orderProposalId AS _extract_orderProposalId#873551L]"];
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, struct(orderProposalId, orderProposalId#871235L, originalReplenishmentRunId, originalReplenishmentRunId#872744L, supplierGroup, supplierGroup#872745, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#872745) THEN supplier#872746 END, supplyingPlant, supplyingPlant#872747, orderDateTime, orderDateTime#872748, itemGroups, itemGroups#872749, previousOrderProposals, array_distinct(previousOrderProposals#872751), parentItems, parentItems#872750) AS orderProposal#872776]"];
14 [id="node14" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 4<br>time in aggregation build total (min, med, max (stageId: taskId))<br>250 ms (0 ms, 0 ms, 66 ms (stage 71229.0: task 179334))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71229.0: task 179332))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#870565, orderProposalId#871235L], functions=[max(originalReplenishmentRunId#872682L), max(supplierGroup#872683), max(supplier#872684), max(supplyingPlant#872685), max(orderDateTime#872686), collect_list(itemGroup#872743, 0, 0), collect_list(parentItems#872687, 0, 0), collect_set(previousOrderProposals#872689, 0, 0)])"];
15 [id="node15" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 4<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 4<br>local bytes read total (min, med, max (stageId: taskId))<br>5.8 KiB (1439.0 B, 1550.0 B, 1553.0 B (stage 71229.0: task 179334))<br>merged fetch fallback count: 0<br>local blocks read: 4<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>14.2 KiB (2.5 KiB, 4.6 KiB, 4.6 KiB (stage 71228.0: task 179312))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 0 ms (stage 71228.0: task 179314))<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 71229.0: task 179332))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>5.8 KiB (1439.0 B, 1550.0 B, 1553.0 B (stage 71228.0: task 179314))" tooltip="Exchange hashpartitioning(shardId#870565, orderProposalId#871235L, 20), ENSURE_REQUIREMENTS, [plan_id=343070]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 4<br>time in aggregation build total (min, med, max (stageId: taskId))<br>102 ms (0 ms, 0 ms, 27 ms (stage 71228.0: task 179311))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71228.0: task 179312))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#870565, orderProposalId#871235L], functions=[partial_max(originalReplenishmentRunId#872682L), partial_max(supplierGroup#872683), partial_max(supplier#872684), partial_max(supplyingPlant#872685), partial_max(orderDateTime#872686), partial_collect_list(itemGroup#872743, 0, 0), partial_collect_list(parentItems#872687, 0, 0), partial_collect_set(previousOrderProposals#872689, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 4<br>time in aggregation build total (min, med, max (stageId: taskId))<br>402 ms (0 ms, 0 ms, 103 ms (stage 71228.0: task 179311))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71228.0: task 179312))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#870565, orderProposalId#871235L, splitIndicator#871240L, orderProposalItemGroupId#871237], functions=[max(originalReplenishmentRunId#871238L), max(supplierGroup#871245), max(supplier#871246), max(supplyingPlant#871276), max(orderDateTime#871253), collect_list(parentItem#872634, 0, 0), collect_set(previousOrderProposal#871241L, 0, 0), collect_list(item#872665, 0, 0)])"];
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>8.0 KiB (1415.0 B, 2.6 KiB, 2.6 KiB (stage 71228.0: task 179312))<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>14.3 KiB (2.4 KiB, 2.4 KiB, 2.4 KiB (stage 71227.0: task 179292))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 0 ms (stage 71227.0: task 179296))<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 71228.0: task 179312))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>8.0 KiB (1331.0 B, 1337.0 B, 1421.0 B (stage 71227.0: task 179292))" tooltip="Exchange hashpartitioning(shardId#870565, orderProposalId#871235L, splitIndicator#871240L, orderProposalItemGroupId#871237, 20), ENSURE_REQUIREMENTS, [plan_id=343067]"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 6<br>time in aggregation build total (min, med, max (stageId: taskId))<br>824 ms (0 ms, 1 ms, 137 ms (stage 71227.0: task 179295))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71227.0: task 179292))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#870565, orderProposalId#871235L, splitIndicator#871240L, orderProposalItemGroupId#871237], functions=[partial_max(originalReplenishmentRunId#871238L), partial_max(supplierGroup#871245), partial_max(supplier#871246), partial_max(supplyingPlant#871276), partial_max(orderDateTime#871253), partial_collect_list(parentItem#872634, 0, 0), partial_collect_set(previousOrderProposal#871241L, 0, 0), partial_collect_list(item#872665, 0, 0)])"];
20 [id="node20" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, orderDateTime#871253, splitIndicator#871240L, orderProposalItemGroupId#871237, previousOrderProposal#871241L, parentItem#872634, struct(itemId, orderProposalItemId#871236, supplier, supplier#871246, supplyingPlant, supplyingPlant#871276, productGroup, productGroup#871277, product, product#871248, plant, plant#871249, supplierSubRange, subrange#871247, deliveryDateTime, deliveryDateTime#871254, orderQuantity, coalesce((qty#871079 * (cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2288#872668.isOrderUnit, lambda x_2288#872668, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2288#872669.isOrderUnit, lambda x_2288#872669, false)), 1, None, false).numerator as double))), qty#871079), orderQuantityUom, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2288#872670.isOrderUnit, lambda x_2288#872670, false)), 1, None, false).uom, orderQuantityBaseUom#871258), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2288#872671.isOrderUnit, lambda x_2288#872671, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#871259), orderQuantityInBaseUnit, qty#871079, orderQuantityBaseUom, ... 13 more fields) AS item#872665]"];
21 [id="node21" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, qty#871079, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, productGroup#871277, product#871248, plant#871249, subrange#871247, orderDateTime#871253, deliveryDateTime#871254, logisticUnits#871272, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, splitIndicator#871240L, orderProposalItemId#871236, orderProposalItemGroupId#871237, previousOrderProposal#871241L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#871246, supplyingPlant, supplyingPlant#871276, productGroup, productGroup#871277, product, product#871248, plant, plant#871249, supplierSubRange, subrange#871247, sourceOfSupplyUuid, sourceOfSupplyUuid#871244, deliveryDateTime, deliveryDateTime#871254, unitPrice, netPriceAmount#871263, unitPriceCurrency, netPriceCurrencyCode#871264, unitPriceQuantity, ... 37 more fields) AS parentItem#872634]"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, qty#871079, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, productGroup#871277, product#871248, plant#871249, subrange#871247, orderDateTime#871253, deliveryDateTime#871254, availabilityDateTime#871255, nextAvailabilityDateTime#871256, logisticUnits#871272, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, splitIndicator#871240L, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, sourceOfSupplyUuid#871244, ... 12 more fields]"];
subgraph cluster23 {
isCluster="true";
id="cluster23";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.9 s (26 ms, 178 ms, 315 ms (stage 71227.0: task 179295))";
tooltip="WholeStageCodegen (1)";
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, productGroup#871277, product#871248, plant#871249, subrange#871247, orderDateTime#871253, deliveryDateTime#871254, availabilityDateTime#871255, nextAvailabilityDateTime#871256, logisticUnits#871272, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, splitIndicator#871240L, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, ... 11 more fields]"];
25 [id="node25" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter NOT (isFallbackOrderOnly#871257 <=> true)"];
}
26 [id="node26" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 6" tooltip="InMemoryTableScan [availabilityDateTime#871255, channelStreamSpecificKpis#871996, constraintLabels#871267, constraintOperators#871268, constraintValues#871270, deliveryDateTime#871254, isFallbackOrderOnly#871257, logisticUnits#871272, measurements#871265, minimumOrderQuantity#871266, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, nextAvailabilityDateTime#871256, optimizationGroups#871273, orderDateTime#871253, orderProposalId#871235L, orderProposalItemGroupId#871237, orderProposalItemId#871236, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, originalReplenishmentRunId#871238L, plant#871249, ... 14 more fields], [NOT (isFallbackOrderOnly#871257 <=> true)]"];
subgraph cluster27 {
isCluster="true";
id="cluster27";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n461 ms (0 ms, 7 ms, 79 ms (stage 71227.0: task 179295))";
tooltip="WholeStageCodegen (13)";
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, ... 17 more fields]"];
29 [id="node29" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 6<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71227.0: task 179299))" tooltip="SortMergeJoin [shardId#870565, worklistShardItemId#871077L], [shardId#872003, worklistShardItemId#872004L], LeftOuter"];
}
subgraph cluster30 {
isCluster="true";
id="cluster30";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (0 ms, 92 ms, 254 ms (stage 71227.0: task 179295))";
tooltip="WholeStageCodegen (10)";
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, ... 16 more fields]"];
32 [id="node32" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 6<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71227.0: task 179299))" tooltip="SortMergeJoin [shardId#870565, worklistShardItemId#871077L], [shardId#871990, worklistShardItemId#871991L], LeftOuter"];
}
subgraph cluster33 {
isCluster="true";
id="cluster33";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n3.3 s (0 ms, 183 ms, 426 ms (stage 71227.0: task 179295))";
tooltip="WholeStageCodegen (7)";
34 [id="node34" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, ... 15 more fields]"];
35 [id="node35" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 6<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71227.0: task 179299))" tooltip="SortMergeJoin [shardId#870565, worklistShardItemId#871077L], [shardId#871974, worklistShardItemId#871975L], LeftOuter"];
}
subgraph cluster36 {
isCluster="true";
id="cluster36";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n4.8 s (1 ms, 248 ms, 659 ms (stage 71227.0: task 179295))";
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 71227.0: task 179299))<br>peak memory total (min, med, max (stageId: taskId))<br>13.3 MiB (64.0 KiB, 64.0 KiB, 2.1 MiB (stage 71227.0: task 179292))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71227.0: task 179299))" tooltip="Sort [shardId#870565 ASC NULLS FIRST, worklistShardItemId#871077L ASC NULLS FIRST], false, 0"];
}
38 [id="node38" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>6.7 KiB (1049.0 B, 1103.0 B, 1270.0 B (stage 71227.0: task 179292))<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>9.3 KiB (1776.0 B, 2.9 KiB, 2.9 KiB (stage 71224.0: task 179236))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 0 ms (stage 71224.0: task 179236))<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 71227.0: task 179292))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.7 KiB (1263.0 B, 2.1 KiB, 2.1 KiB (stage 71224.0: task 179236))" tooltip="Exchange hashpartitioning(shardId#870565, worklistShardItemId#871077L, 20), ENSURE_REQUIREMENTS, [plan_id=342800]"];
subgraph cluster39 {
isCluster="true";
id="cluster39";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n24 ms (0 ms, 0 ms, 10 ms (stage 71224.0: task 179224))";
tooltip="WholeStageCodegen (3)";
40 [id="node40" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, ... 14 more fields]"];
41 [id="node41" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 6" tooltip="BroadcastHashJoin [worklistShardItemId#871077L], [worklistShardItemId#871301L], LeftOuter, BuildRight, (shardId#870565 = 0_1_10000002109), false"];
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#870565, item#871076.worklistShardItemId AS worklistShardItemId#871077L, item#871076.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#871078, item#871076.qty AS qty#871079]"];
43 [id="node43" labelType="html" label="<b>Generate</b><br><br>number of output rows: 6" tooltip="Generate explode(items#870567), [shardId#870565], false, [item#871076]"];
44 [id="node44" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter ((size(items#870567, true) > 0) AND isnotnull(items#870567))"];
}
45 [id="node45" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [shardId#870565, items#870567], [(size(items#870567, true) > 0), isnotnull(items#870567)]"];
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#870565) AND (shardId#870565 = 0_1_10000002109))"];
}
48 [id="node48" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, optimizationInsights#870571], [isnotnull(shardId#870565), (shardId#870565 = 0_1_10000002109)]"];
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#870565) AND (shardId#870565 = 0_1_10000002109))"];
51 [id="node51" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#870565,orderProposalId#870566L,items#870567,optimizationGroups#870568,isOptimal#870569,lastModified#870570,optimizationInsights#870571]"];
}
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: 247 ms<br>number of output rows: 6<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=342795]"];
subgraph cluster53 {
isCluster="true";
id="cluster53";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n6 ms (0 ms, 0 ms, 1 ms (stage 71166.0: task 179193))";
tooltip="WholeStageCodegen (2)";
54 [id="node54" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#871301L, orderProposalId#871278L, orderProposalItemId#871279, orderProposalItemGroupId#871302, originalReplenishmentRunId#871320L, splitIndicator#871297L, previousOrderProposal#871298L, sourceOfSupplyUuid#871292, supplierGroup#871280, supplier#871281, subrange#871284, product#871287, plant#871282, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, isFallbackOrderOnly#871295, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, netPriceAmount#871314, netPriceCurrencyCode#871315, ... 11 more fields]"];
}
55 [id="node55" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>6.6 KiB (1033.0 B, 1085.0 B, 1245.0 B (stage 71166.0: task 179196))<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>9.1 KiB (1488.0 B, 2.9 KiB, 3.0 KiB (stage 71165.0: task 179188))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 0 ms (stage 71165.0: task 179187))<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 71166.0: task 179193))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.6 KiB (1085.0 B, 2.1 KiB, 2.2 KiB (stage 71165.0: task 179188))" tooltip="Exchange hashpartitioning(worklistShardItemId#871301L, 20), REPARTITION_BY_NUM, [plan_id=342791]"];
subgraph cluster56 {
isCluster="true";
id="cluster56";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n483 ms (120 ms, 121 ms, 122 ms (stage 71165.0: task 179187))";
tooltip="WholeStageCodegen (1)";
57 [id="node57" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#871278L, orderProposalItemId#871279, supplierGroup#871280, supplier#871281, plant#871282, deliveryDateTime#871283, subrange#871284, supplyingPlant#871285, productGroup#871286, product#871287, orderDateTime#871288, availabilityDateTime#871289, nextAvailabilityDateTime#871290, sourceOfSupplyUuid#871292, isFallbackOrderOnly#871295, splitIndicator#871297L, previousOrderProposal#871298L, worklistShardItemId#871301L, orderProposalItemGroupId#871302, externalProductId#871303, externalPlantId#871304, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, minimumOrderQuantity#871308, ... 11 more fields]"];
58 [id="node58" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter isnotnull(worklistShardItemId#871301L)"];
59 [id="node59" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 6<br>number of input batches: 4" tooltip="ColumnarToRow"];
}
60 [id="node60" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 4<br>scan time total (min, med, max (stageId: taskId))<br>365 ms (90 ms, 92 ms, 92 ms (stage 71165.0: task 179187))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 77.1 KiB<br>number of output rows: 6<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#871278L,orderProposalItemId#871279,supplierGroup#871280,supplier#871281,plant#871282,deliveryDateTime#871283,subrange#871284,supplyingPlant#871285,productGroup#871286,product#871287,orderDateTime#871288,availabilityDateTime#871289,nextAvailabilityDateTime#871290,sourceOfSupplyUuid#871292,isFallbackOrderOnly#871295,splitIndicator#871297L,previousOrderProposal#871298L,worklistShardItemId#871301L,orderProposalItemGroupId#871302,externalProductId#871303,externalPlantId#871304,logisticUnits#871305,orderQuantityBaseUom#871306,orderQuantityBaseUomUuid#871307,minimumOrderQuantity#871308,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#871301L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#871322), isnotnull(sequenceId#871300), (shardId#871322 = 0_1_10000002109), (se..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster61 {
isCluster="true";
id="cluster61";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (222 ms, 227 ms, 227 ms (stage 71227.0: task 179295))";
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 71227.0: task 179292))<br>peak memory total (min, med, max (stageId: taskId))<br>12.4 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 71227.0: task 179292))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71227.0: task 179292))" tooltip="Sort [shardId#871974 ASC NULLS FIRST, worklistShardItemId#871975L ASC NULLS FIRST], false, 0"];
}
63 [id="node63" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>1141.0 B (567.0 B, 574.0 B, 574.0 B (stage 71227.0: task 179295))<br>merged fetch fallback count: 0<br>local blocks read: 2<br>remote merged chunks fetched: 0<br>remote blocks read: 4<br>data size total (min, med, max (stageId: taskId))<br>6.3 KiB (1072.0 B, 1072.0 B, 2.1 KiB (stage 71226.0: task 179246))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 0 ms (stage 71226.0: task 179246))<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 71227.0: task 179292))<br>remote bytes read total (min, med, max (stageId: taskId))<br>2.2 KiB (565.0 B, 574.0 B, 578.0 B (stage 71227.0: task 179296))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 71227.0: task 179294))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>3.3 KiB (565.0 B, 574.0 B, 1141.0 B (stage 71226.0: task 179246))" tooltip="Exchange hashpartitioning(shardId#871974, worklistShardItemId#871975L, 20), ENSURE_REQUIREMENTS, [plan_id=342806]"];
subgraph cluster64 {
isCluster="true";
id="cluster64";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n62 ms (0 ms, 2 ms, 26 ms (stage 71226.0: task 179230))";
tooltip="WholeStageCodegen (5)";
65 [id="node65" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#871974, worklistShardItemId#871975L, coalesce(kpis#871979, []) AS prodLocSpecificKpis#871980]"];
66 [id="node66" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter (((isnull(qty#871976) AND isnull(demandChannel#871977)) AND isnull(demandStream#871978)) AND (isnotnull(shardId#871974) AND isnotnull(worklistShardItemId#871975L)))"];
67 [id="node67" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 26" tooltip="Scan ExistingRDD[shardId#871974,worklistShardItemId#871975L,qty#871976,demandChannel#871977,demandStream#871978,kpis#871979]"];
}
subgraph cluster68 {
isCluster="true";
id="cluster68";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n852 ms (142 ms, 142 ms, 142 ms (stage 71227.0: task 179292))";
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 71227.0: task 179292))<br>peak memory total (min, med, max (stageId: taskId))<br>12.4 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 71227.0: task 179292))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71227.0: task 179292))" tooltip="Sort [shardId#871990 ASC NULLS FIRST, worklistShardItemId#871991L ASC NULLS FIRST], false, 0"];
}
70 [id="node70" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 6<br>time in aggregation build total (min, med, max (stageId: taskId))<br>284 ms (0 ms, 0 ms, 48 ms (stage 71227.0: task 179292))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71227.0: task 179292))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#871990, worklistShardItemId#871991L], functions=[collect_list(struct(demandChannel, demandChannel#871993, demandStream, demandStream#871994, kpis, kpis#871995), 0, 0)])"];
71 [id="node71" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>1542.0 B (306.0 B, 309.0 B, 309.0 B (stage 71227.0: task 179292))<br>merged fetch fallback count: 0<br>local blocks read: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>2.4 KiB (408.0 B, 408.0 B, 816.0 B (stage 71223.0: task 179228))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 0 ms (stage 71223.0: task 179244))<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 71227.0: task 179292))<br>remote bytes read: 311.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1853.0 B (309.0 B, 309.0 B, 617.0 B (stage 71223.0: task 179228))" tooltip="Exchange hashpartitioning(shardId#871990, worklistShardItemId#871991L, 20), ENSURE_REQUIREMENTS, [plan_id=342817]"];
72 [id="node72" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 6<br>time in aggregation build total (min, med, max (stageId: taskId))<br>387 ms (0 ms, 2 ms, 129 ms (stage 71223.0: task 179215))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71223.0: task 179215))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#871990, worklistShardItemId#871991L], functions=[partial_collect_list(struct(demandChannel, demandChannel#871993, demandStream, demandStream#871994, kpis, kpis#871995), 0, 0)])"];
subgraph cluster73 {
isCluster="true";
id="cluster73";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n387 ms (0 ms, 2 ms, 129 ms (stage 71223.0: task 179215))";
tooltip="WholeStageCodegen (8)";
74 [id="node74" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#871990, worklistShardItemId#871991L, demandChannel#871993, demandStream#871994, kpis#871995]"];
75 [id="node75" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter ((((isnull(qty#871992) AND isnotnull(demandChannel#871993)) AND isnotnull(demandStream#871994)) AND (size(kpis#871995, true) > 0)) AND (isnotnull(shardId#871990) AND isnotnull(worklistShardItemId#871991L)))"];
76 [id="node76" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 26" tooltip="Scan ExistingRDD[shardId#871990,worklistShardItemId#871991L,qty#871992,demandChannel#871993,demandStream#871994,kpis#871995]"];
}
subgraph cluster77 {
isCluster="true";
id="cluster77";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n368 ms (61 ms, 61 ms, 62 ms (stage 71227.0: task 179292))";
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 71227.0: task 179292))<br>peak memory total (min, med, max (stageId: taskId))<br>12.4 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 71227.0: task 179292))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71227.0: task 179292))" tooltip="Sort [shardId#872003 ASC NULLS FIRST, worklistShardItemId#872004L ASC NULLS FIRST], false, 0"];
}
79 [id="node79" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 6<br>time in aggregation build total (min, med, max (stageId: taskId))<br>327 ms (0 ms, 0 ms, 58 ms (stage 71227.0: task 179295))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71227.0: task 179292))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#872003, worklistShardItemId#872004L], functions=[collect_list(struct(qty, qty#872005, kpis, kpis#872008), 0, 0)])"];
80 [id="node80" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 14<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 14<br>local bytes read total (min, med, max (stageId: taskId))<br>3.6 KiB (460.0 B, 461.0 B, 1363.0 B (stage 71227.0: task 179294))<br>merged fetch fallback count: 0<br>local blocks read: 8<br>remote merged chunks fetched: 0<br>remote blocks read: 6<br>data size total (min, med, max (stageId: taskId))<br>8.8 KiB (640.0 B, 640.0 B, 1920.0 B (stage 71225.0: task 179276))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 71225.0: task 179278))<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 71227.0: task 179292))<br>remote bytes read total (min, med, max (stageId: taskId))<br>2.7 KiB (454.0 B, 461.0 B, 920.0 B (stage 71227.0: task 179295))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 71227.0: task 179292))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>6.3 KiB (455.0 B, 461.0 B, 1377.0 B (stage 71225.0: task 179276))" tooltip="Exchange hashpartitioning(shardId#872003, worklistShardItemId#872004L, 20), ENSURE_REQUIREMENTS, [plan_id=342829]"];
81 [id="node81" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 14<br>time in aggregation build total (min, med, max (stageId: taskId))<br>69 ms (0 ms, 2 ms, 30 ms (stage 71225.0: task 179225))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 71225.0: task 179225))<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#872003, worklistShardItemId#872004L], functions=[partial_collect_list(struct(qty, qty#872005, kpis, kpis#872008), 0, 0)])"];
subgraph cluster82 {
isCluster="true";
id="cluster82";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n69 ms (0 ms, 2 ms, 30 ms (stage 71225.0: task 179225))";
tooltip="WholeStageCodegen (11)";
83 [id="node83" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#872003, worklistShardItemId#872004L, qty#872005, kpis#872008]"];
84 [id="node84" labelType="html" label="<b>Filter</b><br><br>number of output rows: 14" tooltip="Filter ((isnotnull(qty#872005) AND isnotnull(kpis#872008)) AND (isnotnull(shardId#872003) AND isnotnull(worklistShardItemId#872004L)))"];
85 [id="node85" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 26" tooltip="Scan ExistingRDD[shardId#872003,worklistShardItemId#872004L,qty#872005,demandChannel#872006,demandStream#872007,kpis#872008]"];
}
86 [id="node86" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 5 ms<br>time to collect: 676 ms<br>number of output rows: 4<br>data size: 2.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(coalesce(input[1, string, true], ), isnull(input[1, string, true]), coalesce(input[0, bigint, true], 0), isnull(input[0, bigint, true])),false), [plan_id=343105]"];
87 [id="node87" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#872800L, shardId#872799, coalesce(transform(optimizationGroups#872802, lambdafunction(struct(optGroupId, lambda x_2292#872797.optGroupId, minOrderProfile, lambda x_2292#872797.minOrderProfile, assignmentDetails, lambda x_2292#872797.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2292#872797.minOrderGoal.dimensionType, unit, lambda x_2292#872797.minOrderGoal.unit, unitUuid, lambda x_2292#872797.minOrderGoal.unitUuid, goalValue, lambda x_2292#872797.minOrderGoal.minOrderValue, calcValue, lambda x_2292#872797.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2292#872797, false)), []) AS optimizationGroups#872796]"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n408 ms (1 ms, 39 ms, 41 ms (stage 71164.0: task 179168))";
tooltip="WholeStageCodegen (6)";
89 [id="node89" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 4" tooltip="BroadcastHashJoin [orderProposalId#872800L], [orderProposalId#872855L], 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>4 ms (0 ms, 0 ms, 2 ms (stage 71164.0: task 179176))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 71164.0: task 179172))<br>number of output rows: 4<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#872855L], 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: 220 ms<br>number of output rows: 4<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=343077]"];
subgraph cluster91 {
isCluster="true";
id="cluster91";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n16 ms (0 ms, 0 ms, 2 ms (stage 71161.0: task 179117))";
tooltip="WholeStageCodegen (2)";
92 [id="node92" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter isnotnull(orderProposalId#872800L)"];
}
93 [id="node93" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [shardId#872799, orderProposalId#872800L, optimizationGroups#872802], [isnotnull(orderProposalId#872800L)]"];
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#870565) AND (shardId#870565 = 0_1_10000002109))"];
}
96 [id="node96" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, optimizationInsights#870571], [isnotnull(shardId#870565), (shardId#870565 = 0_1_10000002109)]"];
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#870565) AND (shardId#870565 = 0_1_10000002109))"];
99 [id="node99" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#870565,orderProposalId#870566L,items#870567,optimizationGroups#870568,isOptimal#870569,lastModified#870570,optimizationInsights#870571]"];
}
101 [id="node101" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>375.0 B (75.0 B, 150.0 B, 150.0 B (stage 71164.0: task 179167))<br>merged fetch fallback count: 0<br>local blocks read: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>96.0 B (16.0 B, 16.0 B, 16.0 B (stage 71163.0: task 179150))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 0 ms (stage 71163.0: task 179148))<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 71164.0: task 179167))<br>remote bytes read: 75.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>450.0 B (75.0 B, 75.0 B, 75.0 B (stage 71163.0: task 179150))" tooltip="Exchange hashpartitioning(orderProposalId#872855L, 20), ENSURE_REQUIREMENTS, [plan_id=343099]"];
subgraph cluster102 {
isCluster="true";
id="cluster102";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n245 ms (0 ms, 9 ms, 40 ms (stage 71163.0: task 179151))";
tooltip="WholeStageCodegen (5)";
103 [id="node103" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 1 ms (stage 71163.0: task 179154))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 71163.0: task 179156))<br>number of output rows: 6<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#872855L], functions=[])"];
104 [id="node104" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#872855L]"];
105 [id="node105" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 6" tooltip="BroadcastHashJoin [worklistShardItemId#872807L], [worklistShardItemId#872878L], Inner, BuildLeft, false"];
119 [id="node119" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#872878L, orderProposalId#872855L]"];
}
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: 117 ms<br>number of output rows: 6<br>data size: 1024.1 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=343085]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n13 ms (0 ms, 1 ms, 2 ms (stage 71160.0: task 179104))";
tooltip="WholeStageCodegen (3)";
108 [id="node108" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#872806L AS worklistShardItemId#872807L]"];
109 [id="node109" labelType="html" label="<b>Generate</b><br><br>number of output rows: 6" tooltip="Generate explode(_extract_worklistShardItemId#873447), false, [item#872806L]"];
110 [id="node110" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#872418.worklistShardItemId AS _extract_worklistShardItemId#873447]"];
111 [id="node111" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4" tooltip="Filter (((size(items#872418.worklistShardItemId, true) > 0) AND isnotnull(items#872418.worklistShardItemId)) AND (shardId#872416 = 0_1_10000002109))"];
}
112 [id="node112" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 4" tooltip="InMemoryTableScan [items#872418, shardId#872416], [(size(items#872418.worklistShardItemId, true) > 0), isnotnull(items#872418.worklistShardItemId), (shardId#872416 = 0_1_10000002109)]"];
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#870565) AND (shardId#870565 = 0_1_10000002109))"];
}
115 [id="node115" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, optimizationInsights#870571], [isnotnull(shardId#870565), (shardId#870565 = 0_1_10000002109)]"];
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#870565) AND (shardId#870565 = 0_1_10000002109))"];
118 [id="node118" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#870565,orderProposalId#870566L,items#870567,optimizationGroups#870568,isOptimal#870569,lastModified#870570,optimizationInsights#870571]"];
}
120 [id="node120" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 6<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 6<br>local bytes read total (min, med, max (stageId: taskId))<br>504.0 B (84.0 B, 84.0 B, 84.0 B (stage 71163.0: task 179150))<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>144.0 B (24.0 B, 48.0 B, 48.0 B (stage 71162.0: task 179144))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 2 ms (stage 71162.0: task 179146))<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 71163.0: task 179150))<br>remote bytes read: 0.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>504.0 B (84.0 B, 168.0 B, 168.0 B (stage 71162.0: task 179144))" tooltip="Exchange hashpartitioning(worklistShardItemId#872878L, 20), REPARTITION_BY_NUM, [plan_id=343092]"];
subgraph cluster121 {
isCluster="true";
id="cluster121";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n497 ms (106 ms, 139 ms, 143 ms (stage 71162.0: task 179145))";
tooltip="WholeStageCodegen (4)";
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#872855L, worklistShardItemId#872878L]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 6" tooltip="Filter ((isnotnull(worklistShardItemId#872878L) AND NOT (isFallbackOrderOnly#872872 <=> true)) AND isnotnull(orderProposalId#872855L))"];
124 [id="node124" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 6<br>number of input batches: 4" tooltip="ColumnarToRow"];
}
125 [id="node125" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 4<br>scan time total (min, med, max (stageId: taskId))<br>423 ms (104 ms, 104 ms, 111 ms (stage 71162.0: task 179145))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 77.1 KiB<br>number of output rows: 6<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#872855L,isFallbackOrderOnly#872872,worklistShardItemId#872878L,shardId#872899,sequenceId#872877] Batched: true, DataFilters: [isnotnull(worklistShardItemId#872878L), NOT (isFallbackOrderOnly#872872 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#872899), isnotnull(sequenceId#872877), (shardId#872899 = 0_1_10000002109), (se..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
24->22;
25->24;
26->25;
28->26;
29->28;
31->29;
32->31;
34->32;
35->34;
37->35;
38->37;
40->38;
41->40;
42->41;
43->42;
44->43;
45->44;
47->45;
48->47;
50->48;
51->50;
52->41;
54->52;
55->54;
57->55;
58->57;
59->58;
60->59;
62->35;
63->62;
65->63;
66->65;
67->66;
69->32;
70->69;
71->70;
72->71;
74->72;
75->74;
76->75;
78->29;
79->78;
80->79;
81->80;
83->81;
84->83;
85->84;
86->11;
87->86;
89->87;
90->89;
92->90;
93->92;
95->93;
96->95;
98->96;
99->98;
100->89;
101->100;
103->101;
104->103;
105->104;
106->105;
108->106;
109->108;
110->109;
111->110;
112->111;
114->112;
115->114;
117->115;
118->117;
119->105;
120->119;
122->120;
123->122;
124->123;
125->124;
}
== Physical Plan ==
* HashAggregate (97)
+- Exchange (96)
+- * HashAggregate (95)
+- * Project (94)
+- * Generate (93)
+- Project (92)
+- Filter (91)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (90)
+- BroadcastHashJoin LeftOuter BuildRight (89)
:- Project (63)
: +- Project (62)
: +- ObjectHashAggregate (61)
: +- Exchange (60)
: +- ObjectHashAggregate (59)
: +- ObjectHashAggregate (58)
: +- Exchange (57)
: +- ObjectHashAggregate (56)
: +- Project (55)
: +- Project (54)
: +- Project (53)
: +- * Project (52)
: +- * Filter (51)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (50)
: +- * SortMergeJoin LeftOuter (49)
: :- * Project (41)
: : +- * SortMergeJoin LeftOuter (40)
: : :- * Project (32)
: : : +- * SortMergeJoin LeftOuter (31)
: : : :- * Sort (25)
: : : : +- Exchange (24)
: : : : +- * Project (23)
: : : : +- * BroadcastHashJoin LeftOuter BuildRight (22)
: : : : :- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- BroadcastExchange (21)
: : : : +- * Project (20)
: : : : +- Exchange (19)
: : : : +- * Project (18)
: : : : +- * Filter (17)
: : : : +- * ColumnarToRow (16)
: : : : +- Scan parquet (15)
: : : +- * Sort (30)
: : : +- Exchange (29)
: : : +- * Project (28)
: : : +- * Filter (27)
: : : +- * Scan ExistingRDD (26)
: : +- * Sort (39)
: : +- ObjectHashAggregate (38)
: : +- Exchange (37)
: : +- ObjectHashAggregate (36)
: : +- * Project (35)
: : +- * Filter (34)
: : +- * Scan ExistingRDD (33)
: +- * Sort (48)
: +- ObjectHashAggregate (47)
: +- Exchange (46)
: +- ObjectHashAggregate (45)
: +- * Project (44)
: +- * Filter (43)
: +- * Scan ExistingRDD (42)
+- BroadcastExchange (88)
+- Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (67)
: +- * Filter (66)
: +- InMemoryTableScan (64)
: +- InMemoryRelation (65)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * HashAggregate (85)
+- Exchange (84)
+- * HashAggregate (83)
+- * Project (82)
+- * BroadcastHashJoin Inner BuildLeft (81)
:- BroadcastExchange (74)
: +- * Project (73)
: +- * Generate (72)
: +- * Project (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (80)
+- Exchange (79)
+- * Project (78)
+- * Filter (77)
+- * ColumnarToRow (76)
+- Scan parquet (75)
(1) InMemoryTableScan
Output [1]: [orderProposal#872903]
Arguments: [orderProposal#872903], [(size(orderProposal#872903.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#870565, orderProposal#872903], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#871255, channelStreamSpecificKpis#871996, constraintLabels#871267, constraintOperators#871268, constraintValues#871270, deliveryDateTime#871254, isFallbackOrderOnly#871257, logisticUnits#871272, measurements#871265, minimumOrderQuantity#871266, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, nextAvailabilityDateTime#871256, optimizationGroups#871273, orderDateTime#871253, orderProposalId#871235L, orderProposalItemGroupId#871237, orderProposalItemId#871236, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, originalReplenishmentRunId#871238L, plant#871249, previousOrderProposal#871241L, prodLocSpecificKpis#871981, product#871248, productGroup#871277, qty#871079, quantityAfterProdPlantOptimization#871078, quantityKpis#872009, shardId#870565, sourceOfSupplyUuid#871244, splitIndicator#871240L, subrange#871247, supplier#871246, supplierGroup#871245, supplyingPlant#871276]
Arguments: [availabilityDateTime#871255, channelStreamSpecificKpis#871996, constraintLabels#871267, constraintOperators#871268, constraintValues#871270, deliveryDateTime#871254, isFallbackOrderOnly#871257, logisticUnits#871272, measurements#871265, minimumOrderQuantity#871266, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, nextAvailabilityDateTime#871256, optimizationGroups#871273, orderDateTime#871253, orderProposalId#871235L, orderProposalItemGroupId#871237, orderProposalItemId#871236, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, originalReplenishmentRunId#871238L, plant#871249, ... 14 more fields], [NOT (isFallbackOrderOnly#871257 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, productGroup#871277, product#871248, plant#871249, subrange#871247, orderDateTime#871253, deliveryDateTime#871254, availabilityDateTime#871255, nextAvailabilityDateTime#871256, constraintValues#871270, constraintOperators#871268, constraintLabels#871267, logisticUnits#871272, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, splitIndicator#871240L, netPriceAmount#871263, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#870565, items#870567]
Arguments: [shardId#870565, items#870567], [(size(items#870567, true) > 0), isnotnull(items#870567)]
(6) InMemoryRelation
Arguments: [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, optimizationInsights#870571], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, optimizationInsights#870571]
Arguments: [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, optimizationInsights#870571], [isnotnull(shardId#870565), (shardId#870565 = 0_1_10000002109)]
(8) InMemoryRelation
Arguments: [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, lastModified#870570, optimizationInsights#870571], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, lastModified#870570, optimizationInsights#870571]
Arguments: [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, lastModified#870570, optimizationInsights#870571], MapPartitionsRDD[40891] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, lastModified#870570, optimizationInsights#870571]
Condition : (isnotnull(shardId#870565) AND (shardId#870565 = 0_1_10000002109))
(11) Filter [codegen id : 1]
Input [6]: [shardId#870565, orderProposalId#870566L, items#870567, optimizationGroups#870568, isOptimal#870569, optimizationInsights#870571]
Condition : (isnotnull(shardId#870565) AND (shardId#870565 = 0_1_10000002109))
(12) Filter [codegen id : 3]
Input [2]: [shardId#870565, items#870567]
Condition : ((size(items#870567, true) > 0) AND isnotnull(items#870567))
(13) Generate [codegen id : 3]
Input [2]: [shardId#870565, items#870567]
Arguments: explode(items#870567), [shardId#870565], false, [item#871076]
(14) Project [codegen id : 3]
Output [4]: [shardId#870565, item#871076.worklistShardItemId AS worklistShardItemId#871077L, item#871076.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#871078, item#871076.qty AS qty#871079]
Input [2]: [shardId#870565, item#871076]
(15) Scan parquet
Output [38]: [orderProposalId#871278L, orderProposalItemId#871279, supplierGroup#871280, supplier#871281, plant#871282, deliveryDateTime#871283, subrange#871284, supplyingPlant#871285, productGroup#871286, product#871287, orderDateTime#871288, availabilityDateTime#871289, nextAvailabilityDateTime#871290, sourceOfSupplyUuid#871292, isFallbackOrderOnly#871295, splitIndicator#871297L, previousOrderProposal#871298L, worklistShardItemId#871301L, orderProposalItemGroupId#871302, externalProductId#871303, externalPlantId#871304, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, minimumOrderQuantity#871308, constraintLabels#871309, constraintOperators#871310, constraintValues#871311, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, measurements#871319, originalReplenishmentRunId#871320L, optimizationGroups#871321, shardId#871322, sequenceId#871300]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002109]
PartitionFilters: [isnotnull(shardId#871322), isnotnull(sequenceId#871300), (shardId#871322 = 0_1_10000002109), (sequenceId#871300 = 1)]
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#871278L, orderProposalItemId#871279, supplierGroup#871280, supplier#871281, plant#871282, deliveryDateTime#871283, subrange#871284, supplyingPlant#871285, productGroup#871286, product#871287, orderDateTime#871288, availabilityDateTime#871289, nextAvailabilityDateTime#871290, sourceOfSupplyUuid#871292, isFallbackOrderOnly#871295, splitIndicator#871297L, previousOrderProposal#871298L, worklistShardItemId#871301L, orderProposalItemGroupId#871302, externalProductId#871303, externalPlantId#871304, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, minimumOrderQuantity#871308, constraintLabels#871309, constraintOperators#871310, constraintValues#871311, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, measurements#871319, originalReplenishmentRunId#871320L, optimizationGroups#871321, shardId#871322, sequenceId#871300]
(17) Filter [codegen id : 1]
Input [38]: [orderProposalId#871278L, orderProposalItemId#871279, supplierGroup#871280, supplier#871281, plant#871282, deliveryDateTime#871283, subrange#871284, supplyingPlant#871285, productGroup#871286, product#871287, orderDateTime#871288, availabilityDateTime#871289, nextAvailabilityDateTime#871290, sourceOfSupplyUuid#871292, isFallbackOrderOnly#871295, splitIndicator#871297L, previousOrderProposal#871298L, worklistShardItemId#871301L, orderProposalItemGroupId#871302, externalProductId#871303, externalPlantId#871304, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, minimumOrderQuantity#871308, constraintLabels#871309, constraintOperators#871310, constraintValues#871311, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, measurements#871319, originalReplenishmentRunId#871320L, optimizationGroups#871321, shardId#871322, sequenceId#871300]
Condition : isnotnull(worklistShardItemId#871301L)
(18) Project [codegen id : 1]
Output [36]: [orderProposalId#871278L, orderProposalItemId#871279, supplierGroup#871280, supplier#871281, plant#871282, deliveryDateTime#871283, subrange#871284, supplyingPlant#871285, productGroup#871286, product#871287, orderDateTime#871288, availabilityDateTime#871289, nextAvailabilityDateTime#871290, sourceOfSupplyUuid#871292, isFallbackOrderOnly#871295, splitIndicator#871297L, previousOrderProposal#871298L, worklistShardItemId#871301L, orderProposalItemGroupId#871302, externalProductId#871303, externalPlantId#871304, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, minimumOrderQuantity#871308, constraintLabels#871309, constraintOperators#871310, constraintValues#871311, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, measurements#871319, originalReplenishmentRunId#871320L, optimizationGroups#871321]
Input [38]: [orderProposalId#871278L, orderProposalItemId#871279, supplierGroup#871280, supplier#871281, plant#871282, deliveryDateTime#871283, subrange#871284, supplyingPlant#871285, productGroup#871286, product#871287, orderDateTime#871288, availabilityDateTime#871289, nextAvailabilityDateTime#871290, sourceOfSupplyUuid#871292, isFallbackOrderOnly#871295, splitIndicator#871297L, previousOrderProposal#871298L, worklistShardItemId#871301L, orderProposalItemGroupId#871302, externalProductId#871303, externalPlantId#871304, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, minimumOrderQuantity#871308, constraintLabels#871309, constraintOperators#871310, constraintValues#871311, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, measurements#871319, originalReplenishmentRunId#871320L, optimizationGroups#871321, shardId#871322, sequenceId#871300]
(19) Exchange
Input [36]: [orderProposalId#871278L, orderProposalItemId#871279, supplierGroup#871280, supplier#871281, plant#871282, deliveryDateTime#871283, subrange#871284, supplyingPlant#871285, productGroup#871286, product#871287, orderDateTime#871288, availabilityDateTime#871289, nextAvailabilityDateTime#871290, sourceOfSupplyUuid#871292, isFallbackOrderOnly#871295, splitIndicator#871297L, previousOrderProposal#871298L, worklistShardItemId#871301L, orderProposalItemGroupId#871302, externalProductId#871303, externalPlantId#871304, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, minimumOrderQuantity#871308, constraintLabels#871309, constraintOperators#871310, constraintValues#871311, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, measurements#871319, originalReplenishmentRunId#871320L, optimizationGroups#871321]
Arguments: hashpartitioning(worklistShardItemId#871301L, 20), REPARTITION_BY_NUM, [plan_id=342791]
(20) Project [codegen id : 2]
Output [36]: [worklistShardItemId#871301L, orderProposalId#871278L, orderProposalItemId#871279, orderProposalItemGroupId#871302, originalReplenishmentRunId#871320L, splitIndicator#871297L, previousOrderProposal#871298L, sourceOfSupplyUuid#871292, supplierGroup#871280, supplier#871281, subrange#871284, product#871287, plant#871282, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, isFallbackOrderOnly#871295, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, netPriceAmount#871314, netPriceCurrencyCode#871315, measurements#871319, minimumOrderQuantity#871308, constraintLabels#871309, constraintOperators#871310, constraintValues#871311, logisticUnits#871305, optimizationGroups#871321, externalProductId#871303, externalPlantId#871304, supplyingPlant#871285, productGroup#871286]
Input [36]: [orderProposalId#871278L, orderProposalItemId#871279, supplierGroup#871280, supplier#871281, plant#871282, deliveryDateTime#871283, subrange#871284, supplyingPlant#871285, productGroup#871286, product#871287, orderDateTime#871288, availabilityDateTime#871289, nextAvailabilityDateTime#871290, sourceOfSupplyUuid#871292, isFallbackOrderOnly#871295, splitIndicator#871297L, previousOrderProposal#871298L, worklistShardItemId#871301L, orderProposalItemGroupId#871302, externalProductId#871303, externalPlantId#871304, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, minimumOrderQuantity#871308, constraintLabels#871309, constraintOperators#871310, constraintValues#871311, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, measurements#871319, originalReplenishmentRunId#871320L, optimizationGroups#871321]
(21) BroadcastExchange
Input [36]: [worklistShardItemId#871301L, orderProposalId#871278L, orderProposalItemId#871279, orderProposalItemGroupId#871302, originalReplenishmentRunId#871320L, splitIndicator#871297L, previousOrderProposal#871298L, sourceOfSupplyUuid#871292, supplierGroup#871280, supplier#871281, subrange#871284, product#871287, plant#871282, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, isFallbackOrderOnly#871295, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, netPriceAmount#871314, netPriceCurrencyCode#871315, measurements#871319, minimumOrderQuantity#871308, constraintLabels#871309, constraintOperators#871310, constraintValues#871311, logisticUnits#871305, optimizationGroups#871321, externalProductId#871303, externalPlantId#871304, supplyingPlant#871285, productGroup#871286]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=342795]
(22) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#871077L]
Right keys [1]: [worklistShardItemId#871301L]
Join type: LeftOuter
Join condition: (shardId#870565 = 0_1_10000002109)
(23) Project [codegen id : 3]
Output [39]: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, sourceOfSupplyUuid#871292, minimumOrderQuantity#871308, orderProposalItemId#871279, orderProposalItemGroupId#871302, optimizationGroups#871321, measurements#871319, externalProductId#871303, externalPlantId#871304, previousOrderProposal#871298L, isFallbackOrderOnly#871295]
Input [40]: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, worklistShardItemId#871301L, orderProposalId#871278L, orderProposalItemId#871279, orderProposalItemGroupId#871302, originalReplenishmentRunId#871320L, splitIndicator#871297L, previousOrderProposal#871298L, sourceOfSupplyUuid#871292, supplierGroup#871280, supplier#871281, subrange#871284, product#871287, plant#871282, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, isFallbackOrderOnly#871295, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, netPriceAmount#871314, netPriceCurrencyCode#871315, measurements#871319, minimumOrderQuantity#871308, constraintLabels#871309, constraintOperators#871310, constraintValues#871311, logisticUnits#871305, optimizationGroups#871321, externalProductId#871303, externalPlantId#871304, supplyingPlant#871285, productGroup#871286]
(24) Exchange
Input [39]: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, sourceOfSupplyUuid#871292, minimumOrderQuantity#871308, orderProposalItemId#871279, orderProposalItemGroupId#871302, optimizationGroups#871321, measurements#871319, externalProductId#871303, externalPlantId#871304, previousOrderProposal#871298L, isFallbackOrderOnly#871295]
Arguments: hashpartitioning(shardId#870565, worklistShardItemId#871077L, 20), ENSURE_REQUIREMENTS, [plan_id=342800]
(25) Sort [codegen id : 4]
Input [39]: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, sourceOfSupplyUuid#871292, minimumOrderQuantity#871308, orderProposalItemId#871279, orderProposalItemGroupId#871302, optimizationGroups#871321, measurements#871319, externalProductId#871303, externalPlantId#871304, previousOrderProposal#871298L, isFallbackOrderOnly#871295]
Arguments: [shardId#870565 ASC NULLS FIRST, worklistShardItemId#871077L ASC NULLS FIRST], false, 0
(26) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#871974, worklistShardItemId#871975L, qty#871976, demandChannel#871977, demandStream#871978, kpis#871979]
Arguments: [shardId#871974, worklistShardItemId#871975L, qty#871976, demandChannel#871977, demandStream#871978, kpis#871979], MapPartitionsRDD[40965] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(27) Filter [codegen id : 5]
Input [6]: [shardId#871974, worklistShardItemId#871975L, qty#871976, demandChannel#871977, demandStream#871978, kpis#871979]
Condition : (((isnull(qty#871976) AND isnull(demandChannel#871977)) AND isnull(demandStream#871978)) AND (isnotnull(shardId#871974) AND isnotnull(worklistShardItemId#871975L)))
(28) Project [codegen id : 5]
Output [3]: [shardId#871974, worklistShardItemId#871975L, coalesce(kpis#871979, []) AS prodLocSpecificKpis#871980]
Input [6]: [shardId#871974, worklistShardItemId#871975L, qty#871976, demandChannel#871977, demandStream#871978, kpis#871979]
(29) Exchange
Input [3]: [shardId#871974, worklistShardItemId#871975L, prodLocSpecificKpis#871980]
Arguments: hashpartitioning(shardId#871974, worklistShardItemId#871975L, 20), ENSURE_REQUIREMENTS, [plan_id=342806]
(30) Sort [codegen id : 6]
Input [3]: [shardId#871974, worklistShardItemId#871975L, prodLocSpecificKpis#871980]
Arguments: [shardId#871974 ASC NULLS FIRST, worklistShardItemId#871975L ASC NULLS FIRST], false, 0
(31) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#870565, worklistShardItemId#871077L]
Right keys [2]: [shardId#871974, worklistShardItemId#871975L]
Join type: LeftOuter
Join condition: None
(32) Project [codegen id : 7]
Output [40]: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, sourceOfSupplyUuid#871292, minimumOrderQuantity#871308, orderProposalItemId#871279, orderProposalItemGroupId#871302, optimizationGroups#871321, measurements#871319, externalProductId#871303, externalPlantId#871304, previousOrderProposal#871298L, isFallbackOrderOnly#871295, coalesce(prodLocSpecificKpis#871980, []) AS prodLocSpecificKpis#871981]
Input [42]: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, sourceOfSupplyUuid#871292, minimumOrderQuantity#871308, orderProposalItemId#871279, orderProposalItemGroupId#871302, optimizationGroups#871321, measurements#871319, externalProductId#871303, externalPlantId#871304, previousOrderProposal#871298L, isFallbackOrderOnly#871295, shardId#871974, worklistShardItemId#871975L, prodLocSpecificKpis#871980]
(33) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#871990, worklistShardItemId#871991L, qty#871992, demandChannel#871993, demandStream#871994, kpis#871995]
Arguments: [shardId#871990, worklistShardItemId#871991L, qty#871992, demandChannel#871993, demandStream#871994, kpis#871995], MapPartitionsRDD[40965] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(34) Filter [codegen id : 8]
Input [6]: [shardId#871990, worklistShardItemId#871991L, qty#871992, demandChannel#871993, demandStream#871994, kpis#871995]
Condition : ((((isnull(qty#871992) AND isnotnull(demandChannel#871993)) AND isnotnull(demandStream#871994)) AND (size(kpis#871995, true) > 0)) AND (isnotnull(shardId#871990) AND isnotnull(worklistShardItemId#871991L)))
(35) Project [codegen id : 8]
Output [5]: [shardId#871990, worklistShardItemId#871991L, demandChannel#871993, demandStream#871994, kpis#871995]
Input [6]: [shardId#871990, worklistShardItemId#871991L, qty#871992, demandChannel#871993, demandStream#871994, kpis#871995]
(36) ObjectHashAggregate
Input [5]: [shardId#871990, worklistShardItemId#871991L, demandChannel#871993, demandStream#871994, kpis#871995]
Keys [2]: [shardId#871990, worklistShardItemId#871991L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#871993, demandStream, demandStream#871994, kpis, kpis#871995), 0, 0)]
Aggregate Attributes [1]: [buf#872170]
Results [3]: [shardId#871990, worklistShardItemId#871991L, buf#872171]
(37) Exchange
Input [3]: [shardId#871990, worklistShardItemId#871991L, buf#872171]
Arguments: hashpartitioning(shardId#871990, worklistShardItemId#871991L, 20), ENSURE_REQUIREMENTS, [plan_id=342817]
(38) ObjectHashAggregate
Input [3]: [shardId#871990, worklistShardItemId#871991L, buf#872171]
Keys [2]: [shardId#871990, worklistShardItemId#871991L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#871993, demandStream, demandStream#871994, kpis, kpis#871995), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#871993, demandStream, demandStream#871994, kpis, kpis#871995), 0, 0)#871989]
Results [3]: [shardId#871990, worklistShardItemId#871991L, collect_list(struct(demandChannel, demandChannel#871993, demandStream, demandStream#871994, kpis, kpis#871995), 0, 0)#871989 AS channelStreamSpecificKpis#871982]
(39) Sort [codegen id : 9]
Input [3]: [shardId#871990, worklistShardItemId#871991L, channelStreamSpecificKpis#871982]
Arguments: [shardId#871990 ASC NULLS FIRST, worklistShardItemId#871991L ASC NULLS FIRST], false, 0
(40) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#870565, worklistShardItemId#871077L]
Right keys [2]: [shardId#871990, worklistShardItemId#871991L]
Join type: LeftOuter
Join condition: None
(41) Project [codegen id : 10]
Output [41]: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, sourceOfSupplyUuid#871292, minimumOrderQuantity#871308, orderProposalItemId#871279, orderProposalItemGroupId#871302, optimizationGroups#871321, measurements#871319, externalProductId#871303, externalPlantId#871304, previousOrderProposal#871298L, isFallbackOrderOnly#871295, prodLocSpecificKpis#871981, coalesce(channelStreamSpecificKpis#871982, []) AS channelStreamSpecificKpis#871996]
Input [43]: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, sourceOfSupplyUuid#871292, minimumOrderQuantity#871308, orderProposalItemId#871279, orderProposalItemGroupId#871302, optimizationGroups#871321, measurements#871319, externalProductId#871303, externalPlantId#871304, previousOrderProposal#871298L, isFallbackOrderOnly#871295, prodLocSpecificKpis#871981, shardId#871990, worklistShardItemId#871991L, channelStreamSpecificKpis#871982]
(42) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#872003, worklistShardItemId#872004L, qty#872005, demandChannel#872006, demandStream#872007, kpis#872008]
Arguments: [shardId#872003, worklistShardItemId#872004L, qty#872005, demandChannel#872006, demandStream#872007, kpis#872008], MapPartitionsRDD[40965] at start at FileStorageAdapterImpl.java:592, ExistingRDD, UnknownPartitioning(0)
(43) Filter [codegen id : 11]
Input [6]: [shardId#872003, worklistShardItemId#872004L, qty#872005, demandChannel#872006, demandStream#872007, kpis#872008]
Condition : ((isnotnull(qty#872005) AND isnotnull(kpis#872008)) AND (isnotnull(shardId#872003) AND isnotnull(worklistShardItemId#872004L)))
(44) Project [codegen id : 11]
Output [4]: [shardId#872003, worklistShardItemId#872004L, qty#872005, kpis#872008]
Input [6]: [shardId#872003, worklistShardItemId#872004L, qty#872005, demandChannel#872006, demandStream#872007, kpis#872008]
(45) ObjectHashAggregate
Input [4]: [shardId#872003, worklistShardItemId#872004L, qty#872005, kpis#872008]
Keys [2]: [shardId#872003, worklistShardItemId#872004L]
Functions [1]: [partial_collect_list(struct(qty, qty#872005, kpis, kpis#872008), 0, 0)]
Aggregate Attributes [1]: [buf#872172]
Results [3]: [shardId#872003, worklistShardItemId#872004L, buf#872173]
(46) Exchange
Input [3]: [shardId#872003, worklistShardItemId#872004L, buf#872173]
Arguments: hashpartitioning(shardId#872003, worklistShardItemId#872004L, 20), ENSURE_REQUIREMENTS, [plan_id=342829]
(47) ObjectHashAggregate
Input [3]: [shardId#872003, worklistShardItemId#872004L, buf#872173]
Keys [2]: [shardId#872003, worklistShardItemId#872004L]
Functions [1]: [collect_list(struct(qty, qty#872005, kpis, kpis#872008), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#872005, kpis, kpis#872008), 0, 0)#872002]
Results [3]: [shardId#872003, worklistShardItemId#872004L, map_from_entries(collect_list(struct(qty, qty#872005, kpis, kpis#872008), 0, 0)#872002) AS quantityKpis#871997]
(48) Sort [codegen id : 12]
Input [3]: [shardId#872003, worklistShardItemId#872004L, quantityKpis#871997]
Arguments: [shardId#872003 ASC NULLS FIRST, worklistShardItemId#872004L ASC NULLS FIRST], false, 0
(49) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#870565, worklistShardItemId#871077L]
Right keys [2]: [shardId#872003, worklistShardItemId#872004L]
Join type: LeftOuter
Join condition: None
(50) Project [codegen id : 13]
Output [42]: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, sourceOfSupplyUuid#871292, minimumOrderQuantity#871308, orderProposalItemId#871279, orderProposalItemGroupId#871302, optimizationGroups#871321, measurements#871319, externalProductId#871303, externalPlantId#871304, previousOrderProposal#871298L, isFallbackOrderOnly#871295, prodLocSpecificKpis#871981, channelStreamSpecificKpis#871996, coalesce(quantityKpis#871997, map(keys: [], values: [])) AS quantityKpis#872009]
Input [44]: [shardId#870565, worklistShardItemId#871077L, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871278L, originalReplenishmentRunId#871320L, supplierGroup#871280, supplier#871281, supplyingPlant#871285, productGroup#871286, product#871287, plant#871282, subrange#871284, orderDateTime#871288, deliveryDateTime#871283, availabilityDateTime#871289, nextAvailabilityDateTime#871290, constraintValues#871311, constraintOperators#871310, constraintLabels#871309, logisticUnits#871305, orderQuantityBaseUom#871306, orderQuantityBaseUomUuid#871307, splitIndicator#871297L, netPriceAmount#871314, netPriceCurrencyCode#871315, netPriceQuantity#871316, netPriceQuantityUom#871317, netPriceQuantityUomUuid#871318, sourceOfSupplyUuid#871292, minimumOrderQuantity#871308, orderProposalItemId#871279, orderProposalItemGroupId#871302, optimizationGroups#871321, measurements#871319, externalProductId#871303, externalPlantId#871304, previousOrderProposal#871298L, isFallbackOrderOnly#871295, prodLocSpecificKpis#871981, channelStreamSpecificKpis#871996, shardId#872003, worklistShardItemId#872004L, quantityKpis#871997]
(51) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#871255, channelStreamSpecificKpis#871996, constraintLabels#871267, constraintOperators#871268, constraintValues#871270, deliveryDateTime#871254, isFallbackOrderOnly#871257, logisticUnits#871272, measurements#871265, minimumOrderQuantity#871266, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, nextAvailabilityDateTime#871256, optimizationGroups#871273, orderDateTime#871253, orderProposalId#871235L, orderProposalItemGroupId#871237, orderProposalItemId#871236, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, originalReplenishmentRunId#871238L, plant#871249, previousOrderProposal#871241L, prodLocSpecificKpis#871981, product#871248, productGroup#871277, qty#871079, quantityAfterProdPlantOptimization#871078, quantityKpis#872009, shardId#870565, sourceOfSupplyUuid#871244, splitIndicator#871240L, subrange#871247, supplier#871246, supplierGroup#871245, supplyingPlant#871276]
Condition : NOT (isFallbackOrderOnly#871257 <=> true)
(52) Project [codegen id : 1]
Output [36]: [shardId#870565, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, productGroup#871277, product#871248, plant#871249, subrange#871247, orderDateTime#871253, deliveryDateTime#871254, availabilityDateTime#871255, nextAvailabilityDateTime#871256, logisticUnits#871272, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, splitIndicator#871240L, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, sourceOfSupplyUuid#871244, minimumOrderQuantity#871266, orderProposalItemId#871236, orderProposalItemGroupId#871237, optimizationGroups#871273, measurements#871265, previousOrderProposal#871241L, prodLocSpecificKpis#871981, channelStreamSpecificKpis#871996, quantityKpis#872009, arrays_zip(constraintLabels#871267, constraintOperators#871268, constraintValues#871270, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#872423]
Input [39]: [availabilityDateTime#871255, channelStreamSpecificKpis#871996, constraintLabels#871267, constraintOperators#871268, constraintValues#871270, deliveryDateTime#871254, isFallbackOrderOnly#871257, logisticUnits#871272, measurements#871265, minimumOrderQuantity#871266, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, nextAvailabilityDateTime#871256, optimizationGroups#871273, orderDateTime#871253, orderProposalId#871235L, orderProposalItemGroupId#871237, orderProposalItemId#871236, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, originalReplenishmentRunId#871238L, plant#871249, previousOrderProposal#871241L, prodLocSpecificKpis#871981, product#871248, productGroup#871277, qty#871079, quantityAfterProdPlantOptimization#871078, quantityKpis#872009, shardId#870565, sourceOfSupplyUuid#871244, splitIndicator#871240L, subrange#871247, supplier#871246, supplierGroup#871245, supplyingPlant#871276]
(53) Project
Output [37]: [shardId#870565, qty#871079, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, productGroup#871277, product#871248, plant#871249, subrange#871247, orderDateTime#871253, deliveryDateTime#871254, availabilityDateTime#871255, nextAvailabilityDateTime#871256, logisticUnits#871272, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, splitIndicator#871240L, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, sourceOfSupplyUuid#871244, orderProposalItemId#871236, orderProposalItemGroupId#871237, optimizationGroups#871273, measurements#871265, previousOrderProposal#871241L, prodLocSpecificKpis#871981, channelStreamSpecificKpis#871996, quantityKpis#872009, struct(minServiceLevel, array_min(filter(constraintStructArray#872423, lambdafunction((lambda x_2242#872430.constraintLabels = ServiceLevel), lambda x_2242#872430, false)).constraintValues), minServiceLevelMinStock, null, maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#872423, lambdafunction((lambda x_2243#872431.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_2243#872431, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#872423, lambdafunction((lambda x_2244#872432.constraintLabels = RangeOfCoverage), lambda x_2244#872432, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#871266, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#871981, lambdafunction((lambda x_2245#872433.label = NonListingStartTimestamp), lambda x_2245#872433, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#872429, CASE WHEN (qty#871079 <=> quantityAfterProdPlantOptimization#871078) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#871079 * (cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2246#872501.isOrderUnit, lambda x_2246#872501, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2246#872502.isOrderUnit, lambda x_2246#872502, false)), 1, None, false).numerator as double))), qty#871079), orderQuantityUom, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2246#872503.isOrderUnit, lambda x_2246#872503, false)), 1, None, false).uom, orderQuantityBaseUom#871258), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2246#872504.isOrderUnit, lambda x_2246#872504, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#871259), candidateOrderQuantityInBaseUnit, qty#871079, orderQuantityBaseUom, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#871259, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#871272, lambdafunction((lambda x_2248#872505.isPreferred AND (((qty#871079 * cast(lambda x_2248#872505.denominator as double)) % cast(lambda x_2248#872505.numerator as double)) = 0.0)), lambda x_2248#872505, false)), lambdafunction(struct(inPreferredQuantity, ((qty#871079 * cast(lambda x_2249#872543.denominator as double)) / cast(lambda x_2249#872543.numerator as double)), uom, lambda x_2249#872543.uom, uomUuid, lambda x_2249#872543.uomUuid), lambda x_2249#872543, false))).inPreferredQuantity, coalesce((qty#871079 * (cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2247#872506.isOrderUnit, lambda x_2247#872506, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2247#872507.isOrderUnit, lambda x_2247#872507, false)), 1, None, false).numerator as double))), qty#871079)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#871272, lambdafunction((lambda x_2248#872508.isPreferred AND (((qty#871079 * cast(lambda x_2248#872508.denominator as double)) % cast(lambda x_2248#872508.numerator as double)) = 0.0)), lambda x_2248#872508, false)), lambdafunction(struct(inPreferredQuantity, ((qty#871079 * cast(lambda x_2249#872544.denominator as double)) / cast(lambda x_2249#872544.numerator as double)), uom, lambda x_2249#872544.uom, uomUuid, lambda x_2249#872544.uomUuid), lambda x_2249#872544, false))).uom, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2247#872509.isOrderUnit, lambda x_2247#872509, false)), 1, None, false).uom, orderQuantityBaseUom#871258)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#871272, lambdafunction((lambda x_2248#872510.isPreferred AND (((qty#871079 * cast(lambda x_2248#872510.denominator as double)) % cast(lambda x_2248#872510.numerator as double)) = 0.0)), lambda x_2248#872510, false)), lambdafunction(struct(inPreferredQuantity, ((qty#871079 * cast(lambda x_2249#872545.denominator as double)) / cast(lambda x_2249#872545.numerator as double)), uom, lambda x_2249#872545.uom, uomUuid, lambda x_2249#872545.uomUuid), lambda x_2249#872545, false))).uomUuid, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2247#872511.isOrderUnit, lambda x_2247#872511, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#871259)), serviceLevel, coalesce(filter(element_at(quantityKpis#872009, qty#871079, None, false), lambdafunction((lambda x_2254#872512.label = ServiceLevel), lambda x_2254#872512, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#871079 * (cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2246#872515.isOrderUnit, lambda x_2246#872515, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2246#872516.isOrderUnit, lambda x_2246#872516, false)), 1, None, false).numerator as double))), qty#871079), orderQuantityUom, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2246#872517.isOrderUnit, lambda x_2246#872517, false)), 1, None, false).uom, orderQuantityBaseUom#871258), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2246#872518.isOrderUnit, lambda x_2246#872518, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#871259), candidateOrderQuantityInBaseUnit, qty#871079, orderQuantityBaseUom, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#871259, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#871272, lambdafunction((lambda x_2248#872519.isPreferred AND (((qty#871079 * cast(lambda x_2248#872519.denominator as double)) % cast(lambda x_2248#872519.numerator as double)) = 0.0)), lambda x_2248#872519, false)), lambdafunction(struct(inPreferredQuantity, ((qty#871079 * cast(lambda x_2249#872546.denominator as double)) / cast(lambda x_2249#872546.numerator as double)), uom, lambda x_2249#872546.uom, uomUuid, lambda x_2249#872546.uomUuid), lambda x_2249#872546, false))).inPreferredQuantity, coalesce((qty#871079 * (cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2247#872520.isOrderUnit, lambda x_2247#872520, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2247#872521.isOrderUnit, lambda x_2247#872521, false)), 1, None, false).numerator as double))), qty#871079)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#871272, lambdafunction((lambda x_2248#872522.isPreferred AND (((qty#871079 * cast(lambda x_2248#872522.denominator as double)) % cast(lambda x_2248#872522.numerator as double)) = 0.0)), lambda x_2248#872522, false)), lambdafunction(struct(inPreferredQuantity, ((qty#871079 * cast(lambda x_2249#872547.denominator as double)) / cast(lambda x_2249#872547.numerator as double)), uom, lambda x_2249#872547.uom, uomUuid, lambda x_2249#872547.uomUuid), lambda x_2249#872547, false))).uom, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2247#872523.isOrderUnit, lambda x_2247#872523, false)), 1, None, false).uom, orderQuantityBaseUom#871258)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#871272, lambdafunction((lambda x_2248#872524.isPreferred AND (((qty#871079 * cast(lambda x_2248#872524.denominator as double)) % cast(lambda x_2248#872524.numerator as double)) = 0.0)), lambda x_2248#872524, false)), lambdafunction(struct(inPreferredQuantity, ((qty#871079 * cast(lambda x_2249#872548.denominator as double)) / cast(lambda x_2249#872548.numerator as double)), uom, lambda x_2249#872548.uom, uomUuid, lambda x_2249#872548.uomUuid), lambda x_2249#872548, false))).uomUuid, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2247#872525.isOrderUnit, lambda x_2247#872525, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#871259)), serviceLevel, coalesce(filter(element_at(quantityKpis#872009, qty#871079, None, false), lambdafunction((lambda x_2257#872526.label = ServiceLevel), lambda x_2257#872526, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#871078 * (cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2250#872529.isOrderUnit, lambda x_2250#872529, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2250#872530.isOrderUnit, lambda x_2250#872530, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#871078), orderQuantityUom, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2250#872531.isOrderUnit, lambda x_2250#872531, false)), 1, None, false).uom, orderQuantityBaseUom#871258), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2250#872532.isOrderUnit, lambda x_2250#872532, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#871259), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#871078, orderQuantityBaseUom, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#871259, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#871272, lambdafunction((lambda x_2252#872533.isPreferred AND (((quantityAfterProdPlantOptimization#871078 * cast(lambda x_2252#872533.denominator as double)) % cast(lambda x_2252#872533.numerator as double)) = 0.0)), lambda x_2252#872533, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#871078 * cast(lambda x_2253#872549.denominator as double)) / cast(lambda x_2253#872549.numerator as double)), uom, lambda x_2253#872549.uom, uomUuid, lambda x_2253#872549.uomUuid), lambda x_2253#872549, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#871078 * (cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2251#872534.isOrderUnit, lambda x_2251#872534, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2251#872535.isOrderUnit, lambda x_2251#872535, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#871078)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#871272, lambdafunction((lambda x_2252#872536.isPreferred AND (((quantityAfterProdPlantOptimization#871078 * cast(lambda x_2252#872536.denominator as double)) % cast(lambda x_2252#872536.numerator as double)) = 0.0)), lambda x_2252#872536, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#871078 * cast(lambda x_2253#872550.denominator as double)) / cast(lambda x_2253#872550.numerator as double)), uom, lambda x_2253#872550.uom, uomUuid, lambda x_2253#872550.uomUuid), lambda x_2253#872550, false))).uom, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2251#872537.isOrderUnit, lambda x_2251#872537, false)), 1, None, false).uom, orderQuantityBaseUom#871258)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#871272, lambdafunction((lambda x_2252#872538.isPreferred AND (((quantityAfterProdPlantOptimization#871078 * cast(lambda x_2252#872538.denominator as double)) % cast(lambda x_2252#872538.numerator as double)) = 0.0)), lambda x_2252#872538, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#871078 * cast(lambda x_2253#872551.denominator as double)) / cast(lambda x_2253#872551.numerator as double)), uom, lambda x_2253#872551.uom, uomUuid, lambda x_2253#872551.uomUuid), lambda x_2253#872551, false))).uomUuid, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2251#872539.isOrderUnit, lambda x_2251#872539, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#871259)), serviceLevel, coalesce(filter(element_at(quantityKpis#872009, quantityAfterProdPlantOptimization#871078, None, false), lambdafunction((lambda x_2260#872540.label = ServiceLevel), lambda x_2260#872540, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#872500, coalesce(filter(prodLocSpecificKpis#871981, lambdafunction((lambda x_2263#872553.label = InitialStockQty), lambda x_2263#872553, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#872552, coalesce(filter(prodLocSpecificKpis#871981, lambdafunction((lambda x_2264#872555.label = DemandPeriodEndTimestamp), lambda x_2264#872555, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#872554]
Input [36]: [shardId#870565, quantityAfterProdPlantOptimization#871078, qty#871079, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, productGroup#871277, product#871248, plant#871249, subrange#871247, orderDateTime#871253, deliveryDateTime#871254, availabilityDateTime#871255, nextAvailabilityDateTime#871256, logisticUnits#871272, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, splitIndicator#871240L, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, sourceOfSupplyUuid#871244, minimumOrderQuantity#871266, orderProposalItemId#871236, orderProposalItemGroupId#871237, optimizationGroups#871273, measurements#871265, previousOrderProposal#871241L, prodLocSpecificKpis#871981, channelStreamSpecificKpis#871996, quantityKpis#872009, constraintStructArray#872423]
(54) Project
Output [21]: [shardId#870565, qty#871079, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, productGroup#871277, product#871248, plant#871249, subrange#871247, orderDateTime#871253, deliveryDateTime#871254, logisticUnits#871272, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, splitIndicator#871240L, orderProposalItemId#871236, orderProposalItemGroupId#871237, previousOrderProposal#871241L, struct(itemId, 123456, itemGroupId, 123456, supplier, supplier#871246, supplyingPlant, supplyingPlant#871276, productGroup, productGroup#871277, product, product#871248, plant, plant#871249, supplierSubRange, subrange#871247, sourceOfSupplyUuid, sourceOfSupplyUuid#871244, deliveryDateTime, deliveryDateTime#871254, unitPrice, netPriceAmount#871263, unitPriceCurrency, netPriceCurrencyCode#871264, unitPriceQuantity, ... 37 more fields) AS parentItem#872634]
Input [37]: [shardId#870565, qty#871079, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, productGroup#871277, product#871248, plant#871249, subrange#871247, orderDateTime#871253, deliveryDateTime#871254, availabilityDateTime#871255, nextAvailabilityDateTime#871256, logisticUnits#871272, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, splitIndicator#871240L, netPriceAmount#871263, netPriceCurrencyCode#871264, netPriceQuantity#871260, netPriceQuantityUom#871261, netPriceQuantityUomUuid#871262, sourceOfSupplyUuid#871244, orderProposalItemId#871236, orderProposalItemGroupId#871237, optimizationGroups#871273, measurements#871265, previousOrderProposal#871241L, prodLocSpecificKpis#871981, channelStreamSpecificKpis#871996, quantityKpis#872009, constraintBenchmark#872429, calculationAnalysis#872500, inventoryDateTime#872552, demandPeriodEndDateTime#872554]
(55) Project
Output [12]: [shardId#870565, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, orderDateTime#871253, splitIndicator#871240L, orderProposalItemGroupId#871237, previousOrderProposal#871241L, parentItem#872634, struct(itemId, orderProposalItemId#871236, supplier, supplier#871246, supplyingPlant, supplyingPlant#871276, productGroup, productGroup#871277, product, product#871248, plant, plant#871249, supplierSubRange, subrange#871247, deliveryDateTime, deliveryDateTime#871254, orderQuantity, coalesce((qty#871079 * (cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2288#872668.isOrderUnit, lambda x_2288#872668, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2288#872669.isOrderUnit, lambda x_2288#872669, false)), 1, None, false).numerator as double))), qty#871079), orderQuantityUom, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2288#872670.isOrderUnit, lambda x_2288#872670, false)), 1, None, false).uom, orderQuantityBaseUom#871258), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#871272, lambdafunction(lambda x_2288#872671.isOrderUnit, lambda x_2288#872671, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#871259), orderQuantityInBaseUnit, qty#871079, orderQuantityBaseUom, ... 13 more fields) AS item#872665]
Input [21]: [shardId#870565, qty#871079, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, productGroup#871277, product#871248, plant#871249, subrange#871247, orderDateTime#871253, deliveryDateTime#871254, logisticUnits#871272, orderQuantityBaseUom#871258, orderQuantityBaseUomUuid#871259, splitIndicator#871240L, orderProposalItemId#871236, orderProposalItemGroupId#871237, previousOrderProposal#871241L, parentItem#872634]
(56) ObjectHashAggregate
Input [12]: [shardId#870565, orderProposalId#871235L, originalReplenishmentRunId#871238L, supplierGroup#871245, supplier#871246, supplyingPlant#871276, orderDateTime#871253, splitIndicator#871240L, orderProposalItemGroupId#871237, previousOrderProposal#871241L, parentItem#872634, item#872665]
Keys [4]: [shardId#870565, orderProposalId#871235L, splitIndicator#871240L, orderProposalItemGroupId#871237]
Functions [8]: [partial_max(originalReplenishmentRunId#871238L), partial_max(supplierGroup#871245), partial_max(supplier#871246), partial_max(supplyingPlant#871276), partial_max(orderDateTime#871253), partial_collect_list(parentItem#872634, 0, 0), partial_collect_set(previousOrderProposal#871241L, 0, 0), partial_collect_list(item#872665, 0, 0)]
Aggregate Attributes [8]: [max#873926L, max#873927, max#873928, max#873929, max#873930, buf#873931, buf#873932, buf#873933]
Results [12]: [shardId#870565, orderProposalId#871235L, splitIndicator#871240L, orderProposalItemGroupId#871237, max#873934L, max#873935, max#873936, max#873937, max#873938, buf#873939, buf#873940, buf#873941]
(57) Exchange
Input [12]: [shardId#870565, orderProposalId#871235L, splitIndicator#871240L, orderProposalItemGroupId#871237, max#873934L, max#873935, max#873936, max#873937, max#873938, buf#873939, buf#873940, buf#873941]
Arguments: hashpartitioning(shardId#870565, orderProposalId#871235L, splitIndicator#871240L, orderProposalItemGroupId#871237, 20), ENSURE_REQUIREMENTS, [plan_id=343067]
(58) ObjectHashAggregate
Input [12]: [shardId#870565, orderProposalId#871235L, splitIndicator#871240L, orderProposalItemGroupId#871237, max#873934L, max#873935, max#873936, max#873937, max#873938, buf#873939, buf#873940, buf#873941]
Keys [4]: [shardId#870565, orderProposalId#871235L, splitIndicator#871240L, orderProposalItemGroupId#871237]
Functions [8]: [max(originalReplenishmentRunId#871238L), max(supplierGroup#871245), max(supplier#871246), max(supplyingPlant#871276), max(orderDateTime#871253), collect_list(parentItem#872634, 0, 0), collect_set(previousOrderProposal#871241L, 0, 0), collect_list(item#872665, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#871238L)#872734L, max(supplierGroup#871245)#872735, max(supplier#871246)#872736, max(supplyingPlant#871276)#872737, max(orderDateTime#871253)#872738, collect_list(parentItem#872634, 0, 0)#872739, collect_set(previousOrderProposal#871241L, 0, 0)#872741, collect_list(item#872665, 0, 0)#872740]
Results [10]: [shardId#870565, orderProposalId#871235L, max(originalReplenishmentRunId#871238L)#872734L AS originalReplenishmentRunId#872682L, max(supplierGroup#871245)#872735 AS supplierGroup#872683, max(supplier#871246)#872736 AS supplier#872684, max(supplyingPlant#871276)#872737 AS supplyingPlant#872685, max(orderDateTime#871253)#872738 AS orderDateTime#872686, collect_list(parentItem#872634, 0, 0)#872739 AS parentItems#872687, collect_set(previousOrderProposal#871241L, 0, 0)#872741 AS previousOrderProposals#872689, struct(itemGroupId, coalesce(orderProposalItemGroupId#871237, cast((monotonically_increasing_id() % 9999999999) as string)), items, collect_list(item#872665, 0, 0)#872740) AS itemGroup#872743]
(59) ObjectHashAggregate
Input [10]: [shardId#870565, orderProposalId#871235L, originalReplenishmentRunId#872682L, supplierGroup#872683, supplier#872684, supplyingPlant#872685, orderDateTime#872686, parentItems#872687, previousOrderProposals#872689, itemGroup#872743]
Keys [2]: [shardId#870565, orderProposalId#871235L]
Functions [8]: [partial_max(originalReplenishmentRunId#872682L), partial_max(supplierGroup#872683), partial_max(supplier#872684), partial_max(supplyingPlant#872685), partial_max(orderDateTime#872686), partial_collect_list(itemGroup#872743, 0, 0), partial_collect_list(parentItems#872687, 0, 0), partial_collect_set(previousOrderProposals#872689, 0, 0)]
Aggregate Attributes [8]: [max#873910L, max#873911, max#873912, max#873913, max#873914, buf#873915, buf#873916, buf#873917]
Results [10]: [shardId#870565, orderProposalId#871235L, max#873918L, max#873919, max#873920, max#873921, max#873922, buf#873923, buf#873924, buf#873925]
(60) Exchange
Input [10]: [shardId#870565, orderProposalId#871235L, max#873918L, max#873919, max#873920, max#873921, max#873922, buf#873923, buf#873924, buf#873925]
Arguments: hashpartitioning(shardId#870565, orderProposalId#871235L, 20), ENSURE_REQUIREMENTS, [plan_id=343070]
(61) ObjectHashAggregate
Input [10]: [shardId#870565, orderProposalId#871235L, max#873918L, max#873919, max#873920, max#873921, max#873922, buf#873923, buf#873924, buf#873925]
Keys [2]: [shardId#870565, orderProposalId#871235L]
Functions [8]: [max(originalReplenishmentRunId#872682L), max(supplierGroup#872683), max(supplier#872684), max(supplyingPlant#872685), max(orderDateTime#872686), collect_list(itemGroup#872743, 0, 0), collect_list(parentItems#872687, 0, 0), collect_set(previousOrderProposals#872689, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#872682L)#872765L, max(supplierGroup#872683)#872766, max(supplier#872684)#872767, max(supplyingPlant#872685)#872768, max(orderDateTime#872686)#872769, collect_list(itemGroup#872743, 0, 0)#872770, collect_list(parentItems#872687, 0, 0)#872771, collect_set(previousOrderProposals#872689, 0, 0)#872772]
Results [10]: [shardId#870565, orderProposalId#871235L, max(originalReplenishmentRunId#872682L)#872765L AS originalReplenishmentRunId#872744L, max(supplierGroup#872683)#872766 AS supplierGroup#872745, max(supplier#872684)#872767 AS supplier#872746, max(supplyingPlant#872685)#872768 AS supplyingPlant#872747, max(orderDateTime#872686)#872769 AS orderDateTime#872748, collect_list(itemGroup#872743, 0, 0)#872770 AS itemGroups#872749, flatten(collect_list(parentItems#872687, 0, 0)#872771) AS parentItems#872750, flatten(collect_set(previousOrderProposals#872689, 0, 0)#872772) AS previousOrderProposals#872751]
(62) Project
Output [2]: [shardId#870565, struct(orderProposalId, orderProposalId#871235L, originalReplenishmentRunId, originalReplenishmentRunId#872744L, supplierGroup, supplierGroup#872745, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#872745) THEN supplier#872746 END, supplyingPlant, supplyingPlant#872747, orderDateTime, orderDateTime#872748, itemGroups, itemGroups#872749, previousOrderProposals, array_distinct(previousOrderProposals#872751), parentItems, parentItems#872750) AS orderProposal#872776]
Input [10]: [shardId#870565, orderProposalId#871235L, originalReplenishmentRunId#872744L, supplierGroup#872745, supplier#872746, supplyingPlant#872747, orderDateTime#872748, itemGroups#872749, parentItems#872750, previousOrderProposals#872751]
(63) Project
Output [11]: [shardId#870565, orderProposal#872776.orderProposalId AS _extract_orderProposalId#873542L, orderProposal#872776.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#873543L, orderProposal#872776.supplierGroup AS _extract_supplierGroup#873544, orderProposal#872776.supplier AS _extract_supplier#873545, orderProposal#872776.supplyingPlant AS _extract_supplyingPlant#873546, orderProposal#872776.orderDateTime AS _extract_orderDateTime#873547, orderProposal#872776.itemGroups AS _extract_itemGroups#873548, orderProposal#872776.previousOrderProposals AS _extract_previousOrderProposals#873549, orderProposal#872776.parentItems AS _extract_parentItems#873550, orderProposal#872776.orderProposalId AS _extract_orderProposalId#873551L]
Input [2]: [shardId#870565, orderProposal#872776]
(64) InMemoryTableScan
Output [3]: [shardId#872799, orderProposalId#872800L, optimizationGroups#872802]
Arguments: [shardId#872799, orderProposalId#872800L, optimizationGroups#872802], [isnotnull(orderProposalId#872800L)]
(65) InMemoryRelation
Arguments: [shardId#872799, orderProposalId#872800L, items#872801, optimizationGroups#872802, isOptimal#872803, optimizationInsights#872805], StorageLevel(disk, memory, 2 replicas)
(66) Filter [codegen id : 2]
Input [3]: [shardId#872799, orderProposalId#872800L, optimizationGroups#872802]
Condition : isnotnull(orderProposalId#872800L)
(67) BroadcastExchange
Input [3]: [shardId#872799, orderProposalId#872800L, optimizationGroups#872802]
Arguments: HashedRelationBroadcastMode(List(input[1, bigint, false]),false), [plan_id=343077]
(68) InMemoryTableScan
Output [2]: [items#872418, shardId#872416]
Arguments: [items#872418, shardId#872416], [(size(items#872418.worklistShardItemId, true) > 0), isnotnull(items#872418.worklistShardItemId), (shardId#872416 = 0_1_10000002109)]
(69) InMemoryRelation
Arguments: [shardId#872416, orderProposalId#872417L, items#872418, optimizationGroups#872419, isOptimal#872420, optimizationInsights#872422], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 3]
Input [2]: [items#872418, shardId#872416]
Condition : (((size(items#872418.worklistShardItemId, true) > 0) AND isnotnull(items#872418.worklistShardItemId)) AND (shardId#872416 = 0_1_10000002109))
(71) Project [codegen id : 3]
Output [1]: [items#872418.worklistShardItemId AS _extract_worklistShardItemId#873447]
Input [2]: [items#872418, shardId#872416]
(72) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#873447]
Arguments: explode(_extract_worklistShardItemId#873447), false, [item#872806L]
(73) Project [codegen id : 3]
Output [1]: [item#872806L AS worklistShardItemId#872807L]
Input [1]: [item#872806L]
(74) BroadcastExchange
Input [1]: [worklistShardItemId#872807L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=343085]
(75) Scan parquet
Output [5]: [orderProposalId#872855L, isFallbackOrderOnly#872872, worklistShardItemId#872878L, shardId#872899, sequenceId#872877]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002109]
PartitionFilters: [isnotnull(shardId#872899), isnotnull(sequenceId#872877), (shardId#872899 = 0_1_10000002109), (sequenceId#872877 = 1)]
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#872855L, isFallbackOrderOnly#872872, worklistShardItemId#872878L, shardId#872899, sequenceId#872877]
(77) Filter [codegen id : 4]
Input [5]: [orderProposalId#872855L, isFallbackOrderOnly#872872, worklistShardItemId#872878L, shardId#872899, sequenceId#872877]
Condition : ((isnotnull(worklistShardItemId#872878L) AND NOT (isFallbackOrderOnly#872872 <=> true)) AND isnotnull(orderProposalId#872855L))
(78) Project [codegen id : 4]
Output [2]: [orderProposalId#872855L, worklistShardItemId#872878L]
Input [5]: [orderProposalId#872855L, isFallbackOrderOnly#872872, worklistShardItemId#872878L, shardId#872899, sequenceId#872877]
(79) Exchange
Input [2]: [orderProposalId#872855L, worklistShardItemId#872878L]
Arguments: hashpartitioning(worklistShardItemId#872878L, 20), REPARTITION_BY_NUM, [plan_id=343092]
(80) Project
Output [2]: [worklistShardItemId#872878L, orderProposalId#872855L]
Input [2]: [orderProposalId#872855L, worklistShardItemId#872878L]
(81) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#872807L]
Right keys [1]: [worklistShardItemId#872878L]
Join type: Inner
Join condition: None
(82) Project [codegen id : 5]
Output [1]: [orderProposalId#872855L]
Input [3]: [worklistShardItemId#872807L, worklistShardItemId#872878L, orderProposalId#872855L]
(83) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#872855L]
Keys [1]: [orderProposalId#872855L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#872855L]
(84) Exchange
Input [1]: [orderProposalId#872855L]
Arguments: hashpartitioning(orderProposalId#872855L, 20), ENSURE_REQUIREMENTS, [plan_id=343099]
(85) HashAggregate
Input [1]: [orderProposalId#872855L]
Keys [1]: [orderProposalId#872855L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#872855L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [orderProposalId#872800L]
Right keys [1]: [orderProposalId#872855L]
Join type: Inner
Join condition: None
(87) Project
Output [3]: [orderProposalId#872800L, shardId#872799, coalesce(transform(optimizationGroups#872802, lambdafunction(struct(optGroupId, lambda x_2292#872797.optGroupId, minOrderProfile, lambda x_2292#872797.minOrderProfile, assignmentDetails, lambda x_2292#872797.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_2292#872797.minOrderGoal.dimensionType, unit, lambda x_2292#872797.minOrderGoal.unit, unitUuid, lambda x_2292#872797.minOrderGoal.unitUuid, goalValue, lambda x_2292#872797.minOrderGoal.minOrderValue, calcValue, lambda x_2292#872797.minOrderGoal.calculatedOrderValue), transportLoadProfile, DummyTloProfile01, transportLoadGoal, [3,5000.0,false,PAL,a7f3c91d204eb8f56d12a09e3b785c4f,TON,b4e8d1f0c73a92e61d05b8f4a291c07e,40.0]), lambda x_2292#872797, false)), []) AS optimizationGroups#872796]
Input [4]: [shardId#872799, orderProposalId#872800L, optimizationGroups#872802, orderProposalId#872855L]
(88) BroadcastExchange
Input [3]: [orderProposalId#872800L, shardId#872799, optimizationGroups#872796]
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=343105]
(89) BroadcastHashJoin
Left keys [4]: [coalesce(shardId#870565, ), isnull(shardId#870565), coalesce(_extract_orderProposalId#873551L, 0), isnull(_extract_orderProposalId#873551L)]
Right keys [4]: [coalesce(shardId#872799, ), isnull(shardId#872799), coalesce(orderProposalId#872800L, 0), isnull(orderProposalId#872800L)]
Join type: LeftOuter
Join condition: None
(90) Project
Output [2]: [shardId#870565, named_struct(orderProposalId, _extract_orderProposalId#873551L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#873543L, supplierGroup, _extract_supplierGroup#873544, optimizationGroups, coalesce(optimizationGroups#872796, []), supplier, _extract_supplier#873545, supplyingPlant, _extract_supplyingPlant#873546, orderDateTime, _extract_orderDateTime#873547, itemGroups, _extract_itemGroups#873548, previousOrderProposals, _extract_previousOrderProposals#873549, parentItems, _extract_parentItems#873550) AS orderProposal#872903]
Input [14]: [shardId#870565, _extract_orderProposalId#873542L, _extract_originalReplenishmentRunId#873543L, _extract_supplierGroup#873544, _extract_supplier#873545, _extract_supplyingPlant#873546, _extract_orderDateTime#873547, _extract_itemGroups#873548, _extract_previousOrderProposals#873549, _extract_parentItems#873550, _extract_orderProposalId#873551L, orderProposalId#872800L, shardId#872799, optimizationGroups#872796]
(91) Filter
Input [1]: [orderProposal#872903]
Condition : (size(orderProposal#872903.parentItems.deliveryDateTime, true) > 0)
(92) Project
Output [1]: [orderProposal#872903.parentItems.deliveryDateTime AS _extract_deliveryDateTime#874306]
Input [1]: [orderProposal#872903]
(93) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#874306]
Arguments: explode(_extract_deliveryDateTime#874306), false, [numberOfOrderProposalItems#874278]
(94) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#874278]
(95) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#874317L]
Results [1]: [count#874318L]
(96) Exchange
Input [1]: [count#874318L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=343211]
(97) HashAggregate [codegen id : 2]
Input [1]: [count#874318L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#874283L]
Results [1]: [count(1)#874283L AS count#874279L]