digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (6)\n \nduration: 31 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#3525986 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 328080.0: task 921596))<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 328080.0: task 921564))<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 328080.0: task 921596))" tooltip="Exchange SinglePartition, ENSURE_REQUIREMENTS, [plan_id=1010750]"];
subgraph cluster4 {
isCluster="true";
id="cluster4";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n456 ms (0 ms, 0 ms, 83 ms (stage 328080.0: task 921562))";
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>22 ms (0 ms, 0 ms, 3 ms (stage 328080.0: task 921564))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 328080.0: task 921564))<br>number of output rows: 8<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[label#3525986], 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.6 KiB (1300.0 B, 1404.0 B, 1846.0 B (stage 328080.0: task 921596))<br>merged fetch fallback count: 0<br>local blocks read: 78<br>remote merged chunks fetched: 0<br>remote blocks read: 102<br>data size total (min, med, max (stageId: taskId))<br>10.3 KiB (352.0 B, 352.0 B, 352.0 B (stage 328079.0: task 921470))<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>28 ms (0 ms, 0 ms, 3 ms (stage 328079.0: task 921468))<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 328080.0: task 921564))<br>remote bytes read total (min, med, max (stageId: taskId))<br>11.3 KiB (1700.0 B, 1836.0 B, 2.4 KiB (stage 328080.0: task 921596))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>12 ms (1 ms, 2 ms, 3 ms (stage 328080.0: task 921596))<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 328079.0: task 921470))" tooltip="Exchange hashpartitioning(label#3525986, 30), ENSURE_REQUIREMENTS, [plan_id=1010745]"];
subgraph cluster8 {
isCluster="true";
id="cluster8";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n5.3 s (97 ms, 137 ms, 288 ms (stage 328079.0: task 921471))";
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>4.6 s (95 ms, 135 ms, 230 ms (stage 328079.0: task 921465))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 328079.0: task 921470))<br>number of output rows: 240<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[label#3525986], functions=[])"];
10 [id="node10" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [concat(kpi:, kpi#3525985) AS label#3525986]"];
11 [id="node11" labelType="html" label="<b>Generate</b><br><br>number of output rows: 1,780,416" tooltip="Generate explode(_extract_label#3526009), true, [kpi#3525985]"];
12 [id="node12" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [coalesce(kpis#3525982, []).label AS _extract_label#3526009]"];
13 [id="node13" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 222,552<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 328079.0: task 921470))" tooltip="SortMergeJoin [shardId#3525977, worklistShardItemId#3525978L], [shardId#3525818, worklistShardItemId#3525827L], 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.7 s (38 ms, 52 ms, 76 ms (stage 328079.0: task 921499))<br>peak memory total (min, med, max (stageId: taskId))<br>718.0 MiB (23.0 MiB, 23.0 MiB, 25.0 MiB (stage 328079.0: task 921464))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 328079.0: task 921470))" tooltip="Sort [shardId#3525977 ASC NULLS FIRST, worklistShardItemId#3525978L ASC NULLS FIRST], false, 0"];
}
16 [id="node16" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 1,194,196<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 1,194,196<br>local bytes read total (min, med, max (stageId: taskId))<br>7.2 MiB (226.0 KiB, 234.2 KiB, 269.9 KiB (stage 328079.0: task 921514))<br>merged fetch fallback count: 0<br>local blocks read: 223<br>remote merged chunks fetched: 0<br>remote blocks read: 677<br>data size total (min, med, max (stageId: taskId))<br>656.0 MiB (21.7 MiB, 21.9 MiB, 22.0 MiB (stage 328077.0: task 921150))<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>100 ms (3 ms, 3 ms, 3 ms (stage 328077.0: task 921369))<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 328079.0: task 921470))<br>remote bytes read total (min, med, max (stageId: taskId))<br>21.8 MiB (719.0 KiB, 752.0 KiB, 771.6 KiB (stage 328079.0: task 921499))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>323 ms (5 ms, 11 ms, 24 ms (stage 328079.0: task 921548))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>29.0 MiB (982.4 KiB, 989.9 KiB, 998.1 KiB (stage 328077.0: task 921365))" tooltip="Exchange hashpartitioning(shardId#3525977, worklistShardItemId#3525978L, 30), ENSURE_REQUIREMENTS, [plan_id=1010730]"];
subgraph cluster17 {
isCluster="true";
id="cluster17";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n29.5 s (787 ms, 916 ms, 1.3 s (stage 328077.0: task 921202))";
tooltip="WholeStageCodegen (1)";
18 [id="node18" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3525977, worklistShardItemId#3525978L, kpis#3525982]"];
19 [id="node19" labelType="html" label="<b>Filter</b><br><br>number of output rows: 1,194,196" tooltip="Filter (isnotnull(qty#3525979) AND (isnotnull(shardId#3525977) AND isnotnull(worklistShardItemId#3525978L)))"];
20 [id="node20" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 2,388,392" tooltip="Scan ExistingRDD[shardId#3525977,worklistShardItemId#3525978L,qty#3525979,demandChannel#3525980,demandStream#3525981,kpis#3525982]"];
}
subgraph cluster21 {
isCluster="true";
id="cluster21";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n6.4 s (98 ms, 137 ms, 414 ms (stage 328079.0: task 921471))";
tooltip="WholeStageCodegen (3)";
22 [id="node22" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>213 ms (1 ms, 2 ms, 19 ms (stage 328079.0: task 921467))<br>peak memory total (min, med, max (stageId: taskId))<br>63.8 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 328079.0: task 921470))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 328079.0: task 921470))" tooltip="Sort [shardId#3525818 ASC NULLS FIRST, worklistShardItemId#3525827L ASC NULLS FIRST], false, 0"];
}
23 [id="node23" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 111,276<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 111,276<br>local bytes read total (min, med, max (stageId: taskId))<br>400.3 KiB (8.2 KiB, 16.8 KiB, 17.4 KiB (stage 328079.0: task 921496))<br>merged fetch fallback count: 0<br>local blocks read: 470<br>remote merged chunks fetched: 0<br>remote blocks read: 430<br>data size total (min, med, max (stageId: taskId))<br>4.2 MiB (136.7 KiB, 145.4 KiB, 153.4 KiB (stage 328078.0: task 921152))<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>55 ms (1 ms, 1 ms, 2 ms (stage 328078.0: task 921154))<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>28 ms (0 ms, 0 ms, 15 ms (stage 328079.0: task 921548))<br>remote bytes read total (min, med, max (stageId: taskId))<br>366.5 KiB (8.2 KiB, 8.7 KiB, 17.4 KiB (stage 328079.0: task 921466))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>81 ms (1 ms, 1 ms, 18 ms (stage 328079.0: task 921548))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>766.8 KiB (24.3 KiB, 25.6 KiB, 26.7 KiB (stage 328078.0: task 921152))" tooltip="Exchange hashpartitioning(shardId#3525818, worklistShardItemId#3525827L, 30), ENSURE_REQUIREMENTS, [plan_id=1010713]"];
24 [id="node24" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 111,276" tooltip="InMemoryTableScan [shardId#3525818, worklistShardItemId#3525827L]"];
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#3525818, item#3525826L AS worklistShardItemId#3525827L]"];
27 [id="node27" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#3525830), [shardId#3525818], false, [item#3525826L]"];
28 [id="node28" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#3525818, items#3525820.worklistShardItemId AS _extract_worklistShardItemId#3525830]"];
29 [id="node29" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(shardId#3525818) AND ((shardId#3525818 = 0_2_10000000532) AND (isOptimal#3525822 <=> false))) AND ((size(items#3525820.worklistShardItemId, true) > 0) AND isnotnull(items#3525820.worklistShardItemId)))"];
30 [id="node30" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#3525818,orderProposalId#3525819L,items#3525820,optimizationGroups#3525821,isOptimal#3525822,lastModified#3525823,optimizationInsights#3525824]"];
}
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;
}