digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n8 ms (0 ms, 0 ms, 5 ms (stage 305638.0: task 883919))";
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 305638.0: task 883948))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 305638.0: task 883919))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3390109], 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: 1840.0 B<br>merged fetch fallback count: 0<br>local blocks read: 20<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>960.0 B (32.0 B, 32.0 B, 32.0 B (stage 305637.0: task 883875))<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>68 ms (0 ms, 0 ms, 28 ms (stage 305637.0: task 883890))<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: 920.0 B<br>number of partitions: 30<br>remote reqs duration: 3 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 305637.0: task 883875))" tooltip="Exchange hashpartitioning(shardId#3390109, 30), ENSURE_REQUIREMENTS, [plan_id=974965]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (65 ms, 89 ms, 110 ms (stage 305637.0: task 883896))";
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>2.5 s (64 ms, 87 ms, 108 ms (stage 305637.0: task 883896))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 305637.0: task 883875))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3390109], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3390109]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 1,407,024" tooltip="Generate explode(kpis#3390444), [shardId#3390109], true, [kpi#3390481]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3390109, coalesce(kpis#3390349, []) AS kpis#3390444]"];
8 [id="node8" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 175,878<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 305637.0: task 883875))" tooltip="SortMergeJoin [shardId#3390344, worklistShardItemId#3390345L], [shardId#3390109, worklistShardItemId#3390236L], RightOuter"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (2)";
10 [id="node10" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>1.1 s (29 ms, 34 ms, 59 ms (stage 305637.0: task 883895))<br>peak memory total (min, med, max (stageId: taskId))<br>570.0 MiB (19.0 MiB, 19.0 MiB, 19.0 MiB (stage 305637.0: task 883875))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 305637.0: task 883875))" tooltip="Sort [shardId#3390344 ASC NULLS FIRST, worklistShardItemId#3390345L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 954,474<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 954,474<br>local bytes read total (min, med, max (stageId: taskId))<br>8.5 MiB (182.1 KiB, 342.2 KiB, 349.6 KiB (stage 305637.0: task 883892))<br>merged fetch fallback count: 0<br>local blocks read: 330<br>remote merged chunks fetched: 0<br>remote blocks read: 570<br>data size total (min, med, max (stageId: taskId))<br>524.3 MiB (17.3 MiB, 17.5 MiB, 17.6 MiB (stage 305635.0: task 883793))<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>90 ms (2 ms, 2 ms, 10 ms (stage 305635.0: task 883796))<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 305637.0: task 883875))<br>remote bytes read total (min, med, max (stageId: taskId))<br>14.8 MiB (442.9 KiB, 455.3 KiB, 624.5 KiB (stage 305637.0: task 883895))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>339 ms (5 ms, 8 ms, 27 ms (stage 305637.0: task 883876))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>23.3 MiB (790.3 KiB, 795.1 KiB, 802.4 KiB (stage 305635.0: task 883793))" tooltip="Exchange hashpartitioning(shardId#3390344, worklistShardItemId#3390345L, 30), ENSURE_REQUIREMENTS, [plan_id=974950]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n21.9 s (688 ms, 723 ms, 835 ms (stage 305635.0: task 883798))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3390344, worklistShardItemId#3390345L, kpis#3390349]"];
14 [id="node14" labelType="html" label="<b>Filter</b><br><br>number of output rows: 954,474" tooltip="Filter (isnotnull(qty#3390346) AND (isnotnull(shardId#3390344) AND isnotnull(worklistShardItemId#3390345L)))"];
15 [id="node15" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 1,908,948" tooltip="Scan ExistingRDD[shardId#3390344,worklistShardItemId#3390345L,qty#3390346,demandChannel#3390347,demandStream#3390348,kpis#3390349]"];
}
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n2.7 s (65 ms, 89 ms, 162 ms (stage 305637.0: task 883878))";
tooltip="WholeStageCodegen (3)";
17 [id="node17" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>47 ms (1 ms, 1 ms, 3 ms (stage 305637.0: task 883892))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 305637.0: task 883875))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 305637.0: task 883875))" tooltip="Sort [shardId#3390109 ASC NULLS FIRST, worklistShardItemId#3390236L ASC NULLS FIRST], false, 0"];
}
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 87,939<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 87,939<br>local bytes read total (min, med, max (stageId: taskId))<br>357.7 KiB (7.6 KiB, 13.9 KiB, 14.5 KiB (stage 305637.0: task 883892))<br>merged fetch fallback count: 0<br>local blocks read: 610<br>remote merged chunks fetched: 0<br>remote blocks read: 500<br>data size total (min, med, max (stageId: taskId))<br>3.4 MiB (76.5 KiB, 90.9 KiB, 109.0 KiB (stage 305636.0: task 883835))<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>51 ms (1 ms, 1 ms, 1 ms (stage 305636.0: task 883815))<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>80 ms (0 ms, 0 ms, 16 ms (stage 305637.0: task 883907))<br>remote bytes read total (min, med, max (stageId: taskId))<br>296.9 KiB (7.5 KiB, 8.0 KiB, 14.3 KiB (stage 305637.0: task 883895))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>219 ms (3 ms, 4 ms, 21 ms (stage 305637.0: task 883907))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>654.6 KiB (15.3 KiB, 17.4 KiB, 20.2 KiB (stage 305636.0: task 883827))" tooltip="Exchange hashpartitioning(shardId#3390109, worklistShardItemId#3390236L, 30), ENSURE_REQUIREMENTS, [plan_id=974938]"];
19 [id="node19" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 87,939" tooltip="InMemoryTableScan [shardId#3390109, worklistShardItemId#3390236L]"];
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#3390109, item#3390200L AS worklistShardItemId#3390236L]"];
22 [id="node22" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#3390280), [shardId#3390109], false, [item#3390200L]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3390109, items#3390111.worklistShardItemId AS _extract_worklistShardItemId#3390280]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(shardId#3390109) AND ((shardId#3390109 = 0_1_10000000532) AND (isOptimal#3390113 <=> false))) AND ((size(items#3390111.worklistShardItemId, true) > 0) AND isnotnull(items#3390111.worklistShardItemId)))"];
25 [id="node25" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3390109,orderProposalId#3390110L,items#3390111,optimizationGroups#3390112,isOptimal#3390113,lastModified#3390114,optimizationInsights#3390115]"];
}
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;
}