digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n227 ms (4 ms, 5 ms, 15 ms (stage 2134262.0: task 5793699))";
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>10 ms (0 ms, 0 ms, 2 ms (stage 2134262.0: task 5793688))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 2134262.0: task 5793698))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#22196417], 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: 276.0 B<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 27<br>data size total (min, med, max (stageId: taskId))<br>960.0 B (32.0 B, 32.0 B, 32.0 B (stage 2134261.0: task 5793675))<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>16 ms (0 ms, 0 ms, 0 ms (stage 2134261.0: task 5793673))<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: 2.4 KiB<br>number of partitions: 30<br>remote reqs duration: 14 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 2134261.0: task 5793675))" tooltip="Exchange hashpartitioning(shardId#22196417, 30), ENSURE_REQUIREMENTS, [plan_id=6643948]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.4 s (28 ms, 45 ms, 59 ms (stage 2134261.0: task 5793671))";
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>1.1 s (21 ms, 40 ms, 46 ms (stage 2134261.0: task 5793669))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 2134261.0: task 5793675))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#22196417], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22196417]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 828,688" tooltip="Generate explode(kpis#22196492), [shardId#22196417], true, [kpi#22196494]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22196417, coalesce(kpis#22196491, []) AS kpis#22196492]"];
8 [id="node8" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 103,586<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2134261.0: task 5793675))" tooltip="SortMergeJoin [shardId#22196486, worklistShardItemId#22196487L], [shardId#22196417, worklistShardItemId#22196426L], RightOuter"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n4.0 s (88 ms, 103 ms, 217 ms (stage 2134261.0: task 5793669))";
tooltip="WholeStageCodegen (2)";
10 [id="node10" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>70 ms (1 ms, 2 ms, 5 ms (stage 2134261.0: task 5793673))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 2134261.0: task 5793675))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2134261.0: task 5793675))" tooltip="Sort [shardId#22196486 ASC NULLS FIRST, worklistShardItemId#22196487L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 103,586<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 103,586<br>local bytes read total (min, med, max (stageId: taskId))<br>189.5 KiB (1720.0 B, 6.4 KiB, 11.6 KiB (stage 2134261.0: task 5793675))<br>merged fetch fallback count: 0<br>local blocks read: 90<br>remote merged chunks fetched: 0<br>remote blocks read: 810<br>data size total (min, med, max (stageId: taskId))<br>56.9 MiB (1889.4 KiB, 1944.6 KiB, 1987.3 KiB (stage 2134260.0: task 5793633))<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>49 ms (1 ms, 1 ms, 2 ms (stage 2134260.0: task 5793638))<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 2134261.0: task 5793675))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1731.9 KiB (49.3 KiB, 57.7 KiB, 64.0 KiB (stage 2134261.0: task 5793646))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>855 ms (21 ms, 28 ms, 45 ms (stage 2134261.0: task 5793650))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1921.4 KiB (61.9 KiB, 64.1 KiB, 65.9 KiB (stage 2134260.0: task 5793634))" tooltip="Exchange hashpartitioning(shardId#22196486, worklistShardItemId#22196487L, 30), ENSURE_REQUIREMENTS, [plan_id=6643933]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.7 s (69 ms, 79 ms, 170 ms (stage 2134260.0: task 5793622))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22196486, worklistShardItemId#22196487L, kpis#22196491]"];
14 [id="node14" labelType="html" label="<b>Filter</b><br><br>number of output rows: 103,586" tooltip="Filter (isnotnull(qty#22196488) AND (isnotnull(shardId#22196486) AND isnotnull(worklistShardItemId#22196487L)))"];
15 [id="node15" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 207,172" tooltip="Scan ExistingRDD[shardId#22196486,worklistShardItemId#22196487L,qty#22196488,demandChannel#22196489,demandStream#22196490,kpis#22196491]"];
}
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n4.0 s (89 ms, 104 ms, 220 ms (stage 2134261.0: task 5793669))";
tooltip="WholeStageCodegen (3)";
17 [id="node17" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>13 ms (0 ms, 0 ms, 2 ms (stage 2134261.0: task 5793673))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 2134261.0: task 5793675))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2134261.0: task 5793675))" tooltip="Sort [shardId#22196417 ASC NULLS FIRST, worklistShardItemId#22196426L ASC NULLS FIRST], false, 0"];
}
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 51,793<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 51,793<br>local bytes read total (min, med, max (stageId: taskId))<br>40.1 KiB (993.0 B, 1379.0 B, 1974.0 B (stage 2134261.0: task 5793666))<br>merged fetch fallback count: 0<br>local blocks read: 111<br>remote merged chunks fetched: 0<br>remote blocks read: 999<br>data size total (min, med, max (stageId: taskId))<br>2023.2 KiB (50.8 KiB, 55.2 KiB, 57.8 KiB (stage 2134259.0: task 5793612))<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>74 ms (1 ms, 2 ms, 2 ms (stage 2134259.0: task 5793601))<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 2134261.0: task 5793675))<br>remote bytes read total (min, med, max (stageId: taskId))<br>364.3 KiB (11.4 KiB, 12.2 KiB, 12.7 KiB (stage 2134261.0: task 5793664))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>802 ms (22 ms, 26 ms, 33 ms (stage 2134261.0: task 5793660))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>404.5 KiB (10.4 KiB, 11.0 KiB, 11.3 KiB (stage 2134259.0: task 5793612))" tooltip="Exchange hashpartitioning(shardId#22196417, worklistShardItemId#22196426L, 30), ENSURE_REQUIREMENTS, [plan_id=6643921]"];
19 [id="node19" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 51,793" tooltip="InMemoryTableScan [shardId#22196417, worklistShardItemId#22196426L]"];
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#22196417, item#22196425L AS worklistShardItemId#22196426L]"];
22 [id="node22" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#22196429), [shardId#22196417], false, [item#22196425L]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22196417, items#22196419.worklistShardItemId AS _extract_worklistShardItemId#22196429]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(shardId#22196417) AND ((shardId#22196417 = 0_7_10000000553) AND (isOptimal#22196421 <=> false))) AND ((size(items#22196419.worklistShardItemId, true) > 0) AND isnotnull(items#22196419.worklistShardItemId)))"];
25 [id="node25" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#22196417,orderProposalId#22196418L,items#22196419,optimizationGroups#22196420,isOptimal#22196421,lastModified#22196422,optimizationInsights#22196423]"];
}
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;
}