digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n215 ms (0 ms, 14 ms, 17 ms (stage 1656438.0: task 4360430))";
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>36 ms (0 ms, 0 ms, 7 ms (stage 1656438.0: task 4360430))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1656438.0: task 4360431))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#16694775], 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: 2.2 KiB<br>merged fetch fallback count: 0<br>local blocks read: 25<br>remote merged chunks fetched: 0<br>remote blocks read: 5<br>data size total (min, med, max (stageId: taskId))<br>960.0 B (32.0 B, 32.0 B, 32.0 B (stage 1656437.0: task 4360402))<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>17 ms (0 ms, 0 ms, 1 ms (stage 1656437.0: task 4360419))<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: 460.0 B<br>number of partitions: 30<br>remote reqs duration: 1 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 1656437.0: task 4360402))" tooltip="Exchange hashpartitioning(shardId#16694775, 30), ENSURE_REQUIREMENTS, [plan_id=4963880]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n2.3 s (43 ms, 73 ms, 127 ms (stage 1656437.0: task 4360407))";
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.1 s (41 ms, 69 ms, 111 ms (stage 1656437.0: task 4360407))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1656437.0: task 4360402))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#16694775], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694775]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 561,344" tooltip="Generate explode(kpis#16694850), [shardId#16694775], true, [kpi#16694852]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694775, coalesce(kpis#16694849, []) AS kpis#16694850]"];
8 [id="node8" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 70,168<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1656437.0: task 4360402))" tooltip="SortMergeJoin [shardId#16694844, worklistShardItemId#16694845L], [shardId#16694775, worklistShardItemId#16694784L], RightOuter"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n4.1 s (42 ms, 73 ms, 296 ms (stage 1656437.0: task 4360407))";
tooltip="WholeStageCodegen (2)";
10 [id="node10" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>578 ms (12 ms, 21 ms, 26 ms (stage 1656437.0: task 4360410))<br>peak memory total (min, med, max (stageId: taskId))<br>315.0 MiB (10.5 MiB, 10.5 MiB, 10.5 MiB (stage 1656437.0: task 4360402))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1656437.0: task 4360402))" tooltip="Sort [shardId#16694844 ASC NULLS FIRST, worklistShardItemId#16694845L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 477,740<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 477,740<br>local bytes read total (min, med, max (stageId: taskId))<br>4.0 MiB (113.5 KiB, 140.6 KiB, 145.4 KiB (stage 1656437.0: task 4360423))<br>merged fetch fallback count: 0<br>local blocks read: 320<br>remote merged chunks fetched: 0<br>remote blocks read: 580<br>data size total (min, med, max (stageId: taskId))<br>262.4 MiB (8.6 MiB, 8.8 MiB, 8.8 MiB (stage 1656436.0: task 4360390))<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>94 ms (2 ms, 2 ms, 13 ms (stage 1656436.0: task 4360360))<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 1656437.0: task 4360402))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.3 MiB (239.6 KiB, 244.4 KiB, 276.8 KiB (stage 1656437.0: task 4360407))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>477 ms (2 ms, 12 ms, 45 ms (stage 1656437.0: task 4360416))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>11.3 MiB (381.0 KiB, 386.3 KiB, 389.9 KiB (stage 1656436.0: task 4360390))" tooltip="Exchange hashpartitioning(shardId#16694844, worklistShardItemId#16694845L, 30), ENSURE_REQUIREMENTS, [plan_id=4963865]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n10.5 s (263 ms, 323 ms, 496 ms (stage 1656436.0: task 4360394))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694844, worklistShardItemId#16694845L, kpis#16694849]"];
14 [id="node14" labelType="html" label="<b>Filter</b><br><br>number of output rows: 477,740" tooltip="Filter (isnotnull(qty#16694846) AND (isnotnull(shardId#16694844) AND isnotnull(worklistShardItemId#16694845L)))"];
15 [id="node15" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 955,480" tooltip="Scan ExistingRDD[shardId#16694844,worklistShardItemId#16694845L,qty#16694846,demandChannel#16694847,demandStream#16694848,kpis#16694849]"];
}
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n5.7 s (43 ms, 74 ms, 615 ms (stage 1656437.0: task 4360401))";
tooltip="WholeStageCodegen (3)";
17 [id="node17" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>87 ms (0 ms, 1 ms, 11 ms (stage 1656437.0: task 4360407))<br>peak memory total (min, med, max (stageId: taskId))<br>61.9 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 1656437.0: task 4360402))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 1656437.0: task 4360402))" tooltip="Sort [shardId#16694775 ASC NULLS FIRST, worklistShardItemId#16694784L ASC NULLS FIRST], false, 0"];
}
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 35,084<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 35,084<br>local bytes read total (min, med, max (stageId: taskId))<br>145.3 KiB (3.0 KiB, 5.1 KiB, 5.5 KiB (stage 1656437.0: task 4360417))<br>merged fetch fallback count: 0<br>local blocks read: 425<br>remote merged chunks fetched: 0<br>remote blocks read: 475<br>data size total (min, med, max (stageId: taskId))<br>1370.5 KiB (29.9 KiB, 47.5 KiB, 61.8 KiB (stage 1656435.0: task 4360372))<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 1656435.0: task 4360345))<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>103 ms (0 ms, 0 ms, 19 ms (stage 1656437.0: task 4360425))<br>remote bytes read total (min, med, max (stageId: taskId))<br>150.9 KiB (4.5 KiB, 4.7 KiB, 6.9 KiB (stage 1656437.0: task 4360401))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>407 ms (2 ms, 8 ms, 42 ms (stage 1656437.0: task 4360424))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>296.2 KiB (7.5 KiB, 10.2 KiB, 12.5 KiB (stage 1656435.0: task 4360372))" tooltip="Exchange hashpartitioning(shardId#16694775, worklistShardItemId#16694784L, 30), ENSURE_REQUIREMENTS, [plan_id=4963853]"];
19 [id="node19" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 35,084" tooltip="InMemoryTableScan [shardId#16694775, worklistShardItemId#16694784L]"];
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#16694775, item#16694783L AS worklistShardItemId#16694784L]"];
22 [id="node22" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#16694787), [shardId#16694775], false, [item#16694783L]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#16694775, items#16694777.worklistShardItemId AS _extract_worklistShardItemId#16694787]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(shardId#16694775) AND ((shardId#16694775 = 0_3_10000000548) AND (isOptimal#16694779 <=> false))) AND ((size(items#16694777.worklistShardItemId, true) > 0) AND isnotnull(items#16694777.worklistShardItemId)))"];
25 [id="node25" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#16694775,orderProposalId#16694776L,items#16694777,optimizationGroups#16694778,isOptimal#16694779,lastModified#16694780,optimizationInsights#16694781]"];
}
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;
}