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"];
subgraph cluster1 {
isCluster="true";
id="cluster1";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n87 ms (1 ms, 2 ms, 7 ms (stage 2136162.0: task 5796042))";
tooltip="WholeStageCodegen (7)";
2 [id="node2" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
3 [id="node3" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter insight#22201640.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)"];
4 [id="node4" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(optimizationInsights#22197476), false, [insight#22201640]"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [optimizationInsights#22197476]"];
6 [id="node6" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 0<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2136162.0: task 5796026))" tooltip="SortMergeJoin [orderProposalId#22197471L], [orderProposalId#22198183L], Inner"];
}
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n4.6 s (74 ms, 101 ms, 313 ms (stage 2136162.0: task 5796042))";
tooltip="WholeStageCodegen (2)";
8 [id="node8" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 2136162.0: task 5796026))<br>peak memory total (min, med, max (stageId: taskId))<br>1920.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 2136162.0: task 5796026))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2136162.0: task 5796026))" tooltip="Sort [orderProposalId#22197471L ASC NULLS FIRST], false, 0"];
}
9 [id="node9" 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#22197471L, 30), ENSURE_REQUIREMENTS, [plan_id=6646176]"];
subgraph cluster10 {
isCluster="true";
id="cluster10";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n728 ms (0 ms, 20 ms, 85 ms (stage 2136161.0: task 5795987))";
tooltip="WholeStageCodegen (1)";
11 [id="node11" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(orderProposalId#22197471L) AND (size(optimizationInsights#22197476, true) > 0)) AND isnotnull(optimizationInsights#22197476))"];
}
12 [id="node12" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,023" tooltip="InMemoryTableScan [orderProposalId#22197471L, optimizationInsights#22197476], [isnotnull(orderProposalId#22197471L), (size(optimizationInsights#22197476, true) > 0), isnotnull(optimizationInsights#22197476)]"];
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#22197470) AND (shardId#22197470 = 0_7_10000000553))"];
}
15 [id="node15" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476], [isnotnull(shardId#22197470), (shardId#22197470 = 0_7_10000000553)]"];
subgraph 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#22197470) AND (shardId#22197470 = 0_7_10000000553))"];
18 [id="node18" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#22197470,orderProposalId#22197471L,items#22197472,optimizationGroups#22197473,isOptimal#22197474,lastModified#22197475,optimizationInsights#22197476]"];
}
subgraph cluster19 {
isCluster="true";
id="cluster19";
label="WholeStageCodegen (6)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (6)";
20 [id="node20" 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 [orderProposalId#22198183L ASC NULLS FIRST], false, 0"];
21 [id="node21" labelType="html" label="<b>HashAggregate</b><br><br>spill size: 0.0 B<br>time in aggregation build: 0 ms<br>peak memory: 0.0 B<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#22198183L], functions=[])"];
}
22 [id="node22" 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#22198183L, 30), ENSURE_REQUIREMENTS, [plan_id=6646201]"];
subgraph cluster23 {
isCluster="true";
id="cluster23";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n424 ms (11 ms, 13 ms, 20 ms (stage 2136160.0: task 5796003))";
tooltip="WholeStageCodegen (5)";
24 [id="node24" 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 2136160.0: task 5796005))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 2136160.0: task 5796005))<br>number of output rows: 0<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#22198183L], functions=[])"];
25 [id="node25" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#22198183L]"];
26 [id="node26" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 0" tooltip="BroadcastHashJoin [worklistShardItemId#22197982L], [worklistShardItemId#22198206L], Inner, BuildLeft, false"];
40 [id="node40" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#22198206L, orderProposalId#22198183L]"];
}
27 [id="node27" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 4 ms<br>time to build: 7 ms<br>time to collect: 31 ms<br>number of output rows: 51,793<br>data size: 4.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=6646187]"];
subgraph cluster28 {
isCluster="true";
id="cluster28";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n62 ms (0 ms, 2 ms, 4 ms (stage 2136057.0: task 5795903))";
tooltip="WholeStageCodegen (3)";
29 [id="node29" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#22197981L AS worklistShardItemId#22197982L]"];
30 [id="node30" labelType="html" label="<b>Generate</b><br><br>number of output rows: 51,793" tooltip="Generate explode(_extract_worklistShardItemId#22205054), false, [item#22197981L]"];
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#22201634.worklistShardItemId AS _extract_worklistShardItemId#22205054]"];
32 [id="node32" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,023" tooltip="Filter (((size(items#22201634.worklistShardItemId, true) > 0) AND isnotnull(items#22201634.worklistShardItemId)) AND (shardId#22201632 = 0_7_10000000553))"];
}
33 [id="node33" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 1,023" tooltip="InMemoryTableScan [items#22201634, shardId#22201632], [(size(items#22201634.worklistShardItemId, true) > 0), isnotnull(items#22201634.worklistShardItemId), (shardId#22201632 = 0_7_10000000553)]"];
subgraph cluster34 {
isCluster="true";
id="cluster34";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
35 [id="node35" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))"];
}
36 [id="node36" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476], [isnotnull(shardId#22197470), (shardId#22197470 = 0_7_10000000553)]"];
subgraph cluster37 {
isCluster="true";
id="cluster37";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
38 [id="node38" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))"];
39 [id="node39" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#22197470,orderProposalId#22197471L,items#22197472,optimizationGroups#22197473,isOptimal#22197474,lastModified#22197475,optimizationInsights#22197476]"];
}
41 [id="node41" 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#22198206L, 30), REPARTITION_BY_NUM, [plan_id=6646194]"];
subgraph cluster42 {
isCluster="true";
id="cluster42";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n4.8 s (95 ms, 122 ms, 226 ms (stage 2136159.0: task 5795934))";
tooltip="WholeStageCodegen (4)";
43 [id="node43" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#22198183L, worklistShardItemId#22198206L]"];
44 [id="node44" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(worklistShardItemId#22198206L) AND NOT (isFallbackOrderOnly#22198200 <=> true)) AND isnotnull(orderProposalId#22198183L))"];
45 [id="node45" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 0<br>number of input batches: 0" tooltip="ColumnarToRow"];
}
46 [id="node46" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 37<br>scan time total (min, med, max (stageId: taskId))<br>4.7 s (95 ms, 121 ms, 225 ms (stage 2136159.0: task 5795934))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 7.4 MiB<br>number of output rows: 0<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#22198183L,isFallbackOrderOnly#22198200,worklistShardItemId#22198206L,shardId#22198227,sequenceId#22198205] Batched: true, DataFilters: [isnotnull(worklistShardItemId#22198206L), NOT (isFallbackOrderOnly#22198200 <=> true), isnotnull..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#22198227), isnotnull(sequenceId#22198205), (shardId#22198227 = 0_7_10000000553..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
2->0;
3->2;
4->3;
5->4;
6->5;
8->6;
9->8;
11->9;
12->11;
14->12;
15->14;
17->15;
18->17;
20->6;
21->20;
22->21;
24->22;
25->24;
26->25;
27->26;
29->27;
30->29;
31->30;
32->31;
33->32;
35->33;
36->35;
38->36;
39->38;
40->26;
41->40;
43->41;
44->43;
45->44;
46->45;
}
== Physical Plan ==
CollectLimit (35)
+- * Project (34)
+- * Filter (33)
+- * Generate (32)
+- * Project (31)
+- * SortMergeJoin Inner (30)
:- * Sort (10)
: +- Exchange (9)
: +- * Filter (8)
: +- InMemoryTableScan (1)
: +- InMemoryRelation (2)
: +- * Filter (7)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Filter (6)
: +- * Scan ExistingRDD (5)
+- * Sort (29)
+- * HashAggregate (28)
+- Exchange (27)
+- * HashAggregate (26)
+- * Project (25)
+- * BroadcastHashJoin Inner BuildLeft (24)
:- BroadcastExchange (17)
: +- * Project (16)
: +- * Generate (15)
: +- * Project (14)
: +- * Filter (13)
: +- InMemoryTableScan (11)
: +- InMemoryRelation (12)
: +- * Filter (7)
: +- InMemoryTableScan (3)
: +- InMemoryRelation (4)
: +- * Filter (6)
: +- * Scan ExistingRDD (5)
+- * Project (23)
+- Exchange (22)
+- * Project (21)
+- * Filter (20)
+- * ColumnarToRow (19)
+- Scan parquet (18)
(1) InMemoryTableScan
Output [2]: [orderProposalId#22197471L, optimizationInsights#22197476]
Arguments: [orderProposalId#22197471L, optimizationInsights#22197476], [isnotnull(orderProposalId#22197471L), (size(optimizationInsights#22197476, true) > 0), isnotnull(optimizationInsights#22197476)]
(2) InMemoryRelation
Arguments: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476], StorageLevel(disk, memory, 2 replicas)
(3) InMemoryTableScan
Output [6]: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476]
Arguments: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476], [isnotnull(shardId#22197470), (shardId#22197470 = 0_7_10000000553)]
(4) InMemoryRelation
Arguments: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, lastModified#22197475, optimizationInsights#22197476], StorageLevel(disk, memory, 2 replicas)
(5) Scan ExistingRDD [codegen id : 1]
Output [7]: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, lastModified#22197475, optimizationInsights#22197476]
Arguments: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, lastModified#22197475, optimizationInsights#22197476], MapPartitionsRDD[943168] at start at FileStorageAdapterImpl.java:596, ExistingRDD, UnknownPartitioning(0)
(6) Filter [codegen id : 1]
Input [7]: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, lastModified#22197475, optimizationInsights#22197476]
Condition : (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))
(7) Filter [codegen id : 1]
Input [6]: [shardId#22197470, orderProposalId#22197471L, items#22197472, optimizationGroups#22197473, isOptimal#22197474, optimizationInsights#22197476]
Condition : (isnotnull(shardId#22197470) AND (shardId#22197470 = 0_7_10000000553))
(8) Filter [codegen id : 1]
Input [2]: [orderProposalId#22197471L, optimizationInsights#22197476]
Condition : ((isnotnull(orderProposalId#22197471L) AND (size(optimizationInsights#22197476, true) > 0)) AND isnotnull(optimizationInsights#22197476))
(9) Exchange
Input [2]: [orderProposalId#22197471L, optimizationInsights#22197476]
Arguments: hashpartitioning(orderProposalId#22197471L, 30), ENSURE_REQUIREMENTS, [plan_id=6646176]
(10) Sort [codegen id : 2]
Input [2]: [orderProposalId#22197471L, optimizationInsights#22197476]
Arguments: [orderProposalId#22197471L ASC NULLS FIRST], false, 0
(11) InMemoryTableScan
Output [2]: [items#22201634, shardId#22201632]
Arguments: [items#22201634, shardId#22201632], [(size(items#22201634.worklistShardItemId, true) > 0), isnotnull(items#22201634.worklistShardItemId), (shardId#22201632 = 0_7_10000000553)]
(12) InMemoryRelation
Arguments: [shardId#22201632, orderProposalId#22201633L, items#22201634, optimizationGroups#22201635, isOptimal#22201636, optimizationInsights#22201638], StorageLevel(disk, memory, 2 replicas)
(13) Filter [codegen id : 3]
Input [2]: [items#22201634, shardId#22201632]
Condition : (((size(items#22201634.worklistShardItemId, true) > 0) AND isnotnull(items#22201634.worklistShardItemId)) AND (shardId#22201632 = 0_7_10000000553))
(14) Project [codegen id : 3]
Output [1]: [items#22201634.worklistShardItemId AS _extract_worklistShardItemId#22205054]
Input [2]: [items#22201634, shardId#22201632]
(15) Generate [codegen id : 3]
Input [1]: [_extract_worklistShardItemId#22205054]
Arguments: explode(_extract_worklistShardItemId#22205054), false, [item#22197981L]
(16) Project [codegen id : 3]
Output [1]: [item#22197981L AS worklistShardItemId#22197982L]
Input [1]: [item#22197981L]
(17) BroadcastExchange
Input [1]: [worklistShardItemId#22197982L]
Arguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=6646187]
(18) Scan parquet
Output [5]: [orderProposalId#22198183L, isFallbackOrderOnly#22198200, worklistShardItemId#22198206L, shardId#22198227, sequenceId#22198205]
Batched: true
Location: PreparedDeltaFileIndex [hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20.hanacloud.ondemand.com:443/crp-order-qty-opt-service/internal/prod-plant-snapshot/10000000553]
PartitionFilters: [isnotnull(shardId#22198227), isnotnull(sequenceId#22198205), (shardId#22198227 = 0_7_10000000553), (sequenceId#22198205 = 4)]
PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderProposalId)]
ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>
(19) ColumnarToRow [codegen id : 4]
Input [5]: [orderProposalId#22198183L, isFallbackOrderOnly#22198200, worklistShardItemId#22198206L, shardId#22198227, sequenceId#22198205]
(20) Filter [codegen id : 4]
Input [5]: [orderProposalId#22198183L, isFallbackOrderOnly#22198200, worklistShardItemId#22198206L, shardId#22198227, sequenceId#22198205]
Condition : ((isnotnull(worklistShardItemId#22198206L) AND NOT (isFallbackOrderOnly#22198200 <=> true)) AND isnotnull(orderProposalId#22198183L))
(21) Project [codegen id : 4]
Output [2]: [orderProposalId#22198183L, worklistShardItemId#22198206L]
Input [5]: [orderProposalId#22198183L, isFallbackOrderOnly#22198200, worklistShardItemId#22198206L, shardId#22198227, sequenceId#22198205]
(22) Exchange
Input [2]: [orderProposalId#22198183L, worklistShardItemId#22198206L]
Arguments: hashpartitioning(worklistShardItemId#22198206L, 30), REPARTITION_BY_NUM, [plan_id=6646194]
(23) Project
Output [2]: [worklistShardItemId#22198206L, orderProposalId#22198183L]
Input [2]: [orderProposalId#22198183L, worklistShardItemId#22198206L]
(24) BroadcastHashJoin [codegen id : 5]
Left keys [1]: [worklistShardItemId#22197982L]
Right keys [1]: [worklistShardItemId#22198206L]
Join type: Inner
Join condition: None
(25) Project [codegen id : 5]
Output [1]: [orderProposalId#22198183L]
Input [3]: [worklistShardItemId#22197982L, worklistShardItemId#22198206L, orderProposalId#22198183L]
(26) HashAggregate [codegen id : 5]
Input [1]: [orderProposalId#22198183L]
Keys [1]: [orderProposalId#22198183L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#22198183L]
(27) Exchange
Input [1]: [orderProposalId#22198183L]
Arguments: hashpartitioning(orderProposalId#22198183L, 30), ENSURE_REQUIREMENTS, [plan_id=6646201]
(28) HashAggregate [codegen id : 6]
Input [1]: [orderProposalId#22198183L]
Keys [1]: [orderProposalId#22198183L]
Functions: []
Aggregate Attributes: []
Results [1]: [orderProposalId#22198183L]
(29) Sort [codegen id : 6]
Input [1]: [orderProposalId#22198183L]
Arguments: [orderProposalId#22198183L ASC NULLS FIRST], false, 0
(30) SortMergeJoin [codegen id : 7]
Left keys [1]: [orderProposalId#22197471L]
Right keys [1]: [orderProposalId#22198183L]
Join type: Inner
Join condition: None
(31) Project [codegen id : 7]
Output [1]: [optimizationInsights#22197476]
Input [3]: [orderProposalId#22197471L, optimizationInsights#22197476, orderProposalId#22198183L]
(32) Generate [codegen id : 7]
Input [1]: [optimizationInsights#22197476]
Arguments: explode(optimizationInsights#22197476), false, [insight#22201640]
(33) Filter [codegen id : 7]
Input [1]: [insight#22201640]
Condition : insight#22201640.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)
(34) Project [codegen id : 7]
Output: []
Input [1]: [insight#22201640]
(35) CollectLimit
Input: []
Arguments: 1