digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: 2 ms";
tooltip="WholeStageCodegen (2)";
1 [id="node1" labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 2 ms<br>number of output rows: 1" tooltip="HashAggregate(keys=[], functions=[count(1)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 216.0 B<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 27<br>data size total (min, med, max (stageId: taskId))<br>480.0 B (16.0 B, 16.0 B, 16.0 B (stage 2135407.0: task 5795479))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>5 ms (0 ms, 0 ms, 0 ms (stage 2135407.0: task 5795454))<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: 1944.0 B<br>number of partitions: 1<br>remote reqs duration: 14 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.1 KiB (72.0 B, 72.0 B, 72.0 B (stage 2135407.0: task 5795479))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=6645678]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n48 ms (1 ms, 1 ms, 3 ms (stage 2135407.0: task 5795454))";
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>16 ms (0 ms, 0 ms, 3 ms (stage 2135407.0: task 5795468))<br>number of output rows: 30" tooltip="HashAggregate(keys=[], functions=[partial_count(1)])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_deliveryDateTime#22201070), false, [numberOfOrderProposalItems#22201042]"];
}
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposal#22199651.parentItems.deliveryDateTime AS _extract_deliveryDateTime#22201070]"];
8 [id="node8" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (size(orderProposal#22199651.parentItems.deliveryDateTime, true) > 0)"];
9 [id="node9" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [orderProposal#22199651], [(size(orderProposal#22199651.parentItems.deliveryDateTime, true) > 0)]"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, named_struct(orderProposalId, _extract_orderProposalId#22200299L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#22200291L, supplierGroup, _extract_supplierGroup#22200292, optimizationGroups, coalesce(optimizationGroups#22199544, []), supplier, _extract_supplier#22200293, supplyingPlant, _extract_supplyingPlant#22200294, orderDateTime, _extract_orderDateTime#22200295, itemGroups, _extract_itemGroups#22200296, previousOrderProposals, _extract_previousOrderProposals#22200297, parentItems, _extract_parentItems#22200298) AS orderProposal#22199651]"];
11 [id="node11" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135407.0: task 5795479))" tooltip="SortMergeJoin [coalesce(shardId#22197470, ), isnull(shardId#22197470), coalesce(_extract_orderProposalId#22200299L, 0), isnull(_extract_orderProposalId#22200299L)], [coalesce(shardId#22199547, ), isnull(shardId#22199547), coalesce(orderProposalId#22199548L, 0), isnull(orderProposalId#22199548L)], LeftOuter"];
12 [id="node12" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 2135407.0: task 5795481))<br>peak memory total (min, med, max (stageId: taskId))<br>1920.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 2135407.0: task 5795481))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135407.0: task 5795481))" tooltip="Sort [coalesce(shardId#22197470, ) ASC NULLS FIRST, isnull(shardId#22197470) ASC NULLS FIRST, coalesce(_extract_orderProposalId#22200299L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#22200299L) ASC NULLS FIRST], false, 0"];
13 [id="node13" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(coalesce(shardId#22197470, ), isnull(shardId#22197470), coalesce(_extract_orderProposalId#22200299L, 0), isnull(_extract_orderProposalId#22200299L), 30), ENSURE_REQUIREMENTS, [plan_id=6645512]"];
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, orderProposal#22199532.orderProposalId AS _extract_orderProposalId#22200290L, orderProposal#22199532.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#22200291L, orderProposal#22199532.supplierGroup AS _extract_supplierGroup#22200292, orderProposal#22199532.supplier AS _extract_supplier#22200293, orderProposal#22199532.supplyingPlant AS _extract_supplyingPlant#22200294, orderProposal#22199532.orderDateTime AS _extract_orderDateTime#22200295, orderProposal#22199532.itemGroups AS _extract_itemGroups#22200296, orderProposal#22199532.previousOrderProposals AS _extract_previousOrderProposals#22200297, orderProposal#22199532.parentItems AS _extract_parentItems#22200298, orderProposal#22199532.orderProposalId AS _extract_orderProposalId#22200299L]"];
15 [id="node15" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, struct(orderProposalId, orderProposalId#22198140L, originalReplenishmentRunId, originalReplenishmentRunId#22199500L, supplierGroup, supplierGroup#22199501, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#22199501) THEN supplier#22199502 END, supplyingPlant, supplyingPlant#22199503, orderDateTime, orderDateTime#22199504, itemGroups, itemGroups#22199505, previousOrderProposals, array_distinct(previousOrderProposals#22199507), parentItems, parentItems#22199506) AS orderProposal#22199532]"];
16 [id="node16" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 2135405.0: task 5795438))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#22197470, orderProposalId#22198140L], functions=[max(originalReplenishmentRunId#22199438L), max(supplierGroup#22199439), max(supplier#22199440), max(supplyingPlant#22199441), max(orderDateTime#22199442), collect_list(itemGroup#22199499, 0, 0), collect_list(parentItems#22199443, 0, 0), collect_set(previousOrderProposals#22199445, 0, 0)])"];
17 [id="node17" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(shardId#22197470, orderProposalId#22198140L, 30), ENSURE_REQUIREMENTS, [plan_id=6645508]"];
18 [id="node18" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 2135404.0: task 5795414))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#22197470, orderProposalId#22198140L], functions=[partial_max(originalReplenishmentRunId#22199438L), partial_max(supplierGroup#22199439), partial_max(supplier#22199440), partial_max(supplyingPlant#22199441), partial_max(orderDateTime#22199442), partial_collect_list(itemGroup#22199499, 0, 0), partial_collect_list(parentItems#22199443, 0, 0), partial_collect_set(previousOrderProposals#22199445, 0, 0)])"];
19 [id="node19" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 2135404.0: task 5795414))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#22197470, orderProposalId#22198140L, splitIndicator#22198145L, orderProposalItemGroupId#22198142], functions=[max(originalReplenishmentRunId#22198143L), max(supplierGroup#22198150), max(supplier#22198151), max(supplyingPlant#22198181), max(orderDateTime#22198158), collect_list(parentItem#22199390, 0, 0), collect_set(previousOrderProposal#22198146L, 0, 0), collect_list(item#22199421, 0, 0)])"];
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(shardId#22197470, orderProposalId#22198140L, splitIndicator#22198145L, orderProposalItemGroupId#22198142, 30), ENSURE_REQUIREMENTS, [plan_id=6645505]"];
21 [id="node21" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build total (min, med, max (stageId: taskId))<br>276 ms (6 ms, 8 ms, 26 ms (stage 2135403.0: task 5795389))<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#22197470, orderProposalId#22198140L, splitIndicator#22198145L, orderProposalItemGroupId#22198142], functions=[partial_max(originalReplenishmentRunId#22198143L), partial_max(supplierGroup#22198150), partial_max(supplier#22198151), partial_max(supplyingPlant#22198181), partial_max(orderDateTime#22198158), partial_collect_list(parentItem#22199390, 0, 0), partial_collect_set(previousOrderProposal#22198146L, 0, 0), partial_collect_list(item#22199421, 0, 0)])"];
22 [id="node22" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, orderDateTime#22198158, splitIndicator#22198145L, orderProposalItemGroupId#22198142, previousOrderProposal#22198146L, parentItem#22199390, struct(itemId, orderProposalItemId#22198141, supplier, supplier#22198151, supplyingPlant, supplyingPlant#22198181, productGroup, productGroup#22198182, product, product#22198153, plant, plant#22198154, supplierSubRange, subrange#22198152, deliveryDateTime, deliveryDateTime#22198159, orderQuantity, coalesce((qty#22197984 * (cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73358#22199424.isOrderUnit, lambda x_73358#22199424, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73358#22199425.isOrderUnit, lambda x_73358#22199425, false)), 1, None, false).numerator as double))), qty#22197984), orderQuantityUom, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73358#22199426.isOrderUnit, lambda x_73358#22199426, false)), 1, None, false).uom, orderQuantityBaseUom#22198163), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73358#22199427.isOrderUnit, lambda x_73358#22199427, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#22198164), orderQuantityInBaseUnit, qty#22197984, orderQuantityBaseUom, ... 13 more fields) AS item#22199421]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, qty#22197984, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, productGroup#22198182, product#22198153, plant#22198154, subrange#22198152, orderDateTime#22198158, deliveryDateTime#22198159, logisticUnits#22198177, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, splitIndicator#22198145L, orderProposalItemId#22198141, orderProposalItemGroupId#22198142, previousOrderProposal#22198146L, struct(itemId, orderProposalItemId#22198141, itemGroupId, orderProposalItemGroupId#22198142, supplier, supplier#22198151, supplyingPlant, supplyingPlant#22198181, productGroup, productGroup#22198182, product, product#22198153, plant, plant#22198154, supplierSubRange, subrange#22198152, sourceOfSupplyUuid, sourceOfSupplyUuid#22198149, deliveryDateTime, deliveryDateTime#22198159, unitPrice, netPriceAmount#22198168, unitPriceCurrency, netPriceCurrencyCode#22198169, unitPriceQuantity, ... 37 more fields) AS parentItem#22199390]"];
24 [id="node24" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, qty#22197984, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, productGroup#22198182, product#22198153, plant#22198154, subrange#22198152, orderDateTime#22198158, deliveryDateTime#22198159, availabilityDateTime#22198160, nextAvailabilityDateTime#22198161, logisticUnits#22198177, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, splitIndicator#22198145L, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, sourceOfSupplyUuid#22198149, ... 12 more fields]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (42 ms, 66 ms, 167 ms (stage 2135403.0: task 5795363))";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, productGroup#22198182, product#22198153, plant#22198154, subrange#22198152, orderDateTime#22198158, deliveryDateTime#22198159, availabilityDateTime#22198160, nextAvailabilityDateTime#22198161, logisticUnits#22198177, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, splitIndicator#22198145L, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, ... 11 more fields]"];
27 [id="node27" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT (isFallbackOrderOnly#22198162 <=> true)"];
}
28 [id="node28" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 51,793" tooltip="InMemoryTableScan [availabilityDateTime#22198160, channelStreamSpecificKpis#22198754, constraintLabels#22198172, constraintOperators#22198173, constraintValues#22198175, deliveryDateTime#22198159, isFallbackOrderOnly#22198162, logisticUnits#22198177, measurements#22198170, minimumOrderQuantity#22198171, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, nextAvailabilityDateTime#22198161, optimizationGroups#22198178, orderDateTime#22198158, orderProposalId#22198140L, orderProposalItemGroupId#22198142, orderProposalItemId#22198141, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, originalReplenishmentRunId#22198143L, plant#22198154, ... 14 more fields], [NOT (isFallbackOrderOnly#22198162 <=> true)]"];
subgraph cluster29 {
isCluster="true";
id="cluster29";
label="WholeStageCodegen (15)\n \nduration: total (min, med, max (stageId: taskId))\n5.5 s (105 ms, 173 ms, 296 ms (stage 2135403.0: task 5795365))";
tooltip="WholeStageCodegen (15)";
30 [id="node30" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, ... 17 more fields]"];
31 [id="node31" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 51,793<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135403.0: task 5795365))" tooltip="SortMergeJoin [shardId#22197470, worklistShardItemId#22197982L], [shardId#22198761, worklistShardItemId#22198762L], LeftOuter"];
}
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (12)\n \nduration: total (min, med, max (stageId: taskId))\n7.0 s (132 ms, 194 ms, 495 ms (stage 2135403.0: task 5795365))";
tooltip="WholeStageCodegen (12)";
33 [id="node33" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, ... 16 more fields]"];
34 [id="node34" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 51,793<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135403.0: task 5795365))" tooltip="SortMergeJoin [shardId#22197470, worklistShardItemId#22197982L], [shardId#22198748, worklistShardItemId#22198749L], LeftOuter"];
}
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n8.5 s (188 ms, 212 ms, 697 ms (stage 2135403.0: task 5795365))";
tooltip="WholeStageCodegen (9)";
36 [id="node36" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, ... 15 more fields]"];
37 [id="node37" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 51,793<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135403.0: task 5795365))" tooltip="SortMergeJoin [shardId#22197470, worklistShardItemId#22197982L], [shardId#22198732, worklistShardItemId#22198733L], LeftOuter"];
}
subgraph cluster38 {
isCluster="true";
id="cluster38";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n9.1 s (190 ms, 214 ms, 808 ms (stage 2135403.0: task 5795365))";
tooltip="WholeStageCodegen (6)";
39 [id="node39" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>2 ms (0 ms, 0 ms, 1 ms (stage 2135403.0: task 5795362))<br>peak memory total (min, med, max (stageId: taskId))<br>93.9 MiB (2.1 MiB, 4.1 MiB, 4.1 MiB (stage 2135403.0: task 5795363))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135403.0: task 5795365))" tooltip="Sort [shardId#22197470 ASC NULLS FIRST, worklistShardItemId#22197982L ASC NULLS FIRST], false, 0"];
}
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 51,793<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 51,793<br>local bytes read total (min, med, max (stageId: taskId))<br>11.9 MiB (382.8 KiB, 408.0 KiB, 420.5 KiB (stage 2135403.0: task 5795380))<br>merged fetch fallback count: 0<br>local blocks read: 900<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>59.7 MiB (1931.1 KiB, 2.0 MiB, 2.1 MiB (stage 2135402.0: task 5795359))<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>81 ms (1 ms, 2 ms, 10 ms (stage 2135402.0: task 5795333))<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 2135403.0: task 5795365))<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>11.9 MiB (383.7 KiB, 407.3 KiB, 418.8 KiB (stage 2135402.0: task 5795360))" tooltip="Exchange hashpartitioning(shardId#22197470, worklistShardItemId#22197982L, 30), ENSURE_REQUIREMENTS, [plan_id=6645220]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (26 ms, 40 ms, 68 ms (stage 2135402.0: task 5795348))";
tooltip="WholeStageCodegen (5)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, ... 14 more fields]"];
43 [id="node43" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 51,793<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135402.0: task 5795323))" tooltip="SortMergeJoin [worklistShardItemId#22197982L], [worklistShardItemId#22198206L], LeftOuter, (shardId#22197470 = 0_7_10000000553)"];
}
subgraph cluster44 {
isCluster="true";
id="cluster44";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.6 s (26 ms, 46 ms, 111 ms (stage 2135402.0: task 5795326))";
tooltip="WholeStageCodegen (2)";
45 [id="node45" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 2135402.0: task 5795323))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 2135402.0: task 5795323))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135402.0: task 5795323))" tooltip="Sort [worklistShardItemId#22197982L ASC NULLS FIRST], false, 0"];
}
46 [id="node46" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 51,793<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 51,793<br>local bytes read total (min, med, max (stageId: taskId))<br>91.7 KiB (2.9 KiB, 3.1 KiB, 3.5 KiB (stage 2135402.0: task 5795359))<br>merged fetch fallback count: 0<br>local blocks read: 210<br>remote merged chunks fetched: 0<br>remote blocks read: 690<br>data size total (min, med, max (stageId: taskId))<br>2.8 MiB (87.9 KiB, 93.8 KiB, 103.2 KiB (stage 2135397.0: task 5795136))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>46 ms (1 ms, 1 ms, 2 ms (stage 2135397.0: task 5795123))<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>34 ms (0 ms, 0 ms, 20 ms (stage 2135402.0: task 5795349))<br>remote bytes read total (min, med, max (stageId: taskId))<br>298.5 KiB (9.5 KiB, 10.0 KiB, 10.3 KiB (stage 2135402.0: task 5795345))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>676 ms (10 ms, 18 ms, 54 ms (stage 2135402.0: task 5795349))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>390.3 KiB (12.4 KiB, 13.0 KiB, 13.9 KiB (stage 2135397.0: task 5795136))" tooltip="Exchange hashpartitioning(worklistShardItemId#22197982L, 30), ENSURE_REQUIREMENTS, [plan_id=6645201]"];
subgraph cluster47 {
isCluster="true";
id="cluster47";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n183 ms (3 ms, 5 ms, 17 ms (stage 2135397.0: task 5795148))";
tooltip="WholeStageCodegen (1)";
48 [id="node48" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22197470, item#22197981.worklistShardItemId AS worklistShardItemId#22197982L, item#22197981.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#22197983, item#22197981.qty AS qty#22197984]"];
49 [id="node49" labelType="html" label="<b>Generate</b><br><br>number of output rows: 51,793" tooltip="Generate explode(items#22197472), [shardId#22197470], false, [item#22197981]"];
50 [id="node50" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,023" tooltip="Filter ((size(items#22197472, true) > 0) AND isnotnull(items#22197472))"];
}
51 [id="node51" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,023" tooltip="InMemoryTableScan [shardId#22197470, items#22197472], [(size(items#22197472, true) > 0), isnotnull(items#22197472)]"];
subgraph cluster52 {
isCluster="true";
id="cluster52";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
53 [id="node53" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))"];
}
54 [id="node54" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476], [isnotnull(shardId#22197470), (shardId#22197470 = 0_7_10000000553)]"];
subgraph cluster55 {
isCluster="true";
id="cluster55";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
56 [id="node56" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))"];
57 [id="node57" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#22197470,orderProposalId#22197471L,items#22197472,optimizationGroups#22197473,isOptimal#22197474,lastModified#22197475,optimizationInsights#22197476]"];
}
subgraph cluster58 {
isCluster="true";
id="cluster58";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.5 s (26 ms, 45 ms, 79 ms (stage 2135402.0: task 5795326))";
tooltip="WholeStageCodegen (4)";
59 [id="node59" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 2135402.0: task 5795323))<br>peak memory total (min, med, max (stageId: taskId))<br>63.9 MiB (2.1 MiB, 2.1 MiB, 4.1 MiB (stage 2135402.0: task 5795359))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135402.0: task 5795323))" tooltip="Sort [worklistShardItemId#22198206L ASC NULLS FIRST], false, 0"];
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#22198206L, orderProposalId#22198183L, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, originalReplenishmentRunId#22198225L, splitIndicator#22198202L, previousOrderProposal#22198203L, sourceOfSupplyUuid#22198197, supplierGroup#22198185, supplier#22198186, subrange#22198189, product#22198192, plant#22198187, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, isFallbackOrderOnly#22198200, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, netPriceAmount#22198219, netPriceCurrencyCode#22198220, ... 11 more fields]"];
}
61 [id="node61" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 51,793<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 51,793<br>local bytes read total (min, med, max (stageId: taskId))<br>1837.3 KiB (54.8 KiB, 61.4 KiB, 71.1 KiB (stage 2135402.0: task 5795359))<br>merged fetch fallback count: 0<br>local blocks read: 180<br>remote merged chunks fetched: 0<br>remote blocks read: 930<br>data size total (min, med, max (stageId: taskId))<br>57.8 MiB (1505.3 KiB, 1606.4 KiB, 1687.0 KiB (stage 2135398.0: task 5795107))<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>82 ms (1 ms, 2 ms, 4 ms (stage 2135398.0: task 5795271))<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 2135402.0: task 5795323))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.3 MiB (301.8 KiB, 320.1 KiB, 334.4 KiB (stage 2135402.0: task 5795345))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>841 ms (14 ms, 22 ms, 120 ms (stage 2135402.0: task 5795349))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>11.1 MiB (290.4 KiB, 308.6 KiB, 324.4 KiB (stage 2135398.0: task 5795107))" tooltip="Exchange hashpartitioning(worklistShardItemId#22198206L, 30), REPARTITION_BY_NUM, [plan_id=6645211]"];
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.5 s (101 ms, 152 ms, 302 ms (stage 2135398.0: task 5795254))";
tooltip="WholeStageCodegen (3)";
63 [id="node63" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#22198183L, orderProposalItemId#22198184, supplierGroup#22198185, supplier#22198186, plant#22198187, deliveryDateTime#22198188, subrange#22198189, supplyingPlant#22198190, productGroup#22198191, product#22198192, orderDateTime#22198193, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, sourceOfSupplyUuid#22198197, isFallbackOrderOnly#22198200, splitIndicator#22198202L, previousOrderProposal#22198203L, worklistShardItemId#22198206L, orderProposalItemGroupId#22198207, externalProductId#22198208, externalPlantId#22198209, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, minimumOrderQuantity#22198213, ... 11 more fields]"];
64 [id="node64" labelType="html" label="<b>Filter</b><br><br>number of output rows: 51,793" tooltip="Filter isnotnull(worklistShardItemId#22198206L)"];
65 [id="node65" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 51,793<br>number of input batches: 37" tooltip="ColumnarToRow"];
}
66 [id="node66" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>4.5 s (92 ms, 120 ms, 165 ms (stage 2135398.0: task 5795102))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 7.4 MiB<br>number of output rows: 51,793<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#22198183L,orderProposalItemId#22198184,supplierGroup#22198185,supplier#22198186,plant#22198187,deliveryDateTime#22198188,subrange#22198189,supplyingPlant#22198190,productGroup#22198191,product#22198192,orderDateTime#22198193,availabilityDateTime#22198194,nextAvailabilityDateTime#22198195,sourceOfSupplyUuid#22198197,isFallbackOrderOnly#22198200,splitIndicator#22198202L,previousOrderProposal#22198203L,worklistShardItemId#22198206L,orderProposalItemGroupId#22198207,externalProductId#22198208,externalPlantId#22198209,logisticUnits#22198210,orderQuantityBaseUom#22198211,orderQuantityBaseUomUuid#22198212,minimumOrderQuantity#22198213,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#22198206L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#22198227), isnotnull(sequenceId#22198205), (shardId#22198227 = 0_7_10000000553..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster67 {
isCluster="true";
id="cluster67";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n4.4 s (93 ms, 105 ms, 379 ms (stage 2135403.0: task 5795365))";
tooltip="WholeStageCodegen (8)";
68 [id="node68" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>67 ms (0 ms, 0 ms, 28 ms (stage 2135403.0: task 5795379))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 2135403.0: task 5795365))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135403.0: task 5795365))" tooltip="Sort [shardId#22198732 ASC NULLS FIRST, worklistShardItemId#22198733L ASC NULLS FIRST], false, 0"];
}
69 [id="node69" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 51,793<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 51,793<br>local bytes read total (min, med, max (stageId: taskId))<br>164.8 KiB (4.8 KiB, 5.6 KiB, 6.9 KiB (stage 2135403.0: task 5795369))<br>merged fetch fallback count: 0<br>local blocks read: 90<br>remote merged chunks fetched: 0<br>remote blocks read: 810<br>data size total (min, med, max (stageId: taskId))<br>52.9 MiB (1682.3 KiB, 1811.1 KiB, 1875.0 KiB (stage 2135401.0: task 5795157))<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>50 ms (1 ms, 1 ms, 2 ms (stage 2135401.0: task 5795210))<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 2135403.0: task 5795365))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1491.4 KiB (47.5 KiB, 50.0 KiB, 52.3 KiB (stage 2135403.0: task 5795380))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>559 ms (11 ms, 17 ms, 27 ms (stage 2135403.0: task 5795371))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1656.2 KiB (51.2 KiB, 55.4 KiB, 57.7 KiB (stage 2135401.0: task 5795110))" tooltip="Exchange hashpartitioning(shardId#22198732, worklistShardItemId#22198733L, 30), ENSURE_REQUIREMENTS, [plan_id=6645226]"];
subgraph cluster70 {
isCluster="true";
id="cluster70";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (71 ms, 82 ms, 117 ms (stage 2135401.0: task 5795165))";
tooltip="WholeStageCodegen (7)";
71 [id="node71" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22198732, worklistShardItemId#22198733L, coalesce(kpis#22198737, []) AS prodLocSpecificKpis#22198738]"];
72 [id="node72" labelType="html" label="<b>Filter</b><br><br>number of output rows: 51,793" tooltip="Filter (((isnull(qty#22198734) AND isnull(demandChannel#22198735)) AND isnull(demandStream#22198736)) AND (isnotnull(shardId#22198732) AND isnotnull(worklistShardItemId#22198733L)))"];
73 [id="node73" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 207,172" tooltip="Scan ExistingRDD[shardId#22198732,worklistShardItemId#22198733L,qty#22198734,demandChannel#22198735,demandStream#22198736,kpis#22198737]"];
}
subgraph cluster74 {
isCluster="true";
id="cluster74";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n3.7 s (65 ms, 96 ms, 301 ms (stage 2135403.0: task 5795365))";
tooltip="WholeStageCodegen (11)";
75 [id="node75" 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 2135403.0: task 5795365))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 2135403.0: task 5795365))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135403.0: task 5795365))" tooltip="Sort [shardId#22198748 ASC NULLS FIRST, worklistShardItemId#22198749L ASC NULLS FIRST], false, 0"];
}
76 [id="node76" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 51,793<br>time in aggregation build total (min, med, max (stageId: taskId))<br>371 ms (6 ms, 7 ms, 40 ms (stage 2135403.0: task 5795381))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135403.0: task 5795365))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#22198748, worklistShardItemId#22198749L], functions=[collect_list(struct(demandChannel, demandChannel#22198751, demandStream, demandStream#22198752, kpis, kpis#22198753), 0, 0)])"];
77 [id="node77" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 51,793<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 51,793<br>local bytes read total (min, med, max (stageId: taskId))<br>42.8 KiB (1281.0 B, 1484.0 B, 1596.0 B (stage 2135403.0: task 5795362))<br>merged fetch fallback count: 0<br>local blocks read: 60<br>remote merged chunks fetched: 0<br>remote blocks read: 840<br>data size total (min, med, max (stageId: taskId))<br>20.5 MiB (662.6 KiB, 705.3 KiB, 738.6 KiB (stage 2135400.0: task 5795217))<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>67 ms (1 ms, 1 ms, 16 ms (stage 2135400.0: task 5795083))<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 2135403.0: task 5795365))<br>remote bytes read total (min, med, max (stageId: taskId))<br>611.0 KiB (19.6 KiB, 20.5 KiB, 20.9 KiB (stage 2135403.0: task 5795380))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>584 ms (12 ms, 20 ms, 29 ms (stage 2135403.0: task 5795371))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>653.8 KiB (21.1 KiB, 21.9 KiB, 22.4 KiB (stage 2135400.0: task 5795217))" tooltip="Exchange hashpartitioning(shardId#22198748, worklistShardItemId#22198749L, 30), ENSURE_REQUIREMENTS, [plan_id=6645237]"];
78 [id="node78" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 51,793<br>time in aggregation build total (min, med, max (stageId: taskId))<br>5.7 s (61 ms, 180 ms, 403 ms (stage 2135400.0: task 5795080))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135400.0: task 5795091))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#22198748, worklistShardItemId#22198749L], functions=[partial_collect_list(struct(demandChannel, demandChannel#22198751, demandStream, demandStream#22198752, kpis, kpis#22198753), 0, 0)])"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (10)\n \nduration: total (min, med, max (stageId: taskId))\n5.6 s (60 ms, 179 ms, 402 ms (stage 2135400.0: task 5795080))";
tooltip="WholeStageCodegen (10)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22198748, worklistShardItemId#22198749L, demandChannel#22198751, demandStream#22198752, kpis#22198753]"];
81 [id="node81" labelType="html" label="<b>Filter</b><br><br>number of output rows: 51,793" tooltip="Filter ((((isnull(qty#22198750) AND isnotnull(demandChannel#22198751)) AND isnotnull(demandStream#22198752)) AND (size(kpis#22198753, true) > 0)) AND (isnotnull(shardId#22198748) AND isnotnull(worklistShardItemId#22198749L)))"];
82 [id="node82" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 207,172" tooltip="Scan ExistingRDD[shardId#22198748,worklistShardItemId#22198749L,qty#22198750,demandChannel#22198751,demandStream#22198752,kpis#22198753]"];
}
subgraph cluster83 {
isCluster="true";
id="cluster83";
label="WholeStageCodegen (14)\n \nduration: total (min, med, max (stageId: taskId))\n2.9 s (52 ms, 85 ms, 186 ms (stage 2135403.0: task 5795365))";
tooltip="WholeStageCodegen (14)";
84 [id="node84" 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 2135403.0: task 5795365))<br>peak memory total (min, med, max (stageId: taskId))<br>63.9 MiB (2.1 MiB, 2.1 MiB, 4.1 MiB (stage 2135403.0: task 5795380))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135403.0: task 5795365))" tooltip="Sort [shardId#22198761 ASC NULLS FIRST, worklistShardItemId#22198762L ASC NULLS FIRST], false, 0"];
}
85 [id="node85" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 51,793<br>time in aggregation build total (min, med, max (stageId: taskId))<br>448 ms (7 ms, 9 ms, 42 ms (stage 2135403.0: task 5795365))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135403.0: task 5795365))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#22198761, worklistShardItemId#22198762L], functions=[collect_list(struct(qty, qty#22198763, kpis, kpis#22198766), 0, 0)])"];
86 [id="node86" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 101,894<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 101,894<br>local bytes read total (min, med, max (stageId: taskId))<br>223.0 KiB (6.8 KiB, 7.5 KiB, 8.0 KiB (stage 2135403.0: task 5795374))<br>merged fetch fallback count: 0<br>local blocks read: 90<br>remote merged chunks fetched: 0<br>remote blocks read: 810<br>data size total (min, med, max (stageId: taskId))<br>63.1 MiB (2.0 MiB, 2.1 MiB, 2.2 MiB (stage 2135399.0: task 5795073))<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>53 ms (1 ms, 1 ms, 2 ms (stage 2135399.0: task 5795076))<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 2135403.0: task 5795365))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1989.1 KiB (63.5 KiB, 66.7 KiB, 68.7 KiB (stage 2135403.0: task 5795377))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>647 ms (11 ms, 16 ms, 50 ms (stage 2135403.0: task 5795365))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.2 MiB (71.9 KiB, 73.9 KiB, 75.0 KiB (stage 2135399.0: task 5795073))" tooltip="Exchange hashpartitioning(shardId#22198761, worklistShardItemId#22198762L, 30), ENSURE_REQUIREMENTS, [plan_id=6645249]"];
87 [id="node87" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 101,894<br>time in aggregation build total (min, med, max (stageId: taskId))<br>8.2 s (105 ms, 292 ms, 401 ms (stage 2135399.0: task 5795052))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135399.0: task 5795071))<br>number of sort fallback tasks: 30" tooltip="ObjectHashAggregate(keys=[shardId#22198761, worklistShardItemId#22198762L], functions=[partial_collect_list(struct(qty, qty#22198763, kpis, kpis#22198766), 0, 0)])"];
subgraph cluster88 {
isCluster="true";
id="cluster88";
label="WholeStageCodegen (13)\n \nduration: total (min, med, max (stageId: taskId))\n8.0 s (103 ms, 276 ms, 399 ms (stage 2135399.0: task 5795052))";
tooltip="WholeStageCodegen (13)";
89 [id="node89" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22198761, worklistShardItemId#22198762L, qty#22198763, kpis#22198766]"];
90 [id="node90" labelType="html" label="<b>Filter</b><br><br>number of output rows: 103,586" tooltip="Filter ((isnotnull(qty#22198763) AND isnotnull(kpis#22198766)) AND (isnotnull(shardId#22198761) AND isnotnull(worklistShardItemId#22198762L)))"];
91 [id="node91" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 207,172" tooltip="Scan ExistingRDD[shardId#22198761,worklistShardItemId#22198762L,qty#22198763,demandChannel#22198764,demandStream#22198765,kpis#22198766]"];
}
subgraph cluster92 {
isCluster="true";
id="cluster92";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n8.9 s (156 ms, 190 ms, 615 ms (stage 2135407.0: task 5795466))";
tooltip="WholeStageCodegen (9)";
93 [id="node93" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 2135407.0: task 5795479))<br>peak memory total (min, med, max (stageId: taskId))<br>1920.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 2135407.0: task 5795479))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135407.0: task 5795479))" tooltip="Sort [coalesce(shardId#22199547, ) ASC NULLS FIRST, isnull(shardId#22199547) ASC NULLS FIRST, coalesce(orderProposalId#22199548L, 0) ASC NULLS FIRST, isnull(orderProposalId#22199548L) ASC NULLS FIRST], false, 0"];
}
94 [id="node94" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(coalesce(shardId#22199547, ), isnull(shardId#22199547), coalesce(orderProposalId#22199548L, 0), isnull(orderProposalId#22199548L), 30), ENSURE_REQUIREMENTS, [plan_id=6645551]"];
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#22199548L, shardId#22199547, coalesce(transform(optimizationGroups#22199550, lambdafunction(struct(optGroupId, lambda x_73362#22199545.optGroupId, minOrderProfile, lambda x_73362#22199545.minOrderProfile, assignmentDetails, lambda x_73362#22199545.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_73362#22199545.minOrderGoal.dimensionType, unit, lambda x_73362#22199545.minOrderGoal.unit, unitUuid, lambda x_73362#22199545.minOrderGoal.unitUuid, goalValue, lambda x_73362#22199545.minOrderGoal.minOrderValue, calcValue, lambda x_73362#22199545.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_73362#22199545, false)), []) AS optimizationGroups#22199544]"];
subgraph cluster96 {
isCluster="true";
id="cluster96";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (3 ms, 47 ms, 171 ms (stage 2135406.0: task 5795321))";
tooltip="WholeStageCodegen (8)";
97 [id="node97" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135406.0: task 5795320))" tooltip="SortMergeJoin [orderProposalId#22199548L], [orderProposalId#22199603L], Inner"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (3)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (3)";
99 [id="node99" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 2135406.0: task 5795320))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 2135406.0: task 5795320))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135406.0: task 5795320))" tooltip="Sort [orderProposalId#22199548L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,023<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,023<br>local bytes read total (min, med, max (stageId: taskId))<br>16.1 KiB (141.0 B, 594.0 B, 883.0 B (stage 2135406.0: task 5795331))<br>merged fetch fallback count: 0<br>local blocks read: 134<br>remote merged chunks fetched: 0<br>remote blocks read: 478<br>data size total (min, med, max (stageId: taskId))<br>55.9 KiB (1792.0 B, 1904.0 B, 2.0 KiB (stage 2135395.0: task 5795178))<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>37 ms (0 ms, 1 ms, 2 ms (stage 2135395.0: task 5795129))<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 2135406.0: task 5795320))<br>remote bytes read total (min, med, max (stageId: taskId))<br>57.0 KiB (1100.0 B, 1959.0 B, 2.5 KiB (stage 2135406.0: task 5795321))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>371 ms (8 ms, 12 ms, 23 ms (stage 2135406.0: task 5795321))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>73.1 KiB (2.2 KiB, 2.4 KiB, 2.7 KiB (stage 2135395.0: task 5795178))" tooltip="Exchange hashpartitioning(orderProposalId#22199548L, 30), ENSURE_REQUIREMENTS, [plan_id=6645517]"];
subgraph cluster101 {
isCluster="true";
id="cluster101";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n763 ms (2 ms, 23 ms, 113 ms (stage 2135395.0: task 5795219))";
tooltip="WholeStageCodegen (2)";
102 [id="node102" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,023" tooltip="Filter isnotnull(orderProposalId#22199548L)"];
}
103 [id="node103" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,023" tooltip="InMemoryTableScan [shardId#22199547, orderProposalId#22199548L, optimizationGroups#22199550], [isnotnull(orderProposalId#22199548L)]"];
subgraph cluster104 {
isCluster="true";
id="cluster104";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
105 [id="node105" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))"];
}
106 [id="node106" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476], [isnotnull(shardId#22197470), (shardId#22197470 = 0_7_10000000553)]"];
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
108 [id="node108" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))"];
109 [id="node109" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#22197470,orderProposalId#22197471L,items#22197472,optimizationGroups#22197473,isOptimal#22197474,lastModified#22197475,optimizationInsights#22197476]"];
}
subgraph cluster110 {
isCluster="true";
id="cluster110";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n1.8 s (3 ms, 72 ms, 260 ms (stage 2135406.0: task 5795321))";
tooltip="WholeStageCodegen (7)";
111 [id="node111" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 2135406.0: task 5795320))<br>peak memory total (min, med, max (stageId: taskId))<br>1920.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 2135406.0: task 5795320))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2135406.0: task 5795320))" tooltip="Sort [orderProposalId#22199603L ASC NULLS FIRST], false, 0"];
112 [id="node112" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>5 ms (0 ms, 0 ms, 1 ms (stage 2135406.0: task 5795314))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 2135406.0: task 5795320))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#22199603L], functions=[])"];
}
113 [id="node113" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(orderProposalId#22199603L, 30), ENSURE_REQUIREMENTS, [plan_id=6645542]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (23 ms, 39 ms, 110 ms (stage 2135396.0: task 5795274))";
tooltip="WholeStageCodegen (6)";
115 [id="node115" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>7 ms (0 ms, 0 ms, 1 ms (stage 2135396.0: task 5795284))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 2135396.0: task 5795291))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#22199603L], functions=[])"];
116 [id="node116" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#22199603L]"];
117 [id="node117" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#22199555L], [worklistShardItemId#22199626L], Inner, BuildLeft, false"];
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#22199626L, orderProposalId#22199603L]"];
}
118 [id="node118" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 4 ms<br>time to build: 8 ms<br>time to collect: 263 ms<br>number of output rows: 51,793<br>data size: 4.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=6645528]"];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n119 ms (2 ms, 3 ms, 7 ms (stage 2135292.0: task 5795020))";
tooltip="WholeStageCodegen (4)";
120 [id="node120" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#22199554L AS worklistShardItemId#22199555L]"];
121 [id="node121" labelType="html" label="<b>Generate</b><br><br>number of output rows: 51,793" tooltip="Generate explode(_extract_worklistShardItemId#22200195), false, [item#22199554L]"];
122 [id="node122" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#22199176.worklistShardItemId AS _extract_worklistShardItemId#22200195]"];
123 [id="node123" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,023" tooltip="Filter (((size(items#22199176.worklistShardItemId, true) > 0) AND isnotnull(items#22199176.worklistShardItemId)) AND (shardId#22199174 = 0_7_10000000553))"];
}
124 [id="node124" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,023" tooltip="InMemoryTableScan [items#22199176, shardId#22199174], [(size(items#22199176.worklistShardItemId, true) > 0), isnotnull(items#22199176.worklistShardItemId), (shardId#22199174 = 0_7_10000000553)]"];
subgraph cluster125 {
isCluster="true";
id="cluster125";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
126 [id="node126" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))"];
}
127 [id="node127" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476], [isnotnull(shardId#22197470), (shardId#22197470 = 0_7_10000000553)]"];
subgraph cluster128 {
isCluster="true";
id="cluster128";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
129 [id="node129" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))"];
130 [id="node130" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#22197470,orderProposalId#22197471L,items#22197472,optimizationGroups#22197473,isOptimal#22197474,lastModified#22197475,optimizationInsights#22197476]"];
}
132 [id="node132" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="Exchange hashpartitioning(worklistShardItemId#22199626L, 30), REPARTITION_BY_NUM, [plan_id=6645535]"];
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n3.0 s (58 ms, 76 ms, 134 ms (stage 2135293.0: task 5795173))";
tooltip="WholeStageCodegen (5)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#22199603L, worklistShardItemId#22199626L]"];
135 [id="node135" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(worklistShardItemId#22199626L) AND NOT (isFallbackOrderOnly#22199620 <=> true)) AND isnotnull(orderProposalId#22199603L))"];
136 [id="node136" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
137 [id="node137" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>2.9 s (58 ms, 75 ms, 129 ms (stage 2135293.0: task 5795173))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 7.4 MiB<br>number of output rows: 0<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#22199603L,isFallbackOrderOnly#22199620,worklistShardItemId#22199626L,shardId#22199647,sequenceId#22199625] Batched: true, DataFilters: [isnotnull(worklistShardItemId#22199626L), NOT (isFallbackOrderOnly#22199620 <=> true), isnotnull..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#22199647), isnotnull(sequenceId#22199625), (shardId#22199647 = 0_7_10000000553..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
9->8;
10->9;
11->10;
12->11;
13->12;
14->13;
15->14;
16->15;
17->16;
18->17;
19->18;
20->19;
21->20;
22->21;
23->22;
24->23;
26->24;
27->26;
28->27;
30->28;
31->30;
33->31;
34->33;
36->34;
37->36;
39->37;
40->39;
42->40;
43->42;
45->43;
46->45;
48->46;
49->48;
50->49;
51->50;
53->51;
54->53;
56->54;
57->56;
59->43;
60->59;
61->60;
63->61;
64->63;
65->64;
66->65;
68->37;
69->68;
71->69;
72->71;
73->72;
75->34;
76->75;
77->76;
78->77;
80->78;
81->80;
82->81;
84->31;
85->84;
86->85;
87->86;
89->87;
90->89;
91->90;
93->11;
94->93;
95->94;
97->95;
99->97;
100->99;
102->100;
103->102;
105->103;
106->105;
108->106;
109->108;
111->97;
112->111;
113->112;
115->113;
116->115;
117->116;
118->117;
120->118;
121->120;
122->121;
123->122;
124->123;
126->124;
127->126;
129->127;
130->129;
131->117;
132->131;
134->132;
135->134;
136->135;
137->136;
}
== Physical Plan ==
* HashAggregate (104)
+- Exchange (103)
+- * HashAggregate (102)
+- * Project (101)
+- * Generate (100)
+- Project (99)
+- Filter (98)
+- InMemoryTableScan (1)
+- InMemoryRelation (2)
+- Project (97)
+- SortMergeJoin LeftOuter (96)
:- Sort (67)
: +- Exchange (66)
: +- Project (65)
: +- Project (64)
: +- ObjectHashAggregate (63)
: +- Exchange (62)
: +- ObjectHashAggregate (61)
: +- ObjectHashAggregate (60)
: +- Exchange (59)
: +- ObjectHashAggregate (58)
: +- Project (57)
: +- Project (56)
: +- Project (55)
: +- * Project (54)
: +- * Filter (53)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Project (52)
: +- * SortMergeJoin LeftOuter (51)
: :- * Project (43)
: : +- * SortMergeJoin LeftOuter (42)
: : :- * Project (34)
: : : +- * SortMergeJoin LeftOuter (33)
: : : :- * Sort (27)
: : : : +- Exchange (26)
: : : : +- * Project (25)
: : : : +- * SortMergeJoin LeftOuter (24)
: : : : :- * Sort (16)
: : : : : +- Exchange (15)
: : : : : +- * Project (14)
: : : : : +- * Generate (13)
: : : : : +- * Filter (12)
: : : : : +- InMemoryTableScan (5)
: : : : : +- InMemoryRelation (6)
: : : : : +- * Filter (11)
: : : : : +- InMemoryTableScan (7)
: : : : : +- InMemoryRelation (8)
: : : : : +- * Filter (10)
: : : : : +- * Scan ExistingRDD (9)
: : : : +- * Sort (23)
: : : : +- * Project (22)
: : : : +- Exchange (21)
: : : : +- * Project (20)
: : : : +- * Filter (19)
: : : : +- * ColumnarToRow (18)
: : : : +- Scan parquet (17)
: : : +- * Sort (32)
: : : +- Exchange (31)
: : : +- * Project (30)
: : : +- * Filter (29)
: : : +- * Scan ExistingRDD (28)
: : +- * Sort (41)
: : +- ObjectHashAggregate (40)
: : +- Exchange (39)
: : +- ObjectHashAggregate (38)
: : +- * Project (37)
: : +- * Filter (36)
: : +- * Scan ExistingRDD (35)
: +- * Sort (50)
: +- ObjectHashAggregate (49)
: +- Exchange (48)
: +- ObjectHashAggregate (47)
: +- * Project (46)
: +- * Filter (45)
: +- * Scan ExistingRDD (44)
+- * Sort (95)
+- Exchange (94)
+- Project (93)
+- * SortMergeJoin Inner (92)
:- * Sort (72)
: +- Exchange (71)
: +- * Filter (70)
: +- InMemoryTableScan (68)
: +- InMemoryRelation (69)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Sort (91)
+- * HashAggregate (90)
+- Exchange (89)
+- * HashAggregate (88)
+- * Project (87)
+- * BroadcastHashJoin Inner BuildLeft (86)
:- BroadcastExchange (79)
: +- * Project (78)
: +- * Generate (77)
: +- * Project (76)
: +- * Filter (75)
: +- InMemoryTableScan (73)
: +- InMemoryRelation (74)
: +- * Filter (11)
: +- InMemoryTableScan (7)
: +- InMemoryRelation (8)
: +- * Filter (10)
: +- * Scan ExistingRDD (9)
+- * Project (85)
+- Exchange (84)
+- * Project (83)
+- * Filter (82)
+- * ColumnarToRow (81)
+- Scan parquet (80)
(1) InMemoryTableScan
Output [1]: [orderProposal#22199651]
Arguments: [orderProposal#22199651], [(size(orderProposal#22199651.parentItems.deliveryDateTime, true) > 0)]
(2) InMemoryRelation
Arguments: [shardId#22197470, orderProposal#22199651], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [39]: [availabilityDateTime#22198160, channelStreamSpecificKpis#22198754, constraintLabels#22198172, constraintOperators#22198173, constraintValues#22198175, deliveryDateTime#22198159, isFallbackOrderOnly#22198162, logisticUnits#22198177, measurements#22198170, minimumOrderQuantity#22198171, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, nextAvailabilityDateTime#22198161, optimizationGroups#22198178, orderDateTime#22198158, orderProposalId#22198140L, orderProposalItemGroupId#22198142, orderProposalItemId#22198141, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, originalReplenishmentRunId#22198143L, plant#22198154, previousOrderProposal#22198146L, prodLocSpecificKpis#22198739, product#22198153, productGroup#22198182, qty#22197984, quantityAfterProdPlantOptimization#22197983, quantityKpis#22198767, shardId#22197470, sourceOfSupplyUuid#22198149, splitIndicator#22198145L, subrange#22198152, supplier#22198151, supplierGroup#22198150, supplyingPlant#22198181]
Arguments: [availabilityDateTime#22198160, channelStreamSpecificKpis#22198754, constraintLabels#22198172, constraintOperators#22198173, constraintValues#22198175, deliveryDateTime#22198159, isFallbackOrderOnly#22198162, logisticUnits#22198177, measurements#22198170, minimumOrderQuantity#22198171, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, nextAvailabilityDateTime#22198161, optimizationGroups#22198178, orderDateTime#22198158, orderProposalId#22198140L, orderProposalItemGroupId#22198142, orderProposalItemId#22198141, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, originalReplenishmentRunId#22198143L, plant#22198154, ... 14 more fields], [NOT (isFallbackOrderOnly#22198162 <=> true)]
(4) InMemoryRelation
Arguments: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, productGroup#22198182, product#22198153, plant#22198154, subrange#22198152, orderDateTime#22198158, deliveryDateTime#22198159, availabilityDateTime#22198160, nextAvailabilityDateTime#22198161, constraintValues#22198175, constraintOperators#22198173, constraintLabels#22198172, logisticUnits#22198177, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, splitIndicator#22198145L, netPriceAmount#22198168, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(5) InMemoryTableScan
Output [2]: [shardId#22197470, items#22197472]
Arguments: [shardId#22197470, items#22197472], [(size(items#22197472, true) > 0), isnotnull(items#22197472)]
(6) InMemoryRelation
Arguments: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476], StorageLevel(disk, memory, 2 replicas)
(7) InMemoryTableScan
Output [6]: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476]
Arguments: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476], [isnotnull(shardId#22197470), (shardId#22197470 = 0_7_10000000553)]
(8) InMemoryRelation
Arguments: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, lastModified#22197475, optimizationInsights#22197476], StorageLevel(disk, memory, 2 replicas)
(9) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, lastModified#22197475, optimizationInsights#22197476]
Arguments: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, lastModified#22197475, optimizationInsights#22197476], MapPartitionsRDD[943168] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(10) Filter [codegen id : 1]
Input [7]: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, lastModified#22197475, optimizationInsights#22197476]
Condition : (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))
(11) Filter [codegen id : 1]
Input [6]: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476]
Condition : (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))
(12) Filter [codegen id : 1]
Input [2]: [shardId#22197470, items#22197472]
Condition : ((size(items#22197472, true) > 0) AND isnotnull(items#22197472))
(13) Generate [codegen id : 1]
Input [2]: [shardId#22197470, items#22197472]
Arguments: explode(items#22197472), [shardId#22197470], false, [item#22197981]
(14) Project [codegen id : 1]
Output [4]: [shardId#22197470, item#22197981.worklistShardItemId AS worklistShardItemId#22197982L, item#22197981.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#22197983, item#22197981.qty AS qty#22197984]
Input [2]: [shardId#22197470, item#22197981]
(15) Exchange
Input [4]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984]
Arguments: hashpartitioning(worklistShardItemId#22197982L, 30), ENSURE_REQUIREMENTS, [plan_id=6645201]
(16) Sort [codegen id : 2]
Input [4]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984]
Arguments: [worklistShardItemId#22197982L ASC NULLS FIRST], false, 0
(17) Scan parquet
Output [38]: [orderProposalId#22198183L, orderProposalItemId#22198184, supplierGroup#22198185, supplier#22198186, plant#22198187, deliveryDateTime#22198188, subrange#22198189, supplyingPlant#22198190, productGroup#22198191, product#22198192, orderDateTime#22198193, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, sourceOfSupplyUuid#22198197, isFallbackOrderOnly#22198200, splitIndicator#22198202L, previousOrderProposal#22198203L, worklistShardItemId#22198206L, orderProposalItemGroupId#22198207, externalProductId#22198208, externalPlantId#22198209, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, minimumOrderQuantity#22198213, constraintLabels#22198214, constraintOperators#22198215, constraintValues#22198216, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, measurements#22198224, originalReplenishmentRunId#22198225L, optimizationGroups#22198226, shardId#22198227, sequenceId#22198205]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000553]
PartitionFilters: [isnotnull(shardId#22198227), isnotnull(sequenceId#22198205), (shardId#22198227 = 0_7_10000000553), (sequenceId#22198205 = 4)]
PushedFilters: [IsNotNull(worklistShardItemId)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,sourceOfSupplyUuid:string,isFallbackOrderOnly:boolean,splitIndicator:bigint,previousOrderProposal:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(18) ColumnarToRow [codegen id : 3]
Input [38]: [orderProposalId#22198183L, orderProposalItemId#22198184, supplierGroup#22198185, supplier#22198186, plant#22198187, deliveryDateTime#22198188, subrange#22198189, supplyingPlant#22198190, productGroup#22198191, product#22198192, orderDateTime#22198193, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, sourceOfSupplyUuid#22198197, isFallbackOrderOnly#22198200, splitIndicator#22198202L, previousOrderProposal#22198203L, worklistShardItemId#22198206L, orderProposalItemGroupId#22198207, externalProductId#22198208, externalPlantId#22198209, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, minimumOrderQuantity#22198213, constraintLabels#22198214, constraintOperators#22198215, constraintValues#22198216, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, measurements#22198224, originalReplenishmentRunId#22198225L, optimizationGroups#22198226, shardId#22198227, sequenceId#22198205]
(19) Filter [codegen id : 3]
Input [38]: [orderProposalId#22198183L, orderProposalItemId#22198184, supplierGroup#22198185, supplier#22198186, plant#22198187, deliveryDateTime#22198188, subrange#22198189, supplyingPlant#22198190, productGroup#22198191, product#22198192, orderDateTime#22198193, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, sourceOfSupplyUuid#22198197, isFallbackOrderOnly#22198200, splitIndicator#22198202L, previousOrderProposal#22198203L, worklistShardItemId#22198206L, orderProposalItemGroupId#22198207, externalProductId#22198208, externalPlantId#22198209, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, minimumOrderQuantity#22198213, constraintLabels#22198214, constraintOperators#22198215, constraintValues#22198216, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, measurements#22198224, originalReplenishmentRunId#22198225L, optimizationGroups#22198226, shardId#22198227, sequenceId#22198205]
Condition : isnotnull(worklistShardItemId#22198206L)
(20) Project [codegen id : 3]
Output [36]: [orderProposalId#22198183L, orderProposalItemId#22198184, supplierGroup#22198185, supplier#22198186, plant#22198187, deliveryDateTime#22198188, subrange#22198189, supplyingPlant#22198190, productGroup#22198191, product#22198192, orderDateTime#22198193, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, sourceOfSupplyUuid#22198197, isFallbackOrderOnly#22198200, splitIndicator#22198202L, previousOrderProposal#22198203L, worklistShardItemId#22198206L, orderProposalItemGroupId#22198207, externalProductId#22198208, externalPlantId#22198209, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, minimumOrderQuantity#22198213, constraintLabels#22198214, constraintOperators#22198215, constraintValues#22198216, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, measurements#22198224, originalReplenishmentRunId#22198225L, optimizationGroups#22198226]
Input [38]: [orderProposalId#22198183L, orderProposalItemId#22198184, supplierGroup#22198185, supplier#22198186, plant#22198187, deliveryDateTime#22198188, subrange#22198189, supplyingPlant#22198190, productGroup#22198191, product#22198192, orderDateTime#22198193, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, sourceOfSupplyUuid#22198197, isFallbackOrderOnly#22198200, splitIndicator#22198202L, previousOrderProposal#22198203L, worklistShardItemId#22198206L, orderProposalItemGroupId#22198207, externalProductId#22198208, externalPlantId#22198209, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, minimumOrderQuantity#22198213, constraintLabels#22198214, constraintOperators#22198215, constraintValues#22198216, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, measurements#22198224, originalReplenishmentRunId#22198225L, optimizationGroups#22198226, shardId#22198227, sequenceId#22198205]
(21) Exchange
Input [36]: [orderProposalId#22198183L, orderProposalItemId#22198184, supplierGroup#22198185, supplier#22198186, plant#22198187, deliveryDateTime#22198188, subrange#22198189, supplyingPlant#22198190, productGroup#22198191, product#22198192, orderDateTime#22198193, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, sourceOfSupplyUuid#22198197, isFallbackOrderOnly#22198200, splitIndicator#22198202L, previousOrderProposal#22198203L, worklistShardItemId#22198206L, orderProposalItemGroupId#22198207, externalProductId#22198208, externalPlantId#22198209, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, minimumOrderQuantity#22198213, constraintLabels#22198214, constraintOperators#22198215, constraintValues#22198216, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, measurements#22198224, originalReplenishmentRunId#22198225L, optimizationGroups#22198226]
Arguments: hashpartitioning(worklistShardItemId#22198206L, 30), REPARTITION_BY_NUM, [plan_id=6645211]
(22) Project [codegen id : 4]
Output [36]: [worklistShardItemId#22198206L, orderProposalId#22198183L, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, originalReplenishmentRunId#22198225L, splitIndicator#22198202L, previousOrderProposal#22198203L, sourceOfSupplyUuid#22198197, supplierGroup#22198185, supplier#22198186, subrange#22198189, product#22198192, plant#22198187, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, isFallbackOrderOnly#22198200, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, netPriceAmount#22198219, netPriceCurrencyCode#22198220, measurements#22198224, minimumOrderQuantity#22198213, constraintLabels#22198214, constraintOperators#22198215, constraintValues#22198216, logisticUnits#22198210, optimizationGroups#22198226, externalProductId#22198208, externalPlantId#22198209, supplyingPlant#22198190, productGroup#22198191]
Input [36]: [orderProposalId#22198183L, orderProposalItemId#22198184, supplierGroup#22198185, supplier#22198186, plant#22198187, deliveryDateTime#22198188, subrange#22198189, supplyingPlant#22198190, productGroup#22198191, product#22198192, orderDateTime#22198193, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, sourceOfSupplyUuid#22198197, isFallbackOrderOnly#22198200, splitIndicator#22198202L, previousOrderProposal#22198203L, worklistShardItemId#22198206L, orderProposalItemGroupId#22198207, externalProductId#22198208, externalPlantId#22198209, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, minimumOrderQuantity#22198213, constraintLabels#22198214, constraintOperators#22198215, constraintValues#22198216, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, measurements#22198224, originalReplenishmentRunId#22198225L, optimizationGroups#22198226]
(23) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#22198206L, orderProposalId#22198183L, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, originalReplenishmentRunId#22198225L, splitIndicator#22198202L, previousOrderProposal#22198203L, sourceOfSupplyUuid#22198197, supplierGroup#22198185, supplier#22198186, subrange#22198189, product#22198192, plant#22198187, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, isFallbackOrderOnly#22198200, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, netPriceAmount#22198219, netPriceCurrencyCode#22198220, measurements#22198224, minimumOrderQuantity#22198213, constraintLabels#22198214, constraintOperators#22198215, constraintValues#22198216, logisticUnits#22198210, optimizationGroups#22198226, externalProductId#22198208, externalPlantId#22198209, supplyingPlant#22198190, productGroup#22198191]
Arguments: [worklistShardItemId#22198206L ASC NULLS FIRST], false, 0
(24) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#22197982L]
Right keys [1]: [worklistShardItemId#22198206L]
Join type: LeftOuter
Join condition: (shardId#22197470 = 0_7_10000000553)
(25) Project [codegen id : 5]
Output [39]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, sourceOfSupplyUuid#22198197, minimumOrderQuantity#22198213, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, optimizationGroups#22198226, measurements#22198224, externalProductId#22198208, externalPlantId#22198209, previousOrderProposal#22198203L, isFallbackOrderOnly#22198200]
Input [40]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, worklistShardItemId#22198206L, orderProposalId#22198183L, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, originalReplenishmentRunId#22198225L, splitIndicator#22198202L, previousOrderProposal#22198203L, sourceOfSupplyUuid#22198197, supplierGroup#22198185, supplier#22198186, subrange#22198189, product#22198192, plant#22198187, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, isFallbackOrderOnly#22198200, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, netPriceAmount#22198219, netPriceCurrencyCode#22198220, measurements#22198224, minimumOrderQuantity#22198213, constraintLabels#22198214, constraintOperators#22198215, constraintValues#22198216, logisticUnits#22198210, optimizationGroups#22198226, externalProductId#22198208, externalPlantId#22198209, supplyingPlant#22198190, productGroup#22198191]
(26) Exchange
Input [39]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, sourceOfSupplyUuid#22198197, minimumOrderQuantity#22198213, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, optimizationGroups#22198226, measurements#22198224, externalProductId#22198208, externalPlantId#22198209, previousOrderProposal#22198203L, isFallbackOrderOnly#22198200]
Arguments: hashpartitioning(shardId#22197470, worklistShardItemId#22197982L, 30), ENSURE_REQUIREMENTS, [plan_id=6645220]
(27) Sort [codegen id : 6]
Input [39]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, sourceOfSupplyUuid#22198197, minimumOrderQuantity#22198213, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, optimizationGroups#22198226, measurements#22198224, externalProductId#22198208, externalPlantId#22198209, previousOrderProposal#22198203L, isFallbackOrderOnly#22198200]
Arguments: [shardId#22197470 ASC NULLS FIRST, worklistShardItemId#22197982L ASC NULLS FIRST], false, 0
(28) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#22198732, worklistShardItemId#22198733L, qty#22198734, demandChannel#22198735, demandStream#22198736, kpis#22198737]
Arguments: [shardId#22198732, worklistShardItemId#22198733L, qty#22198734, demandChannel#22198735, demandStream#22198736, kpis#22198737], MapPartitionsRDD[943232] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(29) Filter [codegen id : 7]
Input [6]: [shardId#22198732, worklistShardItemId#22198733L, qty#22198734, demandChannel#22198735, demandStream#22198736, kpis#22198737]
Condition : (((isnull(qty#22198734) AND isnull(demandChannel#22198735)) AND isnull(demandStream#22198736)) AND (isnotnull(shardId#22198732) AND isnotnull(worklistShardItemId#22198733L)))
(30) Project [codegen id : 7]
Output [3]: [shardId#22198732, worklistShardItemId#22198733L, coalesce(kpis#22198737, []) AS prodLocSpecificKpis#22198738]
Input [6]: [shardId#22198732, worklistShardItemId#22198733L, qty#22198734, demandChannel#22198735, demandStream#22198736, kpis#22198737]
(31) Exchange
Input [3]: [shardId#22198732, worklistShardItemId#22198733L, prodLocSpecificKpis#22198738]
Arguments: hashpartitioning(shardId#22198732, worklistShardItemId#22198733L, 30), ENSURE_REQUIREMENTS, [plan_id=6645226]
(32) Sort [codegen id : 8]
Input [3]: [shardId#22198732, worklistShardItemId#22198733L, prodLocSpecificKpis#22198738]
Arguments: [shardId#22198732 ASC NULLS FIRST, worklistShardItemId#22198733L ASC NULLS FIRST], false, 0
(33) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#22197470, worklistShardItemId#22197982L]
Right keys [2]: [shardId#22198732, worklistShardItemId#22198733L]
Join type: LeftOuter
Join condition: None
(34) Project [codegen id : 9]
Output [40]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, sourceOfSupplyUuid#22198197, minimumOrderQuantity#22198213, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, optimizationGroups#22198226, measurements#22198224, externalProductId#22198208, externalPlantId#22198209, previousOrderProposal#22198203L, isFallbackOrderOnly#22198200, coalesce(prodLocSpecificKpis#22198738, []) AS prodLocSpecificKpis#22198739]
Input [42]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, sourceOfSupplyUuid#22198197, minimumOrderQuantity#22198213, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, optimizationGroups#22198226, measurements#22198224, externalProductId#22198208, externalPlantId#22198209, previousOrderProposal#22198203L, isFallbackOrderOnly#22198200, shardId#22198732, worklistShardItemId#22198733L, prodLocSpecificKpis#22198738]
(35) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#22198748, worklistShardItemId#22198749L, qty#22198750, demandChannel#22198751, demandStream#22198752, kpis#22198753]
Arguments: [shardId#22198748, worklistShardItemId#22198749L, qty#22198750, demandChannel#22198751, demandStream#22198752, kpis#22198753], MapPartitionsRDD[943232] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(36) Filter [codegen id : 10]
Input [6]: [shardId#22198748, worklistShardItemId#22198749L, qty#22198750, demandChannel#22198751, demandStream#22198752, kpis#22198753]
Condition : ((((isnull(qty#22198750) AND isnotnull(demandChannel#22198751)) AND isnotnull(demandStream#22198752)) AND (size(kpis#22198753, true) > 0)) AND (isnotnull(shardId#22198748) AND isnotnull(worklistShardItemId#22198749L)))
(37) Project [codegen id : 10]
Output [5]: [shardId#22198748, worklistShardItemId#22198749L, demandChannel#22198751, demandStream#22198752, kpis#22198753]
Input [6]: [shardId#22198748, worklistShardItemId#22198749L, qty#22198750, demandChannel#22198751, demandStream#22198752, kpis#22198753]
(38) ObjectHashAggregate
Input [5]: [shardId#22198748, worklistShardItemId#22198749L, demandChannel#22198751, demandStream#22198752, kpis#22198753]
Keys [2]: [shardId#22198748, worklistShardItemId#22198749L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#22198751, demandStream, demandStream#22198752, kpis, kpis#22198753), 0, 0)]
Aggregate Attributes [1]: [buf#22198928]
Results [3]: [shardId#22198748, worklistShardItemId#22198749L, buf#22198929]
(39) Exchange
Input [3]: [shardId#22198748, worklistShardItemId#22198749L, buf#22198929]
Arguments: hashpartitioning(shardId#22198748, worklistShardItemId#22198749L, 30), ENSURE_REQUIREMENTS, [plan_id=6645237]
(40) ObjectHashAggregate
Input [3]: [shardId#22198748, worklistShardItemId#22198749L, buf#22198929]
Keys [2]: [shardId#22198748, worklistShardItemId#22198749L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#22198751, demandStream, demandStream#22198752, kpis, kpis#22198753), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#22198751, demandStream, demandStream#22198752, kpis, kpis#22198753), 0, 0)#22198747]
Results [3]: [shardId#22198748, worklistShardItemId#22198749L, collect_list(struct(demandChannel, demandChannel#22198751, demandStream, demandStream#22198752, kpis, kpis#22198753), 0, 0)#22198747 AS channelStreamSpecificKpis#22198740]
(41) Sort [codegen id : 11]
Input [3]: [shardId#22198748, worklistShardItemId#22198749L, channelStreamSpecificKpis#22198740]
Arguments: [shardId#22198748 ASC NULLS FIRST, worklistShardItemId#22198749L ASC NULLS FIRST], false, 0
(42) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#22197470, worklistShardItemId#22197982L]
Right keys [2]: [shardId#22198748, worklistShardItemId#22198749L]
Join type: LeftOuter
Join condition: None
(43) Project [codegen id : 12]
Output [41]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, sourceOfSupplyUuid#22198197, minimumOrderQuantity#22198213, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, optimizationGroups#22198226, measurements#22198224, externalProductId#22198208, externalPlantId#22198209, previousOrderProposal#22198203L, isFallbackOrderOnly#22198200, prodLocSpecificKpis#22198739, coalesce(channelStreamSpecificKpis#22198740, []) AS channelStreamSpecificKpis#22198754]
Input [43]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, sourceOfSupplyUuid#22198197, minimumOrderQuantity#22198213, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, optimizationGroups#22198226, measurements#22198224, externalProductId#22198208, externalPlantId#22198209, previousOrderProposal#22198203L, isFallbackOrderOnly#22198200, prodLocSpecificKpis#22198739, shardId#22198748, worklistShardItemId#22198749L, channelStreamSpecificKpis#22198740]
(44) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#22198761, worklistShardItemId#22198762L, qty#22198763, demandChannel#22198764, demandStream#22198765, kpis#22198766]
Arguments: [shardId#22198761, worklistShardItemId#22198762L, qty#22198763, demandChannel#22198764, demandStream#22198765, kpis#22198766], MapPartitionsRDD[943232] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(45) Filter [codegen id : 13]
Input [6]: [shardId#22198761, worklistShardItemId#22198762L, qty#22198763, demandChannel#22198764, demandStream#22198765, kpis#22198766]
Condition : ((isnotnull(qty#22198763) AND isnotnull(kpis#22198766)) AND (isnotnull(shardId#22198761) AND isnotnull(worklistShardItemId#22198762L)))
(46) Project [codegen id : 13]
Output [4]: [shardId#22198761, worklistShardItemId#22198762L, qty#22198763, kpis#22198766]
Input [6]: [shardId#22198761, worklistShardItemId#22198762L, qty#22198763, demandChannel#22198764, demandStream#22198765, kpis#22198766]
(47) ObjectHashAggregate
Input [4]: [shardId#22198761, worklistShardItemId#22198762L, qty#22198763, kpis#22198766]
Keys [2]: [shardId#22198761, worklistShardItemId#22198762L]
Functions [1]: [partial_collect_list(struct(qty, qty#22198763, kpis, kpis#22198766), 0, 0)]
Aggregate Attributes [1]: [buf#22198930]
Results [3]: [shardId#22198761, worklistShardItemId#22198762L, buf#22198931]
(48) Exchange
Input [3]: [shardId#22198761, worklistShardItemId#22198762L, buf#22198931]
Arguments: hashpartitioning(shardId#22198761, worklistShardItemId#22198762L, 30), ENSURE_REQUIREMENTS, [plan_id=6645249]
(49) ObjectHashAggregate
Input [3]: [shardId#22198761, worklistShardItemId#22198762L, buf#22198931]
Keys [2]: [shardId#22198761, worklistShardItemId#22198762L]
Functions [1]: [collect_list(struct(qty, qty#22198763, kpis, kpis#22198766), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#22198763, kpis, kpis#22198766), 0, 0)#22198760]
Results [3]: [shardId#22198761, worklistShardItemId#22198762L, map_from_entries(collect_list(struct(qty, qty#22198763, kpis, kpis#22198766), 0, 0)#22198760) AS quantityKpis#22198755]
(50) Sort [codegen id : 14]
Input [3]: [shardId#22198761, worklistShardItemId#22198762L, quantityKpis#22198755]
Arguments: [shardId#22198761 ASC NULLS FIRST, worklistShardItemId#22198762L ASC NULLS FIRST], false, 0
(51) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#22197470, worklistShardItemId#22197982L]
Right keys [2]: [shardId#22198761, worklistShardItemId#22198762L]
Join type: LeftOuter
Join condition: None
(52) Project [codegen id : 15]
Output [42]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, sourceOfSupplyUuid#22198197, minimumOrderQuantity#22198213, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, optimizationGroups#22198226, measurements#22198224, externalProductId#22198208, externalPlantId#22198209, previousOrderProposal#22198203L, isFallbackOrderOnly#22198200, prodLocSpecificKpis#22198739, channelStreamSpecificKpis#22198754, coalesce(quantityKpis#22198755, map(keys: [], values: [])) AS quantityKpis#22198767]
Input [44]: [shardId#22197470, worklistShardItemId#22197982L, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198183L, originalReplenishmentRunId#22198225L, supplierGroup#22198185, supplier#22198186, supplyingPlant#22198190, productGroup#22198191, product#22198192, plant#22198187, subrange#22198189, orderDateTime#22198193, deliveryDateTime#22198188, availabilityDateTime#22198194, nextAvailabilityDateTime#22198195, constraintValues#22198216, constraintOperators#22198215, constraintLabels#22198214, logisticUnits#22198210, orderQuantityBaseUom#22198211, orderQuantityBaseUomUuid#22198212, splitIndicator#22198202L, netPriceAmount#22198219, netPriceCurrencyCode#22198220, netPriceQuantity#22198221, netPriceQuantityUom#22198222, netPriceQuantityUomUuid#22198223, sourceOfSupplyUuid#22198197, minimumOrderQuantity#22198213, orderProposalItemId#22198184, orderProposalItemGroupId#22198207, optimizationGroups#22198226, measurements#22198224, externalProductId#22198208, externalPlantId#22198209, previousOrderProposal#22198203L, isFallbackOrderOnly#22198200, prodLocSpecificKpis#22198739, channelStreamSpecificKpis#22198754, shardId#22198761, worklistShardItemId#22198762L, quantityKpis#22198755]
(53) Filter [codegen id : 1]
Input [39]: [availabilityDateTime#22198160, channelStreamSpecificKpis#22198754, constraintLabels#22198172, constraintOperators#22198173, constraintValues#22198175, deliveryDateTime#22198159, isFallbackOrderOnly#22198162, logisticUnits#22198177, measurements#22198170, minimumOrderQuantity#22198171, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, nextAvailabilityDateTime#22198161, optimizationGroups#22198178, orderDateTime#22198158, orderProposalId#22198140L, orderProposalItemGroupId#22198142, orderProposalItemId#22198141, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, originalReplenishmentRunId#22198143L, plant#22198154, previousOrderProposal#22198146L, prodLocSpecificKpis#22198739, product#22198153, productGroup#22198182, qty#22197984, quantityAfterProdPlantOptimization#22197983, quantityKpis#22198767, shardId#22197470, sourceOfSupplyUuid#22198149, splitIndicator#22198145L, subrange#22198152, supplier#22198151, supplierGroup#22198150, supplyingPlant#22198181]
Condition : NOT (isFallbackOrderOnly#22198162 <=> true)
(54) Project [codegen id : 1]
Output [36]: [shardId#22197470, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, productGroup#22198182, product#22198153, plant#22198154, subrange#22198152, orderDateTime#22198158, deliveryDateTime#22198159, availabilityDateTime#22198160, nextAvailabilityDateTime#22198161, logisticUnits#22198177, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, splitIndicator#22198145L, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, sourceOfSupplyUuid#22198149, minimumOrderQuantity#22198171, orderProposalItemId#22198141, orderProposalItemGroupId#22198142, optimizationGroups#22198178, measurements#22198170, previousOrderProposal#22198146L, prodLocSpecificKpis#22198739, channelStreamSpecificKpis#22198754, quantityKpis#22198767, arrays_zip(constraintLabels#22198172, constraintOperators#22198173, constraintValues#22198175, constraintLabels, constraintOperators, constraintValues) AS constraintStructArray#22199181]
Input [39]: [availabilityDateTime#22198160, channelStreamSpecificKpis#22198754, constraintLabels#22198172, constraintOperators#22198173, constraintValues#22198175, deliveryDateTime#22198159, isFallbackOrderOnly#22198162, logisticUnits#22198177, measurements#22198170, minimumOrderQuantity#22198171, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, nextAvailabilityDateTime#22198161, optimizationGroups#22198178, orderDateTime#22198158, orderProposalId#22198140L, orderProposalItemGroupId#22198142, orderProposalItemId#22198141, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, originalReplenishmentRunId#22198143L, plant#22198154, previousOrderProposal#22198146L, prodLocSpecificKpis#22198739, product#22198153, productGroup#22198182, qty#22197984, quantityAfterProdPlantOptimization#22197983, quantityKpis#22198767, shardId#22197470, sourceOfSupplyUuid#22198149, splitIndicator#22198145L, subrange#22198152, supplier#22198151, supplierGroup#22198150, supplyingPlant#22198181]
(55) Project
Output [37]: [shardId#22197470, qty#22197984, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, productGroup#22198182, product#22198153, plant#22198154, subrange#22198152, orderDateTime#22198158, deliveryDateTime#22198159, availabilityDateTime#22198160, nextAvailabilityDateTime#22198161, logisticUnits#22198177, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, splitIndicator#22198145L, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, sourceOfSupplyUuid#22198149, orderProposalItemId#22198141, orderProposalItemGroupId#22198142, optimizationGroups#22198178, measurements#22198170, previousOrderProposal#22198146L, prodLocSpecificKpis#22198739, channelStreamSpecificKpis#22198754, quantityKpis#22198767, struct(minServiceLevel, array_min(filter(constraintStructArray#22199181, lambdafunction((lambda x_73308#22199188.constraintLabels = ServiceLevel), lambda x_73308#22199188, false)).constraintValues), minServiceLevelMinStock, array_min(filter(constraintStructArray#22199181, lambdafunction((lambda x_73309#22199189.constraintLabels = ServiceLevelMinimumStock), lambda x_73309#22199189, false)).constraintValues), maxServiceLevelEndOfListing, array_min(filter(constraintStructArray#22199181, lambdafunction((lambda x_73310#22199190.constraintLabels = ServiceLevelAtStartOfDelisting), lambda x_73310#22199190, false)).constraintValues), maxRoc, array_min(filter(constraintStructArray#22199181, lambdafunction((lambda x_73311#22199191.constraintLabels = RangeOfCoverage), lambda x_73311#22199191, false)).constraintValues), minimumOrderQuantity, minimumOrderQuantity#22198171, endOfListingDateTime, coalesce(filter(prodLocSpecificKpis#22198739, lambdafunction((lambda x_73312#22199192.label = NonListingStartTimestamp), lambda x_73312#22199192, false))[0].dateTime, 1970-01-01 00:00:00)) AS constraintBenchmark#22199187, CASE WHEN (qty#22197984 <=> quantityAfterProdPlantOptimization#22197983) THEN array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((qty#22197984 * (cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73313#22199260.isOrderUnit, lambda x_73313#22199260, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73313#22199261.isOrderUnit, lambda x_73313#22199261, false)), 1, None, false).numerator as double))), qty#22197984), orderQuantityUom, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73313#22199262.isOrderUnit, lambda x_73313#22199262, false)), 1, None, false).uom, orderQuantityBaseUom#22198163), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73313#22199263.isOrderUnit, lambda x_73313#22199263, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#22198164), candidateOrderQuantityInBaseUnit, qty#22197984, orderQuantityBaseUom, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#22198164, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#22198177, lambdafunction((lambda x_73315#22199264.isPreferred AND (((qty#22197984 * cast(lambda x_73315#22199264.denominator as double)) % cast(lambda x_73315#22199264.numerator as double)) = 0.0)), lambda x_73315#22199264, false)), lambdafunction(struct(inPreferredQuantity, ((qty#22197984 * cast(lambda x_73316#22199305.denominator as double)) / cast(lambda x_73316#22199305.numerator as double)), uom, lambda x_73316#22199305.uom, uomUuid, lambda x_73316#22199305.uomUuid), lambda x_73316#22199305, false))).inPreferredQuantity, coalesce((qty#22197984 * (cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73314#22199265.isOrderUnit, lambda x_73314#22199265, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73314#22199266.isOrderUnit, lambda x_73314#22199266, false)), 1, None, false).numerator as double))), qty#22197984)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#22198177, lambdafunction((lambda x_73315#22199267.isPreferred AND (((qty#22197984 * cast(lambda x_73315#22199267.denominator as double)) % cast(lambda x_73315#22199267.numerator as double)) = 0.0)), lambda x_73315#22199267, false)), lambdafunction(struct(inPreferredQuantity, ((qty#22197984 * cast(lambda x_73316#22199306.denominator as double)) / cast(lambda x_73316#22199306.numerator as double)), uom, lambda x_73316#22199306.uom, uomUuid, lambda x_73316#22199306.uomUuid), lambda x_73316#22199306, false))).uom, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73314#22199268.isOrderUnit, lambda x_73314#22199268, false)), 1, None, false).uom, orderQuantityBaseUom#22198163)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#22198177, lambdafunction((lambda x_73315#22199269.isPreferred AND (((qty#22197984 * cast(lambda x_73315#22199269.denominator as double)) % cast(lambda x_73315#22199269.numerator as double)) = 0.0)), lambda x_73315#22199269, false)), lambdafunction(struct(inPreferredQuantity, ((qty#22197984 * cast(lambda x_73316#22199307.denominator as double)) / cast(lambda x_73316#22199307.numerator as double)), uom, lambda x_73316#22199307.uom, uomUuid, lambda x_73316#22199307.uomUuid), lambda x_73316#22199307, false))).uomUuid, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73314#22199270.isOrderUnit, lambda x_73314#22199270, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#22198164)), serviceLevel, coalesce(filter(element_at(quantityKpis#22198767, qty#22197984, None, false), lambdafunction((lambda x_73321#22199271.label = ServiceLevel), lambda x_73321#22199271, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) ELSE array(struct(isProposedCandidate, true, isProdlocOptimalCandidate, false, candidateOrderQuantity, coalesce((qty#22197984 * (cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73313#22199275.isOrderUnit, lambda x_73313#22199275, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73313#22199276.isOrderUnit, lambda x_73313#22199276, false)), 1, None, false).numerator as double))), qty#22197984), orderQuantityUom, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73313#22199277.isOrderUnit, lambda x_73313#22199277, false)), 1, None, false).uom, orderQuantityBaseUom#22198163), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73313#22199278.isOrderUnit, lambda x_73313#22199278, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#22198164), candidateOrderQuantityInBaseUnit, qty#22197984, orderQuantityBaseUom, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#22198164, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#22198177, lambdafunction((lambda x_73315#22199279.isPreferred AND (((qty#22197984 * cast(lambda x_73315#22199279.denominator as double)) % cast(lambda x_73315#22199279.numerator as double)) = 0.0)), lambda x_73315#22199279, false)), lambdafunction(struct(inPreferredQuantity, ((qty#22197984 * cast(lambda x_73316#22199308.denominator as double)) / cast(lambda x_73316#22199308.numerator as double)), uom, lambda x_73316#22199308.uom, uomUuid, lambda x_73316#22199308.uomUuid), lambda x_73316#22199308, false))).inPreferredQuantity, coalesce((qty#22197984 * (cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73314#22199280.isOrderUnit, lambda x_73314#22199280, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73314#22199281.isOrderUnit, lambda x_73314#22199281, false)), 1, None, false).numerator as double))), qty#22197984)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#22198177, lambdafunction((lambda x_73315#22199282.isPreferred AND (((qty#22197984 * cast(lambda x_73315#22199282.denominator as double)) % cast(lambda x_73315#22199282.numerator as double)) = 0.0)), lambda x_73315#22199282, false)), lambdafunction(struct(inPreferredQuantity, ((qty#22197984 * cast(lambda x_73316#22199309.denominator as double)) / cast(lambda x_73316#22199309.numerator as double)), uom, lambda x_73316#22199309.uom, uomUuid, lambda x_73316#22199309.uomUuid), lambda x_73316#22199309, false))).uom, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73314#22199283.isOrderUnit, lambda x_73314#22199283, false)), 1, None, false).uom, orderQuantityBaseUom#22198163)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#22198177, lambdafunction((lambda x_73315#22199284.isPreferred AND (((qty#22197984 * cast(lambda x_73315#22199284.denominator as double)) % cast(lambda x_73315#22199284.numerator as double)) = 0.0)), lambda x_73315#22199284, false)), lambdafunction(struct(inPreferredQuantity, ((qty#22197984 * cast(lambda x_73316#22199310.denominator as double)) / cast(lambda x_73316#22199310.numerator as double)), uom, lambda x_73316#22199310.uom, uomUuid, lambda x_73316#22199310.uomUuid), lambda x_73316#22199310, false))).uomUuid, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73314#22199285.isOrderUnit, lambda x_73314#22199285, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#22198164)), serviceLevel, coalesce(filter(element_at(quantityKpis#22198767, qty#22197984, None, false), lambdafunction((lambda x_73325#22199286.label = ServiceLevel), lambda x_73325#22199286, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields), struct(isProposedCandidate, false, isProdlocOptimalCandidate, true, candidateOrderQuantity, coalesce((quantityAfterProdPlantOptimization#22197983 * (cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73317#22199290.isOrderUnit, lambda x_73317#22199290, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73317#22199291.isOrderUnit, lambda x_73317#22199291, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#22197983), orderQuantityUom, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73317#22199292.isOrderUnit, lambda x_73317#22199292, false)), 1, None, false).uom, orderQuantityBaseUom#22198163), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73317#22199293.isOrderUnit, lambda x_73317#22199293, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#22198164), candidateOrderQuantityInBaseUnit, quantityAfterProdPlantOptimization#22197983, orderQuantityBaseUom, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid, orderQuantityBaseUomUuid#22198164, candidateOrderQuantityInPreferredUnit, coalesce(array_min(transform(filter(logisticUnits#22198177, lambdafunction((lambda x_73319#22199294.isPreferred AND (((quantityAfterProdPlantOptimization#22197983 * cast(lambda x_73319#22199294.denominator as double)) % cast(lambda x_73319#22199294.numerator as double)) = 0.0)), lambda x_73319#22199294, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#22197983 * cast(lambda x_73320#22199311.denominator as double)) / cast(lambda x_73320#22199311.numerator as double)), uom, lambda x_73320#22199311.uom, uomUuid, lambda x_73320#22199311.uomUuid), lambda x_73320#22199311, false))).inPreferredQuantity, coalesce((quantityAfterProdPlantOptimization#22197983 * (cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73318#22199295.isOrderUnit, lambda x_73318#22199295, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73318#22199296.isOrderUnit, lambda x_73318#22199296, false)), 1, None, false).numerator as double))), quantityAfterProdPlantOptimization#22197983)), orderQuantityPreferredUom, coalesce(array_min(transform(filter(logisticUnits#22198177, lambdafunction((lambda x_73319#22199297.isPreferred AND (((quantityAfterProdPlantOptimization#22197983 * cast(lambda x_73319#22199297.denominator as double)) % cast(lambda x_73319#22199297.numerator as double)) = 0.0)), lambda x_73319#22199297, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#22197983 * cast(lambda x_73320#22199312.denominator as double)) / cast(lambda x_73320#22199312.numerator as double)), uom, lambda x_73320#22199312.uom, uomUuid, lambda x_73320#22199312.uomUuid), lambda x_73320#22199312, false))).uom, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73318#22199298.isOrderUnit, lambda x_73318#22199298, false)), 1, None, false).uom, orderQuantityBaseUom#22198163)), orderQuantityPreferredUomUuid, coalesce(array_min(transform(filter(logisticUnits#22198177, lambdafunction((lambda x_73319#22199299.isPreferred AND (((quantityAfterProdPlantOptimization#22197983 * cast(lambda x_73319#22199299.denominator as double)) % cast(lambda x_73319#22199299.numerator as double)) = 0.0)), lambda x_73319#22199299, false)), lambdafunction(struct(inPreferredQuantity, ((quantityAfterProdPlantOptimization#22197983 * cast(lambda x_73320#22199313.denominator as double)) / cast(lambda x_73320#22199313.numerator as double)), uom, lambda x_73320#22199313.uom, uomUuid, lambda x_73320#22199313.uomUuid), lambda x_73320#22199313, false))).uomUuid, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73318#22199300.isOrderUnit, lambda x_73318#22199300, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#22198164)), serviceLevel, coalesce(filter(element_at(quantityKpis#22198767, quantityAfterProdPlantOptimization#22197983, None, false), lambdafunction((lambda x_73329#22199301.label = ServiceLevel), lambda x_73329#22199301, false))[0].value, 0.0), serviceLevelMinStock, ... 5 more fields)) END AS calculationAnalysis#22199259, coalesce(filter(prodLocSpecificKpis#22198739, lambdafunction((lambda x_73333#22199315.label = InitialStockQty), lambda x_73333#22199315, false))[0].dateTime, 1970-01-01 00:00:00) AS inventoryDateTime#22199314, coalesce(filter(prodLocSpecificKpis#22198739, lambdafunction((lambda x_73334#22199317.label = DemandPeriodEndTimestamp), lambda x_73334#22199317, false))[0].dateTime, 1970-01-01 00:00:00) AS demandPeriodEndDateTime#22199316]
Input [36]: [shardId#22197470, quantityAfterProdPlantOptimization#22197983, qty#22197984, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, productGroup#22198182, product#22198153, plant#22198154, subrange#22198152, orderDateTime#22198158, deliveryDateTime#22198159, availabilityDateTime#22198160, nextAvailabilityDateTime#22198161, logisticUnits#22198177, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, splitIndicator#22198145L, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, sourceOfSupplyUuid#22198149, minimumOrderQuantity#22198171, orderProposalItemId#22198141, orderProposalItemGroupId#22198142, optimizationGroups#22198178, measurements#22198170, previousOrderProposal#22198146L, prodLocSpecificKpis#22198739, channelStreamSpecificKpis#22198754, quantityKpis#22198767, constraintStructArray#22199181]
(56) Project
Output [21]: [shardId#22197470, qty#22197984, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, productGroup#22198182, product#22198153, plant#22198154, subrange#22198152, orderDateTime#22198158, deliveryDateTime#22198159, logisticUnits#22198177, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, splitIndicator#22198145L, orderProposalItemId#22198141, orderProposalItemGroupId#22198142, previousOrderProposal#22198146L, struct(itemId, orderProposalItemId#22198141, itemGroupId, orderProposalItemGroupId#22198142, supplier, supplier#22198151, supplyingPlant, supplyingPlant#22198181, productGroup, productGroup#22198182, product, product#22198153, plant, plant#22198154, supplierSubRange, subrange#22198152, sourceOfSupplyUuid, sourceOfSupplyUuid#22198149, deliveryDateTime, deliveryDateTime#22198159, unitPrice, netPriceAmount#22198168, unitPriceCurrency, netPriceCurrencyCode#22198169, unitPriceQuantity, ... 37 more fields) AS parentItem#22199390]
Input [37]: [shardId#22197470, qty#22197984, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, productGroup#22198182, product#22198153, plant#22198154, subrange#22198152, orderDateTime#22198158, deliveryDateTime#22198159, availabilityDateTime#22198160, nextAvailabilityDateTime#22198161, logisticUnits#22198177, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, splitIndicator#22198145L, netPriceAmount#22198168, netPriceCurrencyCode#22198169, netPriceQuantity#22198165, netPriceQuantityUom#22198166, netPriceQuantityUomUuid#22198167, sourceOfSupplyUuid#22198149, orderProposalItemId#22198141, orderProposalItemGroupId#22198142, optimizationGroups#22198178, measurements#22198170, previousOrderProposal#22198146L, prodLocSpecificKpis#22198739, channelStreamSpecificKpis#22198754, quantityKpis#22198767, constraintBenchmark#22199187, calculationAnalysis#22199259, inventoryDateTime#22199314, demandPeriodEndDateTime#22199316]
(57) Project
Output [12]: [shardId#22197470, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, orderDateTime#22198158, splitIndicator#22198145L, orderProposalItemGroupId#22198142, previousOrderProposal#22198146L, parentItem#22199390, struct(itemId, orderProposalItemId#22198141, supplier, supplier#22198151, supplyingPlant, supplyingPlant#22198181, productGroup, productGroup#22198182, product, product#22198153, plant, plant#22198154, supplierSubRange, subrange#22198152, deliveryDateTime, deliveryDateTime#22198159, orderQuantity, coalesce((qty#22197984 * (cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73358#22199424.isOrderUnit, lambda x_73358#22199424, false)), 1, None, false).denominator as double) / cast(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73358#22199425.isOrderUnit, lambda x_73358#22199425, false)), 1, None, false).numerator as double))), qty#22197984), orderQuantityUom, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73358#22199426.isOrderUnit, lambda x_73358#22199426, false)), 1, None, false).uom, orderQuantityBaseUom#22198163), orderQuantityUomUuid, coalesce(element_at(filter(logisticUnits#22198177, lambdafunction(lambda x_73358#22199427.isOrderUnit, lambda x_73358#22199427, false)), 1, None, false).uomUuid, orderQuantityBaseUomUuid#22198164), orderQuantityInBaseUnit, qty#22197984, orderQuantityBaseUom, ... 13 more fields) AS item#22199421]
Input [21]: [shardId#22197470, qty#22197984, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, productGroup#22198182, product#22198153, plant#22198154, subrange#22198152, orderDateTime#22198158, deliveryDateTime#22198159, logisticUnits#22198177, orderQuantityBaseUom#22198163, orderQuantityBaseUomUuid#22198164, splitIndicator#22198145L, orderProposalItemId#22198141, orderProposalItemGroupId#22198142, previousOrderProposal#22198146L, parentItem#22199390]
(58) ObjectHashAggregate
Input [12]: [shardId#22197470, orderProposalId#22198140L, originalReplenishmentRunId#22198143L, supplierGroup#22198150, supplier#22198151, supplyingPlant#22198181, orderDateTime#22198158, splitIndicator#22198145L, orderProposalItemGroupId#22198142, previousOrderProposal#22198146L, parentItem#22199390, item#22199421]
Keys [4]: [shardId#22197470, orderProposalId#22198140L, splitIndicator#22198145L, orderProposalItemGroupId#22198142]
Functions [8]: [partial_max(originalReplenishmentRunId#22198143L), partial_max(supplierGroup#22198150), partial_max(supplier#22198151), partial_max(supplyingPlant#22198181), partial_max(orderDateTime#22198158), partial_collect_list(parentItem#22199390, 0, 0), partial_collect_set(previousOrderProposal#22198146L, 0, 0), partial_collect_list(item#22199421, 0, 0)]
Aggregate Attributes [8]: [max#22200674L, max#22200675, max#22200676, max#22200677, max#22200678, buf#22200679, buf#22200680, buf#22200681]
Results [12]: [shardId#22197470, orderProposalId#22198140L, splitIndicator#22198145L, orderProposalItemGroupId#22198142, max#22200682L, max#22200683, max#22200684, max#22200685, max#22200686, buf#22200687, buf#22200688, buf#22200689]
(59) Exchange
Input [12]: [shardId#22197470, orderProposalId#22198140L, splitIndicator#22198145L, orderProposalItemGroupId#22198142, max#22200682L, max#22200683, max#22200684, max#22200685, max#22200686, buf#22200687, buf#22200688, buf#22200689]
Arguments: hashpartitioning(shardId#22197470, orderProposalId#22198140L, splitIndicator#22198145L, orderProposalItemGroupId#22198142, 30), ENSURE_REQUIREMENTS, [plan_id=6645505]
(60) ObjectHashAggregate
Input [12]: [shardId#22197470, orderProposalId#22198140L, splitIndicator#22198145L, orderProposalItemGroupId#22198142, max#22200682L, max#22200683, max#22200684, max#22200685, max#22200686, buf#22200687, buf#22200688, buf#22200689]
Keys [4]: [shardId#22197470, orderProposalId#22198140L, splitIndicator#22198145L, orderProposalItemGroupId#22198142]
Functions [8]: [max(originalReplenishmentRunId#22198143L), max(supplierGroup#22198150), max(supplier#22198151), max(supplyingPlant#22198181), max(orderDateTime#22198158), collect_list(parentItem#22199390, 0, 0), collect_set(previousOrderProposal#22198146L, 0, 0), collect_list(item#22199421, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#22198143L)#22199490L, max(supplierGroup#22198150)#22199491, max(supplier#22198151)#22199492, max(supplyingPlant#22198181)#22199493, max(orderDateTime#22198158)#22199494, collect_list(parentItem#22199390, 0, 0)#22199495, collect_set(previousOrderProposal#22198146L, 0, 0)#22199497, collect_list(item#22199421, 0, 0)#22199496]
Results [10]: [shardId#22197470, orderProposalId#22198140L, max(originalReplenishmentRunId#22198143L)#22199490L AS originalReplenishmentRunId#22199438L, max(supplierGroup#22198150)#22199491 AS supplierGroup#22199439, max(supplier#22198151)#22199492 AS supplier#22199440, max(supplyingPlant#22198181)#22199493 AS supplyingPlant#22199441, max(orderDateTime#22198158)#22199494 AS orderDateTime#22199442, collect_list(parentItem#22199390, 0, 0)#22199495 AS parentItems#22199443, collect_set(previousOrderProposal#22198146L, 0, 0)#22199497 AS previousOrderProposals#22199445, struct(itemGroupId, orderProposalItemGroupId#22198142, items, collect_list(item#22199421, 0, 0)#22199496) AS itemGroup#22199499]
(61) ObjectHashAggregate
Input [10]: [shardId#22197470, orderProposalId#22198140L, originalReplenishmentRunId#22199438L, supplierGroup#22199439, supplier#22199440, supplyingPlant#22199441, orderDateTime#22199442, parentItems#22199443, previousOrderProposals#22199445, itemGroup#22199499]
Keys [2]: [shardId#22197470, orderProposalId#22198140L]
Functions [8]: [partial_max(originalReplenishmentRunId#22199438L), partial_max(supplierGroup#22199439), partial_max(supplier#22199440), partial_max(supplyingPlant#22199441), partial_max(orderDateTime#22199442), partial_collect_list(itemGroup#22199499, 0, 0), partial_collect_list(parentItems#22199443, 0, 0), partial_collect_set(previousOrderProposals#22199445, 0, 0)]
Aggregate Attributes [8]: [max#22200658L, max#22200659, max#22200660, max#22200661, max#22200662, buf#22200663, buf#22200664, buf#22200665]
Results [10]: [shardId#22197470, orderProposalId#22198140L, max#22200666L, max#22200667, max#22200668, max#22200669, max#22200670, buf#22200671, buf#22200672, buf#22200673]
(62) Exchange
Input [10]: [shardId#22197470, orderProposalId#22198140L, max#22200666L, max#22200667, max#22200668, max#22200669, max#22200670, buf#22200671, buf#22200672, buf#22200673]
Arguments: hashpartitioning(shardId#22197470, orderProposalId#22198140L, 30), ENSURE_REQUIREMENTS, [plan_id=6645508]
(63) ObjectHashAggregate
Input [10]: [shardId#22197470, orderProposalId#22198140L, max#22200666L, max#22200667, max#22200668, max#22200669, max#22200670, buf#22200671, buf#22200672, buf#22200673]
Keys [2]: [shardId#22197470, orderProposalId#22198140L]
Functions [8]: [max(originalReplenishmentRunId#22199438L), max(supplierGroup#22199439), max(supplier#22199440), max(supplyingPlant#22199441), max(orderDateTime#22199442), collect_list(itemGroup#22199499, 0, 0), collect_list(parentItems#22199443, 0, 0), collect_set(previousOrderProposals#22199445, 0, 0)]
Aggregate Attributes [8]: [max(originalReplenishmentRunId#22199438L)#22199521L, max(supplierGroup#22199439)#22199522, max(supplier#22199440)#22199523, max(supplyingPlant#22199441)#22199524, max(orderDateTime#22199442)#22199525, collect_list(itemGroup#22199499, 0, 0)#22199526, collect_list(parentItems#22199443, 0, 0)#22199527, collect_set(previousOrderProposals#22199445, 0, 0)#22199528]
Results [10]: [shardId#22197470, orderProposalId#22198140L, max(originalReplenishmentRunId#22199438L)#22199521L AS originalReplenishmentRunId#22199500L, max(supplierGroup#22199439)#22199522 AS supplierGroup#22199501, max(supplier#22199440)#22199523 AS supplier#22199502, max(supplyingPlant#22199441)#22199524 AS supplyingPlant#22199503, max(orderDateTime#22199442)#22199525 AS orderDateTime#22199504, collect_list(itemGroup#22199499, 0, 0)#22199526 AS itemGroups#22199505, flatten(collect_list(parentItems#22199443, 0, 0)#22199527) AS parentItems#22199506, flatten(collect_set(previousOrderProposals#22199445, 0, 0)#22199528) AS previousOrderProposals#22199507]
(64) Project
Output [2]: [shardId#22197470, struct(orderProposalId, orderProposalId#22198140L, originalReplenishmentRunId, originalReplenishmentRunId#22199500L, supplierGroup, supplierGroup#22199501, optimizationGroups, null, supplier, CASE WHEN isnull(supplierGroup#22199501) THEN supplier#22199502 END, supplyingPlant, supplyingPlant#22199503, orderDateTime, orderDateTime#22199504, itemGroups, itemGroups#22199505, previousOrderProposals, array_distinct(previousOrderProposals#22199507), parentItems, parentItems#22199506) AS orderProposal#22199532]
Input [10]: [shardId#22197470, orderProposalId#22198140L, originalReplenishmentRunId#22199500L, supplierGroup#22199501, supplier#22199502, supplyingPlant#22199503, orderDateTime#22199504, itemGroups#22199505, parentItems#22199506, previousOrderProposals#22199507]
(65) Project
Output [11]: [shardId#22197470, orderProposal#22199532.orderProposalId AS _extract_orderProposalId#22200290L, orderProposal#22199532.originalReplenishmentRunId AS _extract_originalReplenishmentRunId#22200291L, orderProposal#22199532.supplierGroup AS _extract_supplierGroup#22200292, orderProposal#22199532.supplier AS _extract_supplier#22200293, orderProposal#22199532.supplyingPlant AS _extract_supplyingPlant#22200294, orderProposal#22199532.orderDateTime AS _extract_orderDateTime#22200295, orderProposal#22199532.itemGroups AS _extract_itemGroups#22200296, orderProposal#22199532.previousOrderProposals AS _extract_previousOrderProposals#22200297, orderProposal#22199532.parentItems AS _extract_parentItems#22200298, orderProposal#22199532.orderProposalId AS _extract_orderProposalId#22200299L]
Input [2]: [shardId#22197470, orderProposal#22199532]
(66) Exchange
Input [11]: [shardId#22197470, _extract_orderProposalId#22200290L, _extract_originalReplenishmentRunId#22200291L, _extract_supplierGroup#22200292, _extract_supplier#22200293, _extract_supplyingPlant#22200294, _extract_orderDateTime#22200295, _extract_itemGroups#22200296, _extract_previousOrderProposals#22200297, _extract_parentItems#22200298, _extract_orderProposalId#22200299L]
Arguments: hashpartitioning(coalesce(shardId#22197470, ), isnull(shardId#22197470), coalesce(_extract_orderProposalId#22200299L, 0), isnull(_extract_orderProposalId#22200299L), 30), ENSURE_REQUIREMENTS, [plan_id=6645512]
(67) Sort
Input [11]: [shardId#22197470, _extract_orderProposalId#22200290L, _extract_originalReplenishmentRunId#22200291L, _extract_supplierGroup#22200292, _extract_supplier#22200293, _extract_supplyingPlant#22200294, _extract_orderDateTime#22200295, _extract_itemGroups#22200296, _extract_previousOrderProposals#22200297, _extract_parentItems#22200298, _extract_orderProposalId#22200299L]
Arguments: [coalesce(shardId#22197470, ) ASC NULLS FIRST, isnull(shardId#22197470) ASC NULLS FIRST, coalesce(_extract_orderProposalId#22200299L, 0) ASC NULLS FIRST, isnull(_extract_orderProposalId#22200299L) ASC NULLS FIRST], false, 0
(68) InMemoryTableScan
Output [3]: [shardId#22199547, orderProposalId#22199548L, optimizationGroups#22199550]
Arguments: [shardId#22199547, orderProposalId#22199548L, optimizationGroups#22199550], [isnotnull(orderProposalId#22199548L)]
(69) InMemoryRelation
Arguments: [shardId#22199547, orderProposalId#22199548L, items#22199549, optimizationGroups#22199550, isOptimal#22199551, optimizationInsights#22199553], StorageLevel(disk, memory, 2 replicas)
(70) Filter [codegen id : 2]
Input [3]: [shardId#22199547, orderProposalId#22199548L, optimizationGroups#22199550]
Condition : isnotnull(orderProposalId#22199548L)
(71) Exchange
Input [3]: [shardId#22199547, orderProposalId#22199548L, optimizationGroups#22199550]
Arguments: hashpartitioning(orderProposalId#22199548L, 30), ENSURE_REQUIREMENTS, [plan_id=6645517]
(72) Sort [codegen id : 3]
Input [3]: [shardId#22199547, orderProposalId#22199548L, optimizationGroups#22199550]
Arguments: [orderProposalId#22199548L ASC NULLS FIRST], false, 0
(73) InMemoryTableScan
Output [2]: [items#22199176, shardId#22199174]
Arguments: [items#22199176, shardId#22199174], [(size(items#22199176.worklistShardItemId, true) > 0), isnotnull(items#22199176.worklistShardItemId), (shardId#22199174 = 0_7_10000000553)]
(74) InMemoryRelation
Arguments: [shardId#22199174, orderProposalId#22199175L, items#22199176, optimizationGroups#22199177, isOptimal#22199178, optimizationInsights#22199180], StorageLevel(disk, memory, 2 replicas)
(75) Filter [codegen id : 4]
Input [2]: [items#22199176, shardId#22199174]
Condition : (((size(items#22199176.worklistShardItemId, true) > 0) AND isnotnull(items#22199176.worklistShardItemId)) AND (shardId#22199174 = 0_7_10000000553))
(76) Project [codegen id : 4]
Output [1]: [items#22199176.worklistShardItemId AS _extract_worklistShardItemId#22200195]
Input [2]: [items#22199176, shardId#22199174]
(77) Generate [codegen id : 4]
Input [1]: [_extract_worklistShardItemId#22200195]
Arguments: explode(_extract_worklistShardItemId#22200195), false, [item#22199554L]
(78) Project [codegen id : 4]
Output [1]: [item#22199554L AS worklistShardItemId#22199555L]
Input [1]: [item#22199554L]
(79) BroadcastExchange
Input [1]: [worklistShardItemId#22199555L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=6645528]
(80) Scan parquet
Output [5]: [orderProposalId#22199603L, isFallbackOrderOnly#22199620, worklistShardItemId#22199626L, shardId#22199647, sequenceId#22199625]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000553]
PartitionFilters: [isnotnull(shardId#22199647), isnotnull(sequenceId#22199625), (shardId#22199647 = 0_7_10000000553), (sequenceId#22199625 = 4)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(81) ColumnarToRow [codegen id : 5]
Input [5]: [orderProposalId#22199603L, isFallbackOrderOnly#22199620, worklistShardItemId#22199626L, shardId#22199647, sequenceId#22199625]
(82) Filter [codegen id : 5]
Input [5]: [orderProposalId#22199603L, isFallbackOrderOnly#22199620, worklistShardItemId#22199626L, shardId#22199647, sequenceId#22199625]
Condition : ((isnotnull(worklistShardItemId#22199626L) AND NOT (isFallbackOrderOnly#22199620 <=> true)) AND isnotnull(orderProposalId#22199603L))
(83) Project [codegen id : 5]
Output [2]: [orderProposalId#22199603L, worklistShardItemId#22199626L]
Input [5]: [orderProposalId#22199603L, isFallbackOrderOnly#22199620, worklistShardItemId#22199626L, shardId#22199647, sequenceId#22199625]
(84) Exchange
Input [2]: [orderProposalId#22199603L, worklistShardItemId#22199626L]
Arguments: hashpartitioning(worklistShardItemId#22199626L, 30), REPARTITION_BY_NUM, [plan_id=6645535]
(85) Project
Output [2]: [worklistShardItemId#22199626L, orderProposalId#22199603L]
Input [2]: [orderProposalId#22199603L, worklistShardItemId#22199626L]
(86) BroadcastHashJoin [codegen id : 6]
Left keys [1]: [worklistShardItemId#22199555L]
Right keys [1]: [worklistShardItemId#22199626L]
Join type: Inner
Join condition: None
(87) Project [codegen id : 6]
Output [1]: [orderProposalId#22199603L]
Input [3]: [worklistShardItemId#22199555L, worklistShardItemId#22199626L, orderProposalId#22199603L]
(88) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#22199603L]
Keys [1]: [orderProposalId#22199603L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#22199603L]
(89) Exchange
Input [1]: [orderProposalId#22199603L]
Arguments: hashpartitioning(orderProposalId#22199603L, 30), ENSURE_REQUIREMENTS, [plan_id=6645542]
(90) HashAggregate [codegen id : 7]
Input [1]: [orderProposalId#22199603L]
Keys [1]: [orderProposalId#22199603L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#22199603L]
(91) Sort [codegen id : 7]
Input [1]: [orderProposalId#22199603L]
Arguments: [orderProposalId#22199603L ASC NULLS FIRST], false, 0
(92) SortMergeJoin [codegen id : 8]
Left keys [1]: [orderProposalId#22199548L]
Right keys [1]: [orderProposalId#22199603L]
Join type: Inner
Join condition: None
(93) Project
Output [3]: [orderProposalId#22199548L, shardId#22199547, coalesce(transform(optimizationGroups#22199550, lambdafunction(struct(optGroupId, lambda x_73362#22199545.optGroupId, minOrderProfile, lambda x_73362#22199545.minOrderProfile, assignmentDetails, lambda x_73362#22199545.assignmentDetails, minOrdBenchmark, struct(dimensionType, lambda x_73362#22199545.minOrderGoal.dimensionType, unit, lambda x_73362#22199545.minOrderGoal.unit, unitUuid, lambda x_73362#22199545.minOrderGoal.unitUuid, goalValue, lambda x_73362#22199545.minOrderGoal.minOrderValue, calcValue, lambda x_73362#22199545.minOrderGoal.calculatedOrderValue), transportLoadProfile, null, transportLoadGoal, null), lambda x_73362#22199545, false)), []) AS optimizationGroups#22199544]
Input [4]: [shardId#22199547, orderProposalId#22199548L, optimizationGroups#22199550, orderProposalId#22199603L]
(94) Exchange
Input [3]: [orderProposalId#22199548L, shardId#22199547, optimizationGroups#22199544]
Arguments: hashpartitioning(coalesce(shardId#22199547, ), isnull(shardId#22199547), coalesce(orderProposalId#22199548L, 0), isnull(orderProposalId#22199548L), 30), ENSURE_REQUIREMENTS, [plan_id=6645551]
(95) Sort [codegen id : 9]
Input [3]: [orderProposalId#22199548L, shardId#22199547, optimizationGroups#22199544]
Arguments: [coalesce(shardId#22199547, ) ASC NULLS FIRST, isnull(shardId#22199547) ASC NULLS FIRST, coalesce(orderProposalId#22199548L, 0) ASC NULLS FIRST, isnull(orderProposalId#22199548L) ASC NULLS FIRST], false, 0
(96) SortMergeJoin
Left keys [4]: [coalesce(shardId#22197470, ), isnull(shardId#22197470), coalesce(_extract_orderProposalId#22200299L, 0), isnull(_extract_orderProposalId#22200299L)]
Right keys [4]: [coalesce(shardId#22199547, ), isnull(shardId#22199547), coalesce(orderProposalId#22199548L, 0), isnull(orderProposalId#22199548L)]
Join type: LeftOuter
Join condition: None
(97) Project
Output [2]: [shardId#22197470, named_struct(orderProposalId, _extract_orderProposalId#22200299L, originalReplenishmentRunId, _extract_originalReplenishmentRunId#22200291L, supplierGroup, _extract_supplierGroup#22200292, optimizationGroups, coalesce(optimizationGroups#22199544, []), supplier, _extract_supplier#22200293, supplyingPlant, _extract_supplyingPlant#22200294, orderDateTime, _extract_orderDateTime#22200295, itemGroups, _extract_itemGroups#22200296, previousOrderProposals, _extract_previousOrderProposals#22200297, parentItems, _extract_parentItems#22200298) AS orderProposal#22199651]
Input [14]: [shardId#22197470, _extract_orderProposalId#22200290L, _extract_originalReplenishmentRunId#22200291L, _extract_supplierGroup#22200292, _extract_supplier#22200293, _extract_supplyingPlant#22200294, _extract_orderDateTime#22200295, _extract_itemGroups#22200296, _extract_previousOrderProposals#22200297, _extract_parentItems#22200298, _extract_orderProposalId#22200299L, orderProposalId#22199548L, shardId#22199547, optimizationGroups#22199544]
(98) Filter
Input [1]: [orderProposal#22199651]
Condition : (size(orderProposal#22199651.parentItems.deliveryDateTime, true) > 0)
(99) Project
Output [1]: [orderProposal#22199651.parentItems.deliveryDateTime AS _extract_deliveryDateTime#22201070]
Input [1]: [orderProposal#22199651]
(100) Generate [codegen id : 1]
Input [1]: [_extract_deliveryDateTime#22201070]
Arguments: explode(_extract_deliveryDateTime#22201070), false, [numberOfOrderProposalItems#22201042]
(101) Project [codegen id : 1]
Output: []
Input [1]: [numberOfOrderProposalItems#22201042]
(102) HashAggregate [codegen id : 1]
Input: []
Keys: []
Functions [1]: [partial_count(1)]
Aggregate Attributes [1]: [count#22201081L]
Results [1]: [count#22201082L]
(103) Exchange
Input [1]: [count#22201082L]
Arguments: SinglePartition, ENSURE_REQUIREMENTS, [plan_id=6645678]
(104) HashAggregate [codegen id : 2]
Input [1]: [count#22201082L]
Keys: []
Functions [1]: [count(1)]
Aggregate Attributes [1]: [count(1)#22201047L]
Results [1]: [count(1)#22201047L AS count#22201043L]