digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (6)\n \nduration: 153 ms";
tooltip="WholeStageCodegen (6)";
1 [id="node1" labelType="html" label="<b>Sort</b><br><br>sort time: 0 ms<br>peak memory: 2.1 MiB<br>spill size: 0.0 B" tooltip="Sort [label#16694853 ASC NULLS FIRST], true, 0"];
2 [id="node2" labelType="html" label="<br><b>GlobalLimit</b><br><br>" tooltip="GlobalLimit 10001, 0"];
}
3 [id="node3" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read: 363.0 B<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 3<br>data size total (min, med, max (stageId: taskId))<br>352.0 B (40.0 B, 48.0 B, 104.0 B (stage 1656392.0: task 4360310))<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 ms (0 ms, 0 ms, 0 ms (stage 1656392.0: task 4360312))<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: 316.0 B<br>number of partitions: 1<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>679.0 B (100.0 B, 108.0 B, 142.0 B (stage 1656392.0: task 4360310))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=4963767]"];
subgraph cluster4 {
isCluster="true";
id="cluster4";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n233 ms (0 ms, 14 ms, 18 ms (stage 1656392.0: task 4360309))";
tooltip="WholeStageCodegen (5)";
5 [id="node5" labelType="html" label="<br><b>LocalLimit</b><br><br>" tooltip="LocalLimit 10001"];
6 [id="node6" 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>53 ms (0 ms, 0 ms, 8 ms (stage 1656392.0: task 4360311))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1656392.0: task 4360317))<br>number of output rows: 8<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[label#16694853], functions=[])"];
}
7 [id="node7" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 240<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 240<br>local bytes read total (min, med, max (stageId: taskId))<br>10.0 KiB (1300.0 B, 1700.0 B, 2.4 KiB (stage 1656392.0: task 4360310))<br>merged fetch fallback count: 0<br>local blocks read: 90<br>remote merged chunks fetched: 0<br>remote blocks read: 90<br>data size total (min, med, max (stageId: taskId))<br>10.3 KiB (352.0 B, 352.0 B, 352.0 B (stage 1656391.0: task 4360280))<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>39 ms (0 ms, 0 ms, 10 ms (stage 1656391.0: task 4360293))<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 1656392.0: task 4360314))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.9 KiB (1300.0 B, 1836.0 B, 1846.0 B (stage 1656392.0: task 4360310))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>13 ms (1 ms, 2 ms, 3 ms (stage 1656392.0: task 4360309))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>19.9 KiB (679.0 B, 679.0 B, 679.0 B (stage 1656391.0: task 4360280))" tooltip="Exchange hashpartitioning(label#16694853, 30), ENSURE_REQUIREMENTS, [plan_id=4963762]"];
subgraph cluster8 {
isCluster="true";
id="cluster8";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n3.0 s (34 ms, 102 ms, 173 ms (stage 1656391.0: task 4360287))";
tooltip="WholeStageCodegen (4)";
9 [id="node9" 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.8 s (32 ms, 100 ms, 157 ms (stage 1656391.0: task 4360283))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1656391.0: task 4360280))<br>number of output rows: 240<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[label#16694853], functions=[])"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [concat(kpi:, kpi#16694852) AS label#16694853]"];
11 [id="node11" labelType="html" label="<b>Generate</b><br><br>number of output rows: 561,344" tooltip="Generate explode(_extract_label#16694876), true, [kpi#16694852]"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [coalesce(kpis#16694849, []).label AS _extract_label#16694876]"];
13 [id="node13" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 70,168<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1656391.0: task 4360280))" tooltip="SortMergeJoin [shardId#16694844, worklistShardItemId#16694845L], [shardId#16694775, worklistShardItemId#16694784L], RightOuter"];
}
subgraph cluster14 {
isCluster="true";
id="cluster14";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n4.7 s (33 ms, 101 ms, 346 ms (stage 1656391.0: task 4360283))";
tooltip="WholeStageCodegen (2)";
15 [id="node15" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>781 ms (12 ms, 28 ms, 42 ms (stage 1656391.0: task 4360294))<br>peak memory total (min, med, max (stageId: taskId))<br>315.0 MiB (10.5 MiB, 10.5 MiB, 10.5 MiB (stage 1656391.0: task 4360280))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1656391.0: task 4360280))" tooltip="Sort [shardId#16694844 ASC NULLS FIRST, worklistShardItemId#16694845L ASC NULLS FIRST], false, 0"];
}
16 [id="node16" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 477,740<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 477,740<br>local bytes read total (min, med, max (stageId: taskId))<br>3.7 MiB (85.8 KiB, 152.4 KiB, 160.7 KiB (stage 1656391.0: task 4360286))<br>merged fetch fallback count: 0<br>local blocks read: 295<br>remote merged chunks fetched: 0<br>remote blocks read: 605<br>data size total (min, med, max (stageId: taskId))<br>262.4 MiB (8.6 MiB, 8.8 MiB, 8.8 MiB (stage 1656390.0: task 4360273))<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>234 ms (1 ms, 2 ms, 79 ms (stage 1656390.0: task 4360260))<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 1656391.0: task 4360280))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.6 MiB (226.2 KiB, 235.0 KiB, 300.3 KiB (stage 1656391.0: task 4360307))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>225 ms (2 ms, 7 ms, 15 ms (stage 1656391.0: task 4360294))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>11.3 MiB (381.0 KiB, 386.3 KiB, 389.9 KiB (stage 1656390.0: task 4360273))" tooltip="Exchange hashpartitioning(shardId#16694844, worklistShardItemId#16694845L, 30), ENSURE_REQUIREMENTS, [plan_id=4963747]"];
subgraph cluster17 {
isCluster="true";
id="cluster17";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n16.0 s (309 ms, 605 ms, 886 ms (stage 1656390.0: task 4360260))";
tooltip="WholeStageCodegen (1)";
18 [id="node18" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694844, worklistShardItemId#16694845L, kpis#16694849]"];
19 [id="node19" labelType="html" label="<b>Filter</b><br><br>number of output rows: 477,740" tooltip="Filter (isnotnull(qty#16694846) AND (isnotnull(shardId#16694844) AND isnotnull(worklistShardItemId#16694845L)))"];
20 [id="node20" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 955,480" tooltip="Scan ExistingRDD[shardId#16694844,worklistShardItemId#16694845L,qty#16694846,demandChannel#16694847,demandStream#16694848,kpis#16694849]"];
}
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n8.0 s (34 ms, 101 ms, 678 ms (stage 1656391.0: task 4360283))";
tooltip="WholeStageCodegen (3)";
22 [id="node22" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>169 ms (0 ms, 0 ms, 21 ms (stage 1656391.0: task 4360281))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1656391.0: task 4360280))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1656391.0: task 4360280))" tooltip="Sort [shardId#16694775 ASC NULLS FIRST, worklistShardItemId#16694784L ASC NULLS FIRST], false, 0"];
}
23 [id="node23" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 35,084<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 35,084<br>local bytes read total (min, med, max (stageId: taskId))<br>126.8 KiB (3.5 KiB, 4.6 KiB, 4.8 KiB (stage 1656391.0: task 4360286))<br>merged fetch fallback count: 0<br>local blocks read: 381<br>remote merged chunks fetched: 0<br>remote blocks read: 519<br>data size total (min, med, max (stageId: taskId))<br>1370.5 KiB (29.9 KiB, 47.5 KiB, 61.8 KiB (stage 1656389.0: task 4360246))<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>52 ms (1 ms, 1 ms, 2 ms (stage 1656389.0: task 4360224))<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>22 ms (0 ms, 0 ms, 10 ms (stage 1656391.0: task 4360298))<br>remote bytes read total (min, med, max (stageId: taskId))<br>169.4 KiB (5.0 KiB, 5.3 KiB, 6.6 KiB (stage 1656391.0: task 4360296))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>119 ms (1 ms, 3 ms, 16 ms (stage 1656391.0: task 4360298))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>296.2 KiB (7.5 KiB, 10.2 KiB, 12.5 KiB (stage 1656389.0: task 4360246))" tooltip="Exchange hashpartitioning(shardId#16694775, worklistShardItemId#16694784L, 30), ENSURE_REQUIREMENTS, [plan_id=4963730]"];
24 [id="node24" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 35,084" tooltip="InMemoryTableScan [shardId#16694775, worklistShardItemId#16694784L]"];
subgraph cluster25 {
isCluster="true";
id="cluster25";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (1)";
26 [id="node26" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694775, item#16694783L AS worklistShardItemId#16694784L]"];
27 [id="node27" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#16694787), [shardId#16694775], false, [item#16694783L]"];
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694775, items#16694777.worklistShardItemId AS _extract_worklistShardItemId#16694787]"];
29 [id="node29" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(shardId#16694775) AND ((shardId#16694775 = 0_3_10000000548) AND (isOptimal#16694779 <=> false))) AND ((size(items#16694777.worklistShardItemId, true) > 0) AND isnotnull(items#16694777.worklistShardItemId)))"];
30 [id="node30" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#16694775,orderProposalId#16694776L,items#16694777,optimizationGroups#16694778,isOptimal#16694779,lastModified#16694780,optimizationInsights#16694781]"];
}
2->1;
3->2;
5->3;
6->5;
7->6;
9->7;
10->9;
11->10;
12->11;
13->12;
15->13;
16->15;
18->16;
19->18;
20->19;
22->13;
23->22;
24->23;
26->24;
27->26;
28->27;
29->28;
30->29;
}