digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n23 ms (0 ms, 2 ms, 5 ms (stage 54890.0: task 143628))";
tooltip="WholeStageCodegen (2)";
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>7 ms (0 ms, 0 ms, 4 ms (stage 54890.0: task 143628))<br>peak memory total (min, med, max (stageId: taskId))<br>7.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 54890.0: task 143628))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#485078], functions=[max(version#485080)])"];
}
2 [id="node2" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 20<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 20<br>local bytes read: 480.0 B<br>merged fetch fallback count: 0<br>local blocks read: 5<br>remote merged chunks fetched: 0<br>remote blocks read: 15<br>data size total (min, med, max (stageId: taskId))<br>800.0 B (40.0 B, 40.0 B, 40.0 B (stage 54889.0: task 143617))<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 54889.0: task 143609))<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: 1440.0 B<br>number of partitions: 20<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>1920.0 B (96.0 B, 96.0 B, 96.0 B (stage 54889.0: task 143617))" tooltip="Exchange hashpartitioning(shardId#485078, 20), ENSURE_REQUIREMENTS, [plan_id=277235]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n600 ms (1 ms, 44 ms, 74 ms (stage 54889.0: task 143608))";
tooltip="WholeStageCodegen (1)";
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>14 ms (0 ms, 1 ms, 2 ms (stage 54889.0: task 143609))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 54889.0: task 143617))<br>number of output rows: 20<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#485078], functions=[partial_max(version#485080)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 817" tooltip="InMemoryTableScan [shardId#485078, version#485080]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 817<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 817<br>local bytes read total (min, med, max (stageId: taskId))<br>112.5 KiB (3.4 KiB, 5.4 KiB, 7.1 KiB (stage 54889.0: task 143617))<br>merged fetch fallback count: 0<br>local blocks read: 175<br>remote merged chunks fetched: 0<br>remote blocks read: 171<br>data size total (min, med, max (stageId: taskId))<br>538.6 KiB (18.9 KiB, 27.1 KiB, 33.3 KiB (stage 54888.0: task 143593))<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>23 ms (0 ms, 1 ms, 1 ms (stage 54888.0: task 143592))<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 54889.0: task 143617))<br>remote bytes read total (min, med, max (stageId: taskId))<br>113.2 KiB (622.0 B, 6.0 KiB, 7.6 KiB (stage 54889.0: task 143611))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>22 ms (0 ms, 1 ms, 2 ms (stage 54889.0: task 143609))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>225.7 KiB (9.0 KiB, 11.6 KiB, 13.5 KiB (stage 54888.0: task 143593))" tooltip="Exchange hashpartitioning(worklistShardItemId#485079L, 20), REPARTITION_BY_NUM, [plan_id=277206]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n122 ms (4 ms, 6 ms, 7 ms (stage 54888.0: task 143596))";
tooltip="WholeStageCodegen (2)";
8 [id="node8" 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>48 ms (1 ms, 2 ms, 4 ms (stage 54888.0: task 143595))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 54888.0: task 143590))<br>number of output rows: 817<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 54888.0: task 143590))" tooltip="HashAggregate(keys=[demandChannel#485082, shardId#485078, kpis#485084, version#485080, qty#485081, worklistShardItemId#485079L, demandStream#485083], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 817<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 817<br>local bytes read total (min, med, max (stageId: taskId))<br>110.8 KiB (3.7 KiB, 5.5 KiB, 7.4 KiB (stage 54888.0: task 143593))<br>merged fetch fallback count: 0<br>local blocks read: 180<br>remote merged chunks fetched: 0<br>remote blocks read: 177<br>data size total (min, med, max (stageId: taskId))<br>538.6 KiB (15.8 KiB, 27.2 KiB, 36.6 KiB (stage 54887.0: task 143568))<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, 1 ms, 1 ms (stage 54887.0: task 143570))<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 54888.0: task 143590))<br>remote bytes read total (min, med, max (stageId: taskId))<br>113.1 KiB (4.3 KiB, 5.6 KiB, 7.2 KiB (stage 54888.0: task 143600))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>18 ms (0 ms, 1 ms, 2 ms (stage 54888.0: task 143595))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>223.9 KiB (7.8 KiB, 11.3 KiB, 13.8 KiB (stage 54887.0: task 143569))" tooltip="Exchange hashpartitioning(demandChannel#485082, shardId#485078, kpis#485084, version#485080, qty#485081, worklistShardItemId#485079L, demandStream#485083, 20), ENSURE_REQUIREMENTS, [plan_id=277202]"];
10 [id="node10" labelType="html" label="<b>HashAggregate</b><br><br>spill size total (min, med, max (stageId: taskId))<br>0.0 B (0.0 B, 0.0 B, 0.0 B (stage 54887.0: task 143574))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.6 s (65 ms, 168 ms, 199 ms (stage 54887.0: task 143577))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 54887.0: task 143574))<br>number of output rows: 817<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1, 1, 1 (stage 54887.0: task 143574))" tooltip="HashAggregate(keys=[demandChannel#485082, shardId#485078, knownfloatingpointnormalized(transform(kpis#485084, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#690444)) null else named_struct(label, lambda arg#690444.label, dateTime, lambda arg#690444.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#690444.value)))), lambda arg#690444, false))) AS kpis#485084, version#485080, knownfloatingpointnormalized(normalizenanandzero(qty#485081)) AS qty#485081, worklistShardItemId#485079L, demandStream#485083], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (65 ms, 168 ms, 199 ms (stage 54887.0: task 143577))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 817" tooltip="Scan ExistingRDD[shardId#485078,worklistShardItemId#485079L,version#485080,qty#485081,demandChannel#485082,demandStream#485083,kpis#485084]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}