digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n43 ms (0 ms, 0 ms, 7 ms (stage 305817.0: task 884851))";
tooltip="WholeStageCodegen (5)";
1 [id="node1" 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 305817.0: task 884851))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 305817.0: task 884859))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3390350], functions=[])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 30<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 30<br>local bytes read: 1380.0 B<br>merged fetch fallback count: 0<br>local blocks read: 15<br>remote merged chunks fetched: 0<br>remote blocks read: 15<br>data size total (min, med, max (stageId: taskId))<br>960.0 B (32.0 B, 32.0 B, 32.0 B (stage 305816.0: task 884824))<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>14 ms (0 ms, 0 ms, 0 ms (stage 305816.0: task 884831))<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: 1380.0 B<br>number of partitions: 30<br>remote reqs duration: 1 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>2.7 KiB (92.0 B, 92.0 B, 92.0 B (stage 305816.0: task 884824))" tooltip="Exchange hashpartitioning(shardId#3390350, 30), ENSURE_REQUIREMENTS, [plan_id=975779]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n3.3 s (76 ms, 111 ms, 138 ms (stage 305816.0: task 884822))";
tooltip="WholeStageCodegen (4)";
4 [id="node4" 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.2 s (75 ms, 106 ms, 132 ms (stage 305816.0: task 884822))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 305816.0: task 884824))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3390350], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3390350]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 639,488" tooltip="Generate explode(kpis#3391523), [shardId#3390350], true, [kpi#3391526]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3390350, coalesce(kpis#3391510, []) AS kpis#3391523]"];
8 [id="node8" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 79,936<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 305816.0: task 884824))" tooltip="SortMergeJoin [shardId#3391505, worklistShardItemId#3391506L], [shardId#3390350, worklistShardItemId#3390372L], RightOuter"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n3.6 s (76 ms, 110 ms, 195 ms (stage 305816.0: task 884822))";
tooltip="WholeStageCodegen (2)";
10 [id="node10" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>1.4 s (38 ms, 44 ms, 69 ms (stage 305816.0: task 884828))<br>peak memory total (min, med, max (stageId: taskId))<br>722.0 MiB (23.0 MiB, 25.0 MiB, 25.0 MiB (stage 305816.0: task 884826))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 305816.0: task 884824))" tooltip="Sort [shardId#3391505 ASC NULLS FIRST, worklistShardItemId#3391506L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,194,196<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,194,196<br>local bytes read total (min, med, max (stageId: taskId))<br>13.3 MiB (362.0 KiB, 529.0 KiB, 543.2 KiB (stage 305816.0: task 884834))<br>merged fetch fallback count: 0<br>local blocks read: 405<br>remote merged chunks fetched: 0<br>remote blocks read: 495<br>data size total (min, med, max (stageId: taskId))<br>656.0 MiB (21.8 MiB, 21.9 MiB, 22.0 MiB (stage 305814.0: task 884784))<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>113 ms (3 ms, 3 ms, 9 ms (stage 305814.0: task 884780))<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 305816.0: task 884824))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.2 MiB (459.8 KiB, 624.3 KiB, 643.6 KiB (stage 305816.0: task 884840))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>337 ms (5 ms, 7 ms, 34 ms (stage 305816.0: task 884833))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>29.4 MiB (998.2 KiB, 1004.4 KiB, 1011.7 KiB (stage 305814.0: task 884710))" tooltip="Exchange hashpartitioning(shardId#3391505, worklistShardItemId#3391506L, 30), ENSURE_REQUIREMENTS, [plan_id=975764]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n29.0 s (850 ms, 929 ms, 1.2 s (stage 305814.0: task 884606))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3391505, worklistShardItemId#3391506L, kpis#3391510]"];
14 [id="node14" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter (isnotnull(qty#3391507) AND (isnotnull(shardId#3391505) AND isnotnull(worklistShardItemId#3391506L)))"];
15 [id="node15" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3391505,worklistShardItemId#3391506L,qty#3391507,demandChannel#3391508,demandStream#3391509,kpis#3391510]"];
}
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n3.7 s (77 ms, 111 ms, 198 ms (stage 305816.0: task 884822))";
tooltip="WholeStageCodegen (3)";
17 [id="node17" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>23 ms (0 ms, 0 ms, 19 ms (stage 305816.0: task 884830))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 305816.0: task 884824))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 305816.0: task 884824))" tooltip="Sort [shardId#3390350 ASC NULLS FIRST, worklistShardItemId#3390372L ASC NULLS FIRST], false, 0"];
}
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 39,968<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 39,968<br>local bytes read total (min, med, max (stageId: taskId))<br>175.8 KiB (3.3 KiB, 8.0 KiB, 8.5 KiB (stage 305816.0: task 884830))<br>merged fetch fallback count: 0<br>local blocks read: 555<br>remote merged chunks fetched: 0<br>remote blocks read: 555<br>data size total (min, med, max (stageId: taskId))<br>1561.3 KiB (23.9 KiB, 43.8 KiB, 61.2 KiB (stage 305815.0: task 884613))<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>80 ms (1 ms, 1 ms, 21 ms (stage 305815.0: task 884658))<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>45 ms (0 ms, 0 ms, 14 ms (stage 305816.0: task 884834))<br>remote bytes read total (min, med, max (stageId: taskId))<br>175.4 KiB (3.3 KiB, 7.9 KiB, 8.5 KiB (stage 305816.0: task 884822))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>109 ms (1 ms, 2 ms, 17 ms (stage 305816.0: task 884833))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>351.2 KiB (6.8 KiB, 9.7 KiB, 12.3 KiB (stage 305815.0: task 884613))" tooltip="Exchange hashpartitioning(shardId#3390350, worklistShardItemId#3390372L, 30), ENSURE_REQUIREMENTS, [plan_id=975752]"];
19 [id="node19" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 39,968" tooltip="InMemoryTableScan [shardId#3390350, worklistShardItemId#3390372L]"];
subgraph cluster20 {
isCluster="true";
id="cluster20";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
21 [id="node21" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3390350, item#3390371L AS worklistShardItemId#3390372L]"];
22 [id="node22" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#3390483), [shardId#3390350], false, [item#3390371L]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3390350, items#3390352.worklistShardItemId AS _extract_worklistShardItemId#3390483]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(shardId#3390350) AND ((shardId#3390350 = 0_7_10000000532) AND (isOptimal#3390354 <=> false))) AND ((size(items#3390352.worklistShardItemId, true) > 0) AND isnotnull(items#3390352.worklistShardItemId)))"];
25 [id="node25" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3390350,orderProposalId#3390351L,items#3390352,optimizationGroups#3390353,isOptimal#3390354,lastModified#3390355,optimizationInsights#3390356]"];
}
2->1;
4->2;
5->4;
6->5;
7->6;
8->7;
10->8;
11->10;
13->11;
14->13;
15->14;
17->8;
18->17;
19->18;
21->19;
22->21;
23->22;
24->23;
25->24;
}