digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n9 ms (0 ms, 0 ms, 3 ms (stage 46926.0: task 130744))";
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>2 ms (0 ms, 0 ms, 2 ms (stage 46926.0: task 130744))<br>peak memory total (min, med, max (stageId: taskId))<br>7.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 46926.0: task 130744))<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 46925.0: task 130722))<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>8 ms (0 ms, 0 ms, 0 ms (stage 46925.0: task 130717))<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: 0 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 46925.0: task 130722))" tooltip="Exchange hashpartitioning(shardId#485078, 20), ENSURE_REQUIREMENTS, [plan_id=259435]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n945 ms (1 ms, 92 ms, 95 ms (stage 46925.0: task 130722))";
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>23 ms (0 ms, 1 ms, 3 ms (stage 46925.0: task 130722))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 46925.0: task 130722))<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>142.5 KiB (2036.0 B, 6.5 KiB, 11.7 KiB (stage 46925.0: task 130738))<br>merged fetch fallback count: 0<br>local blocks read: 214<br>remote merged chunks fetched: 0<br>remote blocks read: 120<br>data size total (min, med, max (stageId: taskId))<br>538.6 KiB (17.5 KiB, 27.7 KiB, 35.3 KiB (stage 46924.0: task 130710))<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>19 ms (0 ms, 1 ms, 1 ms (stage 46924.0: task 130683))<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>1 ms (0 ms, 0 ms, 1 ms (stage 46925.0: task 130714))<br>remote bytes read total (min, med, max (stageId: taskId))<br>75.1 KiB (1434.0 B, 2.8 KiB, 9.4 KiB (stage 46925.0: task 130722))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>19 ms (0 ms, 1 ms, 2 ms (stage 46925.0: task 130722))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>217.6 KiB (8.0 KiB, 10.9 KiB, 13.2 KiB (stage 46924.0: task 130710))" tooltip="Exchange hashpartitioning(worklistShardItemId#485079L, 20), REPARTITION_BY_NUM, [plan_id=259406]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n375 ms (3 ms, 32 ms, 36 ms (stage 46924.0: task 130683))";
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>37 ms (1 ms, 2 ms, 3 ms (stage 46924.0: task 130686))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 46924.0: task 130687))<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 46924.0: task 130687))" 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>114.2 KiB (4.3 KiB, 5.5 KiB, 7.9 KiB (stage 46924.0: task 130705))<br>merged fetch fallback count: 0<br>local blocks read: 179<br>remote merged chunks fetched: 0<br>remote blocks read: 176<br>data size total (min, med, max (stageId: taskId))<br>538.6 KiB (21.0 KiB, 27.1 KiB, 38.8 KiB (stage 46923.0: task 130633))<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>22 ms (0 ms, 1 ms, 1 ms (stage 46923.0: task 130633))<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 46924.0: task 130687))<br>remote bytes read total (min, med, max (stageId: taskId))<br>108.1 KiB (3.8 KiB, 5.4 KiB, 6.8 KiB (stage 46924.0: task 130704))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>7 ms (0 ms, 0 ms, 1 ms (stage 46924.0: task 130686))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>222.3 KiB (9.4 KiB, 11.0 KiB, 14.5 KiB (stage 46923.0: task 130633))" tooltip="Exchange hashpartitioning(demandChannel#485082, shardId#485078, kpis#485084, version#485080, qty#485081, worklistShardItemId#485079L, demandStream#485083, 20), ENSURE_REQUIREMENTS, [plan_id=259402]"];
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 46923.0: task 130637))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>2.4 s (66 ms, 169 ms, 173 ms (stage 46923.0: task 130639))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 46923.0: task 130637))<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 46923.0: task 130637))" tooltip="HashAggregate(keys=[demandChannel#485082, shardId#485078, knownfloatingpointnormalized(transform(kpis#485084, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#630771)) null else named_struct(label, lambda arg#630771.label, dateTime, lambda arg#630771.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#630771.value)))), lambda arg#630771, 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.4 s (66 ms, 169 ms, 173 ms (stage 46923.0: task 130639))";
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;
}