digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (6)\n \nduration: 29 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#6604891 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: 7<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 7<br>local bytes read: 653.0 B<br>merged fetch fallback count: 0<br>local blocks read: 6<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>304.0 B (40.0 B, 48.0 B, 72.0 B (stage 1572583.0: task 2941090))<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>0 ms (0 ms, 0 ms, 0 ms (stage 1572583.0: task 2941075))<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: 1<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>653.0 B (100.0 B, 108.0 B, 121.0 B (stage 1572583.0: task 2941090))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=3470191]"];
subgraph cluster4 {
isCluster="true";
id="cluster4";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n116 ms (0 ms, 5 ms, 13 ms (stage 1572583.0: task 2941083))";
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>16 ms (0 ms, 0 ms, 2 ms (stage 1572583.0: task 2941075))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1572583.0: task 2941079))<br>number of output rows: 7<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[label#6604891], functions=[])"];
}
7 [id="node7" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 84<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 84<br>local bytes read total (min, med, max (stageId: taskId))<br>7.7 KiB (1200.0 B, 1296.0 B, 1452.0 B (stage 1572583.0: task 2941090))<br>merged fetch fallback count: 0<br>local blocks read: 72<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>3.6 KiB (304.0 B, 304.0 B, 304.0 B (stage 1572582.0: task 2941047))<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>7 ms (0 ms, 0 ms, 0 ms (stage 1572582.0: task 2941045))<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 1572583.0: task 2941079))<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>7.7 KiB (653.0 B, 653.0 B, 653.0 B (stage 1572582.0: task 2941047))" tooltip="Exchange hashpartitioning(label#6604891, 30), ENSURE_REQUIREMENTS, [plan_id=3470186]"];
subgraph cluster8 {
isCluster="true";
id="cluster8";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n53 ms (0 ms, 0 ms, 6 ms (stage 1572582.0: task 2941045))";
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>33 ms (0 ms, 0 ms, 4 ms (stage 1572582.0: task 2941051))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1572582.0: task 2941048))<br>number of output rows: 84<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[label#6604891], functions=[])"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [concat(kpi:, kpi#6604890) AS label#6604891]"];
11 [id="node11" labelType="html" label="<b>Generate</b><br><br>number of output rows: 2,163" tooltip="Generate explode(_extract_label#6604914), true, [kpi#6604890]"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [coalesce(kpis#6604887, []).label AS _extract_label#6604914]"];
13 [id="node13" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 309<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1572582.0: task 2941048))" tooltip="SortMergeJoin [shardId#6604882, worklistShardItemId#6604883L], [shardId#6604813, worklistShardItemId#6604822L], RightOuter"];
}
subgraph cluster14 {
isCluster="true";
id="cluster14";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n10 ms (3 ms, 3 ms, 4 ms (stage 1572582.0: task 2941047))";
tooltip="WholeStageCodegen (2)";
15 [id="node15" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1572582.0: task 2941047))<br>peak memory total (min, med, max (stageId: taskId))<br>24.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1572582.0: task 2941047))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1572582.0: task 2941047))" tooltip="Sort [shardId#6604882 ASC NULLS FIRST, worklistShardItemId#6604883L ASC NULLS FIRST], false, 0"];
}
16 [id="node16" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 4,036<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,610<br>local bytes read total (min, med, max (stageId: taskId))<br>226.4 KiB (4.5 KiB, 7.6 KiB, 10.0 KiB (stage 1572582.0: task 2941073))<br>merged fetch fallback count: 0<br>local blocks read: 372<br>remote merged chunks fetched: 0<br>remote blocks read: 317<br>data size total (min, med, max (stageId: taskId))<br>2018.0 KiB (63.0 KiB, 67.0 KiB, 72.0 KiB (stage 1572580.0: task 2941042))<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>46 ms (1 ms, 1 ms, 2 ms (stage 1572580.0: task 2940992))<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 1572582.0: task 2941047))<br>remote bytes read total (min, med, max (stageId: taskId))<br>185.5 KiB (1622.0 B, 8.4 KiB, 11.4 KiB (stage 1572582.0: task 2941073))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>59 ms (1 ms, 3 ms, 5 ms (stage 1572582.0: task 2941049))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>531.9 KiB (16.9 KiB, 17.7 KiB, 18.8 KiB (stage 1572580.0: task 2941034))" tooltip="Exchange hashpartitioning(shardId#6604882, worklistShardItemId#6604883L, 30), ENSURE_REQUIREMENTS, [plan_id=3470171]"];
subgraph cluster17 {
isCluster="true";
id="cluster17";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n256 ms (7 ms, 8 ms, 14 ms (stage 1572580.0: task 2940986))";
tooltip="WholeStageCodegen (1)";
18 [id="node18" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6604882, worklistShardItemId#6604883L, kpis#6604887]"];
19 [id="node19" labelType="html" label="<b>Filter</b><br><br>number of output rows: 4,036" tooltip="Filter (isnotnull(qty#6604884) AND (isnotnull(shardId#6604882) AND isnotnull(worklistShardItemId#6604883L)))"];
20 [id="node20" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 4,863" tooltip="Scan ExistingRDD[shardId#6604882,worklistShardItemId#6604883L,qty#6604884,demandChannel#6604885,demandStream#6604886,kpis#6604887]"];
}
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n81 ms (1 ms, 2 ms, 7 ms (stage 1572582.0: task 2941045))";
tooltip="WholeStageCodegen (3)";
22 [id="node22" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 1572582.0: task 2941048))<br>peak memory total (min, med, max (stageId: taskId))<br>25.9 MiB (64.0 KiB, 64.0 KiB, 2.1 MiB (stage 1572582.0: task 2941047))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1572582.0: task 2941048))" tooltip="Sort [shardId#6604813 ASC NULLS FIRST, worklistShardItemId#6604822L ASC NULLS FIRST], false, 0"];
}
23 [id="node23" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 18<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 18<br>local bytes read total (min, med, max (stageId: taskId))<br>1224.0 B (97.0 B, 97.0 B, 113.0 B (stage 1572582.0: task 2941051))<br>merged fetch fallback count: 0<br>local blocks read: 12<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 720.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<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 1572582.0: task 2941047))<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: 1224.0 B" tooltip="Exchange hashpartitioning(shardId#6604813, worklistShardItemId#6604822L, 30), ENSURE_REQUIREMENTS, [plan_id=3470154]"];
24 [id="node24" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 18" tooltip="InMemoryTableScan [shardId#6604813, worklistShardItemId#6604822L]"];
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#6604813, item#6604821L AS worklistShardItemId#6604822L]"];
27 [id="node27" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#6604825), [shardId#6604813], false, [item#6604821L]"];
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6604813, items#6604815.worklistShardItemId AS _extract_worklistShardItemId#6604825]"];
29 [id="node29" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(shardId#6604813) AND ((shardId#6604813 = 0_1_10000002290) AND (isOptimal#6604817 <=> false))) AND ((size(items#6604815.worklistShardItemId, true) > 0) AND isnotnull(items#6604815.worklistShardItemId)))"];
30 [id="node30" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#6604813,orderProposalId#6604814L,items#6604815,optimizationGroups#6604816,isOptimal#6604817,lastModified#6604818,optimizationInsights#6604819]"];
}
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;
}