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))\n16 ms (0 ms, 0 ms, 2 ms (stage 337241.0: task 943076))";
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#3592684.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#3580455), false, [insight#3592684]"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [optimizationInsights#3580455]"];
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 337241.0: task 943076))" tooltip="SortMergeJoin [orderProposalId#3580450L], [orderProposalId#3582422L], Inner"];
}
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (0 ms, 1 ms, 164 ms (stage 337241.0: task 943076))";
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 337241.0: task 943076))<br>peak memory total (min, med, max (stageId: taskId))<br>1920.0 KiB (64.0 KiB, 64.0 KiB, 64.0 KiB (stage 337241.0: task 943076))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 337241.0: task 943076))" tooltip="Sort [orderProposalId#3580450L 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#3580450L, 30), ENSURE_REQUIREMENTS, [plan_id=1031347]"];
subgraph cluster10 {
isCluster="true";
id="cluster10";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n115 ms (0 ms, 0 ms, 20 ms (stage 337240.0: task 942739))";
tooltip="WholeStageCodegen (1)";
11 [id="node11" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(orderProposalId#3580450L) AND (size(optimizationInsights#3580455, true) > 0)) AND isnotnull(optimizationInsights#3580455))"];
}
12 [id="node12" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,343" tooltip="InMemoryTableScan [orderProposalId#3580450L, optimizationInsights#3580455], [isnotnull(orderProposalId#3580450L), (size(optimizationInsights#3580455, true) > 0), isnotnull(optimizationInsights#3580455)]"];
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#3580449) AND (shardId#3580449 = 0_3_10000000532))"];
}
15 [id="node15" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, optimizationInsights#3580455], [isnotnull(shardId#3580449), (shardId#3580449 = 0_3_10000000532)]"];
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#3580449) AND (shardId#3580449 = 0_3_10000000532))"];
18 [id="node18" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3580449,orderProposalId#3580450L,items#3580451,optimizationGroups#3580452,isOptimal#3580453,lastModified#3580454,optimizationInsights#3580455]"];
}
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#3582422L 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#3582422L], functions=[])"];
}
22 [id="node22" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 57,689<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 0<br>local bytes read total (min, med, max (stageId: taskId))<br>283.0 KiB (6.3 KiB, 9.7 KiB, 13.5 KiB (stage 337241.0: task 943101))<br>merged fetch fallback count: 0<br>local blocks read: 380<br>remote merged chunks fetched: 0<br>remote blocks read: 140<br>data size total (min, med, max (stageId: taskId))<br>901.4 KiB (29.5 KiB, 30.0 KiB, 30.5 KiB (stage 337239.0: task 943004))<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>55 ms (1 ms, 1 ms, 2 ms (stage 337239.0: task 943014))<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 total (min, med, max (stageId: taskId))<br>101.1 KiB (9.8 KiB, 14.0 KiB, 15.3 KiB (stage 337241.0: task 943078))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>35 ms (4 ms, 4 ms, 5 ms (stage 337241.0: task 943078))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>670.4 KiB (22.0 KiB, 22.3 KiB, 22.7 KiB (stage 337239.0: task 943004))" tooltip="Exchange hashpartitioning(orderProposalId#3582422L, 30), ENSURE_REQUIREMENTS, [plan_id=1031372]"];
subgraph cluster23 {
isCluster="true";
id="cluster23";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (9 ms, 86 ms, 271 ms (stage 337239.0: task 942948))";
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>237 ms (6 ms, 7 ms, 12 ms (stage 337239.0: task 942967))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 337239.0: task 942946))<br>number of output rows: 57,689<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[orderProposalId#3582422L], functions=[])"];
25 [id="node25" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3582422L]"];
26 [id="node26" labelType="html" label="<b>BroadcastHashJoin</b><br><br>number of output rows: 118,908" tooltip="BroadcastHashJoin [worklistShardItemId#3581971L], [worklistShardItemId#3582445L], Inner, BuildLeft, false"];
40 [id="node40" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [worklistShardItemId#3582445L, orderProposalId#3582422L]"];
}
27 [id="node27" labelType="html" label="<b>BroadcastExchange</b><br><br>time to broadcast: 9 ms<br>time to build: 23 ms<br>time to collect: 268 ms<br>number of output rows: 118,908<br>data size: 8.0 MiB" tooltip="BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=1031358]"];
subgraph cluster28 {
isCluster="true";
id="cluster28";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n197 ms (1 ms, 8 ms, 11 ms (stage 337069.0: task 942705))";
tooltip="WholeStageCodegen (3)";
29 [id="node29" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [item#3581970L AS worklistShardItemId#3581971L]"];
30 [id="node30" labelType="html" label="<b>Generate</b><br><br>number of output rows: 118,908" tooltip="Generate explode(_extract_worklistShardItemId#3602445), false, [item#3581970L]"];
31 [id="node31" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [items#3592678.worklistShardItemId AS _extract_worklistShardItemId#3602445]"];
32 [id="node32" labelType="html" label="<b>Filter</b><br><br>number of output rows: 2,343" tooltip="Filter (((size(items#3592678.worklistShardItemId, true) > 0) AND isnotnull(items#3592678.worklistShardItemId)) AND (shardId#3592676 = 0_3_10000000532))"];
}
33 [id="node33" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 2,343" tooltip="InMemoryTableScan [items#3592678, shardId#3592676], [(size(items#3592678.worklistShardItemId, true) > 0), isnotnull(items#3592678.worklistShardItemId), (shardId#3592676 = 0_3_10000000532)]"];
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#3580449) AND (shardId#3580449 = 0_3_10000000532))"];
}
36 [id="node36" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 0" tooltip="InMemoryTableScan [shardId#3580449, orderProposalId#3580450L, items#3580451, optimizationGroups#3580452, isOptimal#3580453, optimizationInsights#3580455], [isnotnull(shardId#3580449), (shardId#3580449 = 0_3_10000000532)]"];
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#3580449) AND (shardId#3580449 = 0_3_10000000532))"];
39 [id="node39" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3580449,orderProposalId#3580450L,items#3580451,optimizationGroups#3580452,isOptimal#3580453,lastModified#3580454,optimizationInsights#3580455]"];
}
41 [id="node41" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 118,908<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 118,908<br>local bytes read total (min, med, max (stageId: taskId))<br>545.6 KiB (15.0 KiB, 17.9 KiB, 24.7 KiB (stage 337239.0: task 942948))<br>merged fetch fallback count: 0<br>local blocks read: 345<br>remote merged chunks fetched: 0<br>remote blocks read: 765<br>data size total (min, med, max (stageId: taskId))<br>2.7 MiB (72.7 KiB, 75.5 KiB, 78.7 KiB (stage 337238.0: task 942730))<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>60 ms (1 ms, 1 ms, 2 ms (stage 337238.0: task 942735))<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 337239.0: task 942946))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1207.2 KiB (34.0 KiB, 41.5 KiB, 43.9 KiB (stage 337239.0: task 943016))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>237 ms (4 ms, 6 ms, 19 ms (stage 337239.0: task 942946))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1752.8 KiB (45.8 KiB, 47.5 KiB, 49.2 KiB (stage 337238.0: task 942730))" tooltip="Exchange hashpartitioning(worklistShardItemId#3582445L, 30), REPARTITION_BY_NUM, [plan_id=1031365]"];
subgraph cluster42 {
isCluster="true";
id="cluster42";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n7.1 s (131 ms, 183 ms, 278 ms (stage 337238.0: task 942730))";
tooltip="WholeStageCodegen (4)";
43 [id="node43" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [orderProposalId#3582422L, worklistShardItemId#3582445L]"];
44 [id="node44" labelType="html" label="<b>Filter</b><br><br>number of output rows: 118,908" tooltip="Filter ((isnotnull(worklistShardItemId#3582445L) AND NOT (isFallbackOrderOnly#3582439 <=> true)) AND isnotnull(orderProposalId#3582422L))"];
45 [id="node45" labelType="html" label="<b>ColumnarToRow</b><br><br>number of output rows: 118,908<br>number of input batches: 37" 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>6.3 s (127 ms, 175 ms, 232 ms (stage 337238.0: task 942845))<br>dynamic partition pruning time: 0 ms<br>metadata time: 0 ms<br>size of files read: 15.4 MiB<br>number of output rows: 118,908<br>number of partitions read: 1" tooltip="FileScan parquet [orderProposalId#3582422L,isFallbackOrderOnly#3582439,worklistShardItemId#3582445L,shardId#3582466,sequenceId#3582444] Batched: true, DataFilters: [isnotnull(worklistShardItemId#3582445L), NOT (isFallbackOrderOnly#3582439 <=> true), isnotnull(o..., Format: Parquet, Location: PreparedDeltaFileIndex(1 paths)[hdlfs://7da5304c-1f57-47fa-b75a-0f0b4349c280.files.hdl.prod-eu20...., PartitionFilters: [isnotnull(shardId#3582466), isnotnull(sequenceId#3582444), (shardId#3582466 = 0_3_10000000532), ..., 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;
}