digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n91 ms (0 ms, 0 ms, 14 ms (stage 1572702.0: task 2941201))";
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>11 ms (0 ms, 0 ms, 4 ms (stage 1572702.0: task 2941210))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1572702.0: task 2941199))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#6604813], functions=[])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 12<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 12<br>local bytes read: 1104.0 B<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 total (min, med, max (stageId: taskId))<br>384.0 B (32.0 B, 32.0 B, 32.0 B (stage 1572701.0: task 2941177))<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>4 ms (0 ms, 0 ms, 0 ms (stage 1572701.0: task 2941168))<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>1104.0 B (92.0 B, 92.0 B, 92.0 B (stage 1572701.0: task 2941177))" tooltip="Exchange hashpartitioning(shardId#6604813, 30), ENSURE_REQUIREMENTS, [plan_id=3470304]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n154 ms (0 ms, 4 ms, 17 ms (stage 1572701.0: task 2941178))";
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>57 ms (0 ms, 2 ms, 6 ms (stage 1572701.0: task 2941172))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1572701.0: task 2941177))<br>number of output rows: 12<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#6604813], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6604813]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 2,163" tooltip="Generate explode(kpis#6604888), [shardId#6604813], true, [kpi#6604890]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6604813, coalesce(kpis#6604887, []) AS kpis#6604888]"];
8 [id="node8" 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 1572701.0: task 2941177))" tooltip="SortMergeJoin [shardId#6604882, worklistShardItemId#6604883L], [shardId#6604813, worklistShardItemId#6604822L], RightOuter"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n11 ms (3 ms, 4 ms, 4 ms (stage 1572701.0: task 2941171))";
tooltip="WholeStageCodegen (2)";
10 [id="node10" 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 1572701.0: task 2941177))<br>peak memory total (min, med, max (stageId: taskId))<br>24.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1572701.0: task 2941177))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1572701.0: task 2941177))" tooltip="Sort [shardId#6604882 ASC NULLS FIRST, worklistShardItemId#6604883L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" 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>189.6 KiB (2.6 KiB, 6.4 KiB, 8.0 KiB (stage 1572701.0: task 2941191))<br>merged fetch fallback count: 0<br>local blocks read: 311<br>remote merged chunks fetched: 0<br>remote blocks read: 466<br>data size total (min, med, max (stageId: taskId))<br>2018.0 KiB (63.0 KiB, 67.0 KiB, 72.0 KiB (stage 1572699.0: task 2941139))<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>48 ms (1 ms, 1 ms, 2 ms (stage 1572699.0: task 2941132))<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 1572701.0: task 2941177))<br>remote bytes read total (min, med, max (stageId: taskId))<br>280.1 KiB (5.9 KiB, 11.4 KiB, 15.7 KiB (stage 1572701.0: task 2941166))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>118 ms (1 ms, 4 ms, 8 ms (stage 1572701.0: task 2941178))<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 1572699.0: task 2941165))" tooltip="Exchange hashpartitioning(shardId#6604882, worklistShardItemId#6604883L, 30), ENSURE_REQUIREMENTS, [plan_id=3470289]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n295 ms (7 ms, 9 ms, 15 ms (stage 1572699.0: task 2941117))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6604882, worklistShardItemId#6604883L, kpis#6604887]"];
14 [id="node14" 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)))"];
15 [id="node15" 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 cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (1 ms, 5 ms, 170 ms (stage 1572701.0: task 2941178))";
tooltip="WholeStageCodegen (3)";
17 [id="node17" 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 1572701.0: task 2941177))<br>peak memory total (min, med, max (stageId: taskId))<br>25.9 MiB (64.0 KiB, 64.0 KiB, 2.1 MiB (stage 1572701.0: task 2941177))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1572701.0: task 2941177))" tooltip="Sort [shardId#6604813 ASC NULLS FIRST, worklistShardItemId#6604822L ASC NULLS FIRST], false, 0"];
}
18 [id="node18" 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 1572701.0: task 2941177))<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 1572701.0: task 2941177))<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=3470277]"];
19 [id="node19" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 18" tooltip="InMemoryTableScan [shardId#6604813, worklistShardItemId#6604822L]"];
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#6604813, item#6604821L AS worklistShardItemId#6604822L]"];
22 [id="node22" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#6604825), [shardId#6604813], false, [item#6604821L]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#6604813, items#6604815.worklistShardItemId AS _extract_worklistShardItemId#6604825]"];
24 [id="node24" 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)))"];
25 [id="node25" 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;
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;
}