digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n270 ms (0 ms, 0 ms, 53 ms (stage 341137.0: task 947189))";
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>4 ms (0 ms, 0 ms, 4 ms (stage 341137.0: task 947230))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 341137.0: task 947230))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3614481], functions=[max(version#3614483)])"];
}
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: 2.8 KiB<br>merged fetch fallback count: 0<br>local blocks read: 30<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 341136.0: task 947146))<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>15 ms (0 ms, 0 ms, 0 ms (stage 341136.0: task 947167))<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>2.8 KiB (96.0 B, 96.0 B, 96.0 B (stage 341136.0: task 947146))" tooltip="Exchange hashpartitioning(shardId#3614481, 30), ENSURE_REQUIREMENTS, [plan_id=1034654]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n376 ms (4 ms, 6 ms, 87 ms (stage 341136.0: task 947146))";
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>175 ms (3 ms, 4 ms, 33 ms (stage 341136.0: task 947173))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 341136.0: task 947146))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3614481], functions=[partial_max(version#3614483)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 159,872" tooltip="InMemoryTableScan [shardId#3614481, version#3614483]"];
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>5.5 MiB (182.6 KiB, 188.9 KiB, 197.8 KiB (stage 341136.0: task 947156))<br>merged fetch fallback count: 0<br>local blocks read: 900<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>102.8 MiB (3.3 MiB, 3.4 MiB, 3.5 MiB (stage 341135.0: task 947116))<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>90 ms (1 ms, 2 ms, 29 ms (stage 341135.0: task 947131))<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 341136.0: task 947146))<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>5.5 MiB (182.1 KiB, 189.3 KiB, 193.6 KiB (stage 341135.0: task 947116))" tooltip="Exchange hashpartitioning(worklistShardItemId#3614482L, 30), REPARTITION_BY_NUM, [plan_id=1034625]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (16 ms, 26 ms, 73 ms (stage 341135.0: task 947109))";
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>492 ms (9 ms, 13 ms, 42 ms (stage 341135.0: task 947114))<br>peak memory total (min, med, max (stageId: taskId))<br>127.5 MiB (4.3 MiB, 4.3 MiB, 4.3 MiB (stage 341135.0: task 947108))<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 341135.0: task 947108))" tooltip="HashAggregate(keys=[demandChannel#3614485, shardId#3614481, kpis#3614487, version#3614483, qty#3614484, worklistShardItemId#3614482L, demandStream#3614486], 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>3.1 MiB (104.1 KiB, 107.2 KiB, 110.4 KiB (stage 341135.0: task 947117))<br>merged fetch fallback count: 0<br>local blocks read: 510<br>remote merged chunks fetched: 0<br>remote blocks read: 390<br>data size total (min, med, max (stageId: taskId))<br>102.8 MiB (3.3 MiB, 3.4 MiB, 3.6 MiB (stage 341134.0: task 947084))<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>61 ms (1 ms, 1 ms, 2 ms (stage 341134.0: task 947082))<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, 13 ms (stage 341135.0: task 947136))<br>remote bytes read total (min, med, max (stageId: taskId))<br>2.4 MiB (75.9 KiB, 82.6 KiB, 87.2 KiB (stage 341135.0: task 947142))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>162 ms (3 ms, 4 ms, 28 ms (stage 341135.0: task 947136))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>5.6 MiB (181.2 KiB, 189.9 KiB, 195.6 KiB (stage 341134.0: task 947092))" tooltip="Exchange hashpartitioning(demandChannel#3614485, shardId#3614481, kpis#3614487, version#3614483, qty#3614484, worklistShardItemId#3614482L, demandStream#3614486, 30), ENSURE_REQUIREMENTS, [plan_id=1034621]"];
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 341134.0: task 947065))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>8.7 s (112 ms, 336 ms, 628 ms (stage 341134.0: task 947058))<br>peak memory total (min, med, max (stageId: taskId))<br>127.5 MiB (4.3 MiB, 4.3 MiB, 4.3 MiB (stage 341134.0: task 947065))<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 341134.0: task 947065))" tooltip="HashAggregate(keys=[demandChannel#3614485, shardId#3614481, knownfloatingpointnormalized(transform(kpis#3614487, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3614581)) null else named_struct(label, lambda arg#3614581.label, dateTime, lambda arg#3614581.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3614581.value)))), lambda arg#3614581, false))) AS kpis#3614487, version#3614483, knownfloatingpointnormalized(normalizenanandzero(qty#3614484)) AS qty#3614484, worklistShardItemId#3614482L, demandStream#3614486], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n8.7 s (112 ms, 336 ms, 628 ms (stage 341134.0: task 947058))";
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#3614481,worklistShardItemId#3614482L,version#3614483,qty#3614484,demandChannel#3614485,demandStream#3614486,kpis#3614487]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}