digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n127 ms (0 ms, 5 ms, 15 ms (stage 313133.0: task 898230))";
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, 5 ms (stage 313133.0: task 898224))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 313133.0: task 898229))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3438674], 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: 2.7 KiB<br>merged fetch fallback count: 0<br>local blocks read: 30<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>960.0 B (32.0 B, 32.0 B, 32.0 B (stage 313132.0: task 898193))<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 313132.0: task 898197))<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 total (min, med, max (stageId: taskId))<br>2.7 KiB (92.0 B, 92.0 B, 92.0 B (stage 313132.0: task 898193))" tooltip="Exchange hashpartitioning(shardId#3438674, 30), ENSURE_REQUIREMENTS, [plan_id=988262]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n3.5 s (85 ms, 115 ms, 141 ms (stage 313132.0: task 898190))";
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.5 s (84 ms, 114 ms, 139 ms (stage 313132.0: task 898198))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 313132.0: task 898193))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3438674], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3438674]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 1,917,776" tooltip="Generate explode(kpis#3438749), [shardId#3438674], true, [kpi#3438751]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3438674, coalesce(kpis#3438748, []) AS kpis#3438749]"];
8 [id="node8" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 239,722<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 313132.0: task 898193))" tooltip="SortMergeJoin [shardId#3438743, worklistShardItemId#3438744L], [shardId#3438674, worklistShardItemId#3438683L], RightOuter"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (2)";
10 [id="node10" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>1.5 s (42 ms, 44 ms, 70 ms (stage 313132.0: task 898200))<br>peak memory total (min, med, max (stageId: taskId))<br>728.0 MiB (23.0 MiB, 25.0 MiB, 25.0 MiB (stage 313132.0: task 898193))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 313132.0: task 898193))" tooltip="Sort [shardId#3438743 ASC NULLS FIRST, worklistShardItemId#3438744L 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>10.4 MiB (349.1 KiB, 355.9 KiB, 361.5 KiB (stage 313132.0: task 898205))<br>merged fetch fallback count: 0<br>local blocks read: 300<br>remote merged chunks fetched: 0<br>remote blocks read: 600<br>data size total (min, med, max (stageId: taskId))<br>656.0 MiB (21.7 MiB, 21.9 MiB, 22.0 MiB (stage 313130.0: task 898133))<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>153 ms (3 ms, 3 ms, 19 ms (stage 313130.0: task 898129))<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 313132.0: task 898193))<br>remote bytes read total (min, med, max (stageId: taskId))<br>20.9 MiB (698.0 KiB, 713.6 KiB, 725.1 KiB (stage 313132.0: task 898205))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>223 ms (5 ms, 6 ms, 19 ms (stage 313132.0: task 898198))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>31.3 MiB (1062.2 KiB, 1069.9 KiB, 1074.0 KiB (stage 313130.0: task 898181))" tooltip="Exchange hashpartitioning(shardId#3438743, worklistShardItemId#3438744L, 30), ENSURE_REQUIREMENTS, [plan_id=988247]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n27.0 s (761 ms, 873 ms, 1.0 s (stage 313130.0: task 898129))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3438743, worklistShardItemId#3438744L, kpis#3438748]"];
14 [id="node14" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter (isnotnull(qty#3438745) AND (isnotnull(shardId#3438743) AND isnotnull(worklistShardItemId#3438744L)))"];
15 [id="node15" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3438743,worklistShardItemId#3438744L,qty#3438745,demandChannel#3438746,demandStream#3438747,kpis#3438748]"];
}
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n3.8 s (86 ms, 116 ms, 190 ms (stage 313132.0: task 898190))";
tooltip="WholeStageCodegen (3)";
17 [id="node17" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>161 ms (2 ms, 3 ms, 27 ms (stage 313132.0: task 898211))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 313132.0: task 898193))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 313132.0: task 898193))" tooltip="Sort [shardId#3438674 ASC NULLS FIRST, worklistShardItemId#3438683L ASC NULLS FIRST], false, 0"];
}
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 119,861<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 119,861<br>local bytes read total (min, med, max (stageId: taskId))<br>661.5 KiB (21.5 KiB, 22.1 KiB, 22.9 KiB (stage 313132.0: task 898211))<br>merged fetch fallback count: 0<br>local blocks read: 870<br>remote merged chunks fetched: 0<br>remote blocks read: 240<br>data size total (min, med, max (stageId: taskId))<br>4.6 MiB (118.8 KiB, 126.8 KiB, 131.5 KiB (stage 313131.0: task 898146))<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>68 ms (1 ms, 1 ms, 10 ms (stage 313131.0: task 898150))<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 313132.0: task 898193))<br>remote bytes read total (min, med, max (stageId: taskId))<br>183.5 KiB (5.9 KiB, 6.1 KiB, 6.4 KiB (stage 313132.0: task 898207))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>126 ms (2 ms, 4 ms, 6 ms (stage 313132.0: task 898197))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>845.0 KiB (21.4 KiB, 22.9 KiB, 23.8 KiB (stage 313131.0: task 898169))" tooltip="Exchange hashpartitioning(shardId#3438674, worklistShardItemId#3438683L, 30), ENSURE_REQUIREMENTS, [plan_id=988235]"];
19 [id="node19" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 119,861" tooltip="InMemoryTableScan [shardId#3438674, worklistShardItemId#3438683L]"];
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#3438674, item#3438682L AS worklistShardItemId#3438683L]"];
22 [id="node22" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#3438686), [shardId#3438674], false, [item#3438682L]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3438674, items#3438676.worklistShardItemId AS _extract_worklistShardItemId#3438686]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(shardId#3438674) AND ((shardId#3438674 = 0_5_10000000532) AND (isOptimal#3438678 <=> false))) AND ((size(items#3438676.worklistShardItemId, true) > 0) AND isnotnull(items#3438676.worklistShardItemId)))"];
25 [id="node25" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3438674,orderProposalId#3438675L,items#3438676,optimizationGroups#3438677,isOptimal#3438678,lastModified#3438679,optimizationInsights#3438680]"];
}
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;
}