digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (6)\n \nduration: 36 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#22196495 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: 8<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read: 679.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>352.0 B (40.0 B, 48.0 B, 104.0 B (stage 2134165.0: task 5793549))<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 2134165.0: task 5793549))<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>679.0 B (100.0 B, 108.0 B, 142.0 B (stage 2134165.0: task 5793549))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=6643835]"];
subgraph cluster4 {
isCluster="true";
id="cluster4";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n223 ms (4 ms, 6 ms, 15 ms (stage 2134165.0: task 5793573))";
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>23 ms (0 ms, 0 ms, 3 ms (stage 2134165.0: task 5793549))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 2134165.0: task 5793549))<br>number of output rows: 8<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[label#22196495], functions=[])"];
}
7 [id="node7" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 240<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 240<br>local bytes read total (min, med, max (stageId: taskId))<br>8.0 KiB (1200.0 B, 1296.0 B, 1704.0 B (stage 2134165.0: task 5793549))<br>merged fetch fallback count: 0<br>local blocks read: 72<br>remote merged chunks fetched: 0<br>remote blocks read: 108<br>data size total (min, med, max (stageId: taskId))<br>10.3 KiB (352.0 B, 352.0 B, 352.0 B (stage 2134164.0: task 5793524))<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>21 ms (0 ms, 0 ms, 0 ms (stage 2134164.0: task 5793538))<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 2134165.0: task 5793549))<br>remote bytes read total (min, med, max (stageId: taskId))<br>11.9 KiB (1800.0 B, 1944.0 B, 2.5 KiB (stage 2134165.0: task 5793549))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>90 ms (15 ms, 15 ms, 15 ms (stage 2134165.0: task 5793549))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>19.9 KiB (679.0 B, 679.0 B, 679.0 B (stage 2134164.0: task 5793524))" tooltip="Exchange hashpartitioning(label#22196495, 30), ENSURE_REQUIREMENTS, [plan_id=6643830]"];
subgraph cluster8 {
isCluster="true";
id="cluster8";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.2 s (21 ms, 73 ms, 101 ms (stage 2134164.0: task 5793522))";
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>1.9 s (19 ms, 62 ms, 95 ms (stage 2134164.0: task 5793520))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 2134164.0: task 5793524))<br>number of output rows: 240<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[label#22196495], functions=[])"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [concat(kpi:, kpi#22196494) AS label#22196495]"];
11 [id="node11" labelType="html" label="<b>Generate</b><br><br>number of output rows: 828,688" tooltip="Generate explode(_extract_label#22196518), true, [kpi#22196494]"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [coalesce(kpis#22196491, []).label AS _extract_label#22196518]"];
13 [id="node13" 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 2134164.0: task 5793524))" tooltip="SortMergeJoin [shardId#22196486, worklistShardItemId#22196487L], [shardId#22196417, worklistShardItemId#22196426L], RightOuter"];
}
subgraph cluster14 {
isCluster="true";
id="cluster14";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n3.9 s (20 ms, 120 ms, 280 ms (stage 2134164.0: task 5793540))";
tooltip="WholeStageCodegen (2)";
15 [id="node15" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>328 ms (2 ms, 13 ms, 17 ms (stage 2134164.0: task 5793529))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 2134164.0: task 5793524))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2134164.0: task 5793524))" tooltip="Sort [shardId#22196486 ASC NULLS FIRST, worklistShardItemId#22196487L ASC NULLS FIRST], false, 0"];
}
16 [id="node16" 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>259.9 KiB (2.3 KiB, 9.1 KiB, 13.7 KiB (stage 2134164.0: task 5793520))<br>merged fetch fallback count: 0<br>local blocks read: 120<br>remote merged chunks fetched: 0<br>remote blocks read: 780<br>data size total (min, med, max (stageId: taskId))<br>56.9 MiB (1889.4 KiB, 1944.6 KiB, 1987.3 KiB (stage 2134163.0: task 5793516))<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>49 ms (1 ms, 1 ms, 2 ms (stage 2134163.0: task 5793511))<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 2134164.0: task 5793524))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1661.5 KiB (46.9 KiB, 54.9 KiB, 65.6 KiB (stage 2134164.0: task 5793534))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>587 ms (13 ms, 19 ms, 30 ms (stage 2134164.0: task 5793535))<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 2134163.0: task 5793506))" tooltip="Exchange hashpartitioning(shardId#22196486, worklistShardItemId#22196487L, 30), ENSURE_REQUIREMENTS, [plan_id=6643815]"];
subgraph cluster17 {
isCluster="true";
id="cluster17";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n4.2 s (72 ms, 130 ms, 341 ms (stage 2134163.0: task 5793490))";
tooltip="WholeStageCodegen (1)";
18 [id="node18" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22196486, worklistShardItemId#22196487L, kpis#22196491]"];
19 [id="node19" 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)))"];
20 [id="node20" 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 cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n7.0 s (21 ms, 204 ms, 595 ms (stage 2134164.0: task 5793540))";
tooltip="WholeStageCodegen (3)";
22 [id="node22" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>190 ms (0 ms, 7 ms, 14 ms (stage 2134164.0: task 5793522))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 2134164.0: task 5793524))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 2134164.0: task 5793524))" tooltip="Sort [shardId#22196417 ASC NULLS FIRST, worklistShardItemId#22196426L ASC NULLS FIRST], false, 0"];
}
23 [id="node23" 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>41.3 KiB (1013.0 B, 1478.0 B, 1710.0 B (stage 2134164.0: task 5793542))<br>merged fetch fallback count: 0<br>local blocks read: 114<br>remote merged chunks fetched: 0<br>remote blocks read: 996<br>data size total (min, med, max (stageId: taskId))<br>2023.2 KiB (50.8 KiB, 55.2 KiB, 57.8 KiB (stage 2134162.0: task 5793477))<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>69 ms (1 ms, 1 ms, 2 ms (stage 2134162.0: task 5793465))<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 2134164.0: task 5793524))<br>remote bytes read total (min, med, max (stageId: taskId))<br>363.1 KiB (11.6 KiB, 12.1 KiB, 12.6 KiB (stage 2134164.0: task 5793526))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>635 ms (15 ms, 22 ms, 25 ms (stage 2134164.0: task 5793536))<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 2134162.0: task 5793477))" tooltip="Exchange hashpartitioning(shardId#22196417, worklistShardItemId#22196426L, 30), ENSURE_REQUIREMENTS, [plan_id=6643798]"];
24 [id="node24" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 51,793" tooltip="InMemoryTableScan [shardId#22196417, worklistShardItemId#22196426L]"];
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#22196417, item#22196425L AS worklistShardItemId#22196426L]"];
27 [id="node27" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#22196429), [shardId#22196417], false, [item#22196425L]"];
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#22196417, items#22196419.worklistShardItemId AS _extract_worklistShardItemId#22196429]"];
29 [id="node29" 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)))"];
30 [id="node30" 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;
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;
}