digraph G {
0 [id="node0" labelType="html" label="<b>CollectLimit</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1<br>local bytes read: 434.0 B<br>merged fetch fallback count: 0<br>local blocks read: 7<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 total (min, med, max (stageId: taskId))<br>1 ms (0 ms, 0 ms, 0 ms (stage 51117.0: task 136940))<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 total (min, med, max (stageId: taskId))<br>496.0 B (62.0 B, 62.0 B, 62.0 B (stage 51117.0: task 136944))" tooltip="CollectLimit 1"];
subgraph cluster1 {
isCluster="true";
id="cluster1";
label="WholeStageCodegen (8)\n \nduration: total (min, med, max (stageId: taskId))\n35 ms (0 ms, 0 ms, 7 ms (stage 51117.0: task 136938))";
tooltip="WholeStageCodegen (8)";
2 [id="node2" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project"];
3 [id="node3" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 8" tooltip="BroadcastHashJoin [worklistShardItemId#657622L], [worklistShardItemId#658167L], LeftOuter, BuildRight, (shardId#643168 = 0_1_10000002106), false"];
4 [id="node4" labelType="html" label="<br><b>LocalLimit</b><br><br>" tooltip="LocalLimit 1"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, insight#657620.worklistShardItemId AS worklistShardItemId#657622L]"];
6 [id="node6" labelType="html" label="<b>Filter</b><br><br>number of output rows: 87" tooltip="Filter insight#657620.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)"];
7 [id="node7" labelType="html" label="<b>Generate</b><br><br>number of output rows: 87" tooltip="Generate explode(optimizationInsights#643174), [shardId#643168], false, [insight#657620]"];
8 [id="node8" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, optimizationInsights#643174]"];
9 [id="node9" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 8<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 51117.0: task 136938))" tooltip="SortMergeJoin [orderProposalId#643169L], [orderProposalId#645037L], Inner"];
}
subgraph cluster10 {
isCluster="true";
id="cluster10";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (0 ms, 0 ms, 286 ms (stage 51117.0: task 136947))";
tooltip="WholeStageCodegen (2)";
11 [id="node11" 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 51117.0: task 136938))<br>peak memory total (min, med, max (stageId: taskId))<br>17.3 MiB (64.0 KiB, 64.0 KiB, 2.1 MiB (stage 51117.0: task 136944))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 51117.0: task 136938))" tooltip="Sort [orderProposalId#643169L ASC NULLS FIRST], false, 0"];
}
12 [id="node12" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 11<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 11<br>local bytes read total (min, med, max (stageId: taskId))<br>3.8 KiB (269.0 B, 403.0 B, 921.0 B (stage 51117.0: task 136946))<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 1<br>data size total (min, med, max (stageId: taskId))<br>21.5 KiB (240.0 B, 1600.0 B, 9.3 KiB (stage 51115.0: task 136913))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 0 ms (stage 51115.0: task 136902))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 51117.0: task 136944))<br>remote bytes read: 255.0 B<br>number of partitions: 20<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>4.1 KiB (255.0 B, 344.0 B, 881.0 B (stage 51115.0: task 136913))" tooltip="Exchange hashpartitioning(orderProposalId#643169L, 20), ENSURE_REQUIREMENTS, [plan_id=267716]"];
subgraph cluster13 {
isCluster="true";
id="cluster13";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n157 ms (1 ms, 7 ms, 12 ms (stage 51115.0: task 136905))";
tooltip="WholeStageCodegen (1)";
14 [id="node14" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#643168, orderProposalId#643169L, optimizationInsights#643174]"];
15 [id="node15" labelType="html" label="<b>Filter</b><br><br>number of output rows: 11" tooltip="Filter ((isnotnull(shardId#643168) AND (shardId#643168 = 0_1_10000002106)) AND ((isnotnull(orderProposalId#643169L) AND (size(optimizationInsights#643174, true) > 0)) AND isnotnull(optimizationInsights#643174)))"];
16 [id="node16" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 59" tooltip="Scan ExistingRDD[shardId#643168,orderProposalId#643169L,items#643170,optimizationGroups#643171,isOptimal#643172,lastModified#643173,optimizationInsights#643174]"];
}
subgraph cluster17 {
isCluster="true";
id="cluster17";
label="WholeStageCodegen (6)\n \nduration: total (min, med, max (stageId: taskId))\n140 ms (1 ms, 139 ms, 139 ms (stage 51117.0: task 136940))";
tooltip="WholeStageCodegen (6)";
18 [id="node18" 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 51117.0: task 136944))<br>peak memory total (min, med, max (stageId: taskId))<br>16.5 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 51117.0: task 136944))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 51117.0: task 136944))" tooltip="Sort [orderProposalId#645037L ASC NULLS FIRST], false, 0"];
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>3 ms (0 ms, 0 ms, 1 ms (stage 51117.0: task 136942))<br>peak memory total (min, med, max (stageId: taskId))<br>2.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 51117.0: task 136944))<br>number of output rows: 29<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#645037L], functions=[])"];
}
20 [id="node20" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 59<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 29<br>local bytes read total (min, med, max (stageId: taskId))<br>2.1 KiB (75.0 B, 75.0 B, 375.0 B (stage 51117.0: task 136957))<br>merged fetch fallback count: 0<br>local blocks read: 29<br>remote merged chunks fetched: 0<br>remote blocks read: 25<br>data size total (min, med, max (stageId: taskId))<br>944.0 B (16.0 B, 48.0 B, 96.0 B (stage 51116.0: task 136928))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>8 ms (0 ms, 0 ms, 0 ms (stage 51116.0: task 136934))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 51117.0: task 136944))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1885.0 B (75.0 B, 225.0 B, 311.0 B (stage 51117.0: task 136946))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 51117.0: task 136938))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>4.2 KiB (75.0 B, 224.0 B, 450.0 B (stage 51116.0: task 136928))" tooltip="Exchange hashpartitioning(orderProposalId#645037L, 20), ENSURE_REQUIREMENTS, [plan_id=267736]"];
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n272 ms (7 ms, 10 ms, 22 ms (stage 51116.0: task 136927))";
tooltip="WholeStageCodegen (5)";
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>148 ms (0 ms, 7 ms, 10 ms (stage 51116.0: task 136927))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 51116.0: task 136910))<br>number of output rows: 59<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#645037L], functions=[])"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#645037L]"];
24 [id="node24" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 980" tooltip="BroadcastHashJoin [worklistShardItemId#643816L], [worklistShardItemId#645060L], Inner, BuildRight, false"];
25 [id="node25" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#643815L AS worklistShardItemId#643816L]"];
26 [id="node26" labelType="html" label="<b>Generate</b><br><br>number of output rows: 980" tooltip="Generate explode(_extract_worklistShardItemId#658683), false, [item#643815L]"];
27 [id="node27" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#657614.worklistShardItemId AS _extract_worklistShardItemId#658683]"];
28 [id="node28" labelType="html" label="<b>Filter</b><br><br>number of output rows: 59" tooltip="Filter ((isnotnull(shardId#657612) AND (shardId#657612 = 0_1_10000002106)) AND ((size(items#657614.worklistShardItemId, true) > 0) AND isnotnull(items#657614.worklistShardItemId)))"];
29 [id="node29" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 59" tooltip="Scan ExistingRDD[shardId#657612,orderProposalId#657613L,items#657614,optimizationGroups#657615,isOptimal#657616,lastModified#657617,optimizationInsights#657618]"];
}
30 [id="node30" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 1 ms<br>time to collect: 616 ms<br>number of output rows: 980<br>data size: 1056.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=267730]"];
subgraph cluster31 {
isCluster="true";
id="cluster31";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n38 ms (1 ms, 2 ms, 3 ms (stage 51027.0: task 136860))";
tooltip="WholeStageCodegen (4)";
32 [id="node32" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#645060L, orderProposalId#645037L]"];
}
33 [id="node33" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>22.1 KiB (901.0 B, 1142.0 B, 1438.0 B (stage 51027.0: task 136860))<br>merged fetch fallback count: 0<br>local blocks read: 216<br>remote merged chunks fetched: 0<br>remote blocks read: 220<br>data size total (min, med, max (stageId: taskId))<br>23.0 KiB (648.0 B, 960.0 B, 1152.0 B (stage 51026.0: task 136811))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>24 ms (0 ms, 0 ms, 1 ms (stage 51026.0: task 136810))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 51027.0: task 136862))<br>remote bytes read total (min, med, max (stageId: taskId))<br>22.5 KiB (846.0 B, 1200.0 B, 1525.0 B (stage 51027.0: task 136864))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>17 ms (0 ms, 1 ms, 1 ms (stage 51027.0: task 136862))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>44.6 KiB (1511.0 B, 1790.0 B, 2.1 KiB (stage 51026.0: task 136810))" tooltip="Exchange hashpartitioning(worklistShardItemId#645060L, 20), REPARTITION_BY_NUM, [plan_id=267726]"];
subgraph cluster34 {
isCluster="true";
id="cluster34";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n3.0 s (94 ms, 113 ms, 164 ms (stage 51026.0: task 136816))";
tooltip="WholeStageCodegen (3)";
35 [id="node35" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#645037L, worklistShardItemId#645060L]"];
36 [id="node36" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter ((isnotnull(worklistShardItemId#645060L) AND NOT (isFallbackOrderOnly#645054 <=> true)) AND isnotnull(orderProposalId#645037L))"];
37 [id="node37" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 980<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
38 [id="node38" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 25<br>scan time total (min, med, max (stageId: taskId))<br>3.0 s (92 ms, 111 ms, 161 ms (stage 51026.0: task 136816))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 674.1 KiB<br>number of output rows: 980<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#645037L,isFallbackOrderOnly#645054,worklistShardItemId#645060L,shardId#645081,sequenceId#645059] Batched: true, DataFilters: [isnotnull(worklistShardItemId#645060L), NOT (isFallbackOrderOnly#645054 <=> true), isnotnull(ord..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#645081), isnotnull(sequenceId#645059), (shardId#645081 = 0_1_10000002106), (se..., PushedFilters: [IsNotNull(worklistShardItemId), Not(EqualNullSafe(isFallbackOrderOnly,true)), IsNotNull(orderPro..., ReadSchema: struct<orderProposalId:bigint,isFallbackOrderOnly:boolean,worklistShardItemId:bigint>"];
39 [id="node39" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 0 ms<br>time to build: 0 ms<br>time to collect: 652 ms<br>number of output rows: 980<br>data size: 1056.0 KiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=267754]"];
40 [id="node40" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 980<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 980<br>local bytes read total (min, med, max (stageId: taskId))<br>17.9 KiB (512.0 B, 934.0 B, 1282.0 B (stage 51029.0: task 136883))<br>merged fetch fallback count: 0<br>local blocks read: 215<br>remote merged chunks fetched: 0<br>remote blocks read: 221<br>data size total (min, med, max (stageId: taskId))<br>15.3 KiB (432.0 B, 640.0 B, 768.0 B (stage 51028.0: task 136821))<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>23 ms (0 ms, 0 ms, 1 ms (stage 51028.0: task 136855))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>fetch wait time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 1 ms (stage 51029.0: task 136880))<br>remote bytes read total (min, med, max (stageId: taskId))<br>18.8 KiB (636.0 B, 941.0 B, 1349.0 B (stage 51029.0: task 136880))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>28 ms (0 ms, 2 ms, 3 ms (stage 51029.0: task 136882))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>36.7 KiB (1259.0 B, 1490.0 B, 1741.0 B (stage 51028.0: task 136820))" tooltip="Exchange hashpartitioning(worklistShardItemId#658167L, 20), REPARTITION_BY_NUM, [plan_id=267753]"];
subgraph cluster41 {
isCluster="true";
id="cluster41";
label="WholeStageCodegen (7)\n \nduration: total (min, med, max (stageId: taskId))\n2.2 s (76 ms, 88 ms, 140 ms (stage 51028.0: task 136820))";
tooltip="WholeStageCodegen (7)";
42 [id="node42" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#658167L]"];
43 [id="node43" labelType="html" label="<b>Filter</b><br><br>number of output rows: 980" tooltip="Filter isnotnull(worklistShardItemId#658167L)"];
44 [id="node44" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 980<br>number of input batches: 25" tooltip="ColumnarToRow"];
}
45 [id="node45" labelType="html" label="<b>Scan parquet </b><br><br>number of files read: 25<br>scan time total (min, med, max (stageId: taskId))<br>2.2 s (74 ms, 85 ms, 136 ms (stage 51028.0: task 136820))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 674.1 KiB<br>number of output rows: 980<br>number of partitions read: 1" tooltip="FileScan parquet [worklistShardItemId#658167L,shardId#658188,sequenceId#658166] Batched: true, DataFilters: [isnotnull(worklistShardItemId#658167L)], Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://2e93940d-4be8-4f12-830d-f0b8d392c03a.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#658188), isnotnull(sequenceId#658166), (shardId#658188 = 0_1_10000002106), (se..., PushedFilters: [IsNotNull(worklistShardItemId)], ReadSchema: struct<worklistShardItemId:bigint>"];
2->0;
3->2;
4->3;
5->4;
6->5;
7->6;
8->7;
9->8;
11->9;
12->11;
14->12;
15->14;
16->15;
18->9;
19->18;
20->19;
22->20;
23->22;
24->23;
25->24;
26->25;
27->26;
28->27;
29->28;
30->24;
32->30;
33->32;
35->33;
36->35;
37->36;
38->37;
39->3;
40->39;
42->40;
43->42;
44->43;
45->44;
}