digraph G {
0 [id="node0" labelType="html" label="<b>CollectLimit</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>local merged bytes read: 0.0 B<br>remote reqs duration: 0 ms<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>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 0.0 B" tooltip="CollectLimit 1"];
1 [id="node1" labelType="html" label="<br><b>Union</b><br><br>" tooltip="Union"];
subgraph cluster2 {
isCluster="true";
id="cluster2";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n65 ms (0 ms, 0 ms, 7 ms (stage 1576726.0: task 2945801))";
tooltip="WholeStageCodegen (5)";
3 [id="node3" labelType="html" label="<br><b>LocalLimit</b><br><br>" tooltip="LocalLimit 1"];
4 [id="node4" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
5 [id="node5" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT insight#6612539.internalInsightType IN (OP_CALC_ITEM_ACCEPT_THR_NOT_MET,OP_CALC_ITEM_NEGL_THR_NOT_MET,OP_CALC_ITEM_OPT_MISSING_MD,OP_CALC_LOCKED_QUANTITY_PREVENTS_DISCARDING_INSIGHT,OP_CALC_MIN_NOT_MET)"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(optimizationInsights#6608413), false, [insight#6612539]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [optimizationInsights#6608413]"];
8 [id="node8" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [orderProposalId#6608408L], [orderProposalId#6609120L], Inner, BuildLeft, false"];
19 [id="node19" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 1 ms (stage 1576726.0: task 2945805))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1576726.0: task 2945806))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#6609120L], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 194 ms<br>number of output rows: 0<br>data size: 0.0 B" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=3474772]"];
subgraph cluster10 {
isCluster="true";
id="cluster10";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n13 ms (0 ms, 0 ms, 4 ms (stage 1576580.0: task 2945558))";
tooltip="WholeStageCodegen (1)";
11 [id="node11" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(orderProposalId#6608408L) AND (size(optimizationInsights#6608413, true) > 0)) AND isnotnull(optimizationInsights#6608413))"];
}
12 [id="node12" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 22" tooltip="InMemoryTableScan [orderProposalId#6608408L, optimizationInsights#6608413], [isnotnull(orderProposalId#6608408L), (size(optimizationInsights#6608413, true) > 0), isnotnull(optimizationInsights#6608413)]"];
subgraph cluster13 {
isCluster="true";
id="cluster13";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
14 [id="node14" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#6608407) AND (shardId#6608407 = 0_1_10000002290))"];
}
15 [id="node15" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, optimizationInsights#6608413], [isnotnull(shardId#6608407), (shardId#6608407 = 0_1_10000002290)]"];
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
17 [id="node17" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#6608407) AND (shardId#6608407 = 0_1_10000002290))"];
18 [id="node18" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6608407,orderProposalId#6608408L,items#6608409,optimizationGroups#6608410,isOptimal#6608411,lastModified#6608412,optimizationInsights#6608413]"];
}
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(orderProposalId#6609120L, 30), ENSURE_REQUIREMENTS, [plan_id=3474794]"];
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n55 ms (0 ms, 2 ms, 7 ms (stage 1576724.0: task 2945717))";
tooltip="WholeStageCodegen (4)";
22 [id="node22" 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>0 ms (0 ms, 0 ms, 0 ms (stage 1576724.0: task 2945719))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1576724.0: task 2945719))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#6609120L], functions=[])"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#6609120L]"];
24 [id="node24" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#6608919L], [worklistShardItemId#6609143L], Inner, BuildLeft, false"];
38 [id="node38" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#6609143L, orderProposalId#6609120L]"];
}
25 [id="node25" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 41 ms<br>number of output rows: 415<br>data size: 1036.9 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=3474780]"];
subgraph cluster26 {
isCluster="true";
id="cluster26";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n0 ms (0 ms, 0 ms, 0 ms (stage 1576581.0: task 2945564))";
tooltip="WholeStageCodegen (2)";
27 [id="node27" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#6608918L AS worklistShardItemId#6608919L]"];
28 [id="node28" labelType="html" label="<b>Generate</b><br><br>number of output rows: 415" tooltip="Generate explode(_extract_worklistShardItemId#6617175), false, [item#6608918L]"];
29 [id="node29" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#6612533.worklistShardItemId AS _extract_worklistShardItemId#6617175]"];
30 [id="node30" labelType="html" label="<b>Filter</b><br><br>number of output rows: 22" tooltip="Filter (((size(items#6612533.worklistShardItemId, true) > 0) AND isnotnull(items#6612533.worklistShardItemId)) AND (shardId#6612531 = 0_1_10000002290))"];
}
31 [id="node31" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 22" tooltip="InMemoryTableScan [items#6612533, shardId#6612531], [(size(items#6612533.worklistShardItemId, true) > 0), isnotnull(items#6612533.worklistShardItemId), (shardId#6612531 = 0_1_10000002290)]"];
subgraph cluster32 {
isCluster="true";
id="cluster32";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
33 [id="node33" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#6608407) AND (shardId#6608407 = 0_1_10000002290))"];
}
34 [id="node34" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, optimizationInsights#6608413], [isnotnull(shardId#6608407), (shardId#6608407 = 0_1_10000002290)]"];
subgraph cluster35 {
isCluster="true";
id="cluster35";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
36 [id="node36" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#6608407) AND (shardId#6608407 = 0_1_10000002290))"];
37 [id="node37" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6608407,orderProposalId#6608408L,items#6608409,optimizationGroups#6608410,isOptimal#6608411,lastModified#6608412,optimizationInsights#6608413]"];
}
39 [id="node39" 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#6609143L, 30), REPARTITION_BY_NUM, [plan_id=3474787]"];
subgraph cluster40 {
isCluster="true";
id="cluster40";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (47 ms, 61 ms, 77 ms (stage 1576634.0: task 2945683))";
tooltip="WholeStageCodegen (3)";
41 [id="node41" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#6609120L, worklistShardItemId#6609143L]"];
42 [id="node42" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(worklistShardItemId#6609143L) AND NOT (isFallbackOrderOnly#6609137 <=> true)) AND isnotnull(orderProposalId#6609120L))"];
43 [id="node43" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
44 [id="node44" 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.3 s (46 ms, 61 ms, 77 ms (stage 1576634.0: task 2945683))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 787.6 KiB<br>number of output rows: 0<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#6609120L,isFallbackOrderOnly#6609137,worklistShardItemId#6609143L,shardId#6609164,sequenceId#6609142] Batched: true, DataFilters: [isnotnull(worklistShardItemId#6609143L), NOT (isFallbackOrderOnly#6609137 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://dac252a8-bd1b-4f30-995e-f6d4a08836d2.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#6609164), isnotnull(sequenceId#6609142), (shardId#6609164 = 0_1_10000002290), ..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
subgraph cluster45 {
isCluster="true";
id="cluster45";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n41 ms (0 ms, 1 ms, 6 ms (stage 1576726.0: task 2945744))";
tooltip="WholeStageCodegen (8)";
46 [id="node46" labelType="html" label="<br><b>LocalLimit</b><br><br>" tooltip="LocalLimit 1"];
47 [id="node47" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
}
48 [id="node48" labelType="html" label="<b>BroadcastNestedLoopJoin</b><br><br>number of output rows: 0" tooltip="BroadcastNestedLoopJoin BuildRight, Cross, ((CASE WHEN (isnull(element_at(filter(prodLocSpecificKpis#6609647, lambdafunction((lambda x_12842#6612974.label = OutOfStockProbability), lambda x_12842#6612974, false)), 1, None, false).value) OR isnull(cast(element_at(filter(_extract_settings#6617177, lambdafunction((lambda x_12843#6612975.name = OOS_PROBABILITY_THRESHOLD), lambda x_12843#6612975, false)), 1, None, false).value as double))) THEN false ELSE (element_at(filter(prodLocSpecificKpis#6609647, lambdafunction((lambda x_12842#6612976.label = OutOfStockProbability), lambda x_12842#6612976, false)), 1, None, false).value >= cast(element_at(filter(_extract_settings#6617177, lambdafunction((lambda x_12843#6612977.name = OOS_PROBABILITY_THRESHOLD), lambda x_12843#6612977, false)), 1, None, false).value as double)) END AND CASE WHEN isnull(element_at(filter(prodLocSpecificKpis#6609647, lambdafunction((lambda x_12844#6612978.label = InitialStockQty), lambda x_12844#6612978, false)), 1, None, false).value) THEN false ELSE (element_at(filter(prodLocSpecificKpis#6609647, lambdafunction((lambda x_12844#6612980.label = InitialStockQty), lambda x_12844#6612980, false)), 1, None, false).value > CASE WHEN cast(element_at(filter(_extract_settings#6617177, lambdafunction((lambda x_12845#6612981.name = CURRENT_STOCK_ABOVE_ZERO), lambda x_12845#6612981, false)), 1, None, false).value as boolean) THEN 0.0 ELSE -Infinity END) END) AND CASE WHEN (CASE WHEN isnull(orderDateTime#6613188) THEN true ELSE isnull((cast((unix_timestamp(orderDateTime#6613188, yyyy-MM-dd HH:mm:ss, Some(UTC), false) - 1784686956) as double) / 3600.0)) END OR isnull(cast(element_at(filter(_extract_settings#6617177, lambdafunction((lambda x_12846#6612982.name = OFFSET_CURRENT_ORDER_DATE), lambda x_12846#6612982, false)), 1, None, false).value as double))) THEN false ELSE (CASE WHEN isnull(orderDateTime#6613188) THEN null ELSE (cast((unix_timestamp(orderDateTime#6613188, yyyy-MM-dd HH:mm:ss, Some(UTC), false) - 1784686956) as double) / 3600.0) END >= cast(element_at(filter(_extract_settings#6617177, lambdafunction((lambda x_12846#6612983.name = OFFSET_CURRENT_ORDER_DATE), lambda x_12846#6612983, false)), 1, None, false).value as double)) END)"];
subgraph cluster49 {
isCluster="true";
id="cluster49";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n879 ms (0 ms, 29 ms, 116 ms (stage 1576726.0: task 2945744))";
tooltip="WholeStageCodegen (6)";
50 [id="node50" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderDateTime#6613188, prodLocSpecificKpis#6609647]"];
51 [id="node51" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT (isFallbackOrderOnly#6613192 <=> true)"];
}
52 [id="node52" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 415" tooltip="InMemoryTableScan [isFallbackOrderOnly#6613192, orderDateTime#6613188, prodLocSpecificKpis#6609647], [NOT (isFallbackOrderOnly#6613192 <=> true)]"];
subgraph cluster53 {
isCluster="true";
id="cluster53";
label="WholeStageCodegen (15)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (15)";
54 [id="node54" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, ... 17 more fields]"];
55 [id="node55" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [shardId#6608407, worklistShardItemId#6608919L], [shardId#6609669, worklistShardItemId#6609670L], LeftOuter"];
}
subgraph cluster56 {
isCluster="true";
id="cluster56";
label="WholeStageCodegen (12)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (12)";
57 [id="node57" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, ... 16 more fields]"];
58 [id="node58" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [shardId#6608407, worklistShardItemId#6608919L], [shardId#6609656, worklistShardItemId#6609657L], LeftOuter"];
}
subgraph cluster59 {
isCluster="true";
id="cluster59";
label="WholeStageCodegen (9)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (9)";
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, ... 15 more fields]"];
61 [id="node61" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [shardId#6608407, worklistShardItemId#6608919L], [shardId#6609640, worklistShardItemId#6609641L], LeftOuter"];
}
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (6)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (6)";
63 [id="node63" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [shardId#6608407 ASC NULLS FIRST, worklistShardItemId#6608919L ASC NULLS FIRST], false, 0"];
}
64 [id="node64" 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: 0<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#6608407, worklistShardItemId#6608919L, 30), ENSURE_REQUIREMENTS, [plan_id=3473541]"];
subgraph cluster65 {
isCluster="true";
id="cluster65";
label="WholeStageCodegen (5)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (5)";
66 [id="node66" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, ... 14 more fields]"];
67 [id="node67" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [worklistShardItemId#6608919L], [worklistShardItemId#6609143L], LeftOuter, (shardId#6608407 = 0_1_10000002290)"];
}
subgraph cluster68 {
isCluster="true";
id="cluster68";
label="WholeStageCodegen (2)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (2)";
69 [id="node69" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [worklistShardItemId#6608919L ASC NULLS FIRST], false, 0"];
}
70 [id="node70" 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: 0<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#6608919L, 30), ENSURE_REQUIREMENTS, [plan_id=3473522]"];
subgraph cluster71 {
isCluster="true";
id="cluster71";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
72 [id="node72" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6608407, item#6608918.worklistShardItemId AS worklistShardItemId#6608919L, item#6608918.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#6608920, item#6608918.qty AS qty#6608921]"];
73 [id="node73" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(items#6608409), [shardId#6608407], false, [item#6608918]"];
74 [id="node74" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((size(items#6608409, true) > 0) AND isnotnull(items#6608409))"];
}
75 [id="node75" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#6608407, items#6608409], [(size(items#6608409, true) > 0), isnotnull(items#6608409)]"];
subgraph cluster76 {
isCluster="true";
id="cluster76";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
77 [id="node77" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#6608407) AND (shardId#6608407 = 0_1_10000002290))"];
}
78 [id="node78" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, optimizationInsights#6608413], [isnotnull(shardId#6608407), (shardId#6608407 = 0_1_10000002290)]"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
80 [id="node80" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#6608407) AND (shardId#6608407 = 0_1_10000002290))"];
81 [id="node81" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6608407,orderProposalId#6608408L,items#6608409,optimizationGroups#6608410,isOptimal#6608411,lastModified#6608412,optimizationInsights#6608413]"];
}
subgraph cluster82 {
isCluster="true";
id="cluster82";
label="WholeStageCodegen (4)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (4)";
83 [id="node83" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [worklistShardItemId#6609143L ASC NULLS FIRST], false, 0"];
84 [id="node84" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#6609143L, orderProposalId#6609120L, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, originalReplenishmentRunId#6609162L, splitIndicator#6609139L, previousOrderProposal#6609140L, sourceOfSupplyUuid#6609134, supplierGroup#6609122, supplier#6609123, subrange#6609126, product#6609129, plant#6609124, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, isFallbackOrderOnly#6609137, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, netPriceAmount#6609156, netPriceCurrencyCode#6609157, ... 11 more fields]"];
}
85 [id="node85" 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: 0<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#6609143L, 30), REPARTITION_BY_NUM, [plan_id=3473532]"];
subgraph cluster86 {
isCluster="true";
id="cluster86";
label="WholeStageCodegen (3)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (3)";
87 [id="node87" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#6609120L, orderProposalItemId#6609121, supplierGroup#6609122, supplier#6609123, plant#6609124, deliveryDateTime#6609125, subrange#6609126, supplyingPlant#6609127, productGroup#6609128, product#6609129, orderDateTime#6609130, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, sourceOfSupplyUuid#6609134, isFallbackOrderOnly#6609137, splitIndicator#6609139L, previousOrderProposal#6609140L, worklistShardItemId#6609143L, orderProposalItemGroupId#6609144, externalProductId#6609145, externalPlantId#6609146, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, minimumOrderQuantity#6609150, ... 11 more fields]"];
88 [id="node88" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter isnotnull(worklistShardItemId#6609143L)"];
89 [id="node89" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
90 [id="node90" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 0<br>scan time: 0 ms<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 0.0 B<br>number of output rows: 0<br>number of partitions read: 0" tooltip="FileScan parquet [orderProposalId#6609120L,orderProposalItemId#6609121,supplierGroup#6609122,supplier#6609123,plant#6609124,deliveryDateTime#6609125,subrange#6609126,supplyingPlant#6609127,productGroup#6609128,product#6609129,orderDateTime#6609130,availabilityDateTime#6609131,nextAvailabilityDateTime#6609132,sourceOfSupplyUuid#6609134,isFallbackOrderOnly#6609137,splitIndicator#6609139L,previousOrderProposal#6609140L,worklistShardItemId#6609143L,orderProposalItemGroupId#6609144,externalProductId#6609145,externalPlantId#6609146,logisticUnits#6609147,orderQuantityBaseUom#6609148,orderQuantityBaseUomUuid#6609149,minimumOrderQuantity#6609150,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#6609143L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://dac252a8-bd1b-4f30-995e-f6d4a08836d2.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#6609164), isnotnull(sequenceId#6609142), (shardId#6609164 = 0_1_10000002290), ..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster91 {
isCluster="true";
id="cluster91";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (8)";
92 [id="node92" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [shardId#6609640 ASC NULLS FIRST, worklistShardItemId#6609641L ASC NULLS FIRST], false, 0"];
}
93 [id="node93" 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: 0<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#6609640, worklistShardItemId#6609641L, 30), ENSURE_REQUIREMENTS, [plan_id=3473547]"];
subgraph cluster94 {
isCluster="true";
id="cluster94";
label="WholeStageCodegen (7)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (7)";
95 [id="node95" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6609640, worklistShardItemId#6609641L, coalesce(kpis#6609645, []) AS prodLocSpecificKpis#6609646]"];
96 [id="node96" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (((isnull(qty#6609642) AND isnull(demandChannel#6609643)) AND isnull(demandStream#6609644)) AND (isnotnull(shardId#6609640) AND isnotnull(worklistShardItemId#6609641L)))"];
97 [id="node97" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6609640,worklistShardItemId#6609641L,qty#6609642,demandChannel#6609643,demandStream#6609644,kpis#6609645]"];
}
subgraph cluster98 {
isCluster="true";
id="cluster98";
label="WholeStageCodegen (11)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (11)";
99 [id="node99" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [shardId#6609656 ASC NULLS FIRST, worklistShardItemId#6609657L ASC NULLS FIRST], false, 0"];
}
100 [id="node100" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build: 0 ms<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#6609656, worklistShardItemId#6609657L], functions=[collect_list(struct(demandChannel, demandChannel#6609659, demandStream, demandStream#6609660, kpis, kpis#6609661), 0, 0)])"];
101 [id="node101" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 0<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 0.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>number of partitions: 0<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#6609656, worklistShardItemId#6609657L, 30), ENSURE_REQUIREMENTS, [plan_id=3473558]"];
102 [id="node102" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build: 0 ms<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#6609656, worklistShardItemId#6609657L], functions=[partial_collect_list(struct(demandChannel, demandChannel#6609659, demandStream, demandStream#6609660, kpis, kpis#6609661), 0, 0)])"];
subgraph cluster103 {
isCluster="true";
id="cluster103";
label="WholeStageCodegen (10)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (10)";
104 [id="node104" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6609656, worklistShardItemId#6609657L, demandChannel#6609659, demandStream#6609660, kpis#6609661]"];
105 [id="node105" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((((isnull(qty#6609658) AND isnotnull(demandChannel#6609659)) AND isnotnull(demandStream#6609660)) AND (size(kpis#6609661, true) > 0)) AND (isnotnull(shardId#6609656) AND isnotnull(worklistShardItemId#6609657L)))"];
106 [id="node106" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6609656,worklistShardItemId#6609657L,qty#6609658,demandChannel#6609659,demandStream#6609660,kpis#6609661]"];
}
subgraph cluster107 {
isCluster="true";
id="cluster107";
label="WholeStageCodegen (14)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (14)";
108 [id="node108" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [shardId#6609669 ASC NULLS FIRST, worklistShardItemId#6609670L ASC NULLS FIRST], false, 0"];
}
109 [id="node109" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build: 0 ms<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#6609669, worklistShardItemId#6609670L], functions=[collect_list(struct(qty, qty#6609671, kpis, kpis#6609674), 0, 0)])"];
110 [id="node110" 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: 0<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#6609669, worklistShardItemId#6609670L, 30), ENSURE_REQUIREMENTS, [plan_id=3473570]"];
111 [id="node111" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build: 0 ms<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#6609669, worklistShardItemId#6609670L], functions=[partial_collect_list(struct(qty, qty#6609671, kpis, kpis#6609674), 0, 0)])"];
subgraph cluster112 {
isCluster="true";
id="cluster112";
label="WholeStageCodegen (13)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (13)";
113 [id="node113" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6609669, worklistShardItemId#6609670L, qty#6609671, kpis#6609674]"];
114 [id="node114" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(qty#6609671) AND isnotnull(kpis#6609674)) AND (isnotnull(shardId#6609669) AND isnotnull(worklistShardItemId#6609670L)))"];
115 [id="node115" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6609669,worklistShardItemId#6609670L,qty#6609671,demandChannel#6609672,demandStream#6609673,kpis#6609674]"];
}
116 [id="node116" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 167 ms<br>number of output rows: 1<br>data size: 288.0 B" tooltip="BroadcastExchange IdentityBroadcastMode, [plan_id=3474814]"];
117 [id="node117" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1<br>local bytes read: 276.0 B<br>merged fetch fallback count: 0<br>local blocks read: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 288.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: 276.0 B" tooltip="Exchange RoundRobinPartitioning(30), REPARTITION_BY_NUM, [plan_id=3474813]"];
subgraph cluster118 {
isCluster="true";
id="cluster118";
label="WholeStageCodegen (7)\n \nduration: 89 ms";
tooltip="WholeStageCodegen (7)";
119 [id="node119" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [insightConfigurations#6612969[POTENTIAL_OOS_STOCK_PERIOD].settings AS _extract_settings#6617177]"];
120 [id="node120" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1" tooltip="Filter (isnotnull(insightConfigurations#6612969) AND isnotnull(insightConfigurations#6612969[POTENTIAL_OOS_STOCK_PERIOD]))"];
121 [id="node121" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 1<br>number of input batches: 1" tooltip="ColumnarToRow"];
}
122 [id="node122" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 88 ms<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 4.5 KiB<br>number of output rows: 1<br>number of partitions read: 1" tooltip="FileScan parquet [insightConfigurations#6612969,shardId#6612970] Batched: true, DataFilters: [isnotnull(insightConfigurations#6612969), isnotnull(insightConfigurations#6612969[POTENTIAL_OOS_..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://dac252a8-bd1b-4f30-995e-f6d4a08836d2.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#6612970), (shardId#6612970 = 0_1_10000002290)], PushedFilters: [IsNotNull(insightConfigurations)], ReadSchema: struct<insightConfigurations:map<string,struct<configurationVersion:string,name:string,settings:a..."];
subgraph cluster123 {
isCluster="true";
id="cluster123";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n15 ms (0 ms, 0 ms, 2 ms (stage 1576726.0: task 2945773))";
tooltip="WholeStageCodegen (11)";
124 [id="node124" labelType="html" label="<br><b>LocalLimit</b><br><br>" tooltip="LocalLimit 1"];
125 [id="node125" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
}
126 [id="node126" labelType="html" label="<b>BroadcastNestedLoopJoin</b><br><br>number of output rows: 0" tooltip="BroadcastNestedLoopJoin BuildRight, Cross, CASE WHEN (isnull(element_at(filter(element_at(quantityKpis#6613146, qty#6613030, None, false), lambdafunction((lambda x_12848#6613000.label = OutOfStockProbability), lambda x_12848#6613000, false)), 1, None, false).value) OR isnull(cast(element_at(filter(_extract_settings#6617179, lambdafunction((lambda x_12849#6613001.name = OOS_PROBABILITY_THRESHOLD), lambda x_12849#6613001, false)), 1, None, false).value as double))) THEN false ELSE (element_at(filter(element_at(quantityKpis#6613146, qty#6613030, None, false), lambdafunction((lambda x_12848#6613002.label = OutOfStockProbability), lambda x_12848#6613002, false)), 1, None, false).value >= cast(element_at(filter(_extract_settings#6617179, lambdafunction((lambda x_12849#6613003.name = OOS_PROBABILITY_THRESHOLD), lambda x_12849#6613003, false)), 1, None, false).value as double)) END"];
subgraph cluster127 {
isCluster="true";
id="cluster127";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n289 ms (0 ms, 1 ms, 28 ms (stage 1576726.0: task 2945769))";
tooltip="WholeStageCodegen (9)";
128 [id="node128" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [qty#6613030, quantityKpis#6613146]"];
129 [id="node129" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT (isFallbackOrderOnly#6613055 <=> true)"];
}
130 [id="node130" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 415" tooltip="InMemoryTableScan [isFallbackOrderOnly#6613055, qty#6613030, quantityKpis#6613146], [NOT (isFallbackOrderOnly#6613055 <=> true)]"];
subgraph cluster131 {
isCluster="true";
id="cluster131";
label="WholeStageCodegen (15)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (15)";
132 [id="node132" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, ... 17 more fields]"];
133 [id="node133" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [shardId#6608407, worklistShardItemId#6608919L], [shardId#6609669, worklistShardItemId#6609670L], LeftOuter"];
}
subgraph cluster134 {
isCluster="true";
id="cluster134";
label="WholeStageCodegen (12)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (12)";
135 [id="node135" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, ... 16 more fields]"];
136 [id="node136" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [shardId#6608407, worklistShardItemId#6608919L], [shardId#6609656, worklistShardItemId#6609657L], LeftOuter"];
}
subgraph cluster137 {
isCluster="true";
id="cluster137";
label="WholeStageCodegen (9)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (9)";
138 [id="node138" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, ... 15 more fields]"];
139 [id="node139" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [shardId#6608407, worklistShardItemId#6608919L], [shardId#6609640, worklistShardItemId#6609641L], LeftOuter"];
}
subgraph cluster140 {
isCluster="true";
id="cluster140";
label="WholeStageCodegen (6)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (6)";
141 [id="node141" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [shardId#6608407 ASC NULLS FIRST, worklistShardItemId#6608919L ASC NULLS FIRST], false, 0"];
}
142 [id="node142" 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: 0<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#6608407, worklistShardItemId#6608919L, 30), ENSURE_REQUIREMENTS, [plan_id=3473541]"];
subgraph cluster143 {
isCluster="true";
id="cluster143";
label="WholeStageCodegen (5)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (5)";
144 [id="node144" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, ... 14 more fields]"];
145 [id="node145" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [worklistShardItemId#6608919L], [worklistShardItemId#6609143L], LeftOuter, (shardId#6608407 = 0_1_10000002290)"];
}
subgraph cluster146 {
isCluster="true";
id="cluster146";
label="WholeStageCodegen (2)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (2)";
147 [id="node147" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [worklistShardItemId#6608919L ASC NULLS FIRST], false, 0"];
}
148 [id="node148" 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: 0<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#6608919L, 30), ENSURE_REQUIREMENTS, [plan_id=3473522]"];
subgraph cluster149 {
isCluster="true";
id="cluster149";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
150 [id="node150" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6608407, item#6608918.worklistShardItemId AS worklistShardItemId#6608919L, item#6608918.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#6608920, item#6608918.qty AS qty#6608921]"];
151 [id="node151" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(items#6608409), [shardId#6608407], false, [item#6608918]"];
152 [id="node152" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((size(items#6608409, true) > 0) AND isnotnull(items#6608409))"];
}
153 [id="node153" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#6608407, items#6608409], [(size(items#6608409, true) > 0), isnotnull(items#6608409)]"];
subgraph cluster154 {
isCluster="true";
id="cluster154";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
155 [id="node155" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#6608407) AND (shardId#6608407 = 0_1_10000002290))"];
}
156 [id="node156" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, optimizationInsights#6608413], [isnotnull(shardId#6608407), (shardId#6608407 = 0_1_10000002290)]"];
subgraph cluster157 {
isCluster="true";
id="cluster157";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
158 [id="node158" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#6608407) AND (shardId#6608407 = 0_1_10000002290))"];
159 [id="node159" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6608407,orderProposalId#6608408L,items#6608409,optimizationGroups#6608410,isOptimal#6608411,lastModified#6608412,optimizationInsights#6608413]"];
}
subgraph cluster160 {
isCluster="true";
id="cluster160";
label="WholeStageCodegen (4)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (4)";
161 [id="node161" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [worklistShardItemId#6609143L ASC NULLS FIRST], false, 0"];
162 [id="node162" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#6609143L, orderProposalId#6609120L, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, originalReplenishmentRunId#6609162L, splitIndicator#6609139L, previousOrderProposal#6609140L, sourceOfSupplyUuid#6609134, supplierGroup#6609122, supplier#6609123, subrange#6609126, product#6609129, plant#6609124, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, isFallbackOrderOnly#6609137, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, netPriceAmount#6609156, netPriceCurrencyCode#6609157, ... 11 more fields]"];
}
163 [id="node163" 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: 0<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#6609143L, 30), REPARTITION_BY_NUM, [plan_id=3473532]"];
subgraph cluster164 {
isCluster="true";
id="cluster164";
label="WholeStageCodegen (3)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (3)";
165 [id="node165" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#6609120L, orderProposalItemId#6609121, supplierGroup#6609122, supplier#6609123, plant#6609124, deliveryDateTime#6609125, subrange#6609126, supplyingPlant#6609127, productGroup#6609128, product#6609129, orderDateTime#6609130, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, sourceOfSupplyUuid#6609134, isFallbackOrderOnly#6609137, splitIndicator#6609139L, previousOrderProposal#6609140L, worklistShardItemId#6609143L, orderProposalItemGroupId#6609144, externalProductId#6609145, externalPlantId#6609146, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, minimumOrderQuantity#6609150, ... 11 more fields]"];
166 [id="node166" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter isnotnull(worklistShardItemId#6609143L)"];
167 [id="node167" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
168 [id="node168" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 0<br>scan time: 0 ms<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 0.0 B<br>number of output rows: 0<br>number of partitions read: 0" tooltip="FileScan parquet [orderProposalId#6609120L,orderProposalItemId#6609121,supplierGroup#6609122,supplier#6609123,plant#6609124,deliveryDateTime#6609125,subrange#6609126,supplyingPlant#6609127,productGroup#6609128,product#6609129,orderDateTime#6609130,availabilityDateTime#6609131,nextAvailabilityDateTime#6609132,sourceOfSupplyUuid#6609134,isFallbackOrderOnly#6609137,splitIndicator#6609139L,previousOrderProposal#6609140L,worklistShardItemId#6609143L,orderProposalItemGroupId#6609144,externalProductId#6609145,externalPlantId#6609146,logisticUnits#6609147,orderQuantityBaseUom#6609148,orderQuantityBaseUomUuid#6609149,minimumOrderQuantity#6609150,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#6609143L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://dac252a8-bd1b-4f30-995e-f6d4a08836d2.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#6609164), isnotnull(sequenceId#6609142), (shardId#6609164 = 0_1_10000002290), ..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster169 {
isCluster="true";
id="cluster169";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (8)";
170 [id="node170" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [shardId#6609640 ASC NULLS FIRST, worklistShardItemId#6609641L ASC NULLS FIRST], false, 0"];
}
171 [id="node171" 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: 0<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#6609640, worklistShardItemId#6609641L, 30), ENSURE_REQUIREMENTS, [plan_id=3473547]"];
subgraph cluster172 {
isCluster="true";
id="cluster172";
label="WholeStageCodegen (7)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (7)";
173 [id="node173" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6609640, worklistShardItemId#6609641L, coalesce(kpis#6609645, []) AS prodLocSpecificKpis#6609646]"];
174 [id="node174" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (((isnull(qty#6609642) AND isnull(demandChannel#6609643)) AND isnull(demandStream#6609644)) AND (isnotnull(shardId#6609640) AND isnotnull(worklistShardItemId#6609641L)))"];
175 [id="node175" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6609640,worklistShardItemId#6609641L,qty#6609642,demandChannel#6609643,demandStream#6609644,kpis#6609645]"];
}
subgraph cluster176 {
isCluster="true";
id="cluster176";
label="WholeStageCodegen (11)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (11)";
177 [id="node177" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [shardId#6609656 ASC NULLS FIRST, worklistShardItemId#6609657L ASC NULLS FIRST], false, 0"];
}
178 [id="node178" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build: 0 ms<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#6609656, worklistShardItemId#6609657L], functions=[collect_list(struct(demandChannel, demandChannel#6609659, demandStream, demandStream#6609660, kpis, kpis#6609661), 0, 0)])"];
179 [id="node179" 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: 0<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#6609656, worklistShardItemId#6609657L, 30), ENSURE_REQUIREMENTS, [plan_id=3473558]"];
180 [id="node180" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build: 0 ms<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#6609656, worklistShardItemId#6609657L], functions=[partial_collect_list(struct(demandChannel, demandChannel#6609659, demandStream, demandStream#6609660, kpis, kpis#6609661), 0, 0)])"];
subgraph cluster181 {
isCluster="true";
id="cluster181";
label="WholeStageCodegen (10)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (10)";
182 [id="node182" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6609656, worklistShardItemId#6609657L, demandChannel#6609659, demandStream#6609660, kpis#6609661]"];
183 [id="node183" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((((isnull(qty#6609658) AND isnotnull(demandChannel#6609659)) AND isnotnull(demandStream#6609660)) AND (size(kpis#6609661, true) > 0)) AND (isnotnull(shardId#6609656) AND isnotnull(worklistShardItemId#6609657L)))"];
184 [id="node184" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6609656,worklistShardItemId#6609657L,qty#6609658,demandChannel#6609659,demandStream#6609660,kpis#6609661]"];
}
subgraph cluster185 {
isCluster="true";
id="cluster185";
label="WholeStageCodegen (14)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (14)";
186 [id="node186" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 0.0 B<br>spill size: 0.0 B" tooltip="Sort [shardId#6609669 ASC NULLS FIRST, worklistShardItemId#6609670L ASC NULLS FIRST], false, 0"];
}
187 [id="node187" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build: 0 ms<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#6609669, worklistShardItemId#6609670L], functions=[collect_list(struct(qty, qty#6609671, kpis, kpis#6609674), 0, 0)])"];
188 [id="node188" 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: 0<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#6609669, worklistShardItemId#6609670L, 30), ENSURE_REQUIREMENTS, [plan_id=3473570]"];
189 [id="node189" labelType="html" label="<b>ObjectHashAggregate</b><br><br>number of output rows: 0<br>time in aggregation build: 0 ms<br>spill size: 0.0 B<br>number of sort fallback tasks: 0" tooltip="ObjectHashAggregate(keys=[shardId#6609669, worklistShardItemId#6609670L], functions=[partial_collect_list(struct(qty, qty#6609671, kpis, kpis#6609674), 0, 0)])"];
subgraph cluster190 {
isCluster="true";
id="cluster190";
label="WholeStageCodegen (13)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (13)";
191 [id="node191" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6609669, worklistShardItemId#6609670L, qty#6609671, kpis#6609674]"];
192 [id="node192" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(qty#6609671) AND isnotnull(kpis#6609674)) AND (isnotnull(shardId#6609669) AND isnotnull(worklistShardItemId#6609670L)))"];
193 [id="node193" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6609669,worklistShardItemId#6609670L,qty#6609671,demandChannel#6609672,demandStream#6609673,kpis#6609674]"];
}
194 [id="node194" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 166 ms<br>number of output rows: 1<br>data size: 120.0 B" tooltip="BroadcastExchange IdentityBroadcastMode, [plan_id=3474830]"];
195 [id="node195" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1<br>local bytes read: 165.0 B<br>merged fetch fallback count: 0<br>local blocks read: 1<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 120.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: 165.0 B" tooltip="Exchange RoundRobinPartitioning(30), REPARTITION_BY_NUM, [plan_id=3474829]"];
subgraph cluster196 {
isCluster="true";
id="cluster196";
label="WholeStageCodegen (10)\n \nduration: 85 ms";
tooltip="WholeStageCodegen (10)";
197 [id="node197" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [insightConfigurations#6613151[POTENTIAL_OOS_DEMAND_PERIOD].settings AS _extract_settings#6617179]"];
198 [id="node198" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1" tooltip="Filter (isnotnull(insightConfigurations#6613151) AND isnotnull(insightConfigurations#6613151[POTENTIAL_OOS_DEMAND_PERIOD]))"];
199 [id="node199" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 1<br>number of input batches: 1" tooltip="ColumnarToRow"];
}
200 [id="node200" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 84 ms<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 4.5 KiB<br>number of output rows: 1<br>number of partitions read: 1" tooltip="FileScan parquet [insightConfigurations#6613151,shardId#6613152] Batched: true, DataFilters: [isnotnull(insightConfigurations#6613151), isnotnull(insightConfigurations#6613151[POTENTIAL_OOS_..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://dac252a8-bd1b-4f30-995e-f6d4a08836d2.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#6613152), (shardId#6613152 = 0_1_10000002290)], PushedFilters: [IsNotNull(insightConfigurations)], ReadSchema: struct<insightConfigurations:map<string,struct<configurationVersion:string,name:string,settings:a..."];
1->0;
3->1;
4->3;
5->4;
6->5;
7->6;
8->7;
9->8;
11->9;
12->11;
14->12;
15->14;
17->15;
18->17;
19->8;
20->19;
22->20;
23->22;
24->23;
25->24;
27->25;
28->27;
29->28;
30->29;
31->30;
33->31;
34->33;
36->34;
37->36;
38->24;
39->38;
41->39;
42->41;
43->42;
44->43;
46->1;
47->46;
48->47;
50->48;
51->50;
52->51;
54->52;
55->54;
57->55;
58->57;
60->58;
61->60;
63->61;
64->63;
66->64;
67->66;
69->67;
70->69;
72->70;
73->72;
74->73;
75->74;
77->75;
78->77;
80->78;
81->80;
83->67;
84->83;
85->84;
87->85;
88->87;
89->88;
90->89;
92->61;
93->92;
95->93;
96->95;
97->96;
99->58;
100->99;
101->100;
102->101;
104->102;
105->104;
106->105;
108->55;
109->108;
110->109;
111->110;
113->111;
114->113;
115->114;
116->48;
117->116;
119->117;
120->119;
121->120;
122->121;
124->1;
125->124;
126->125;
128->126;
129->128;
130->129;
132->130;
133->132;
135->133;
136->135;
138->136;
139->138;
141->139;
142->141;
144->142;
145->144;
147->145;
148->147;
150->148;
151->150;
152->151;
153->152;
155->153;
156->155;
158->156;
159->158;
161->145;
162->161;
163->162;
165->163;
166->165;
167->166;
168->167;
170->139;
171->170;
173->171;
174->173;
175->174;
177->136;
178->177;
179->178;
180->179;
182->180;
183->182;
184->183;
186->133;
187->186;
188->187;
189->188;
191->189;
192->191;
193->192;
194->126;
195->194;
197->195;
198->197;
199->198;
200->199;
}
== Physical Plan ==
CollectLimit (104)
+- Union (103)
:- * LocalLimit (33)
: +- * Project (32)
: +- * Filter (31)
: +- * Generate (30)
: +- * Project (29)
: +- * BroadcastHashJoin Inner BuildLeft (28)
: :- BroadcastExchange (9)
: : +- * Filter (8)
: : +- InMemoryTableScan (1)
: : +- InMemoryRelation (2)
: : +- * Filter (7)
: : +- InMemoryTableScan (3)
: : +- InMemoryRelation (4)
: : +- * Filter (6)
: : +- * Scan ExistingRDD (5)
: +- * HashAggregate (27)
: +- Exchange (26)
: +- * HashAggregate (25)
: +- * Project (24)
: +- * BroadcastHashJoin Inner BuildLeft (23)
: :- BroadcastExchange (16)
: : +- * Project (15)
: : +- * Generate (14)
: : +- * Project (13)
: : +- * Filter (12)
: : +- InMemoryTableScan (10)
: : +- InMemoryRelation (11)
: : +- * Filter (7)
: : +- InMemoryTableScan (3)
: : +- InMemoryRelation (4)
: : +- * Filter (6)
: : +- * Scan ExistingRDD (5)
: +- * Project (22)
: +- Exchange (21)
: +- * Project (20)
: +- * Filter (19)
: +- * ColumnarToRow (18)
: +- Scan parquet (17)
:- * LocalLimit (89)
: +- * Project (88)
: +- BroadcastNestedLoopJoin Cross BuildRight (87)
: :- * Project (80)
: : +- * Filter (79)
: : +- InMemoryTableScan (34)
: : +- InMemoryRelation (35)
: : +- * Project (78)
: : +- * SortMergeJoin LeftOuter (77)
: : :- * Project (69)
: : : +- * SortMergeJoin LeftOuter (68)
: : : :- * Project (60)
: : : : +- * SortMergeJoin LeftOuter (59)
: : : : :- * Sort (53)
: : : : : +- Exchange (52)
: : : : : +- * Project (51)
: : : : : +- * SortMergeJoin LeftOuter (50)
: : : : : :- * Sort (42)
: : : : : : +- Exchange (41)
: : : : : : +- * Project (40)
: : : : : : +- * Generate (39)
: : : : : : +- * Filter (38)
: : : : : : +- InMemoryTableScan (36)
: : : : : : +- InMemoryRelation (37)
: : : : : : +- * Filter (7)
: : : : : : +- InMemoryTableScan (3)
: : : : : : +- InMemoryRelation (4)
: : : : : : +- * Filter (6)
: : : : : : +- * Scan ExistingRDD (5)
: : : : : +- * Sort (49)
: : : : : +- * Project (48)
: : : : : +- Exchange (47)
: : : : : +- * Project (46)
: : : : : +- * Filter (45)
: : : : : +- * ColumnarToRow (44)
: : : : : +- Scan parquet (43)
: : : : +- * Sort (58)
: : : : +- Exchange (57)
: : : : +- * Project (56)
: : : : +- * Filter (55)
: : : : +- * Scan ExistingRDD (54)
: : : +- * Sort (67)
: : : +- ObjectHashAggregate (66)
: : : +- Exchange (65)
: : : +- ObjectHashAggregate (64)
: : : +- * Project (63)
: : : +- * Filter (62)
: : : +- * Scan ExistingRDD (61)
: : +- * Sort (76)
: : +- ObjectHashAggregate (75)
: : +- Exchange (74)
: : +- ObjectHashAggregate (73)
: : +- * Project (72)
: : +- * Filter (71)
: : +- * Scan ExistingRDD (70)
: +- BroadcastExchange (86)
: +- Exchange (85)
: +- * Project (84)
: +- * Filter (83)
: +- * ColumnarToRow (82)
: +- Scan parquet (81)
+- * LocalLimit (102)
+- * Project (101)
+- BroadcastNestedLoopJoin Cross BuildRight (100)
:- * Project (93)
: +- * Filter (92)
: +- InMemoryTableScan (90)
: +- InMemoryRelation (91)
: +- * Project (78)
: +- * SortMergeJoin LeftOuter (77)
: :- * Project (69)
: : +- * SortMergeJoin LeftOuter (68)
: : :- * Project (60)
: : : +- * SortMergeJoin LeftOuter (59)
: : : :- * Sort (53)
: : : : +- Exchange (52)
: : : : +- * Project (51)
: : : : +- * SortMergeJoin LeftOuter (50)
: : : : :- * Sort (42)
: : : : : +- Exchange (41)
: : : : : +- * Project (40)
: : : : : +- * Generate (39)
: : : : : +- * Filter (38)
: : : : : +- InMemoryTableScan (36)
: : : : : +- InMemoryRelation (37)
: : : : : +- * Filter (7)
: : : : : +- InMemoryTableScan (3)
: : : : : +- InMemoryRelation (4)
: : : : : +- * Filter (6)
: : : : : +- * Scan ExistingRDD (5)
: : : : +- * Sort (49)
: : : : +- * Project (48)
: : : : +- Exchange (47)
: : : : +- * Project (46)
: : : : +- * Filter (45)
: : : : +- * ColumnarToRow (44)
: : : : +- Scan parquet (43)
: : : +- * Sort (58)
: : : +- Exchange (57)
: : : +- * Project (56)
: : : +- * Filter (55)
: : : +- * Scan ExistingRDD (54)
: : +- * Sort (67)
: : +- ObjectHashAggregate (66)
: : +- Exchange (65)
: : +- ObjectHashAggregate (64)
: : +- * Project (63)
: : +- * Filter (62)
: : +- * Scan ExistingRDD (61)
: +- * Sort (76)
: +- ObjectHashAggregate (75)
: +- Exchange (74)
: +- ObjectHashAggregate (73)
: +- * Project (72)
: +- * Filter (71)
: +- * Scan ExistingRDD (70)
+- BroadcastExchange (99)
+- Exchange (98)
+- * Project (97)
+- * Filter (96)
+- * ColumnarToRow (95)
+- Scan parquet (94)
(1) InMemoryTableScan
Output [2]: [orderProposalId#6608408L, optimizationInsights#6608413]
Arguments: [orderProposalId#6608408L, optimizationInsights#6608413], [isnotnull(orderProposalId#6608408L), (size(optimizationInsights#6608413, true) > 0), isnotnull(optimizationInsights#6608413)]
(2) InMemoryRelation
Arguments: [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, optimizationInsights#6608413], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [6]: [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, optimizationInsights#6608413]
Arguments: [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, optimizationInsights#6608413], [isnotnull(shardId#6608407), (shardId#6608407 = 0_1_10000002290)]
(4) InMemoryRelation
Arguments: [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, lastModified#6608412, optimizationInsights#6608413], StorageLevel(disk, memory, 2 replicas)
(5) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, lastModified#6608412, optimizationInsights#6608413]
Arguments: [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, lastModified#6608412, optimizationInsights#6608413], MapPartitionsRDD[467832] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(6) Filter [codegen id : 1]
Input [7]: [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, lastModified#6608412, optimizationInsights#6608413]
Condition : (isnotnull(shardId#6608407) AND (shardId#6608407 = 0_1_10000002290))
(7) Filter [codegen id : 1]
Input [6]: [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, optimizationInsights#6608413]
Condition : (isnotnull(shardId#6608407) AND (shardId#6608407 = 0_1_10000002290))
(8) Filter [codegen id : 1]
Input [2]: [orderProposalId#6608408L, optimizationInsights#6608413]
Condition : ((isnotnull(orderProposalId#6608408L) AND (size(optimizationInsights#6608413, true) > 0)) AND isnotnull(optimizationInsights#6608413))
(9) BroadcastExchange
Input [2]: [orderProposalId#6608408L, optimizationInsights#6608413]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=3474772]
(10) InMemoryTableScan
Output [2]: [items#6612533, shardId#6612531]
Arguments: [items#6612533, shardId#6612531], [(size(items#6612533.worklistShardItemId, true) > 0), isnotnull(items#6612533.worklistShardItemId), (shardId#6612531 = 0_1_10000002290)]
(11) InMemoryRelation
Arguments: [shardId#6612531, orderProposalId#6612532L, items#6612533, optimizationGroups#6612534, isOptimal#6612535, optimizationInsights#6612537], StorageLevel(disk, memory, 2 replicas)
(12) Filter [codegen id : 2]
Input [2]: [items#6612533, shardId#6612531]
Condition : (((size(items#6612533.worklistShardItemId, true) > 0) AND isnotnull(items#6612533.worklistShardItemId)) AND (shardId#6612531 = 0_1_10000002290))
(13) Project [codegen id : 2]
Output [1]: [items#6612533.worklistShardItemId AS _extract_worklistShardItemId#6617175]
Input [2]: [items#6612533, shardId#6612531]
(14) Generate [codegen id : 2]
Input [1]: [_extract_worklistShardItemId#6617175]
Arguments: explode(_extract_worklistShardItemId#6617175), false, [item#6608918L]
(15) Project [codegen id : 2]
Output [1]: [item#6608918L AS worklistShardItemId#6608919L]
Input [1]: [item#6608918L]
(16) BroadcastExchange
Input [1]: [worklistShardItemId#6608919L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=3474780]
(17) Scan parquet
Output [5]: [orderProposalId#6609120L, isFallbackOrderOnly#6609137, worklistShardItemId#6609143L, shardId#6609164, sequenceId#6609142]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://dac252a8-bd1b-4f30-995e-f6d4a08836d2.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002290]
PartitionFilters: [isnotnull(shardId#6609164), isnotnull(sequenceId#6609142), (shardId#6609164 = 0_1_10000002290), (sequenceId#6609142 = 3)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(18) ColumnarToRow [codegen id : 3]
Input [5]: [orderProposalId#6609120L, isFallbackOrderOnly#6609137, worklistShardItemId#6609143L, shardId#6609164, sequenceId#6609142]
(19) Filter [codegen id : 3]
Input [5]: [orderProposalId#6609120L, isFallbackOrderOnly#6609137, worklistShardItemId#6609143L, shardId#6609164, sequenceId#6609142]
Condition : ((isnotnull(worklistShardItemId#6609143L) AND NOT (isFallbackOrderOnly#6609137 <=> true)) AND isnotnull(orderProposalId#6609120L))
(20) Project [codegen id : 3]
Output [2]: [orderProposalId#6609120L, worklistShardItemId#6609143L]
Input [5]: [orderProposalId#6609120L, isFallbackOrderOnly#6609137, worklistShardItemId#6609143L, shardId#6609164, sequenceId#6609142]
(21) Exchange
Input [2]: [orderProposalId#6609120L, worklistShardItemId#6609143L]
Arguments: hashpartitioning(worklistShardItemId#6609143L, 30), REPARTITION_BY_NUM, [plan_id=3474787]
(22) Project
Output [2]: [worklistShardItemId#6609143L, orderProposalId#6609120L]
Input [2]: [orderProposalId#6609120L, worklistShardItemId#6609143L]
(23) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [worklistShardItemId#6608919L]
Right keys [1]: [worklistShardItemId#6609143L]
Join type: Inner
Join condition: None
(24) Project [codegen id : 4]
Output [1]: [orderProposalId#6609120L]
Input [3]: [worklistShardItemId#6608919L, worklistShardItemId#6609143L, orderProposalId#6609120L]
(25) HashAggregate [codegen id : 4]
Input [1]: [orderProposalId#6609120L]
Keys [1]: [orderProposalId#6609120L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#6609120L]
(26) Exchange
Input [1]: [orderProposalId#6609120L]
Arguments: hashpartitioning(orderProposalId#6609120L, 30), ENSURE_REQUIREMENTS, [plan_id=3474794]
(27) HashAggregate
Input [1]: [orderProposalId#6609120L]
Keys [1]: [orderProposalId#6609120L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#6609120L]
(28) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [orderProposalId#6608408L]
Right keys [1]: [orderProposalId#6609120L]
Join type: Inner
Join condition: None
(29) Project [codegen id : 5]
Output [1]: [optimizationInsights#6608413]
Input [3]: [orderProposalId#6608408L, optimizationInsights#6608413, orderProposalId#6609120L]
(30) Generate [codegen id : 5]
Input [1]: [optimizationInsights#6608413]
Arguments: explode(optimizationInsights#6608413), false, [insight#6612539]
(31) Filter [codegen id : 5]
Input [1]: [insight#6612539]
Condition : NOT insight#6612539.internalInsightType IN (OP_CALC_ITEM_ACCEPT_THR_NOT_MET,OP_CALC_ITEM_NEGL_THR_NOT_MET,OP_CALC_ITEM_OPT_MISSING_MD,OP_CALC_LOCKED_QUANTITY_PREVENTS_DISCARDING_INSIGHT,OP_CALC_MIN_NOT_MET)
(32) Project [codegen id : 5]
Output: []
Input [1]: [insight#6612539]
(33) LocalLimit [codegen id : 5]
Input: []
Arguments: 1
(34) InMemoryTableScan
Output [3]: [isFallbackOrderOnly#6613192, orderDateTime#6613188, prodLocSpecificKpis#6609647]
Arguments: [isFallbackOrderOnly#6613192, orderDateTime#6613188, prodLocSpecificKpis#6609647], [NOT (isFallbackOrderOnly#6613192 <=> true)]
(35) InMemoryRelation
Arguments: [shardId#6613157, worklistShardItemId#6613165L, quantityAfterProdPlantOptimization#6613166, qty#6613167, orderProposalId#6613170L, originalReplenishmentRunId#6613173L, supplierGroup#6613180, supplier#6613181, supplyingPlant#6613211, productGroup#6613212, product#6613183, plant#6613184, subrange#6613182, orderDateTime#6613188, deliveryDateTime#6613189, availabilityDateTime#6613190, nextAvailabilityDateTime#6613191, constraintValues#6613205, constraintOperators#6613203, constraintLabels#6613202, logisticUnits#6613207, orderQuantityBaseUom#6613193, orderQuantityBaseUomUuid#6613194, splitIndicator#6613175L, netPriceAmount#6613198, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(36) InMemoryTableScan
Output [2]: [shardId#6608407, items#6608409]
Arguments: [shardId#6608407, items#6608409], [(size(items#6608409, true) > 0), isnotnull(items#6608409)]
(37) InMemoryRelation
Arguments: [shardId#6608407, orderProposalId#6608408L, items#6608409, optimizationGroups#6608410, isOptimal#6608411, optimizationInsights#6608413], StorageLevel(disk, memory, 2 replicas)
(38) Filter [codegen id : 1]
Input [2]: [shardId#6608407, items#6608409]
Condition : ((size(items#6608409, true) > 0) AND isnotnull(items#6608409))
(39) Generate [codegen id : 1]
Input [2]: [shardId#6608407, items#6608409]
Arguments: explode(items#6608409), [shardId#6608407], false, [item#6608918]
(40) Project [codegen id : 1]
Output [4]: [shardId#6608407, item#6608918.worklistShardItemId AS worklistShardItemId#6608919L, item#6608918.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#6608920, item#6608918.qty AS qty#6608921]
Input [2]: [shardId#6608407, item#6608918]
(41) Exchange
Input [4]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921]
Arguments: hashpartitioning(worklistShardItemId#6608919L, 30), ENSURE_REQUIREMENTS, [plan_id=3473522]
(42) Sort [codegen id : 2]
Input [4]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921]
Arguments: [worklistShardItemId#6608919L ASC NULLS FIRST], false, 0
(43) Scan parquet
Output [38]: [orderProposalId#6609120L, orderProposalItemId#6609121, supplierGroup#6609122, supplier#6609123, plant#6609124, deliveryDateTime#6609125, subrange#6609126, supplyingPlant#6609127, productGroup#6609128, product#6609129, orderDateTime#6609130, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, sourceOfSupplyUuid#6609134, isFallbackOrderOnly#6609137, splitIndicator#6609139L, previousOrderProposal#6609140L, worklistShardItemId#6609143L, orderProposalItemGroupId#6609144, externalProductId#6609145, externalPlantId#6609146, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, minimumOrderQuantity#6609150, constraintLabels#6609151, constraintOperators#6609152, constraintValues#6609153, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, measurements#6609161, originalReplenishmentRunId#6609162L, optimizationGroups#6609163, shardId#6609164, sequenceId#6609142]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://dac252a8-bd1b-4f30-995e-f6d4a08836d2.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000002290]
PartitionFilters: [isnotnull(shardId#6609164), isnotnull(sequenceId#6609142), (shardId#6609164 = 0_1_10000002290), (sequenceId#6609142 = 3)]
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>>
(44) ColumnarToRow [codegen id : 3]
Input [38]: [orderProposalId#6609120L, orderProposalItemId#6609121, supplierGroup#6609122, supplier#6609123, plant#6609124, deliveryDateTime#6609125, subrange#6609126, supplyingPlant#6609127, productGroup#6609128, product#6609129, orderDateTime#6609130, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, sourceOfSupplyUuid#6609134, isFallbackOrderOnly#6609137, splitIndicator#6609139L, previousOrderProposal#6609140L, worklistShardItemId#6609143L, orderProposalItemGroupId#6609144, externalProductId#6609145, externalPlantId#6609146, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, minimumOrderQuantity#6609150, constraintLabels#6609151, constraintOperators#6609152, constraintValues#6609153, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, measurements#6609161, originalReplenishmentRunId#6609162L, optimizationGroups#6609163, shardId#6609164, sequenceId#6609142]
(45) Filter [codegen id : 3]
Input [38]: [orderProposalId#6609120L, orderProposalItemId#6609121, supplierGroup#6609122, supplier#6609123, plant#6609124, deliveryDateTime#6609125, subrange#6609126, supplyingPlant#6609127, productGroup#6609128, product#6609129, orderDateTime#6609130, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, sourceOfSupplyUuid#6609134, isFallbackOrderOnly#6609137, splitIndicator#6609139L, previousOrderProposal#6609140L, worklistShardItemId#6609143L, orderProposalItemGroupId#6609144, externalProductId#6609145, externalPlantId#6609146, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, minimumOrderQuantity#6609150, constraintLabels#6609151, constraintOperators#6609152, constraintValues#6609153, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, measurements#6609161, originalReplenishmentRunId#6609162L, optimizationGroups#6609163, shardId#6609164, sequenceId#6609142]
Condition : isnotnull(worklistShardItemId#6609143L)
(46) Project [codegen id : 3]
Output [36]: [orderProposalId#6609120L, orderProposalItemId#6609121, supplierGroup#6609122, supplier#6609123, plant#6609124, deliveryDateTime#6609125, subrange#6609126, supplyingPlant#6609127, productGroup#6609128, product#6609129, orderDateTime#6609130, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, sourceOfSupplyUuid#6609134, isFallbackOrderOnly#6609137, splitIndicator#6609139L, previousOrderProposal#6609140L, worklistShardItemId#6609143L, orderProposalItemGroupId#6609144, externalProductId#6609145, externalPlantId#6609146, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, minimumOrderQuantity#6609150, constraintLabels#6609151, constraintOperators#6609152, constraintValues#6609153, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, measurements#6609161, originalReplenishmentRunId#6609162L, optimizationGroups#6609163]
Input [38]: [orderProposalId#6609120L, orderProposalItemId#6609121, supplierGroup#6609122, supplier#6609123, plant#6609124, deliveryDateTime#6609125, subrange#6609126, supplyingPlant#6609127, productGroup#6609128, product#6609129, orderDateTime#6609130, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, sourceOfSupplyUuid#6609134, isFallbackOrderOnly#6609137, splitIndicator#6609139L, previousOrderProposal#6609140L, worklistShardItemId#6609143L, orderProposalItemGroupId#6609144, externalProductId#6609145, externalPlantId#6609146, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, minimumOrderQuantity#6609150, constraintLabels#6609151, constraintOperators#6609152, constraintValues#6609153, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, measurements#6609161, originalReplenishmentRunId#6609162L, optimizationGroups#6609163, shardId#6609164, sequenceId#6609142]
(47) Exchange
Input [36]: [orderProposalId#6609120L, orderProposalItemId#6609121, supplierGroup#6609122, supplier#6609123, plant#6609124, deliveryDateTime#6609125, subrange#6609126, supplyingPlant#6609127, productGroup#6609128, product#6609129, orderDateTime#6609130, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, sourceOfSupplyUuid#6609134, isFallbackOrderOnly#6609137, splitIndicator#6609139L, previousOrderProposal#6609140L, worklistShardItemId#6609143L, orderProposalItemGroupId#6609144, externalProductId#6609145, externalPlantId#6609146, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, minimumOrderQuantity#6609150, constraintLabels#6609151, constraintOperators#6609152, constraintValues#6609153, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, measurements#6609161, originalReplenishmentRunId#6609162L, optimizationGroups#6609163]
Arguments: hashpartitioning(worklistShardItemId#6609143L, 30), REPARTITION_BY_NUM, [plan_id=3473532]
(48) Project [codegen id : 4]
Output [36]: [worklistShardItemId#6609143L, orderProposalId#6609120L, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, originalReplenishmentRunId#6609162L, splitIndicator#6609139L, previousOrderProposal#6609140L, sourceOfSupplyUuid#6609134, supplierGroup#6609122, supplier#6609123, subrange#6609126, product#6609129, plant#6609124, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, isFallbackOrderOnly#6609137, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, netPriceAmount#6609156, netPriceCurrencyCode#6609157, measurements#6609161, minimumOrderQuantity#6609150, constraintLabels#6609151, constraintOperators#6609152, constraintValues#6609153, logisticUnits#6609147, optimizationGroups#6609163, externalProductId#6609145, externalPlantId#6609146, supplyingPlant#6609127, productGroup#6609128]
Input [36]: [orderProposalId#6609120L, orderProposalItemId#6609121, supplierGroup#6609122, supplier#6609123, plant#6609124, deliveryDateTime#6609125, subrange#6609126, supplyingPlant#6609127, productGroup#6609128, product#6609129, orderDateTime#6609130, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, sourceOfSupplyUuid#6609134, isFallbackOrderOnly#6609137, splitIndicator#6609139L, previousOrderProposal#6609140L, worklistShardItemId#6609143L, orderProposalItemGroupId#6609144, externalProductId#6609145, externalPlantId#6609146, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, minimumOrderQuantity#6609150, constraintLabels#6609151, constraintOperators#6609152, constraintValues#6609153, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, measurements#6609161, originalReplenishmentRunId#6609162L, optimizationGroups#6609163]
(49) Sort [codegen id : 4]
Input [36]: [worklistShardItemId#6609143L, orderProposalId#6609120L, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, originalReplenishmentRunId#6609162L, splitIndicator#6609139L, previousOrderProposal#6609140L, sourceOfSupplyUuid#6609134, supplierGroup#6609122, supplier#6609123, subrange#6609126, product#6609129, plant#6609124, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, isFallbackOrderOnly#6609137, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, netPriceAmount#6609156, netPriceCurrencyCode#6609157, measurements#6609161, minimumOrderQuantity#6609150, constraintLabels#6609151, constraintOperators#6609152, constraintValues#6609153, logisticUnits#6609147, optimizationGroups#6609163, externalProductId#6609145, externalPlantId#6609146, supplyingPlant#6609127, productGroup#6609128]
Arguments: [worklistShardItemId#6609143L ASC NULLS FIRST], false, 0
(50) SortMergeJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#6608919L]
Right keys [1]: [worklistShardItemId#6609143L]
Join type: LeftOuter
Join condition: (shardId#6608407 = 0_1_10000002290)
(51) Project [codegen id : 5]
Output [39]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, sourceOfSupplyUuid#6609134, minimumOrderQuantity#6609150, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, optimizationGroups#6609163, measurements#6609161, externalProductId#6609145, externalPlantId#6609146, previousOrderProposal#6609140L, isFallbackOrderOnly#6609137]
Input [40]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, worklistShardItemId#6609143L, orderProposalId#6609120L, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, originalReplenishmentRunId#6609162L, splitIndicator#6609139L, previousOrderProposal#6609140L, sourceOfSupplyUuid#6609134, supplierGroup#6609122, supplier#6609123, subrange#6609126, product#6609129, plant#6609124, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, isFallbackOrderOnly#6609137, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, netPriceAmount#6609156, netPriceCurrencyCode#6609157, measurements#6609161, minimumOrderQuantity#6609150, constraintLabels#6609151, constraintOperators#6609152, constraintValues#6609153, logisticUnits#6609147, optimizationGroups#6609163, externalProductId#6609145, externalPlantId#6609146, supplyingPlant#6609127, productGroup#6609128]
(52) Exchange
Input [39]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, sourceOfSupplyUuid#6609134, minimumOrderQuantity#6609150, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, optimizationGroups#6609163, measurements#6609161, externalProductId#6609145, externalPlantId#6609146, previousOrderProposal#6609140L, isFallbackOrderOnly#6609137]
Arguments: hashpartitioning(shardId#6608407, worklistShardItemId#6608919L, 30), ENSURE_REQUIREMENTS, [plan_id=3473541]
(53) Sort [codegen id : 6]
Input [39]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, sourceOfSupplyUuid#6609134, minimumOrderQuantity#6609150, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, optimizationGroups#6609163, measurements#6609161, externalProductId#6609145, externalPlantId#6609146, previousOrderProposal#6609140L, isFallbackOrderOnly#6609137]
Arguments: [shardId#6608407 ASC NULLS FIRST, worklistShardItemId#6608919L ASC NULLS FIRST], false, 0
(54) Scan ExistingRDD [codegen id : 7]
Output [6]: [shardId#6609640, worklistShardItemId#6609641L, qty#6609642, demandChannel#6609643, demandStream#6609644, kpis#6609645]
Arguments: [shardId#6609640, worklistShardItemId#6609641L, qty#6609642, demandChannel#6609643, demandStream#6609644, kpis#6609645], MapPartitionsRDD[467892] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(55) Filter [codegen id : 7]
Input [6]: [shardId#6609640, worklistShardItemId#6609641L, qty#6609642, demandChannel#6609643, demandStream#6609644, kpis#6609645]
Condition : (((isnull(qty#6609642) AND isnull(demandChannel#6609643)) AND isnull(demandStream#6609644)) AND (isnotnull(shardId#6609640) AND isnotnull(worklistShardItemId#6609641L)))
(56) Project [codegen id : 7]
Output [3]: [shardId#6609640, worklistShardItemId#6609641L, coalesce(kpis#6609645, []) AS prodLocSpecificKpis#6609646]
Input [6]: [shardId#6609640, worklistShardItemId#6609641L, qty#6609642, demandChannel#6609643, demandStream#6609644, kpis#6609645]
(57) Exchange
Input [3]: [shardId#6609640, worklistShardItemId#6609641L, prodLocSpecificKpis#6609646]
Arguments: hashpartitioning(shardId#6609640, worklistShardItemId#6609641L, 30), ENSURE_REQUIREMENTS, [plan_id=3473547]
(58) Sort [codegen id : 8]
Input [3]: [shardId#6609640, worklistShardItemId#6609641L, prodLocSpecificKpis#6609646]
Arguments: [shardId#6609640 ASC NULLS FIRST, worklistShardItemId#6609641L ASC NULLS FIRST], false, 0
(59) SortMergeJoin [codegen id : 9]
Left keys [2]: [shardId#6608407, worklistShardItemId#6608919L]
Right keys [2]: [shardId#6609640, worklistShardItemId#6609641L]
Join type: LeftOuter
Join condition: None
(60) Project [codegen id : 9]
Output [40]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, sourceOfSupplyUuid#6609134, minimumOrderQuantity#6609150, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, optimizationGroups#6609163, measurements#6609161, externalProductId#6609145, externalPlantId#6609146, previousOrderProposal#6609140L, isFallbackOrderOnly#6609137, coalesce(prodLocSpecificKpis#6609646, []) AS prodLocSpecificKpis#6609647]
Input [42]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, sourceOfSupplyUuid#6609134, minimumOrderQuantity#6609150, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, optimizationGroups#6609163, measurements#6609161, externalProductId#6609145, externalPlantId#6609146, previousOrderProposal#6609140L, isFallbackOrderOnly#6609137, shardId#6609640, worklistShardItemId#6609641L, prodLocSpecificKpis#6609646]
(61) Scan ExistingRDD [codegen id : 10]
Output [6]: [shardId#6609656, worklistShardItemId#6609657L, qty#6609658, demandChannel#6609659, demandStream#6609660, kpis#6609661]
Arguments: [shardId#6609656, worklistShardItemId#6609657L, qty#6609658, demandChannel#6609659, demandStream#6609660, kpis#6609661], MapPartitionsRDD[467892] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(62) Filter [codegen id : 10]
Input [6]: [shardId#6609656, worklistShardItemId#6609657L, qty#6609658, demandChannel#6609659, demandStream#6609660, kpis#6609661]
Condition : ((((isnull(qty#6609658) AND isnotnull(demandChannel#6609659)) AND isnotnull(demandStream#6609660)) AND (size(kpis#6609661, true) > 0)) AND (isnotnull(shardId#6609656) AND isnotnull(worklistShardItemId#6609657L)))
(63) Project [codegen id : 10]
Output [5]: [shardId#6609656, worklistShardItemId#6609657L, demandChannel#6609659, demandStream#6609660, kpis#6609661]
Input [6]: [shardId#6609656, worklistShardItemId#6609657L, qty#6609658, demandChannel#6609659, demandStream#6609660, kpis#6609661]
(64) ObjectHashAggregate
Input [5]: [shardId#6609656, worklistShardItemId#6609657L, demandChannel#6609659, demandStream#6609660, kpis#6609661]
Keys [2]: [shardId#6609656, worklistShardItemId#6609657L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#6609659, demandStream, demandStream#6609660, kpis, kpis#6609661), 0, 0)]
Aggregate Attributes [1]: [buf#6609836]
Results [3]: [shardId#6609656, worklistShardItemId#6609657L, buf#6609837]
(65) Exchange
Input [3]: [shardId#6609656, worklistShardItemId#6609657L, buf#6609837]
Arguments: hashpartitioning(shardId#6609656, worklistShardItemId#6609657L, 30), ENSURE_REQUIREMENTS, [plan_id=3473558]
(66) ObjectHashAggregate
Input [3]: [shardId#6609656, worklistShardItemId#6609657L, buf#6609837]
Keys [2]: [shardId#6609656, worklistShardItemId#6609657L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#6609659, demandStream, demandStream#6609660, kpis, kpis#6609661), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#6609659, demandStream, demandStream#6609660, kpis, kpis#6609661), 0, 0)#6609655]
Results [3]: [shardId#6609656, worklistShardItemId#6609657L, collect_list(struct(demandChannel, demandChannel#6609659, demandStream, demandStream#6609660, kpis, kpis#6609661), 0, 0)#6609655 AS channelStreamSpecificKpis#6609648]
(67) Sort [codegen id : 11]
Input [3]: [shardId#6609656, worklistShardItemId#6609657L, channelStreamSpecificKpis#6609648]
Arguments: [shardId#6609656 ASC NULLS FIRST, worklistShardItemId#6609657L ASC NULLS FIRST], false, 0
(68) SortMergeJoin [codegen id : 12]
Left keys [2]: [shardId#6608407, worklistShardItemId#6608919L]
Right keys [2]: [shardId#6609656, worklistShardItemId#6609657L]
Join type: LeftOuter
Join condition: None
(69) Project [codegen id : 12]
Output [41]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, sourceOfSupplyUuid#6609134, minimumOrderQuantity#6609150, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, optimizationGroups#6609163, measurements#6609161, externalProductId#6609145, externalPlantId#6609146, previousOrderProposal#6609140L, isFallbackOrderOnly#6609137, prodLocSpecificKpis#6609647, coalesce(channelStreamSpecificKpis#6609648, []) AS channelStreamSpecificKpis#6609662]
Input [43]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, sourceOfSupplyUuid#6609134, minimumOrderQuantity#6609150, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, optimizationGroups#6609163, measurements#6609161, externalProductId#6609145, externalPlantId#6609146, previousOrderProposal#6609140L, isFallbackOrderOnly#6609137, prodLocSpecificKpis#6609647, shardId#6609656, worklistShardItemId#6609657L, channelStreamSpecificKpis#6609648]
(70) Scan ExistingRDD [codegen id : 13]
Output [6]: [shardId#6609669, worklistShardItemId#6609670L, qty#6609671, demandChannel#6609672, demandStream#6609673, kpis#6609674]
Arguments: [shardId#6609669, worklistShardItemId#6609670L, qty#6609671, demandChannel#6609672, demandStream#6609673, kpis#6609674], MapPartitionsRDD[467892] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(71) Filter [codegen id : 13]
Input [6]: [shardId#6609669, worklistShardItemId#6609670L, qty#6609671, demandChannel#6609672, demandStream#6609673, kpis#6609674]
Condition : ((isnotnull(qty#6609671) AND isnotnull(kpis#6609674)) AND (isnotnull(shardId#6609669) AND isnotnull(worklistShardItemId#6609670L)))
(72) Project [codegen id : 13]
Output [4]: [shardId#6609669, worklistShardItemId#6609670L, qty#6609671, kpis#6609674]
Input [6]: [shardId#6609669, worklistShardItemId#6609670L, qty#6609671, demandChannel#6609672, demandStream#6609673, kpis#6609674]
(73) ObjectHashAggregate
Input [4]: [shardId#6609669, worklistShardItemId#6609670L, qty#6609671, kpis#6609674]
Keys [2]: [shardId#6609669, worklistShardItemId#6609670L]
Functions [1]: [partial_collect_list(struct(qty, qty#6609671, kpis, kpis#6609674), 0, 0)]
Aggregate Attributes [1]: [buf#6609838]
Results [3]: [shardId#6609669, worklistShardItemId#6609670L, buf#6609839]
(74) Exchange
Input [3]: [shardId#6609669, worklistShardItemId#6609670L, buf#6609839]
Arguments: hashpartitioning(shardId#6609669, worklistShardItemId#6609670L, 30), ENSURE_REQUIREMENTS, [plan_id=3473570]
(75) ObjectHashAggregate
Input [3]: [shardId#6609669, worklistShardItemId#6609670L, buf#6609839]
Keys [2]: [shardId#6609669, worklistShardItemId#6609670L]
Functions [1]: [collect_list(struct(qty, qty#6609671, kpis, kpis#6609674), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#6609671, kpis, kpis#6609674), 0, 0)#6609668]
Results [3]: [shardId#6609669, worklistShardItemId#6609670L, map_from_entries(collect_list(struct(qty, qty#6609671, kpis, kpis#6609674), 0, 0)#6609668) AS quantityKpis#6609663]
(76) Sort [codegen id : 14]
Input [3]: [shardId#6609669, worklistShardItemId#6609670L, quantityKpis#6609663]
Arguments: [shardId#6609669 ASC NULLS FIRST, worklistShardItemId#6609670L ASC NULLS FIRST], false, 0
(77) SortMergeJoin [codegen id : 15]
Left keys [2]: [shardId#6608407, worklistShardItemId#6608919L]
Right keys [2]: [shardId#6609669, worklistShardItemId#6609670L]
Join type: LeftOuter
Join condition: None
(78) Project [codegen id : 15]
Output [42]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, sourceOfSupplyUuid#6609134, minimumOrderQuantity#6609150, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, optimizationGroups#6609163, measurements#6609161, externalProductId#6609145, externalPlantId#6609146, previousOrderProposal#6609140L, isFallbackOrderOnly#6609137, prodLocSpecificKpis#6609647, channelStreamSpecificKpis#6609662, coalesce(quantityKpis#6609663, map(keys: [], values: [])) AS quantityKpis#6609675]
Input [44]: [shardId#6608407, worklistShardItemId#6608919L, quantityAfterProdPlantOptimization#6608920, qty#6608921, orderProposalId#6609120L, originalReplenishmentRunId#6609162L, supplierGroup#6609122, supplier#6609123, supplyingPlant#6609127, productGroup#6609128, product#6609129, plant#6609124, subrange#6609126, orderDateTime#6609130, deliveryDateTime#6609125, availabilityDateTime#6609131, nextAvailabilityDateTime#6609132, constraintValues#6609153, constraintOperators#6609152, constraintLabels#6609151, logisticUnits#6609147, orderQuantityBaseUom#6609148, orderQuantityBaseUomUuid#6609149, splitIndicator#6609139L, netPriceAmount#6609156, netPriceCurrencyCode#6609157, netPriceQuantity#6609158, netPriceQuantityUom#6609159, netPriceQuantityUomUuid#6609160, sourceOfSupplyUuid#6609134, minimumOrderQuantity#6609150, orderProposalItemId#6609121, orderProposalItemGroupId#6609144, optimizationGroups#6609163, measurements#6609161, externalProductId#6609145, externalPlantId#6609146, previousOrderProposal#6609140L, isFallbackOrderOnly#6609137, prodLocSpecificKpis#6609647, channelStreamSpecificKpis#6609662, shardId#6609669, worklistShardItemId#6609670L, quantityKpis#6609663]
(79) Filter [codegen id : 6]
Input [3]: [isFallbackOrderOnly#6613192, orderDateTime#6613188, prodLocSpecificKpis#6609647]
Condition : NOT (isFallbackOrderOnly#6613192 <=> true)
(80) Project [codegen id : 6]
Output [2]: [orderDateTime#6613188, prodLocSpecificKpis#6609647]
Input [3]: [isFallbackOrderOnly#6613192, orderDateTime#6613188, prodLocSpecificKpis#6609647]
(81) Scan parquet
Output [2]: [insightConfigurations#6612969, shardId#6612970]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://dac252a8-bd1b-4f30-995e-f6d4a08836d2.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/common-data-snapshot/10000002290]
PartitionFilters: [isnotnull(shardId#6612970), (shardId#6612970 = 0_1_10000002290)]
PushedFilters: [IsNotNull(insightConfigurations)]
ReadSchema: struct<insightConfigurations:map<string,struct<configurationVersion:string,name:string,settings:array<struct<name:string,type:string,value:string>>,status:string>>>
(82) ColumnarToRow [codegen id : 7]
Input [2]: [insightConfigurations#6612969, shardId#6612970]
(83) Filter [codegen id : 7]
Input [2]: [insightConfigurations#6612969, shardId#6612970]
Condition : (isnotnull(insightConfigurations#6612969) AND isnotnull(insightConfigurations#6612969[POTENTIAL_OOS_STOCK_PERIOD]))
(84) Project [codegen id : 7]
Output [1]: [insightConfigurations#6612969[POTENTIAL_OOS_STOCK_PERIOD].settings AS _extract_settings#6617177]
Input [2]: [insightConfigurations#6612969, shardId#6612970]
(85) Exchange
Input [1]: [_extract_settings#6617177]
Arguments: RoundRobinPartitioning(30), REPARTITION_BY_NUM, [plan_id=3474813]
(86) BroadcastExchange
Input [1]: [_extract_settings#6617177]
Arguments: IdentityBroadcastMode, [plan_id=3474814]
(87) BroadcastNestedLoopJoin
Join type: Cross
Join condition: ((CASE WHEN (isnull(element_at(filter(prodLocSpecificKpis#6609647, lambdafunction((lambda x_12842#6612974.label = OutOfStockProbability), lambda x_12842#6612974, false)), 1, None, false).value) OR isnull(cast(element_at(filter(_extract_settings#6617177, lambdafunction((lambda x_12843#6612975.name = OOS_PROBABILITY_THRESHOLD), lambda x_12843#6612975, false)), 1, None, false).value as double))) THEN false ELSE (element_at(filter(prodLocSpecificKpis#6609647, lambdafunction((lambda x_12842#6612976.label = OutOfStockProbability), lambda x_12842#6612976, false)), 1, None, false).value >= cast(element_at(filter(_extract_settings#6617177, lambdafunction((lambda x_12843#6612977.name = OOS_PROBABILITY_THRESHOLD), lambda x_12843#6612977, false)), 1, None, false).value as double)) END AND CASE WHEN isnull(element_at(filter(prodLocSpecificKpis#6609647, lambdafunction((lambda x_12844#6612978.label = InitialStockQty), lambda x_12844#6612978, false)), 1, None, false).value) THEN false ELSE (element_at(filter(prodLocSpecificKpis#6609647, lambdafunction((lambda x_12844#6612980.label = InitialStockQty), lambda x_12844#6612980, false)), 1, None, false).value > CASE WHEN cast(element_at(filter(_extract_settings#6617177, lambdafunction((lambda x_12845#6612981.name = CURRENT_STOCK_ABOVE_ZERO), lambda x_12845#6612981, false)), 1, None, false).value as boolean) THEN 0.0 ELSE -Infinity END) END) AND CASE WHEN (CASE WHEN isnull(orderDateTime#6613188) THEN true ELSE isnull((cast((unix_timestamp(orderDateTime#6613188, yyyy-MM-dd HH:mm:ss, Some(UTC), false) - 1784686956) as double) / 3600.0)) END OR isnull(cast(element_at(filter(_extract_settings#6617177, lambdafunction((lambda x_12846#6612982.name = OFFSET_CURRENT_ORDER_DATE), lambda x_12846#6612982, false)), 1, None, false).value as double))) THEN false ELSE (CASE WHEN isnull(orderDateTime#6613188) THEN null ELSE (cast((unix_timestamp(orderDateTime#6613188, yyyy-MM-dd HH:mm:ss, Some(UTC), false) - 1784686956) as double) / 3600.0) END >= cast(element_at(filter(_extract_settings#6617177, lambdafunction((lambda x_12846#6612983.name = OFFSET_CURRENT_ORDER_DATE), lambda x_12846#6612983, false)), 1, None, false).value as double)) END)
(88) Project [codegen id : 8]
Output: []
Input [3]: [orderDateTime#6613188, prodLocSpecificKpis#6609647, _extract_settings#6617177]
(89) LocalLimit [codegen id : 8]
Input: []
Arguments: 1
(90) InMemoryTableScan
Output [3]: [isFallbackOrderOnly#6613055, qty#6613030, quantityKpis#6613146]
Arguments: [isFallbackOrderOnly#6613055, qty#6613030, quantityKpis#6613146], [NOT (isFallbackOrderOnly#6613055 <=> true)]
(91) InMemoryRelation
Arguments: [shardId#6613020, worklistShardItemId#6613028L, quantityAfterProdPlantOptimization#6613029, qty#6613030, orderProposalId#6613033L, originalReplenishmentRunId#6613036L, supplierGroup#6613043, supplier#6613044, supplyingPlant#6613074, productGroup#6613075, product#6613046, plant#6613047, subrange#6613045, orderDateTime#6613051, deliveryDateTime#6613052, availabilityDateTime#6613053, nextAvailabilityDateTime#6613054, constraintValues#6613068, constraintOperators#6613066, constraintLabels#6613065, logisticUnits#6613070, orderQuantityBaseUom#6613056, orderQuantityBaseUomUuid#6613057, splitIndicator#6613038L, netPriceAmount#6613061, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(92) Filter [codegen id : 9]
Input [3]: [isFallbackOrderOnly#6613055, qty#6613030, quantityKpis#6613146]
Condition : NOT (isFallbackOrderOnly#6613055 <=> true)
(93) Project [codegen id : 9]
Output [2]: [qty#6613030, quantityKpis#6613146]
Input [3]: [isFallbackOrderOnly#6613055, qty#6613030, quantityKpis#6613146]
(94) Scan parquet
Output [2]: [insightConfigurations#6613151, shardId#6613152]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://dac252a8-bd1b-4f30-995e-f6d4a08836d2.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/common-data-snapshot/10000002290]
PartitionFilters: [isnotnull(shardId#6613152), (shardId#6613152 = 0_1_10000002290)]
PushedFilters: [IsNotNull(insightConfigurations)]
ReadSchema: struct<insightConfigurations:map<string,struct<configurationVersion:string,name:string,settings:array<struct<name:string,type:string,value:string>>,status:string>>>
(95) ColumnarToRow [codegen id : 10]
Input [2]: [insightConfigurations#6613151, shardId#6613152]
(96) Filter [codegen id : 10]
Input [2]: [insightConfigurations#6613151, shardId#6613152]
Condition : (isnotnull(insightConfigurations#6613151) AND isnotnull(insightConfigurations#6613151[POTENTIAL_OOS_DEMAND_PERIOD]))
(97) Project [codegen id : 10]
Output [1]: [insightConfigurations#6613151[POTENTIAL_OOS_DEMAND_PERIOD].settings AS _extract_settings#6617179]
Input [2]: [insightConfigurations#6613151, shardId#6613152]
(98) Exchange
Input [1]: [_extract_settings#6617179]
Arguments: RoundRobinPartitioning(30), REPARTITION_BY_NUM, [plan_id=3474829]
(99) BroadcastExchange
Input [1]: [_extract_settings#6617179]
Arguments: IdentityBroadcastMode, [plan_id=3474830]
(100) BroadcastNestedLoopJoin
Join type: Cross
Join condition: CASE WHEN (isnull(element_at(filter(element_at(quantityKpis#6613146, qty#6613030, None, false), lambdafunction((lambda x_12848#6613000.label = OutOfStockProbability), lambda x_12848#6613000, false)), 1, None, false).value) OR isnull(cast(element_at(filter(_extract_settings#6617179, lambdafunction((lambda x_12849#6613001.name = OOS_PROBABILITY_THRESHOLD), lambda x_12849#6613001, false)), 1, None, false).value as double))) THEN false ELSE (element_at(filter(element_at(quantityKpis#6613146, qty#6613030, None, false), lambdafunction((lambda x_12848#6613002.label = OutOfStockProbability), lambda x_12848#6613002, false)), 1, None, false).value >= cast(element_at(filter(_extract_settings#6617179, lambdafunction((lambda x_12849#6613003.name = OOS_PROBABILITY_THRESHOLD), lambda x_12849#6613003, false)), 1, None, false).value as double)) END
(101) Project [codegen id : 11]
Output: []
Input [3]: [qty#6613030, quantityKpis#6613146, _extract_settings#6617179]
(102) LocalLimit [codegen id : 11]
Input: []
Arguments: 1
(103) Union
(104) CollectLimit
Input: []
Arguments: 1