digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n7 ms (0 ms, 0 ms, 2 ms (stage 313275.0: task 898346))";
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>2 ms (0 ms, 0 ms, 2 ms (stage 313275.0: task 898346))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 313275.0: task 898349))<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: 920.0 B<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 20<br>data size total (min, med, max (stageId: taskId))<br>960.0 B (32.0 B, 32.0 B, 32.0 B (stage 313274.0: task 898323))<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>27 ms (0 ms, 0 ms, 9 ms (stage 313274.0: task 898341))<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: 1840.0 B<br>number of partitions: 30<br>remote reqs duration: 2 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 313274.0: task 898323))" tooltip="Exchange hashpartitioning(shardId#3438674, 30), ENSURE_REQUIREMENTS, [plan_id=988368]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n3.6 s (89 ms, 106 ms, 185 ms (stage 313274.0: task 898336))";
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 (88 ms, 105 ms, 183 ms (stage 313274.0: task 898336))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 313274.0: task 898323))<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 313274.0: task 898323))" 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 (38 ms, 48 ms, 94 ms (stage 313274.0: task 898340))<br>peak memory total (min, med, max (stageId: taskId))<br>728.0 MiB (23.0 MiB, 25.0 MiB, 25.0 MiB (stage 313274.0: task 898317))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 313274.0: task 898323))" 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>11.5 MiB (381.0 KiB, 391.9 KiB, 399.8 KiB (stage 313274.0: task 898332))<br>merged fetch fallback count: 0<br>local blocks read: 330<br>remote merged chunks fetched: 0<br>remote blocks read: 570<br>data size total (min, med, max (stageId: taskId))<br>656.0 MiB (21.7 MiB, 21.9 MiB, 22.0 MiB (stage 313272.0: task 898259))<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>1.2 s (3 ms, 3 ms, 495 ms (stage 313272.0: task 898258))<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 313274.0: task 898323))<br>remote bytes read total (min, med, max (stageId: taskId))<br>19.8 MiB (662.5 KiB, 677.9 KiB, 686.9 KiB (stage 313274.0: task 898332))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>319 ms (5 ms, 9 ms, 21 ms (stage 313274.0: task 898319))<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 313272.0: task 898305))" tooltip="Exchange hashpartitioning(shardId#3438743, worklistShardItemId#3438744L, 30), ENSURE_REQUIREMENTS, [plan_id=988353]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n26.1 s (748 ms, 868 ms, 977 ms (stage 313272.0: task 898261))";
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 (90 ms, 106 ms, 206 ms (stage 313274.0: task 898324))";
tooltip="WholeStageCodegen (3)";
17 [id="node17" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>73 ms (2 ms, 2 ms, 4 ms (stage 313274.0: task 898337))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 313274.0: task 898323))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 313274.0: task 898323))" 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>396.6 KiB (11.8 KiB, 12.4 KiB, 15.8 KiB (stage 313274.0: task 898337))<br>merged fetch fallback count: 0<br>local blocks read: 520<br>remote merged chunks fetched: 0<br>remote blocks read: 590<br>data size total (min, med, max (stageId: taskId))<br>4.6 MiB (118.8 KiB, 126.8 KiB, 131.5 KiB (stage 313273.0: task 898271))<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>59 ms (1 ms, 1 ms, 2 ms (stage 313273.0: task 898294))<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>2 ms (0 ms, 0 ms, 1 ms (stage 313274.0: task 898329))<br>remote bytes read total (min, med, max (stageId: taskId))<br>448.3 KiB (12.5 KiB, 15.9 KiB, 16.4 KiB (stage 313274.0: task 898334))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>188 ms (4 ms, 6 ms, 10 ms (stage 313274.0: task 898329))<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 313273.0: task 898306))" tooltip="Exchange hashpartitioning(shardId#3438674, worklistShardItemId#3438683L, 30), ENSURE_REQUIREMENTS, [plan_id=988341]"];
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;
}