digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n22 ms (0 ms, 2 ms, 4 ms (stage 42568.0: task 122046))";
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>6 ms (0 ms, 0 ms, 3 ms (stage 42568.0: task 122046))<br>peak memory total (min, med, max (stageId: taskId))<br>7.0 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 42568.0: task 122046))<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: 960.0 B<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>800.0 B (40.0 B, 40.0 B, 40.0 B (stage 42567.0: task 122027))<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>12 ms (0 ms, 0 ms, 2 ms (stage 42567.0: task 122032))<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: 960.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 42567.0: task 122027))" tooltip="Exchange hashpartitioning(shardId#485078, 20), ENSURE_REQUIREMENTS, [plan_id=247920]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n950 ms (1 ms, 93 ms, 96 ms (stage 42567.0: task 122030))";
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>15 ms (0 ms, 1 ms, 3 ms (stage 42567.0: task 122030))<br>peak memory total (min, med, max (stageId: taskId))<br>5.0 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 42567.0: task 122027))<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.7 KiB (3.7 KiB, 6.0 KiB, 8.1 KiB (stage 42567.0: task 122037))<br>merged fetch fallback count: 0<br>local blocks read: 180<br>remote merged chunks fetched: 0<br>remote blocks read: 172<br>data size total (min, med, max (stageId: taskId))<br>538.6 KiB (16.0 KiB, 27.6 KiB, 34.6 KiB (stage 42566.0: task 122021))<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 42566.0: task 122011))<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 42567.0: task 122027))<br>remote bytes read total (min, med, max (stageId: taskId))<br>109.9 KiB (2.7 KiB, 5.8 KiB, 8.9 KiB (stage 42567.0: task 122027))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>28 ms (1 ms, 1 ms, 2 ms (stage 42567.0: task 122027))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>222.6 KiB (8.1 KiB, 11.6 KiB, 13.2 KiB (stage 42566.0: task 122025))" tooltip="Exchange hashpartitioning(worklistShardItemId#485079L, 20), REPARTITION_BY_NUM, [plan_id=247891]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n383 ms (5 ms, 31 ms, 33 ms (stage 42566.0: task 122012))";
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>49 ms (1 ms, 2 ms, 4 ms (stage 42566.0: task 122010))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 42566.0: task 122007))<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 42566.0: task 122007))" 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>113.2 KiB (4.1 KiB, 5.7 KiB, 7.4 KiB (stage 42566.0: task 122023))<br>merged fetch fallback count: 0<br>local blocks read: 181<br>remote merged chunks fetched: 0<br>remote blocks read: 169<br>data size total (min, med, max (stageId: taskId))<br>538.6 KiB (17.8 KiB, 27.9 KiB, 33.1 KiB (stage 42565.0: task 121990))<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 42565.0: task 121987))<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 42566.0: task 122007))<br>remote bytes read total (min, med, max (stageId: taskId))<br>107.5 KiB (2.3 KiB, 5.5 KiB, 6.7 KiB (stage 42566.0: task 122007))<br>number of partitions: 20<br>remote reqs duration total (min, med, max (stageId: taskId))<br>17 ms (0 ms, 1 ms, 1 ms (stage 42566.0: task 122007))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>220.7 KiB (8.6 KiB, 11.0 KiB, 12.9 KiB (stage 42565.0: task 121989))" tooltip="Exchange hashpartitioning(demandChannel#485082, shardId#485078, kpis#485084, version#485080, qty#485081, worklistShardItemId#485079L, demandStream#485083, 20), ENSURE_REQUIREMENTS, [plan_id=247887]"];
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 42565.0: task 121989))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>3.4 s (107 ms, 197 ms, 220 ms (stage 42565.0: task 121990))<br>peak memory total (min, med, max (stageId: taskId))<br>45.0 MiB (2.3 MiB, 2.3 MiB, 2.3 MiB (stage 42565.0: task 121989))<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 42565.0: task 121989))" tooltip="HashAggregate(keys=[demandChannel#485082, shardId#485078, knownfloatingpointnormalized(transform(kpis#485084, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#585041)) null else named_struct(label, lambda arg#585041.label, dateTime, lambda arg#585041.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#585041.value)))), lambda arg#585041, 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))\n3.4 s (107 ms, 197 ms, 220 ms (stage 42565.0: task 121986))";
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;
}