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))\n113 ms (0 ms, 0 ms, 32 ms (stage 3728244.0: task 6727388))";
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#15074898.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#15070788), false, [insight#15074898]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [optimizationInsights#15070788]"];
8 [id="node8" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [orderProposalId#15070783L], [orderProposalId#15071495L], 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>5 ms (0 ms, 0 ms, 3 ms (stage 3728244.0: task 6727388))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 3728244.0: task 6727360))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#15071495L], 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: 44 ms<br>number of output rows: 0<br>data size: 0.0 B" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=7844675]"];
subgraph cluster10 {
isCluster="true";
id="cluster10";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2 ms (0 ms, 0 ms, 2 ms (stage 3728122.0: task 6727140))";
tooltip="WholeStageCodegen (1)";
11 [id="node11" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(orderProposalId#15070783L) AND (size(optimizationInsights#15070788, true) > 0)) AND isnotnull(optimizationInsights#15070788))"];
}
12 [id="node12" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2" tooltip="InMemoryTableScan [orderProposalId#15070783L, optimizationInsights#15070788], [isnotnull(orderProposalId#15070783L), (size(optimizationInsights#15070788, true) > 0), isnotnull(optimizationInsights#15070788)]"];
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#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
}
15 [id="node15" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], [isnotnull(shardId#15070782), (shardId#15070782 = 0_1_10000001452)]"];
subgraph 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#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
18 [id="node18" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15070782,orderProposalId#15070783L,items#15070784,optimizationGroups#15070785,isOptimal#15070786,lastModified#15070787,optimizationInsights#15070788]"];
}
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#15071495L, 30), ENSURE_REQUIREMENTS, [plan_id=7844697]"];
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n78 ms (0 ms, 2 ms, 7 ms (stage 3728240.0: task 6727283))";
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 3728240.0: task 6727276))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 3728240.0: task 6727276))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#15071495L], functions=[])"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#15071495L]"];
24 [id="node24" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#15071294L], [worklistShardItemId#15071518L], Inner, BuildLeft, false"];
38 [id="node38" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#15071518L, orderProposalId#15071495L]"];
}
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: 48 ms<br>number of output rows: 29<br>data size: 1028.4 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=7844683]"];
subgraph cluster26 {
isCluster="true";
id="cluster26";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2 ms (0 ms, 0 ms, 2 ms (stage 3728123.0: task 6727172))";
tooltip="WholeStageCodegen (2)";
27 [id="node27" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#15071293L AS worklistShardItemId#15071294L]"];
28 [id="node28" labelType="html" label="<b>Generate</b><br><br>number of output rows: 29" tooltip="Generate explode(_extract_worklistShardItemId#15079534), false, [item#15071293L]"];
29 [id="node29" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#15074892.worklistShardItemId AS _extract_worklistShardItemId#15079534]"];
30 [id="node30" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2" tooltip="Filter (((size(items#15074892.worklistShardItemId, true) > 0) AND isnotnull(items#15074892.worklistShardItemId)) AND (shardId#15074890 = 0_1_10000001452))"];
}
31 [id="node31" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2" tooltip="InMemoryTableScan [items#15074892, shardId#15074890], [(size(items#15074892.worklistShardItemId, true) > 0), isnotnull(items#15074892.worklistShardItemId), (shardId#15074890 = 0_1_10000001452)]"];
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#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
}
34 [id="node34" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], [isnotnull(shardId#15070782), (shardId#15070782 = 0_1_10000001452)]"];
subgraph 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#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
37 [id="node37" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15070782,orderProposalId#15070783L,items#15070784,optimizationGroups#15070785,isOptimal#15070786,lastModified#15070787,optimizationInsights#15070788]"];
}
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#15071518L, 30), REPARTITION_BY_NUM, [plan_id=7844690]"];
subgraph cluster40 {
isCluster="true";
id="cluster40";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (55 ms, 67 ms, 153 ms (stage 3728238.0: task 6727270))";
tooltip="WholeStageCodegen (3)";
41 [id="node41" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#15071495L, worklistShardItemId#15071518L]"];
42 [id="node42" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(worklistShardItemId#15071518L) AND NOT (isFallbackOrderOnly#15071512 <=> true)) AND isnotnull(orderProposalId#15071495L))"];
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: 17<br>scan time total (min, med, max (stageId: taskId))<br>1.4 s (54 ms, 66 ms, 152 ms (stage 3728238.0: task 6727270))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 319.0 KiB<br>number of output rows: 0<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#15071495L,isFallbackOrderOnly#15071512,worklistShardItemId#15071518L,shardId#15071539,sequenceId#15071517] Batched: true, DataFilters: [isnotnull(worklistShardItemId#15071518L), NOT (isFallbackOrderOnly#15071512 <=> true), isnotnull..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#15071539), isnotnull(sequenceId#15071517), (shardId#15071539 = 0_1_10000001452..., PushedFilters: [IsNotNull(worklistShardItemId), 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))\n53 ms (0 ms, 1 ms, 6 ms (stage 3728244.0: task 6727307))";
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#15072022, lambdafunction((lambda x_29763#15075333.label = OutOfStockProbability), lambda x_29763#15075333, false)), 1, None, false).value) OR isnull(cast(element_at(filter(_extract_settings#15079536, lambdafunction((lambda x_29764#15075334.name = OOS_PROBABILITY_THRESHOLD), lambda x_29764#15075334, false)), 1, None, false).value as double))) THEN false ELSE (element_at(filter(prodLocSpecificKpis#15072022, lambdafunction((lambda x_29763#15075335.label = OutOfStockProbability), lambda x_29763#15075335, false)), 1, None, false).value >= cast(element_at(filter(_extract_settings#15079536, lambdafunction((lambda x_29764#15075336.name = OOS_PROBABILITY_THRESHOLD), lambda x_29764#15075336, false)), 1, None, false).value as double)) END AND CASE WHEN isnull(element_at(filter(prodLocSpecificKpis#15072022, lambdafunction((lambda x_29765#15075337.label = InitialStockQty), lambda x_29765#15075337, false)), 1, None, false).value) THEN false ELSE (element_at(filter(prodLocSpecificKpis#15072022, lambdafunction((lambda x_29765#15075339.label = InitialStockQty), lambda x_29765#15075339, false)), 1, None, false).value > CASE WHEN cast(element_at(filter(_extract_settings#15079536, lambdafunction((lambda x_29766#15075340.name = CURRENT_STOCK_ABOVE_ZERO), lambda x_29766#15075340, false)), 1, None, false).value as boolean) THEN 0.0 ELSE -Infinity END) END) AND CASE WHEN (CASE WHEN isnull(orderDateTime#15075547) THEN true ELSE isnull((cast((unix_timestamp(orderDateTime#15075547, yyyy-MM-dd HH:mm:ss, Some(UTC), false) - 1784752638) as double) / 3600.0)) END OR isnull(cast(element_at(filter(_extract_settings#15079536, lambdafunction((lambda x_29767#15075341.name = OFFSET_CURRENT_ORDER_DATE), lambda x_29767#15075341, false)), 1, None, false).value as double))) THEN false ELSE (CASE WHEN isnull(orderDateTime#15075547) THEN null ELSE (cast((unix_timestamp(orderDateTime#15075547, yyyy-MM-dd HH:mm:ss, Some(UTC), false) - 1784752638) as double) / 3600.0) END >= cast(element_at(filter(_extract_settings#15079536, lambdafunction((lambda x_29767#15075342.name = OFFSET_CURRENT_ORDER_DATE), lambda x_29767#15075342, 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))\n1.2 s (0 ms, 29 ms, 111 ms (stage 3728244.0: task 6727318))";
tooltip="WholeStageCodegen (6)";
50 [id="node50" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderDateTime#15075547, prodLocSpecificKpis#15072022]"];
51 [id="node51" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT (isFallbackOrderOnly#15075551 <=> true)"];
}
52 [id="node52" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 29" tooltip="InMemoryTableScan [isFallbackOrderOnly#15075551, orderDateTime#15075547, prodLocSpecificKpis#15072022], [NOT (isFallbackOrderOnly#15075551 <=> true)]"];
subgraph cluster53 {
isCluster="true";
id="cluster53";
label="WholeStageCodegen (13)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (13)";
54 [id="node54" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 17 more fields]"];
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#15070782, worklistShardItemId#15071294L], [shardId#15072044, worklistShardItemId#15072045L], LeftOuter"];
}
subgraph cluster56 {
isCluster="true";
id="cluster56";
label="WholeStageCodegen (10)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (10)";
57 [id="node57" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 16 more fields]"];
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#15070782, worklistShardItemId#15071294L], [shardId#15072031, worklistShardItemId#15072032L], LeftOuter"];
}
subgraph cluster59 {
isCluster="true";
id="cluster59";
label="WholeStageCodegen (7)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (7)";
60 [id="node60" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 15 more fields]"];
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#15070782, worklistShardItemId#15071294L], [shardId#15072015, worklistShardItemId#15072016L], LeftOuter"];
}
subgraph cluster62 {
isCluster="true";
id="cluster62";
label="WholeStageCodegen (4)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (4)";
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#15070782 ASC NULLS FIRST, worklistShardItemId#15071294L 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#15070782, worklistShardItemId#15071294L, 30), ENSURE_REQUIREMENTS, [plan_id=7843472]"];
subgraph cluster65 {
isCluster="true";
id="cluster65";
label="WholeStageCodegen (3)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (3)";
66 [id="node66" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 14 more fields]"];
67 [id="node67" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#15071294L], [worklistShardItemId#15071518L], LeftOuter, BuildRight, (shardId#15070782 = 0_1_10000001452), false"];
68 [id="node68" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, item#15071293.worklistShardItemId AS worklistShardItemId#15071294L, item#15071293.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#15071295, item#15071293.qty AS qty#15071296]"];
69 [id="node69" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(items#15070784), [shardId#15070782], false, [item#15071293]"];
70 [id="node70" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((size(items#15070784, true) > 0) AND isnotnull(items#15070784))"];
}
71 [id="node71" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#15070782, items#15070784], [(size(items#15070784, true) > 0), isnotnull(items#15070784)]"];
subgraph cluster72 {
isCluster="true";
id="cluster72";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
73 [id="node73" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
}
74 [id="node74" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], [isnotnull(shardId#15070782), (shardId#15070782 = 0_1_10000001452)]"];
subgraph cluster75 {
isCluster="true";
id="cluster75";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
76 [id="node76" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
77 [id="node77" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15070782,orderProposalId#15070783L,items#15070784,optimizationGroups#15070785,isOptimal#15070786,lastModified#15070787,optimizationInsights#15070788]"];
}
78 [id="node78" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 0 ms<br>number of output rows: 0<br>data size: 0.0 B" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=7843467]"];
subgraph cluster79 {
isCluster="true";
id="cluster79";
label="WholeStageCodegen (2)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (2)";
80 [id="node80" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#15071518L, orderProposalId#15071495L, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, originalReplenishmentRunId#15071537L, splitIndicator#15071514L, previousOrderProposal#15071515L, sourceOfSupplyUuid#15071509, supplierGroup#15071497, supplier#15071498, subrange#15071501, product#15071504, plant#15071499, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, isFallbackOrderOnly#15071512, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, netPriceAmount#15071531, netPriceCurrencyCode#15071532, ... 11 more fields]"];
}
81 [id="node81" 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#15071518L, 30), REPARTITION_BY_NUM, [plan_id=7843463]"];
subgraph cluster82 {
isCluster="true";
id="cluster82";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
83 [id="node83" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, ... 11 more fields]"];
84 [id="node84" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter isnotnull(worklistShardItemId#15071518L)"];
85 [id="node85" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
86 [id="node86" 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#15071495L,orderProposalItemId#15071496,supplierGroup#15071497,supplier#15071498,plant#15071499,deliveryDateTime#15071500,subrange#15071501,supplyingPlant#15071502,productGroup#15071503,product#15071504,orderDateTime#15071505,availabilityDateTime#15071506,nextAvailabilityDateTime#15071507,sourceOfSupplyUuid#15071509,isFallbackOrderOnly#15071512,splitIndicator#15071514L,previousOrderProposal#15071515L,worklistShardItemId#15071518L,orderProposalItemGroupId#15071519,externalProductId#15071520,externalPlantId#15071521,logisticUnits#15071522,orderQuantityBaseUom#15071523,orderQuantityBaseUomUuid#15071524,minimumOrderQuantity#15071525,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#15071518L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#15071539), isnotnull(sequenceId#15071517), (shardId#15071539 = 0_1_10000001452..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster87 {
isCluster="true";
id="cluster87";
label="WholeStageCodegen (6)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (6)";
88 [id="node88" 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#15072015 ASC NULLS FIRST, worklistShardItemId#15072016L ASC NULLS FIRST], false, 0"];
}
89 [id="node89" 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#15072015, worklistShardItemId#15072016L, 30), ENSURE_REQUIREMENTS, [plan_id=7843478]"];
subgraph cluster90 {
isCluster="true";
id="cluster90";
label="WholeStageCodegen (5)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (5)";
91 [id="node91" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15072015, worklistShardItemId#15072016L, coalesce(kpis#15072020, []) AS prodLocSpecificKpis#15072021]"];
92 [id="node92" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (((isnull(qty#15072017) AND isnull(demandChannel#15072018)) AND isnull(demandStream#15072019)) AND (isnotnull(shardId#15072015) AND isnotnull(worklistShardItemId#15072016L)))"];
93 [id="node93" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15072015,worklistShardItemId#15072016L,qty#15072017,demandChannel#15072018,demandStream#15072019,kpis#15072020]"];
}
subgraph cluster94 {
isCluster="true";
id="cluster94";
label="WholeStageCodegen (9)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (9)";
95 [id="node95" 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#15072031 ASC NULLS FIRST, worklistShardItemId#15072032L ASC NULLS FIRST], false, 0"];
}
96 [id="node96" 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#15072031, worklistShardItemId#15072032L], functions=[collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)])"];
97 [id="node97" 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#15072031, worklistShardItemId#15072032L, 30), ENSURE_REQUIREMENTS, [plan_id=7843489]"];
98 [id="node98" 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#15072031, worklistShardItemId#15072032L], functions=[partial_collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)])"];
subgraph cluster99 {
isCluster="true";
id="cluster99";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (8)";
100 [id="node100" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15072031, worklistShardItemId#15072032L, demandChannel#15072034, demandStream#15072035, kpis#15072036]"];
101 [id="node101" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((((isnull(qty#15072033) AND isnotnull(demandChannel#15072034)) AND isnotnull(demandStream#15072035)) AND (size(kpis#15072036, true) > 0)) AND (isnotnull(shardId#15072031) AND isnotnull(worklistShardItemId#15072032L)))"];
102 [id="node102" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15072031,worklistShardItemId#15072032L,qty#15072033,demandChannel#15072034,demandStream#15072035,kpis#15072036]"];
}
subgraph cluster103 {
isCluster="true";
id="cluster103";
label="WholeStageCodegen (12)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (12)";
104 [id="node104" 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#15072044 ASC NULLS FIRST, worklistShardItemId#15072045L ASC NULLS FIRST], false, 0"];
}
105 [id="node105" 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#15072044, worklistShardItemId#15072045L], functions=[collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)])"];
106 [id="node106" 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#15072044, worklistShardItemId#15072045L, 30), ENSURE_REQUIREMENTS, [plan_id=7843501]"];
107 [id="node107" 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#15072044, worklistShardItemId#15072045L], functions=[partial_collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)])"];
subgraph cluster108 {
isCluster="true";
id="cluster108";
label="WholeStageCodegen (11)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (11)";
109 [id="node109" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, kpis#15072049]"];
110 [id="node110" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(qty#15072046) AND isnotnull(kpis#15072049)) AND (isnotnull(shardId#15072044) AND isnotnull(worklistShardItemId#15072045L)))"];
111 [id="node111" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15072044,worklistShardItemId#15072045L,qty#15072046,demandChannel#15072047,demandStream#15072048,kpis#15072049]"];
}
112 [id="node112" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 276 ms<br>number of output rows: 1<br>data size: 288.0 B" tooltip="BroadcastExchange IdentityBroadcastMode, [plan_id=7844717]"];
113 [id="node113" 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: 272.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: 272.0 B" tooltip="Exchange RoundRobinPartitioning(30), REPARTITION_BY_NUM, [plan_id=7844716]"];
subgraph cluster114 {
isCluster="true";
id="cluster114";
label="WholeStageCodegen (7)\n \nduration: 81 ms";
tooltip="WholeStageCodegen (7)";
115 [id="node115" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [insightConfigurations#15075328[POTENTIAL_OOS_STOCK_PERIOD].settings AS _extract_settings#15079536]"];
116 [id="node116" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1" tooltip="Filter (isnotnull(insightConfigurations#15075328) AND isnotnull(insightConfigurations#15075328[POTENTIAL_OOS_STOCK_PERIOD]))"];
117 [id="node117" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 1<br>number of input batches: 1" tooltip="ColumnarToRow"];
}
118 [id="node118" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 76 ms<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 5.0 KiB<br>number of output rows: 1<br>number of partitions read: 1" tooltip="FileScan parquet [insightConfigurations#15075328,shardId#15075329] Batched: true, DataFilters: [isnotnull(insightConfigurations#15075328), isnotnull(insightConfigurations#15075328[POTENTIAL_OO..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#15075329), (shardId#15075329 = 0_1_10000001452)], PushedFilters: [IsNotNull(insightConfigurations)], ReadSchema: struct<insightConfigurations:map<string,struct<configurationVersion:string,name:string,settings:a..."];
subgraph cluster119 {
isCluster="true";
id="cluster119";
label="WholeStageCodegen (11)\n \nduration: total (min, med, max (stageId: taskId))\n23 ms (0 ms, 0 ms, 6 ms (stage 3728244.0: task 6727381))";
tooltip="WholeStageCodegen (11)";
120 [id="node120" labelType="html" label="<br><b>LocalLimit</b><br><br>" tooltip="LocalLimit 1"];
121 [id="node121" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
}
122 [id="node122" 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#15075505, qty#15075389, None, false), lambdafunction((lambda x_29769#15075359.label = OutOfStockProbability), lambda x_29769#15075359, false)), 1, None, false).value) OR isnull(cast(element_at(filter(_extract_settings#15079538, lambdafunction((lambda x_29770#15075360.name = OOS_PROBABILITY_THRESHOLD), lambda x_29770#15075360, false)), 1, None, false).value as double))) THEN false ELSE (element_at(filter(element_at(quantityKpis#15075505, qty#15075389, None, false), lambdafunction((lambda x_29769#15075361.label = OutOfStockProbability), lambda x_29769#15075361, false)), 1, None, false).value >= cast(element_at(filter(_extract_settings#15079538, lambdafunction((lambda x_29770#15075362.name = OOS_PROBABILITY_THRESHOLD), lambda x_29770#15075362, false)), 1, None, false).value as double)) END"];
subgraph cluster123 {
isCluster="true";
id="cluster123";
label="WholeStageCodegen (9)\n \nduration: total (min, med, max (stageId: taskId))\n587 ms (0 ms, 0 ms, 110 ms (stage 3728244.0: task 6727381))";
tooltip="WholeStageCodegen (9)";
124 [id="node124" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [qty#15075389, quantityKpis#15075505]"];
125 [id="node125" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter NOT (isFallbackOrderOnly#15075414 <=> true)"];
}
126 [id="node126" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 29" tooltip="InMemoryTableScan [isFallbackOrderOnly#15075414, qty#15075389, quantityKpis#15075505], [NOT (isFallbackOrderOnly#15075414 <=> true)]"];
subgraph cluster127 {
isCluster="true";
id="cluster127";
label="WholeStageCodegen (13)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (13)";
128 [id="node128" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 17 more fields]"];
129 [id="node129" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [shardId#15070782, worklistShardItemId#15071294L], [shardId#15072044, worklistShardItemId#15072045L], LeftOuter"];
}
subgraph cluster130 {
isCluster="true";
id="cluster130";
label="WholeStageCodegen (10)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (10)";
131 [id="node131" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 16 more fields]"];
132 [id="node132" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [shardId#15070782, worklistShardItemId#15071294L], [shardId#15072031, worklistShardItemId#15072032L], LeftOuter"];
}
subgraph cluster133 {
isCluster="true";
id="cluster133";
label="WholeStageCodegen (7)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (7)";
134 [id="node134" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 15 more fields]"];
135 [id="node135" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size: 0.0 B" tooltip="SortMergeJoin [shardId#15070782, worklistShardItemId#15071294L], [shardId#15072015, worklistShardItemId#15072016L], LeftOuter"];
}
subgraph cluster136 {
isCluster="true";
id="cluster136";
label="WholeStageCodegen (4)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (4)";
137 [id="node137" 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#15070782 ASC NULLS FIRST, worklistShardItemId#15071294L ASC NULLS FIRST], false, 0"];
}
138 [id="node138" 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#15070782, worklistShardItemId#15071294L, 30), ENSURE_REQUIREMENTS, [plan_id=7843472]"];
subgraph cluster139 {
isCluster="true";
id="cluster139";
label="WholeStageCodegen (3)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (3)";
140 [id="node140" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, ... 14 more fields]"];
141 [id="node141" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#15071294L], [worklistShardItemId#15071518L], LeftOuter, BuildRight, (shardId#15070782 = 0_1_10000001452), false"];
142 [id="node142" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15070782, item#15071293.worklistShardItemId AS worklistShardItemId#15071294L, item#15071293.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#15071295, item#15071293.qty AS qty#15071296]"];
143 [id="node143" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(items#15070784), [shardId#15070782], false, [item#15071293]"];
144 [id="node144" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((size(items#15070784, true) > 0) AND isnotnull(items#15070784))"];
}
145 [id="node145" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#15070782, items#15070784], [(size(items#15070784, true) > 0), isnotnull(items#15070784)]"];
subgraph cluster146 {
isCluster="true";
id="cluster146";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
147 [id="node147" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
}
148 [id="node148" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], [isnotnull(shardId#15070782), (shardId#15070782 = 0_1_10000001452)]"];
subgraph cluster149 {
isCluster="true";
id="cluster149";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
150 [id="node150" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#15070782) AND (shardId#15070782 = 0_1_10000001452))"];
151 [id="node151" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15070782,orderProposalId#15070783L,items#15070784,optimizationGroups#15070785,isOptimal#15070786,lastModified#15070787,optimizationInsights#15070788]"];
}
152 [id="node152" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 0 ms<br>number of output rows: 0<br>data size: 0.0 B" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=7843467]"];
subgraph cluster153 {
isCluster="true";
id="cluster153";
label="WholeStageCodegen (2)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (2)";
154 [id="node154" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#15071518L, orderProposalId#15071495L, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, originalReplenishmentRunId#15071537L, splitIndicator#15071514L, previousOrderProposal#15071515L, sourceOfSupplyUuid#15071509, supplierGroup#15071497, supplier#15071498, subrange#15071501, product#15071504, plant#15071499, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, isFallbackOrderOnly#15071512, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, netPriceAmount#15071531, netPriceCurrencyCode#15071532, ... 11 more fields]"];
}
155 [id="node155" 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#15071518L, 30), REPARTITION_BY_NUM, [plan_id=7843463]"];
subgraph cluster156 {
isCluster="true";
id="cluster156";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
157 [id="node157" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, ... 11 more fields]"];
158 [id="node158" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter isnotnull(worklistShardItemId#15071518L)"];
159 [id="node159" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
160 [id="node160" 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#15071495L,orderProposalItemId#15071496,supplierGroup#15071497,supplier#15071498,plant#15071499,deliveryDateTime#15071500,subrange#15071501,supplyingPlant#15071502,productGroup#15071503,product#15071504,orderDateTime#15071505,availabilityDateTime#15071506,nextAvailabilityDateTime#15071507,sourceOfSupplyUuid#15071509,isFallbackOrderOnly#15071512,splitIndicator#15071514L,previousOrderProposal#15071515L,worklistShardItemId#15071518L,orderProposalItemGroupId#15071519,externalProductId#15071520,externalPlantId#15071521,logisticUnits#15071522,orderQuantityBaseUom#15071523,orderQuantityBaseUomUuid#15071524,minimumOrderQuantity#15071525,... 13 more fields] Batched: true, DataFilters: [isnotnull(worklistShardItemId#15071518L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#15071539), isnotnull(sequenceId#15071517), (shardId#15071539 = 0_1_10000001452..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,pla..."];
subgraph cluster161 {
isCluster="true";
id="cluster161";
label="WholeStageCodegen (6)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (6)";
162 [id="node162" 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#15072015 ASC NULLS FIRST, worklistShardItemId#15072016L ASC NULLS FIRST], false, 0"];
}
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(shardId#15072015, worklistShardItemId#15072016L, 30), ENSURE_REQUIREMENTS, [plan_id=7843478]"];
subgraph cluster164 {
isCluster="true";
id="cluster164";
label="WholeStageCodegen (5)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (5)";
165 [id="node165" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15072015, worklistShardItemId#15072016L, coalesce(kpis#15072020, []) AS prodLocSpecificKpis#15072021]"];
166 [id="node166" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (((isnull(qty#15072017) AND isnull(demandChannel#15072018)) AND isnull(demandStream#15072019)) AND (isnotnull(shardId#15072015) AND isnotnull(worklistShardItemId#15072016L)))"];
167 [id="node167" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15072015,worklistShardItemId#15072016L,qty#15072017,demandChannel#15072018,demandStream#15072019,kpis#15072020]"];
}
subgraph cluster168 {
isCluster="true";
id="cluster168";
label="WholeStageCodegen (9)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (9)";
169 [id="node169" 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#15072031 ASC NULLS FIRST, worklistShardItemId#15072032L ASC NULLS FIRST], false, 0"];
}
170 [id="node170" 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#15072031, worklistShardItemId#15072032L], functions=[collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 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#15072031, worklistShardItemId#15072032L, 30), ENSURE_REQUIREMENTS, [plan_id=7843489]"];
172 [id="node172" 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#15072031, worklistShardItemId#15072032L], functions=[partial_collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)])"];
subgraph cluster173 {
isCluster="true";
id="cluster173";
label="WholeStageCodegen (8)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (8)";
174 [id="node174" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15072031, worklistShardItemId#15072032L, demandChannel#15072034, demandStream#15072035, kpis#15072036]"];
175 [id="node175" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((((isnull(qty#15072033) AND isnotnull(demandChannel#15072034)) AND isnotnull(demandStream#15072035)) AND (size(kpis#15072036, true) > 0)) AND (isnotnull(shardId#15072031) AND isnotnull(worklistShardItemId#15072032L)))"];
176 [id="node176" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15072031,worklistShardItemId#15072032L,qty#15072033,demandChannel#15072034,demandStream#15072035,kpis#15072036]"];
}
subgraph cluster177 {
isCluster="true";
id="cluster177";
label="WholeStageCodegen (12)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (12)";
178 [id="node178" 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#15072044 ASC NULLS FIRST, worklistShardItemId#15072045L ASC NULLS FIRST], false, 0"];
}
179 [id="node179" 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#15072044, worklistShardItemId#15072045L], functions=[collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)])"];
180 [id="node180" 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#15072044, worklistShardItemId#15072045L, 30), ENSURE_REQUIREMENTS, [plan_id=7843501]"];
181 [id="node181" 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#15072044, worklistShardItemId#15072045L], functions=[partial_collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)])"];
subgraph cluster182 {
isCluster="true";
id="cluster182";
label="WholeStageCodegen (11)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (11)";
183 [id="node183" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, kpis#15072049]"];
184 [id="node184" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(qty#15072046) AND isnotnull(kpis#15072049)) AND (isnotnull(shardId#15072044) AND isnotnull(worklistShardItemId#15072045L)))"];
185 [id="node185" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15072044,worklistShardItemId#15072045L,qty#15072046,demandChannel#15072047,demandStream#15072048,kpis#15072049]"];
}
186 [id="node186" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 270 ms<br>number of output rows: 1<br>data size: 120.0 B" tooltip="BroadcastExchange IdentityBroadcastMode, [plan_id=7844733]"];
187 [id="node187" 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=7844732]"];
subgraph cluster188 {
isCluster="true";
id="cluster188";
label="WholeStageCodegen (10)\n \nduration: 90 ms";
tooltip="WholeStageCodegen (10)";
189 [id="node189" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [insightConfigurations#15075510[POTENTIAL_OOS_DEMAND_PERIOD].settings AS _extract_settings#15079538]"];
190 [id="node190" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1" tooltip="Filter (isnotnull(insightConfigurations#15075510) AND isnotnull(insightConfigurations#15075510[POTENTIAL_OOS_DEMAND_PERIOD]))"];
191 [id="node191" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 1<br>number of input batches: 1" tooltip="ColumnarToRow"];
}
192 [id="node192" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 1<br>scan time: 80 ms<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 5.0 KiB<br>number of output rows: 1<br>number of partitions read: 1" tooltip="FileScan parquet [insightConfigurations#15075510,shardId#15075511] Batched: true, DataFilters: [isnotnull(insightConfigurations#15075510), isnotnull(insightConfigurations#15075510[POTENTIAL_OO..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#15075511), (shardId#15075511 = 0_1_10000001452)], 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;
68->67;
69->68;
70->69;
71->70;
73->71;
74->73;
76->74;
77->76;
78->67;
80->78;
81->80;
83->81;
84->83;
85->84;
86->85;
88->61;
89->88;
91->89;
92->91;
93->92;
95->58;
96->95;
97->96;
98->97;
100->98;
101->100;
102->101;
104->55;
105->104;
106->105;
107->106;
109->107;
110->109;
111->110;
112->48;
113->112;
115->113;
116->115;
117->116;
118->117;
120->1;
121->120;
122->121;
124->122;
125->124;
126->125;
128->126;
129->128;
131->129;
132->131;
134->132;
135->134;
137->135;
138->137;
140->138;
141->140;
142->141;
143->142;
144->143;
145->144;
147->145;
148->147;
150->148;
151->150;
152->141;
154->152;
155->154;
157->155;
158->157;
159->158;
160->159;
162->135;
163->162;
165->163;
166->165;
167->166;
169->132;
170->169;
171->170;
172->171;
174->172;
175->174;
176->175;
178->129;
179->178;
180->179;
181->180;
183->181;
184->183;
185->184;
186->122;
187->186;
189->187;
190->189;
191->190;
192->191;
}
== Physical Plan ==
CollectLimit (102)
+- Union (101)
:- * 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 (87)
: +- * Project (86)
: +- BroadcastNestedLoopJoin Cross BuildRight (85)
: :- * Project (78)
: : +- * Filter (77)
: : +- InMemoryTableScan (34)
: : +- InMemoryRelation (35)
: : +- * Project (76)
: : +- * SortMergeJoin LeftOuter (75)
: : :- * Project (67)
: : : +- * SortMergeJoin LeftOuter (66)
: : : :- * Project (58)
: : : : +- * SortMergeJoin LeftOuter (57)
: : : : :- * Sort (51)
: : : : : +- Exchange (50)
: : : : : +- * Project (49)
: : : : : +- * BroadcastHashJoin LeftOuter BuildRight (48)
: : : : : :- * Project (40)
: : : : : : +- * Generate (39)
: : : : : : +- * Filter (38)
: : : : : : +- InMemoryTableScan (36)
: : : : : : +- InMemoryRelation (37)
: : : : : : +- * Filter (7)
: : : : : : +- InMemoryTableScan (3)
: : : : : : +- InMemoryRelation (4)
: : : : : : +- * Filter (6)
: : : : : : +- * Scan ExistingRDD (5)
: : : : : +- BroadcastExchange (47)
: : : : : +- * Project (46)
: : : : : +- Exchange (45)
: : : : : +- * Project (44)
: : : : : +- * Filter (43)
: : : : : +- * ColumnarToRow (42)
: : : : : +- Scan parquet (41)
: : : : +- * Sort (56)
: : : : +- Exchange (55)
: : : : +- * Project (54)
: : : : +- * Filter (53)
: : : : +- * Scan ExistingRDD (52)
: : : +- * Sort (65)
: : : +- ObjectHashAggregate (64)
: : : +- Exchange (63)
: : : +- ObjectHashAggregate (62)
: : : +- * Project (61)
: : : +- * Filter (60)
: : : +- * Scan ExistingRDD (59)
: : +- * Sort (74)
: : +- ObjectHashAggregate (73)
: : +- Exchange (72)
: : +- ObjectHashAggregate (71)
: : +- * Project (70)
: : +- * Filter (69)
: : +- * Scan ExistingRDD (68)
: +- BroadcastExchange (84)
: +- Exchange (83)
: +- * Project (82)
: +- * Filter (81)
: +- * ColumnarToRow (80)
: +- Scan parquet (79)
+- * LocalLimit (100)
+- * Project (99)
+- BroadcastNestedLoopJoin Cross BuildRight (98)
:- * Project (91)
: +- * Filter (90)
: +- InMemoryTableScan (88)
: +- InMemoryRelation (89)
: +- * Project (76)
: +- * SortMergeJoin LeftOuter (75)
: :- * Project (67)
: : +- * SortMergeJoin LeftOuter (66)
: : :- * Project (58)
: : : +- * SortMergeJoin LeftOuter (57)
: : : :- * Sort (51)
: : : : +- Exchange (50)
: : : : +- * Project (49)
: : : : +- * BroadcastHashJoin LeftOuter BuildRight (48)
: : : : :- * Project (40)
: : : : : +- * Generate (39)
: : : : : +- * Filter (38)
: : : : : +- InMemoryTableScan (36)
: : : : : +- InMemoryRelation (37)
: : : : : +- * Filter (7)
: : : : : +- InMemoryTableScan (3)
: : : : : +- InMemoryRelation (4)
: : : : : +- * Filter (6)
: : : : : +- * Scan ExistingRDD (5)
: : : : +- BroadcastExchange (47)
: : : : +- * Project (46)
: : : : +- Exchange (45)
: : : : +- * Project (44)
: : : : +- * Filter (43)
: : : : +- * ColumnarToRow (42)
: : : : +- Scan parquet (41)
: : : +- * Sort (56)
: : : +- Exchange (55)
: : : +- * Project (54)
: : : +- * Filter (53)
: : : +- * Scan ExistingRDD (52)
: : +- * Sort (65)
: : +- ObjectHashAggregate (64)
: : +- Exchange (63)
: : +- ObjectHashAggregate (62)
: : +- * Project (61)
: : +- * Filter (60)
: : +- * Scan ExistingRDD (59)
: +- * Sort (74)
: +- ObjectHashAggregate (73)
: +- Exchange (72)
: +- ObjectHashAggregate (71)
: +- * Project (70)
: +- * Filter (69)
: +- * Scan ExistingRDD (68)
+- BroadcastExchange (97)
+- Exchange (96)
+- * Project (95)
+- * Filter (94)
+- * ColumnarToRow (93)
+- Scan parquet (92)
(1) InMemoryTableScan
Output [2]: [orderProposalId#15070783L, optimizationInsights#15070788]
Arguments: [orderProposalId#15070783L, optimizationInsights#15070788], [isnotnull(orderProposalId#15070783L), (size(optimizationInsights#15070788, true) > 0), isnotnull(optimizationInsights#15070788)]
(2) InMemoryRelation
Arguments: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [6]: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788]
Arguments: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], [isnotnull(shardId#15070782), (shardId#15070782 = 0_1_10000001452)]
(4) InMemoryRelation
Arguments: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, lastModified#15070787, optimizationInsights#15070788], StorageLevel(disk, memory, 2 replicas)
(5) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, lastModified#15070787, optimizationInsights#15070788]
Arguments: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, lastModified#15070787, optimizationInsights#15070788], MapPartitionsRDD[1062227] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(6) Filter [codegen id : 1]
Input [7]: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, lastModified#15070787, optimizationInsights#15070788]
Condition : (isnotnull(shardId#15070782) AND (shardId#15070782 = 0_1_10000001452))
(7) Filter [codegen id : 1]
Input [6]: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788]
Condition : (isnotnull(shardId#15070782) AND (shardId#15070782 = 0_1_10000001452))
(8) Filter [codegen id : 1]
Input [2]: [orderProposalId#15070783L, optimizationInsights#15070788]
Condition : ((isnotnull(orderProposalId#15070783L) AND (size(optimizationInsights#15070788, true) > 0)) AND isnotnull(optimizationInsights#15070788))
(9) BroadcastExchange
Input [2]: [orderProposalId#15070783L, optimizationInsights#15070788]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=7844675]
(10) InMemoryTableScan
Output [2]: [items#15074892, shardId#15074890]
Arguments: [items#15074892, shardId#15074890], [(size(items#15074892.worklistShardItemId, true) > 0), isnotnull(items#15074892.worklistShardItemId), (shardId#15074890 = 0_1_10000001452)]
(11) InMemoryRelation
Arguments: [shardId#15074890, orderProposalId#15074891L, items#15074892, optimizationGroups#15074893, isOptimal#15074894, optimizationInsights#15074896], StorageLevel(disk, memory, 2 replicas)
(12) Filter [codegen id : 2]
Input [2]: [items#15074892, shardId#15074890]
Condition : (((size(items#15074892.worklistShardItemId, true) > 0) AND isnotnull(items#15074892.worklistShardItemId)) AND (shardId#15074890 = 0_1_10000001452))
(13) Project [codegen id : 2]
Output [1]: [items#15074892.worklistShardItemId AS _extract_worklistShardItemId#15079534]
Input [2]: [items#15074892, shardId#15074890]
(14) Generate [codegen id : 2]
Input [1]: [_extract_worklistShardItemId#15079534]
Arguments: explode(_extract_worklistShardItemId#15079534), false, [item#15071293L]
(15) Project [codegen id : 2]
Output [1]: [item#15071293L AS worklistShardItemId#15071294L]
Input [1]: [item#15071293L]
(16) BroadcastExchange
Input [1]: [worklistShardItemId#15071294L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=7844683]
(17) Scan parquet
Output [5]: [orderProposalId#15071495L, isFallbackOrderOnly#15071512, worklistShardItemId#15071518L, shardId#15071539, sequenceId#15071517]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000001452]
PartitionFilters: [isnotnull(shardId#15071539), isnotnull(sequenceId#15071517), (shardId#15071539 = 0_1_10000001452), (sequenceId#15071517 = 5)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(18) ColumnarToRow [codegen id : 3]
Input [5]: [orderProposalId#15071495L, isFallbackOrderOnly#15071512, worklistShardItemId#15071518L, shardId#15071539, sequenceId#15071517]
(19) Filter [codegen id : 3]
Input [5]: [orderProposalId#15071495L, isFallbackOrderOnly#15071512, worklistShardItemId#15071518L, shardId#15071539, sequenceId#15071517]
Condition : ((isnotnull(worklistShardItemId#15071518L) AND NOT (isFallbackOrderOnly#15071512 <=> true)) AND isnotnull(orderProposalId#15071495L))
(20) Project [codegen id : 3]
Output [2]: [orderProposalId#15071495L, worklistShardItemId#15071518L]
Input [5]: [orderProposalId#15071495L, isFallbackOrderOnly#15071512, worklistShardItemId#15071518L, shardId#15071539, sequenceId#15071517]
(21) Exchange
Input [2]: [orderProposalId#15071495L, worklistShardItemId#15071518L]
Arguments: hashpartitioning(worklistShardItemId#15071518L, 30), REPARTITION_BY_NUM, [plan_id=7844690]
(22) Project
Output [2]: [worklistShardItemId#15071518L, orderProposalId#15071495L]
Input [2]: [orderProposalId#15071495L, worklistShardItemId#15071518L]
(23) BroadcastHashJoin [codegen id : 4]
Left keys [1]: [worklistShardItemId#15071294L]
Right keys [1]: [worklistShardItemId#15071518L]
Join type: Inner
Join condition: None
(24) Project [codegen id : 4]
Output [1]: [orderProposalId#15071495L]
Input [3]: [worklistShardItemId#15071294L, worklistShardItemId#15071518L, orderProposalId#15071495L]
(25) HashAggregate [codegen id : 4]
Input [1]: [orderProposalId#15071495L]
Keys [1]: [orderProposalId#15071495L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#15071495L]
(26) Exchange
Input [1]: [orderProposalId#15071495L]
Arguments: hashpartitioning(orderProposalId#15071495L, 30), ENSURE_REQUIREMENTS, [plan_id=7844697]
(27) HashAggregate
Input [1]: [orderProposalId#15071495L]
Keys [1]: [orderProposalId#15071495L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#15071495L]
(28) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [orderProposalId#15070783L]
Right keys [1]: [orderProposalId#15071495L]
Join type: Inner
Join condition: None
(29) Project [codegen id : 5]
Output [1]: [optimizationInsights#15070788]
Input [3]: [orderProposalId#15070783L, optimizationInsights#15070788, orderProposalId#15071495L]
(30) Generate [codegen id : 5]
Input [1]: [optimizationInsights#15070788]
Arguments: explode(optimizationInsights#15070788), false, [insight#15074898]
(31) Filter [codegen id : 5]
Input [1]: [insight#15074898]
Condition : NOT insight#15074898.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#15074898]
(33) LocalLimit [codegen id : 5]
Input: []
Arguments: 1
(34) InMemoryTableScan
Output [3]: [isFallbackOrderOnly#15075551, orderDateTime#15075547, prodLocSpecificKpis#15072022]
Arguments: [isFallbackOrderOnly#15075551, orderDateTime#15075547, prodLocSpecificKpis#15072022], [NOT (isFallbackOrderOnly#15075551 <=> true)]
(35) InMemoryRelation
Arguments: [shardId#15075516, worklistShardItemId#15075524L, quantityAfterProdPlantOptimization#15075525, qty#15075526, orderProposalId#15075529L, originalReplenishmentRunId#15075532L, supplierGroup#15075539, supplier#15075540, supplyingPlant#15075570, productGroup#15075571, product#15075542, plant#15075543, subrange#15075541, orderDateTime#15075547, deliveryDateTime#15075548, availabilityDateTime#15075549, nextAvailabilityDateTime#15075550, constraintValues#15075564, constraintOperators#15075562, constraintLabels#15075561, logisticUnits#15075566, orderQuantityBaseUom#15075552, orderQuantityBaseUomUuid#15075553, splitIndicator#15075534L, netPriceAmount#15075557, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(36) InMemoryTableScan
Output [2]: [shardId#15070782, items#15070784]
Arguments: [shardId#15070782, items#15070784], [(size(items#15070784, true) > 0), isnotnull(items#15070784)]
(37) InMemoryRelation
Arguments: [shardId#15070782, orderProposalId#15070783L, items#15070784, optimizationGroups#15070785, isOptimal#15070786, optimizationInsights#15070788], StorageLevel(disk, memory, 2 replicas)
(38) Filter [codegen id : 3]
Input [2]: [shardId#15070782, items#15070784]
Condition : ((size(items#15070784, true) > 0) AND isnotnull(items#15070784))
(39) Generate [codegen id : 3]
Input [2]: [shardId#15070782, items#15070784]
Arguments: explode(items#15070784), [shardId#15070782], false, [item#15071293]
(40) Project [codegen id : 3]
Output [4]: [shardId#15070782, item#15071293.worklistShardItemId AS worklistShardItemId#15071294L, item#15071293.quantityAfterProdPlantOptimization AS quantityAfterProdPlantOptimization#15071295, item#15071293.qty AS qty#15071296]
Input [2]: [shardId#15070782, item#15071293]
(41) Scan parquet
Output [38]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538, shardId#15071539, sequenceId#15071517]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000001452]
PartitionFilters: [isnotnull(shardId#15071539), isnotnull(sequenceId#15071517), (shardId#15071539 = 0_1_10000001452), (sequenceId#15071517 = 5)]
PushedFilters: [IsNotNull(worklistShardItemId)]
ReadSchema: struct<orderProposalId:bigint,orderProposalItemId:string,supplierGroup:string,supplier:string,plant:string,deliveryDateTime:timestamp,subrange:string,supplyingPlant:string,productGroup:string,product:string,orderDateTime:timestamp,availabilityDateTime:timestamp,nextAvailabilityDateTime:timestamp,sourceOfSupplyUuid:string,isFallbackOrderOnly:boolean,splitIndicator:bigint,previousOrderProposal:bigint,worklistShardItemId:bigint,orderProposalItemGroupId:string,externalProductId:string,externalPlantId:string,logisticUnits:array<struct<uom:string,uomUuid:string,numerator:int,denominator:int,isOrderUnit:boolean,isPreferred:boolean>>,orderQuantityBaseUom:string,orderQuantityBaseUomUuid:string,minimumOrderQuantity:double,constraintLabels:array<string>,constraintOperators:array<string>,constraintValues:array<double>,netPriceAmount:double,netPriceCurrencyCode:string,netPriceQuantity:double,netPriceQuantityUom:string,netPriceQuantityUomUuid:string,measurements:array<struct<value:double,dimensionType:int,dimensionCode:string,dimensionCodeUuid:string,isoCode:string>>,originalReplenishmentRunId:bigint,optimizationGroups:array<string>>
(42) ColumnarToRow [codegen id : 1]
Input [38]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538, shardId#15071539, sequenceId#15071517]
(43) Filter [codegen id : 1]
Input [38]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538, shardId#15071539, sequenceId#15071517]
Condition : isnotnull(worklistShardItemId#15071518L)
(44) Project [codegen id : 1]
Output [36]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538]
Input [38]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538, shardId#15071539, sequenceId#15071517]
(45) Exchange
Input [36]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538]
Arguments: hashpartitioning(worklistShardItemId#15071518L, 30), REPARTITION_BY_NUM, [plan_id=7843463]
(46) Project [codegen id : 2]
Output [36]: [worklistShardItemId#15071518L, orderProposalId#15071495L, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, originalReplenishmentRunId#15071537L, splitIndicator#15071514L, previousOrderProposal#15071515L, sourceOfSupplyUuid#15071509, supplierGroup#15071497, supplier#15071498, subrange#15071501, product#15071504, plant#15071499, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, isFallbackOrderOnly#15071512, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, netPriceAmount#15071531, netPriceCurrencyCode#15071532, measurements#15071536, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, logisticUnits#15071522, optimizationGroups#15071538, externalProductId#15071520, externalPlantId#15071521, supplyingPlant#15071502, productGroup#15071503]
Input [36]: [orderProposalId#15071495L, orderProposalItemId#15071496, supplierGroup#15071497, supplier#15071498, plant#15071499, deliveryDateTime#15071500, subrange#15071501, supplyingPlant#15071502, productGroup#15071503, product#15071504, orderDateTime#15071505, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, sourceOfSupplyUuid#15071509, isFallbackOrderOnly#15071512, splitIndicator#15071514L, previousOrderProposal#15071515L, worklistShardItemId#15071518L, orderProposalItemGroupId#15071519, externalProductId#15071520, externalPlantId#15071521, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, measurements#15071536, originalReplenishmentRunId#15071537L, optimizationGroups#15071538]
(47) BroadcastExchange
Input [36]: [worklistShardItemId#15071518L, orderProposalId#15071495L, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, originalReplenishmentRunId#15071537L, splitIndicator#15071514L, previousOrderProposal#15071515L, sourceOfSupplyUuid#15071509, supplierGroup#15071497, supplier#15071498, subrange#15071501, product#15071504, plant#15071499, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, isFallbackOrderOnly#15071512, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, netPriceAmount#15071531, netPriceCurrencyCode#15071532, measurements#15071536, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, logisticUnits#15071522, optimizationGroups#15071538, externalProductId#15071520, externalPlantId#15071521, supplyingPlant#15071502, productGroup#15071503]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=7843467]
(48) BroadcastHashJoin [codegen id : 3]
Left keys [1]: [worklistShardItemId#15071294L]
Right keys [1]: [worklistShardItemId#15071518L]
Join type: LeftOuter
Join condition: (shardId#15070782 = 0_1_10000001452)
(49) Project [codegen id : 3]
Output [39]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512]
Input [40]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, worklistShardItemId#15071518L, orderProposalId#15071495L, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, originalReplenishmentRunId#15071537L, splitIndicator#15071514L, previousOrderProposal#15071515L, sourceOfSupplyUuid#15071509, supplierGroup#15071497, supplier#15071498, subrange#15071501, product#15071504, plant#15071499, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, isFallbackOrderOnly#15071512, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, netPriceAmount#15071531, netPriceCurrencyCode#15071532, measurements#15071536, minimumOrderQuantity#15071525, constraintLabels#15071526, constraintOperators#15071527, constraintValues#15071528, logisticUnits#15071522, optimizationGroups#15071538, externalProductId#15071520, externalPlantId#15071521, supplyingPlant#15071502, productGroup#15071503]
(50) Exchange
Input [39]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512]
Arguments: hashpartitioning(shardId#15070782, worklistShardItemId#15071294L, 30), ENSURE_REQUIREMENTS, [plan_id=7843472]
(51) Sort [codegen id : 4]
Input [39]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512]
Arguments: [shardId#15070782 ASC NULLS FIRST, worklistShardItemId#15071294L ASC NULLS FIRST], false, 0
(52) Scan ExistingRDD [codegen id : 5]
Output [6]: [shardId#15072015, worklistShardItemId#15072016L, qty#15072017, demandChannel#15072018, demandStream#15072019, kpis#15072020]
Arguments: [shardId#15072015, worklistShardItemId#15072016L, qty#15072017, demandChannel#15072018, demandStream#15072019, kpis#15072020], MapPartitionsRDD[1062287] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(53) Filter [codegen id : 5]
Input [6]: [shardId#15072015, worklistShardItemId#15072016L, qty#15072017, demandChannel#15072018, demandStream#15072019, kpis#15072020]
Condition : (((isnull(qty#15072017) AND isnull(demandChannel#15072018)) AND isnull(demandStream#15072019)) AND (isnotnull(shardId#15072015) AND isnotnull(worklistShardItemId#15072016L)))
(54) Project [codegen id : 5]
Output [3]: [shardId#15072015, worklistShardItemId#15072016L, coalesce(kpis#15072020, []) AS prodLocSpecificKpis#15072021]
Input [6]: [shardId#15072015, worklistShardItemId#15072016L, qty#15072017, demandChannel#15072018, demandStream#15072019, kpis#15072020]
(55) Exchange
Input [3]: [shardId#15072015, worklistShardItemId#15072016L, prodLocSpecificKpis#15072021]
Arguments: hashpartitioning(shardId#15072015, worklistShardItemId#15072016L, 30), ENSURE_REQUIREMENTS, [plan_id=7843478]
(56) Sort [codegen id : 6]
Input [3]: [shardId#15072015, worklistShardItemId#15072016L, prodLocSpecificKpis#15072021]
Arguments: [shardId#15072015 ASC NULLS FIRST, worklistShardItemId#15072016L ASC NULLS FIRST], false, 0
(57) SortMergeJoin [codegen id : 7]
Left keys [2]: [shardId#15070782, worklistShardItemId#15071294L]
Right keys [2]: [shardId#15072015, worklistShardItemId#15072016L]
Join type: LeftOuter
Join condition: None
(58) Project [codegen id : 7]
Output [40]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, coalesce(prodLocSpecificKpis#15072021, []) AS prodLocSpecificKpis#15072022]
Input [42]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, shardId#15072015, worklistShardItemId#15072016L, prodLocSpecificKpis#15072021]
(59) Scan ExistingRDD [codegen id : 8]
Output [6]: [shardId#15072031, worklistShardItemId#15072032L, qty#15072033, demandChannel#15072034, demandStream#15072035, kpis#15072036]
Arguments: [shardId#15072031, worklistShardItemId#15072032L, qty#15072033, demandChannel#15072034, demandStream#15072035, kpis#15072036], MapPartitionsRDD[1062287] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(60) Filter [codegen id : 8]
Input [6]: [shardId#15072031, worklistShardItemId#15072032L, qty#15072033, demandChannel#15072034, demandStream#15072035, kpis#15072036]
Condition : ((((isnull(qty#15072033) AND isnotnull(demandChannel#15072034)) AND isnotnull(demandStream#15072035)) AND (size(kpis#15072036, true) > 0)) AND (isnotnull(shardId#15072031) AND isnotnull(worklistShardItemId#15072032L)))
(61) Project [codegen id : 8]
Output [5]: [shardId#15072031, worklistShardItemId#15072032L, demandChannel#15072034, demandStream#15072035, kpis#15072036]
Input [6]: [shardId#15072031, worklistShardItemId#15072032L, qty#15072033, demandChannel#15072034, demandStream#15072035, kpis#15072036]
(62) ObjectHashAggregate
Input [5]: [shardId#15072031, worklistShardItemId#15072032L, demandChannel#15072034, demandStream#15072035, kpis#15072036]
Keys [2]: [shardId#15072031, worklistShardItemId#15072032L]
Functions [1]: [partial_collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)]
Aggregate Attributes [1]: [buf#15072211]
Results [3]: [shardId#15072031, worklistShardItemId#15072032L, buf#15072212]
(63) Exchange
Input [3]: [shardId#15072031, worklistShardItemId#15072032L, buf#15072212]
Arguments: hashpartitioning(shardId#15072031, worklistShardItemId#15072032L, 30), ENSURE_REQUIREMENTS, [plan_id=7843489]
(64) ObjectHashAggregate
Input [3]: [shardId#15072031, worklistShardItemId#15072032L, buf#15072212]
Keys [2]: [shardId#15072031, worklistShardItemId#15072032L]
Functions [1]: [collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)#15072030]
Results [3]: [shardId#15072031, worklistShardItemId#15072032L, collect_list(struct(demandChannel, demandChannel#15072034, demandStream, demandStream#15072035, kpis, kpis#15072036), 0, 0)#15072030 AS channelStreamSpecificKpis#15072023]
(65) Sort [codegen id : 9]
Input [3]: [shardId#15072031, worklistShardItemId#15072032L, channelStreamSpecificKpis#15072023]
Arguments: [shardId#15072031 ASC NULLS FIRST, worklistShardItemId#15072032L ASC NULLS FIRST], false, 0
(66) SortMergeJoin [codegen id : 10]
Left keys [2]: [shardId#15070782, worklistShardItemId#15071294L]
Right keys [2]: [shardId#15072031, worklistShardItemId#15072032L]
Join type: LeftOuter
Join condition: None
(67) Project [codegen id : 10]
Output [41]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, prodLocSpecificKpis#15072022, coalesce(channelStreamSpecificKpis#15072023, []) AS channelStreamSpecificKpis#15072037]
Input [43]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, prodLocSpecificKpis#15072022, shardId#15072031, worklistShardItemId#15072032L, channelStreamSpecificKpis#15072023]
(68) Scan ExistingRDD [codegen id : 11]
Output [6]: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, demandChannel#15072047, demandStream#15072048, kpis#15072049]
Arguments: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, demandChannel#15072047, demandStream#15072048, kpis#15072049], MapPartitionsRDD[1062287] at start at FileStorageAdapterImpl.java:598, ExistingRDD, UnknownPartitioning(0)
(69) Filter [codegen id : 11]
Input [6]: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, demandChannel#15072047, demandStream#15072048, kpis#15072049]
Condition : ((isnotnull(qty#15072046) AND isnotnull(kpis#15072049)) AND (isnotnull(shardId#15072044) AND isnotnull(worklistShardItemId#15072045L)))
(70) Project [codegen id : 11]
Output [4]: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, kpis#15072049]
Input [6]: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, demandChannel#15072047, demandStream#15072048, kpis#15072049]
(71) ObjectHashAggregate
Input [4]: [shardId#15072044, worklistShardItemId#15072045L, qty#15072046, kpis#15072049]
Keys [2]: [shardId#15072044, worklistShardItemId#15072045L]
Functions [1]: [partial_collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)]
Aggregate Attributes [1]: [buf#15072213]
Results [3]: [shardId#15072044, worklistShardItemId#15072045L, buf#15072214]
(72) Exchange
Input [3]: [shardId#15072044, worklistShardItemId#15072045L, buf#15072214]
Arguments: hashpartitioning(shardId#15072044, worklistShardItemId#15072045L, 30), ENSURE_REQUIREMENTS, [plan_id=7843501]
(73) ObjectHashAggregate
Input [3]: [shardId#15072044, worklistShardItemId#15072045L, buf#15072214]
Keys [2]: [shardId#15072044, worklistShardItemId#15072045L]
Functions [1]: [collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)]
Aggregate Attributes [1]: [collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)#15072043]
Results [3]: [shardId#15072044, worklistShardItemId#15072045L, map_from_entries(collect_list(struct(qty, qty#15072046, kpis, kpis#15072049), 0, 0)#15072043) AS quantityKpis#15072038]
(74) Sort [codegen id : 12]
Input [3]: [shardId#15072044, worklistShardItemId#15072045L, quantityKpis#15072038]
Arguments: [shardId#15072044 ASC NULLS FIRST, worklistShardItemId#15072045L ASC NULLS FIRST], false, 0
(75) SortMergeJoin [codegen id : 13]
Left keys [2]: [shardId#15070782, worklistShardItemId#15071294L]
Right keys [2]: [shardId#15072044, worklistShardItemId#15072045L]
Join type: LeftOuter
Join condition: None
(76) Project [codegen id : 13]
Output [42]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, prodLocSpecificKpis#15072022, channelStreamSpecificKpis#15072037, coalesce(quantityKpis#15072038, map(keys: [], values: [])) AS quantityKpis#15072050]
Input [44]: [shardId#15070782, worklistShardItemId#15071294L, quantityAfterProdPlantOptimization#15071295, qty#15071296, orderProposalId#15071495L, originalReplenishmentRunId#15071537L, supplierGroup#15071497, supplier#15071498, supplyingPlant#15071502, productGroup#15071503, product#15071504, plant#15071499, subrange#15071501, orderDateTime#15071505, deliveryDateTime#15071500, availabilityDateTime#15071506, nextAvailabilityDateTime#15071507, constraintValues#15071528, constraintOperators#15071527, constraintLabels#15071526, logisticUnits#15071522, orderQuantityBaseUom#15071523, orderQuantityBaseUomUuid#15071524, splitIndicator#15071514L, netPriceAmount#15071531, netPriceCurrencyCode#15071532, netPriceQuantity#15071533, netPriceQuantityUom#15071534, netPriceQuantityUomUuid#15071535, sourceOfSupplyUuid#15071509, minimumOrderQuantity#15071525, orderProposalItemId#15071496, orderProposalItemGroupId#15071519, optimizationGroups#15071538, measurements#15071536, externalProductId#15071520, externalPlantId#15071521, previousOrderProposal#15071515L, isFallbackOrderOnly#15071512, prodLocSpecificKpis#15072022, channelStreamSpecificKpis#15072037, shardId#15072044, worklistShardItemId#15072045L, quantityKpis#15072038]
(77) Filter [codegen id : 6]
Input [3]: [isFallbackOrderOnly#15075551, orderDateTime#15075547, prodLocSpecificKpis#15072022]
Condition : NOT (isFallbackOrderOnly#15075551 <=> true)
(78) Project [codegen id : 6]
Output [2]: [orderDateTime#15075547, prodLocSpecificKpis#15072022]
Input [3]: [isFallbackOrderOnly#15075551, orderDateTime#15075547, prodLocSpecificKpis#15072022]
(79) Scan parquet
Output [2]: [insightConfigurations#15075328, shardId#15075329]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/common-data-snapshot/10000001452]
PartitionFilters: [isnotnull(shardId#15075329), (shardId#15075329 = 0_1_10000001452)]
PushedFilters: [IsNotNull(insightConfigurations)]
ReadSchema: struct<insightConfigurations:map<string,struct<configurationVersion:string,name:string,settings:array<struct<name:string,type:string,value:string>>,status:string>>>
(80) ColumnarToRow [codegen id : 7]
Input [2]: [insightConfigurations#15075328, shardId#15075329]
(81) Filter [codegen id : 7]
Input [2]: [insightConfigurations#15075328, shardId#15075329]
Condition : (isnotnull(insightConfigurations#15075328) AND isnotnull(insightConfigurations#15075328[POTENTIAL_OOS_STOCK_PERIOD]))
(82) Project [codegen id : 7]
Output [1]: [insightConfigurations#15075328[POTENTIAL_OOS_STOCK_PERIOD].settings AS _extract_settings#15079536]
Input [2]: [insightConfigurations#15075328, shardId#15075329]
(83) Exchange
Input [1]: [_extract_settings#15079536]
Arguments: RoundRobinPartitioning(30), REPARTITION_BY_NUM, [plan_id=7844716]
(84) BroadcastExchange
Input [1]: [_extract_settings#15079536]
Arguments: IdentityBroadcastMode, [plan_id=7844717]
(85) BroadcastNestedLoopJoin
Join type: Cross
Join condition: ((CASE WHEN (isnull(element_at(filter(prodLocSpecificKpis#15072022, lambdafunction((lambda x_29763#15075333.label = OutOfStockProbability), lambda x_29763#15075333, false)), 1, None, false).value) OR isnull(cast(element_at(filter(_extract_settings#15079536, lambdafunction((lambda x_29764#15075334.name = OOS_PROBABILITY_THRESHOLD), lambda x_29764#15075334, false)), 1, None, false).value as double))) THEN false ELSE (element_at(filter(prodLocSpecificKpis#15072022, lambdafunction((lambda x_29763#15075335.label = OutOfStockProbability), lambda x_29763#15075335, false)), 1, None, false).value >= cast(element_at(filter(_extract_settings#15079536, lambdafunction((lambda x_29764#15075336.name = OOS_PROBABILITY_THRESHOLD), lambda x_29764#15075336, false)), 1, None, false).value as double)) END AND CASE WHEN isnull(element_at(filter(prodLocSpecificKpis#15072022, lambdafunction((lambda x_29765#15075337.label = InitialStockQty), lambda x_29765#15075337, false)), 1, None, false).value) THEN false ELSE (element_at(filter(prodLocSpecificKpis#15072022, lambdafunction((lambda x_29765#15075339.label = InitialStockQty), lambda x_29765#15075339, false)), 1, None, false).value > CASE WHEN cast(element_at(filter(_extract_settings#15079536, lambdafunction((lambda x_29766#15075340.name = CURRENT_STOCK_ABOVE_ZERO), lambda x_29766#15075340, false)), 1, None, false).value as boolean) THEN 0.0 ELSE -Infinity END) END) AND CASE WHEN (CASE WHEN isnull(orderDateTime#15075547) THEN true ELSE isnull((cast((unix_timestamp(orderDateTime#15075547, yyyy-MM-dd HH:mm:ss, Some(UTC), false) - 1784752638) as double) / 3600.0)) END OR isnull(cast(element_at(filter(_extract_settings#15079536, lambdafunction((lambda x_29767#15075341.name = OFFSET_CURRENT_ORDER_DATE), lambda x_29767#15075341, false)), 1, None, false).value as double))) THEN false ELSE (CASE WHEN isnull(orderDateTime#15075547) THEN null ELSE (cast((unix_timestamp(orderDateTime#15075547, yyyy-MM-dd HH:mm:ss, Some(UTC), false) - 1784752638) as double) / 3600.0) END >= cast(element_at(filter(_extract_settings#15079536, lambdafunction((lambda x_29767#15075342.name = OFFSET_CURRENT_ORDER_DATE), lambda x_29767#15075342, false)), 1, None, false).value as double)) END)
(86) Project [codegen id : 8]
Output: []
Input [3]: [orderDateTime#15075547, prodLocSpecificKpis#15072022, _extract_settings#15079536]
(87) LocalLimit [codegen id : 8]
Input: []
Arguments: 1
(88) InMemoryTableScan
Output [3]: [isFallbackOrderOnly#15075414, qty#15075389, quantityKpis#15075505]
Arguments: [isFallbackOrderOnly#15075414, qty#15075389, quantityKpis#15075505], [NOT (isFallbackOrderOnly#15075414 <=> true)]
(89) InMemoryRelation
Arguments: [shardId#15075379, worklistShardItemId#15075387L, quantityAfterProdPlantOptimization#15075388, qty#15075389, orderProposalId#15075392L, originalReplenishmentRunId#15075395L, supplierGroup#15075402, supplier#15075403, supplyingPlant#15075433, productGroup#15075434, product#15075405, plant#15075406, subrange#15075404, orderDateTime#15075410, deliveryDateTime#15075411, availabilityDateTime#15075412, nextAvailabilityDateTime#15075413, constraintValues#15075427, constraintOperators#15075425, constraintLabels#15075424, logisticUnits#15075429, orderQuantityBaseUom#15075415, orderQuantityBaseUomUuid#15075416, splitIndicator#15075397L, netPriceAmount#15075420, ... 17 more fields], StorageLevel(disk, memory, 2 replicas)
(90) Filter [codegen id : 9]
Input [3]: [isFallbackOrderOnly#15075414, qty#15075389, quantityKpis#15075505]
Condition : NOT (isFallbackOrderOnly#15075414 <=> true)
(91) Project [codegen id : 9]
Output [2]: [qty#15075389, quantityKpis#15075505]
Input [3]: [isFallbackOrderOnly#15075414, qty#15075389, quantityKpis#15075505]
(92) Scan parquet
Output [2]: [insightConfigurations#15075510, shardId#15075511]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://332d7051-0d16-44f5-ae76-bf2dcf30365f.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/common-data-snapshot/10000001452]
PartitionFilters: [isnotnull(shardId#15075511), (shardId#15075511 = 0_1_10000001452)]
PushedFilters: [IsNotNull(insightConfigurations)]
ReadSchema: struct<insightConfigurations:map<string,struct<configurationVersion:string,name:string,settings:array<struct<name:string,type:string,value:string>>,status:string>>>
(93) ColumnarToRow [codegen id : 10]
Input [2]: [insightConfigurations#15075510, shardId#15075511]
(94) Filter [codegen id : 10]
Input [2]: [insightConfigurations#15075510, shardId#15075511]
Condition : (isnotnull(insightConfigurations#15075510) AND isnotnull(insightConfigurations#15075510[POTENTIAL_OOS_DEMAND_PERIOD]))
(95) Project [codegen id : 10]
Output [1]: [insightConfigurations#15075510[POTENTIAL_OOS_DEMAND_PERIOD].settings AS _extract_settings#15079538]
Input [2]: [insightConfigurations#15075510, shardId#15075511]
(96) Exchange
Input [1]: [_extract_settings#15079538]
Arguments: RoundRobinPartitioning(30), REPARTITION_BY_NUM, [plan_id=7844732]
(97) BroadcastExchange
Input [1]: [_extract_settings#15079538]
Arguments: IdentityBroadcastMode, [plan_id=7844733]
(98) BroadcastNestedLoopJoin
Join type: Cross
Join condition: CASE WHEN (isnull(element_at(filter(element_at(quantityKpis#15075505, qty#15075389, None, false), lambdafunction((lambda x_29769#15075359.label = OutOfStockProbability), lambda x_29769#15075359, false)), 1, None, false).value) OR isnull(cast(element_at(filter(_extract_settings#15079538, lambdafunction((lambda x_29770#15075360.name = OOS_PROBABILITY_THRESHOLD), lambda x_29770#15075360, false)), 1, None, false).value as double))) THEN false ELSE (element_at(filter(element_at(quantityKpis#15075505, qty#15075389, None, false), lambdafunction((lambda x_29769#15075361.label = OutOfStockProbability), lambda x_29769#15075361, false)), 1, None, false).value >= cast(element_at(filter(_extract_settings#15079538, lambdafunction((lambda x_29770#15075362.name = OOS_PROBABILITY_THRESHOLD), lambda x_29770#15075362, false)), 1, None, false).value as double)) END
(99) Project [codegen id : 11]
Output: []
Input [3]: [qty#15075389, quantityKpis#15075505, _extract_settings#15079538]
(100) LocalLimit [codegen id : 11]
Input: []
Arguments: 1
(101) Union
(102) CollectLimit
Input: []
Arguments: 1