digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n2 ms (0 ms, 0 ms, 2 ms (stage 1656483.0: task 4360550))";
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 1656483.0: task 4360550))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1656483.0: task 4360560))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#16694775], 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 1656482.0: task 4360524))<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 1656482.0: task 4360526))<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: 1 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 1656482.0: task 4360524))" tooltip="Exchange hashpartitioning(shardId#16694775, 30), ENSURE_REQUIREMENTS, [plan_id=4963986]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.0 s (36 ms, 68 ms, 85 ms (stage 1656482.0: task 4360540))";
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>1.9 s (35 ms, 64 ms, 84 ms (stage 1656482.0: task 4360540))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1656482.0: task 4360524))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#16694775], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694775]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 561,344" tooltip="Generate explode(kpis#16694850), [shardId#16694775], true, [kpi#16694852]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694775, coalesce(kpis#16694849, []) AS kpis#16694850]"];
8 [id="node8" 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 1656482.0: task 4360524))" tooltip="SortMergeJoin [shardId#16694844, worklistShardItemId#16694845L], [shardId#16694775, worklistShardItemId#16694784L], RightOuter"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.8 s (36 ms, 68 ms, 253 ms (stage 1656482.0: task 4360529))";
tooltip="WholeStageCodegen (2)";
10 [id="node10" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>624 ms (12 ms, 15 ms, 43 ms (stage 1656482.0: task 4360544))<br>peak memory total (min, med, max (stageId: taskId))<br>315.0 MiB (10.5 MiB, 10.5 MiB, 10.5 MiB (stage 1656482.0: task 4360524))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1656482.0: task 4360524))" tooltip="Sort [shardId#16694844 ASC NULLS FIRST, worklistShardItemId#16694845L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" 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.8 MiB (125.9 KiB, 128.9 KiB, 134.3 KiB (stage 1656482.0: task 4360534))<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>262.4 MiB (8.6 MiB, 8.8 MiB, 8.8 MiB (stage 1656481.0: task 4360511))<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>64 ms (1 ms, 2 ms, 2 ms (stage 1656481.0: task 4360503))<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 1656482.0: task 4360524))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.5 MiB (252.6 KiB, 256.5 KiB, 262.6 KiB (stage 1656482.0: task 4360543))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>115 ms (2 ms, 4 ms, 7 ms (stage 1656482.0: task 4360520))<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 1656481.0: task 4360511))" tooltip="Exchange hashpartitioning(shardId#16694844, worklistShardItemId#16694845L, 30), ENSURE_REQUIREMENTS, [plan_id=4963971]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n9.8 s (276 ms, 334 ms, 391 ms (stage 1656481.0: task 4360519))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694844, worklistShardItemId#16694845L, kpis#16694849]"];
14 [id="node14" 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)))"];
15 [id="node15" 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 cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.9 s (37 ms, 69 ms, 255 ms (stage 1656482.0: task 4360529))";
tooltip="WholeStageCodegen (3)";
17 [id="node17" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>4 ms (0 ms, 0 ms, 1 ms (stage 1656482.0: task 4360522))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1656482.0: task 4360524))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1656482.0: task 4360524))" tooltip="Sort [shardId#16694775 ASC NULLS FIRST, worklistShardItemId#16694784L ASC NULLS FIRST], false, 0"];
}
18 [id="node18" 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>118.4 KiB (3.4 KiB, 3.6 KiB, 5.0 KiB (stage 1656482.0: task 4360529))<br>merged fetch fallback count: 0<br>local blocks read: 360<br>remote merged chunks fetched: 0<br>remote blocks read: 540<br>data size total (min, med, max (stageId: taskId))<br>1370.5 KiB (29.9 KiB, 47.5 KiB, 61.8 KiB (stage 1656480.0: task 4360496))<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>53 ms (1 ms, 1 ms, 2 ms (stage 1656480.0: task 4360474))<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 1656482.0: task 4360524))<br>remote bytes read total (min, med, max (stageId: taskId))<br>177.8 KiB (4.9 KiB, 6.3 KiB, 6.6 KiB (stage 1656482.0: task 4360537))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>110 ms (1 ms, 3 ms, 33 ms (stage 1656482.0: task 4360535))<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 1656480.0: task 4360496))" tooltip="Exchange hashpartitioning(shardId#16694775, worklistShardItemId#16694784L, 30), ENSURE_REQUIREMENTS, [plan_id=4963959]"];
19 [id="node19" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 35,084" tooltip="InMemoryTableScan [shardId#16694775, worklistShardItemId#16694784L]"];
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#16694775, item#16694783L AS worklistShardItemId#16694784L]"];
22 [id="node22" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#16694787), [shardId#16694775], false, [item#16694783L]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694775, items#16694777.worklistShardItemId AS _extract_worklistShardItemId#16694787]"];
24 [id="node24" 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)))"];
25 [id="node25" 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;
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;
}