digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n7 ms (0 ms, 0 ms, 4 ms (stage 311367.0: task 896060))";
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>3 ms (0 ms, 0 ms, 3 ms (stage 311367.0: task 896060))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 311367.0: task 896060))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3427928], functions=[max(version#3427930)])"];
}
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: 1056.0 B<br>merged fetch fallback count: 0<br>local blocks read: 11<br>remote merged chunks fetched: 0<br>remote blocks read: 19<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 311366.0: task 896030))<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>39 ms (0 ms, 0 ms, 20 ms (stage 311366.0: task 896046))<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: 1824.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.8 KiB (96.0 B, 96.0 B, 96.0 B (stage 311366.0: task 896030))" tooltip="Exchange hashpartitioning(shardId#3427928, 30), ENSURE_REQUIREMENTS, [plan_id=985574]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n799 ms (5 ms, 9 ms, 106 ms (stage 311366.0: task 896026))";
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>268 ms (3 ms, 6 ms, 25 ms (stage 311366.0: task 896026))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 311366.0: task 896030))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3427928], functions=[partial_max(version#3427930)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 159,872" tooltip="InMemoryTableScan [shardId#3427928, version#3427930]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 159,872<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 159,872<br>local bytes read total (min, med, max (stageId: taskId))<br>2.6 MiB (66.2 KiB, 70.1 KiB, 123.3 KiB (stage 311366.0: task 896047))<br>merged fetch fallback count: 0<br>local blocks read: 418<br>remote merged chunks fetched: 0<br>remote blocks read: 482<br>data size total (min, med, max (stageId: taskId))<br>102.8 MiB (3.3 MiB, 3.4 MiB, 3.5 MiB (stage 311365.0: task 895993))<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>62 ms (1 ms, 1 ms, 3 ms (stage 311365.0: task 896009))<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>8 ms (0 ms, 0 ms, 7 ms (stage 311366.0: task 896053))<br>remote bytes read total (min, med, max (stageId: taskId))<br>3.0 MiB (65.7 KiB, 116.7 KiB, 126.8 KiB (stage 311366.0: task 896029))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>55 ms (1 ms, 1 ms, 15 ms (stage 311366.0: task 896053))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>5.5 MiB (182.2 KiB, 189.3 KiB, 193.4 KiB (stage 311365.0: task 895993))" tooltip="Exchange hashpartitioning(worklistShardItemId#3427929L, 30), REPARTITION_BY_NUM, [plan_id=985545]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (21 ms, 39 ms, 63 ms (stage 311365.0: task 895986))";
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>550 ms (9 ms, 17 ms, 41 ms (stage 311365.0: task 896007))<br>peak memory total (min, med, max (stageId: taskId))<br>127.5 MiB (4.3 MiB, 4.3 MiB, 4.3 MiB (stage 311365.0: task 895987))<br>number of output rows: 159,872<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.2, 1.2, 1.2 (stage 311365.0: task 895987))" tooltip="HashAggregate(keys=[demandChannel#3427932, shardId#3427928, kpis#3427934, version#3427930, qty#3427931, worklistShardItemId#3427929L, demandStream#3427933], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 159,872<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 159,872<br>local bytes read total (min, med, max (stageId: taskId))<br>2.4 MiB (61.3 KiB, 93.5 KiB, 98.3 KiB (stage 311365.0: task 896005))<br>merged fetch fallback count: 0<br>local blocks read: 395<br>remote merged chunks fetched: 0<br>remote blocks read: 505<br>data size total (min, med, max (stageId: taskId))<br>102.8 MiB (3.3 MiB, 3.4 MiB, 3.6 MiB (stage 311364.0: task 895940))<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>59 ms (1 ms, 1 ms, 2 ms (stage 311364.0: task 895947))<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>13 ms (0 ms, 0 ms, 8 ms (stage 311365.0: task 896011))<br>remote bytes read total (min, med, max (stageId: taskId))<br>3.1 MiB (91.6 KiB, 96.3 KiB, 131.8 KiB (stage 311365.0: task 896016))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>235 ms (4 ms, 4 ms, 32 ms (stage 311365.0: task 895986))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>5.6 MiB (181.3 KiB, 190.0 KiB, 195.6 KiB (stage 311364.0: task 895966))" tooltip="Exchange hashpartitioning(demandChannel#3427932, shardId#3427928, kpis#3427934, version#3427930, qty#3427931, worklistShardItemId#3427929L, demandStream#3427933, 30), ENSURE_REQUIREMENTS, [plan_id=985541]"];
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 311364.0: task 895948))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>9.0 s (119 ms, 315 ms, 636 ms (stage 311364.0: task 895947))<br>peak memory total (min, med, max (stageId: taskId))<br>127.5 MiB (4.3 MiB, 4.3 MiB, 4.3 MiB (stage 311364.0: task 895948))<br>number of output rows: 159,872<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.2, 1.2, 1.2 (stage 311364.0: task 895948))" tooltip="HashAggregate(keys=[demandChannel#3427932, shardId#3427928, knownfloatingpointnormalized(transform(kpis#3427934, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3428049)) null else named_struct(label, lambda arg#3428049.label, dateTime, lambda arg#3428049.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3428049.value)))), lambda arg#3428049, false))) AS kpis#3427934, version#3427930, knownfloatingpointnormalized(normalizenanandzero(qty#3427931)) AS qty#3427931, worklistShardItemId#3427929L, demandStream#3427933], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n9.0 s (119 ms, 315 ms, 636 ms (stage 311364.0: task 895947))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 159,872" tooltip="Scan ExistingRDD[shardId#3427928,worklistShardItemId#3427929L,version#3427930,qty#3427931,demandChannel#3427932,demandStream#3427933,kpis#3427934]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}