digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (6)\n \nduration: 44 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#3390484 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 305556.0: task 883569))<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 305556.0: task 883568))<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 305556.0: task 883569))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=974746]"];
subgraph cluster4 {
isCluster="true";
id="cluster4";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n27 ms (0 ms, 0 ms, 7 ms (stage 305556.0: task 883568))";
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>12 ms (0 ms, 0 ms, 2 ms (stage 305556.0: task 883568))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 305556.0: task 883568))<br>number of output rows: 8<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[label#3390484], 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>9.3 KiB (1400.0 B, 1512.0 B, 1988.0 B (stage 305556.0: task 883569))<br>merged fetch fallback count: 0<br>local blocks read: 84<br>remote merged chunks fetched: 0<br>remote blocks read: 96<br>data size total (min, med, max (stageId: taskId))<br>10.3 KiB (352.0 B, 352.0 B, 352.0 B (stage 305555.0: task 883530))<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>29 ms (0 ms, 0 ms, 9 ms (stage 305555.0: task 883534))<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 305556.0: task 883568))<br>remote bytes read total (min, med, max (stageId: taskId))<br>10.6 KiB (1600.0 B, 1728.0 B, 2.2 KiB (stage 305556.0: task 883569))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>7 ms (1 ms, 1 ms, 2 ms (stage 305556.0: task 883568))<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 305555.0: task 883530))" tooltip="Exchange hashpartitioning(label#3390484, 30), ENSURE_REQUIREMENTS, [plan_id=974741]"];
subgraph cluster8 {
isCluster="true";
id="cluster8";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n3.6 s (67 ms, 97 ms, 288 ms (stage 305555.0: task 883530))";
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>3.4 s (66 ms, 95 ms, 281 ms (stage 305555.0: task 883531))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 305555.0: task 883530))<br>number of output rows: 240<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[label#3390484], functions=[])"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [concat(kpi:, kpi#3390481) AS label#3390484]"];
11 [id="node11" labelType="html" label="<b>Generate</b><br><br>number of output rows: 1,407,024" tooltip="Generate explode(_extract_label#3390588), true, [kpi#3390481]"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [coalesce(kpis#3390349, []).label AS _extract_label#3390588]"];
13 [id="node13" 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 305555.0: task 883530))" tooltip="SortMergeJoin [shardId#3390344, worklistShardItemId#3390345L], [shardId#3390109, worklistShardItemId#3390236L], RightOuter"];
}
subgraph cluster14 {
isCluster="true";
id="cluster14";
label="WholeStageCodegen (2)\n \nduration: 0 ms";
tooltip="WholeStageCodegen (2)";
15 [id="node15" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>1.2 s (29 ms, 34 ms, 79 ms (stage 305555.0: task 883540))<br>peak memory total (min, med, max (stageId: taskId))<br>570.0 MiB (19.0 MiB, 19.0 MiB, 19.0 MiB (stage 305555.0: task 883530))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 305555.0: task 883530))" tooltip="Sort [shardId#3390344 ASC NULLS FIRST, worklistShardItemId#3390345L ASC NULLS FIRST], false, 0"];
}
16 [id="node16" 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>7.0 MiB (232.2 KiB, 239.1 KiB, 246.6 KiB (stage 305555.0: task 883547))<br>merged fetch fallback count: 0<br>local blocks read: 270<br>remote merged chunks fetched: 0<br>remote blocks read: 630<br>data size total (min, med, max (stageId: taskId))<br>524.3 MiB (17.3 MiB, 17.5 MiB, 17.6 MiB (stage 305553.0: task 883381))<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>84 ms (2 ms, 2 ms, 3 ms (stage 305553.0: task 883387))<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>308 ms (0 ms, 0 ms, 155 ms (stage 305555.0: task 883531))<br>remote bytes read total (min, med, max (stageId: taskId))<br>16.3 MiB (543.6 KiB, 556.7 KiB, 568.4 KiB (stage 305555.0: task 883546))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>1.1 s (4 ms, 7 ms, 272 ms (stage 305555.0: task 883531))<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 305553.0: task 883381))" tooltip="Exchange hashpartitioning(shardId#3390344, worklistShardItemId#3390345L, 30), ENSURE_REQUIREMENTS, [plan_id=974726]"];
subgraph cluster17 {
isCluster="true";
id="cluster17";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n23.1 s (653 ms, 718 ms, 1.3 s (stage 305553.0: task 883406))";
tooltip="WholeStageCodegen (1)";
18 [id="node18" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3390344, worklistShardItemId#3390345L, kpis#3390349]"];
19 [id="node19" 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)))"];
20 [id="node20" 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 cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n4.0 s (67 ms, 97 ms, 418 ms (stage 305555.0: task 883531))";
tooltip="WholeStageCodegen (3)";
22 [id="node22" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>86 ms (1 ms, 1 ms, 17 ms (stage 305555.0: task 883533))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 305555.0: task 883530))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 305555.0: task 883530))" tooltip="Sort [shardId#3390109 ASC NULLS FIRST, worklistShardItemId#3390236L ASC NULLS FIRST], false, 0"];
}
23 [id="node23" 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>284.1 KiB (5.7 KiB, 6.3 KiB, 13.8 KiB (stage 305555.0: task 883551))<br>merged fetch fallback count: 0<br>local blocks read: 482<br>remote merged chunks fetched: 0<br>remote blocks read: 628<br>data size total (min, med, max (stageId: taskId))<br>3.4 MiB (76.5 KiB, 90.9 KiB, 109.0 KiB (stage 305554.0: task 883426))<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>67 ms (1 ms, 1 ms, 2 ms (stage 305554.0: task 883401))<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>225 ms (0 ms, 0 ms, 91 ms (stage 305555.0: task 883532))<br>remote bytes read total (min, med, max (stageId: taskId))<br>370.5 KiB (8.0 KiB, 15.6 KiB, 16.3 KiB (stage 305555.0: task 883532))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>709 ms (4 ms, 4 ms, 257 ms (stage 305555.0: task 883532))<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 305554.0: task 883415))" tooltip="Exchange hashpartitioning(shardId#3390109, worklistShardItemId#3390236L, 30), ENSURE_REQUIREMENTS, [plan_id=974709]"];
24 [id="node24" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 87,939" tooltip="InMemoryTableScan [shardId#3390109, worklistShardItemId#3390236L]"];
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#3390109, item#3390200L AS worklistShardItemId#3390236L]"];
27 [id="node27" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#3390280), [shardId#3390109], false, [item#3390200L]"];
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3390109, items#3390111.worklistShardItemId AS _extract_worklistShardItemId#3390280]"];
29 [id="node29" 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)))"];
30 [id="node30" 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;
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;
}