digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n3 ms (0 ms, 0 ms, 3 ms (stage 2134358.0: task 5793815))";
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>3 ms (0 ms, 0 ms, 3 ms (stage 2134358.0: task 5793815))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 2134358.0: task 5793813))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#22196417], 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: 276.0 B<br>merged fetch fallback count: 0<br>local blocks read: 3<br>remote merged chunks fetched: 0<br>remote blocks read: 27<br>data size total (min, med, max (stageId: taskId))<br>960.0 B (32.0 B, 32.0 B, 32.0 B (stage 2134357.0: task 5793780))<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>15 ms (0 ms, 0 ms, 0 ms (stage 2134357.0: task 5793779))<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: 2.4 KiB<br>number of partitions: 30<br>remote reqs duration: 15 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 2134357.0: task 5793780))" tooltip="Exchange hashpartitioning(shardId#22196417, 30), ENSURE_REQUIREMENTS, [plan_id=6644054]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n1.0 s (17 ms, 34 ms, 55 ms (stage 2134357.0: task 5793781))";
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>983 ms (15 ms, 33 ms, 54 ms (stage 2134357.0: task 5793781))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 2134357.0: task 5793780))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#22196417], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22196417]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 828,688" tooltip="Generate explode(kpis#22196492), [shardId#22196417], true, [kpi#22196494]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22196417, coalesce(kpis#22196491, []) AS kpis#22196492]"];
8 [id="node8" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 103,586<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2134357.0: task 5793780))" tooltip="SortMergeJoin [shardId#22196486, worklistShardItemId#22196487L], [shardId#22196417, worklistShardItemId#22196426L], RightOuter"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.0 s (16 ms, 34 ms, 55 ms (stage 2134357.0: task 5793781))";
tooltip="WholeStageCodegen (2)";
10 [id="node10" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>70 ms (1 ms, 2 ms, 5 ms (stage 2134357.0: task 5793776))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 2134357.0: task 5793780))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2134357.0: task 5793780))" tooltip="Sort [shardId#22196486 ASC NULLS FIRST, worklistShardItemId#22196487L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 103,586<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 103,586<br>local bytes read total (min, med, max (stageId: taskId))<br>192.6 KiB (4.0 KiB, 6.6 KiB, 8.9 KiB (stage 2134357.0: task 5793791))<br>merged fetch fallback count: 0<br>local blocks read: 90<br>remote merged chunks fetched: 0<br>remote blocks read: 810<br>data size total (min, med, max (stageId: taskId))<br>56.9 MiB (1889.4 KiB, 1944.6 KiB, 1987.3 KiB (stage 2134355.0: task 5793731))<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>73 ms (1 ms, 1 ms, 12 ms (stage 2134355.0: task 5793729))<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 2134357.0: task 5793780))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1728.8 KiB (52.9 KiB, 57.7 KiB, 61.4 KiB (stage 2134357.0: task 5793780))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>852 ms (20 ms, 27 ms, 39 ms (stage 2134357.0: task 5793773))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>1921.4 KiB (61.9 KiB, 64.1 KiB, 65.9 KiB (stage 2134355.0: task 5793723))" tooltip="Exchange hashpartitioning(shardId#22196486, worklistShardItemId#22196487L, 30), ENSURE_REQUIREMENTS, [plan_id=6644039]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.5 s (71 ms, 80 ms, 111 ms (stage 2134355.0: task 5793725))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22196486, worklistShardItemId#22196487L, kpis#22196491]"];
14 [id="node14" labelType="html" label="<b>Filter</b><br><br>number of output rows: 103,586" tooltip="Filter (isnotnull(qty#22196488) AND (isnotnull(shardId#22196486) AND isnotnull(worklistShardItemId#22196487L)))"];
15 [id="node15" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 207,172" tooltip="Scan ExistingRDD[shardId#22196486,worklistShardItemId#22196487L,qty#22196488,demandChannel#22196489,demandStream#22196490,kpis#22196491]"];
}
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (19 ms, 36 ms, 56 ms (stage 2134357.0: task 5793781))";
tooltip="WholeStageCodegen (3)";
17 [id="node17" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>18 ms (0 ms, 0 ms, 2 ms (stage 2134357.0: task 5793786))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 2134357.0: task 5793780))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2134357.0: task 5793780))" tooltip="Sort [shardId#22196417 ASC NULLS FIRST, worklistShardItemId#22196426L ASC NULLS FIRST], false, 0"];
}
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 51,793<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 51,793<br>local bytes read total (min, med, max (stageId: taskId))<br>40.6 KiB (655.0 B, 1519.0 B, 2026.0 B (stage 2134357.0: task 5793778))<br>merged fetch fallback count: 0<br>local blocks read: 111<br>remote merged chunks fetched: 0<br>remote blocks read: 999<br>data size total (min, med, max (stageId: taskId))<br>2023.2 KiB (50.8 KiB, 55.2 KiB, 57.8 KiB (stage 2134356.0: task 5793761))<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>74 ms (1 ms, 1 ms, 9 ms (stage 2134356.0: task 5793736))<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 2134357.0: task 5793780))<br>remote bytes read total (min, med, max (stageId: taskId))<br>363.9 KiB (11.2 KiB, 12.2 KiB, 12.9 KiB (stage 2134357.0: task 5793782))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>774 ms (21 ms, 26 ms, 31 ms (stage 2134357.0: task 5793778))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>404.5 KiB (10.4 KiB, 11.0 KiB, 11.3 KiB (stage 2134356.0: task 5793761))" tooltip="Exchange hashpartitioning(shardId#22196417, worklistShardItemId#22196426L, 30), ENSURE_REQUIREMENTS, [plan_id=6644027]"];
19 [id="node19" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 51,793" tooltip="InMemoryTableScan [shardId#22196417, worklistShardItemId#22196426L]"];
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#22196417, item#22196425L AS worklistShardItemId#22196426L]"];
22 [id="node22" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#22196429), [shardId#22196417], false, [item#22196425L]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22196417, items#22196419.worklistShardItemId AS _extract_worklistShardItemId#22196429]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(shardId#22196417) AND ((shardId#22196417 = 0_7_10000000553) AND (isOptimal#22196421 <=> false))) AND ((size(items#22196419.worklistShardItemId, true) > 0) AND isnotnull(items#22196419.worklistShardItemId)))"];
25 [id="node25" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#22196417,orderProposalId#22196418L,items#22196419,optimizationGroups#22196420,isOptimal#22196421,lastModified#22196422,optimizationInsights#22196423]"];
}
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;
}