digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (5)\n \nduration: total (min, med, max (stageId: taskId))\n1 ms (0 ms, 0 ms, 1 ms (stage 3726170.0: task 6724825))";
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>1 ms (0 ms, 0 ms, 1 ms (stage 3726170.0: task 6724825))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 3726170.0: task 6724826))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#15069594], functions=[])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 18<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 18<br>local bytes read: 1656.0 B<br>merged fetch fallback count: 0<br>local blocks read: 18<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>576.0 B (32.0 B, 32.0 B, 32.0 B (stage 3726169.0: task 6724799))<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>7 ms (0 ms, 0 ms, 0 ms (stage 3726169.0: task 6724799))<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: 30<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>1656.0 B (92.0 B, 92.0 B, 92.0 B (stage 3726169.0: task 6724799))" tooltip="Exchange hashpartitioning(shardId#15069594, 30), ENSURE_REQUIREMENTS, [plan_id=7842242]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (4)\n \nduration: total (min, med, max (stageId: taskId))\n79 ms (0 ms, 3 ms, 5 ms (stage 3726169.0: task 6724802))";
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>41 ms (0 ms, 2 ms, 3 ms (stage 3726169.0: task 6724798))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 3726169.0: task 6724805))<br>number of output rows: 18<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#15069594], functions=[])"];
5 [id="node5" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15069594]"];
6 [id="node6" labelType="html" label="<b>Generate</b><br><br>number of output rows: 4,662" tooltip="Generate explode(kpis#15069669), [shardId#15069594], true, [kpi#15069671]"];
7 [id="node7" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15069594, coalesce(kpis#15069668, []) AS kpis#15069669]"];
8 [id="node8" labelType="html" label="<b>SortMergeJoin</b><br><br>number of output rows: 333<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3726169.0: task 6724805))" tooltip="SortMergeJoin [shardId#15069663, worklistShardItemId#15069664L], [shardId#15069594, worklistShardItemId#15069603L], RightOuter"];
}
subgraph cluster9 {
isCluster="true";
id="cluster9";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n50 ms (1 ms, 3 ms, 4 ms (stage 3726169.0: task 6724798))";
tooltip="WholeStageCodegen (2)";
10 [id="node10" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 3726169.0: task 6724799))<br>peak memory total (min, med, max (stageId: taskId))<br>37.1 MiB (2.1 MiB, 2.1 MiB, 2.1 MiB (stage 3726169.0: task 6724799))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3726169.0: task 6724799))" tooltip="Sort [shardId#15069663 ASC NULLS FIRST, worklistShardItemId#15069664L ASC NULLS FIRST], false, 0"];
}
11 [id="node11" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 365<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 341<br>local bytes read total (min, med, max (stageId: taskId))<br>28.4 KiB (562.0 B, 1198.0 B, 3.3 KiB (stage 3726169.0: task 6724798))<br>merged fetch fallback count: 0<br>local blocks read: 47<br>remote merged chunks fetched: 0<br>remote blocks read: 194<br>data size total (min, med, max (stageId: taskId))<br>330.8 KiB (7.3 KiB, 10.9 KiB, 14.5 KiB (stage 3726168.0: task 6724767))<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 3726168.0: task 6724786))<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>11 ms (0 ms, 1 ms, 1 ms (stage 3726169.0: task 6724800))<br>remote bytes read total (min, med, max (stageId: taskId))<br>117.7 KiB (564.0 B, 5.3 KiB, 13.3 KiB (stage 3726169.0: task 6724798))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>46 ms (0 ms, 2 ms, 5 ms (stage 3726169.0: task 6724797))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>151.4 KiB (3.3 KiB, 4.8 KiB, 7.1 KiB (stage 3726168.0: task 6724784))" tooltip="Exchange hashpartitioning(shardId#15069663, worklistShardItemId#15069664L, 30), ENSURE_REQUIREMENTS, [plan_id=7842227]"];
subgraph cluster12 {
isCluster="true";
id="cluster12";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n111 ms (3 ms, 4 ms, 5 ms (stage 3726168.0: task 6724752))";
tooltip="WholeStageCodegen (1)";
13 [id="node13" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15069663, worklistShardItemId#15069664L, kpis#15069668]"];
14 [id="node14" labelType="html" label="<b>Filter</b><br><br>number of output rows: 365" tooltip="Filter (isnotnull(qty#15069665) AND (isnotnull(shardId#15069663) AND isnotnull(worklistShardItemId#15069664L)))"];
15 [id="node15" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 440" tooltip="Scan ExistingRDD[shardId#15069663,worklistShardItemId#15069664L,qty#15069665,demandChannel#15069666,demandStream#15069667,kpis#15069668]"];
}
subgraph cluster16 {
isCluster="true";
id="cluster16";
label="WholeStageCodegen (3)\n \nduration: total (min, med, max (stageId: taskId))\n299 ms (1 ms, 3 ms, 43 ms (stage 3726169.0: task 6724802))";
tooltip="WholeStageCodegen (3)";
17 [id="node17" labelType="html" label="<b>Sort</b><br><br>sort time total (min, med, max (stageId: taskId))<br>0 ms (0 ms, 0 ms, 0 ms (stage 3726169.0: task 6724805))<br>peak memory total (min, med, max (stageId: taskId))<br>37.9 MiB (64.0 KiB, 2.1 MiB, 2.1 MiB (stage 3726169.0: task 6724799))<br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 3726169.0: task 6724805))" tooltip="Sort [shardId#15069594 ASC NULLS FIRST, worklistShardItemId#15069603L ASC NULLS FIRST], false, 0"];
}
18 [id="node18" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 25<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 25<br>local bytes read total (min, med, max (stageId: taskId))<br>1811.0 B (97.0 B, 97.0 B, 113.0 B (stage 3726169.0: task 6724798))<br>merged fetch fallback count: 0<br>local blocks read: 18<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size: 1000.0 B<br>local merged bytes read: 0.0 B<br>local merged chunks fetched: 0<br>shuffle write time: 0 ms<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 3726169.0: task 6724799))<br>remote bytes read: 0.0 B<br>number of partitions: 30<br>remote reqs duration: 0 ms<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written: 1811.0 B" tooltip="Exchange hashpartitioning(shardId#15069594, worklistShardItemId#15069603L, 30), ENSURE_REQUIREMENTS, [plan_id=7842215]"];
19 [id="node19" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 25" tooltip="InMemoryTableScan [shardId#15069594, worklistShardItemId#15069603L]"];
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#15069594, item#15069602L AS worklistShardItemId#15069603L]"];
22 [id="node22" labelType="html" label="<b>Generate</b><br><br>number of output rows: 0" tooltip="Generate explode(_extract_worklistShardItemId#15069606), [shardId#15069594], false, [item#15069602L]"];
23 [id="node23" labelType="html" label="<br><b>Project</b><br><br>" tooltip="Project [shardId#15069594, items#15069596.worklistShardItemId AS _extract_worklistShardItemId#15069606]"];
24 [id="node24" labelType="html" label="<b>Filter</b><br><br>number of output rows: 0" tooltip="Filter ((isnotnull(shardId#15069594) AND ((shardId#15069594 = 0_1_10000001452) AND (isOptimal#15069598 <=> false))) AND ((size(items#15069596.worklistShardItemId, true) > 0) AND isnotnull(items#15069596.worklistShardItemId)))"];
25 [id="node25" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 0" tooltip="Scan ExistingRDD[shardId#15069594,orderProposalId#15069595L,items#15069596,optimizationGroups#15069597,isOptimal#15069598,lastModified#15069599,optimizationInsights#15069600]"];
}
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;
}