digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n14 ms (0 ms, 0 ms, 6 ms (stage 305364.0: task 883173))";
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>9 ms (0 ms, 0 ms, 6 ms (stage 305364.0: task 883173))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 305364.0: task 883189))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3385610], functions=[max(version#3385612)])"];
}
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: 1920.0 B<br>merged fetch fallback count: 0<br>local blocks read: 20<br>remote merged chunks fetched: 0<br>remote blocks read: 10<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 305363.0: task 883112))<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 305363.0: task 883117))<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: 30<br>remote reqs duration: 3 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 305363.0: task 883112))" tooltip="Exchange hashpartitioning(shardId#3385610, 30), ENSURE_REQUIREMENTS, [plan_id=974580]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.7 s (10 ms, 13 ms, 222 ms (stage 305363.0: task 883119))";
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>654 ms (9 ms, 11 ms, 46 ms (stage 305363.0: task 883113))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 305363.0: task 883112))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3385610], functions=[partial_max(version#3385612)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 479,444" tooltip="InMemoryTableScan [shardId#3385610, version#3385612]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 479,444<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 479,444<br>local bytes read total (min, med, max (stageId: taskId))<br>8.0 MiB (249.9 KiB, 262.6 KiB, 306.2 KiB (stage 305363.0: task 883111))<br>merged fetch fallback count: 0<br>local blocks read: 440<br>remote merged chunks fetched: 0<br>remote blocks read: 460<br>data size total (min, med, max (stageId: taskId))<br>308.2 MiB (10.1 MiB, 10.3 MiB, 10.5 MiB (stage 305362.0: task 883083))<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>85 ms (2 ms, 2 ms, 3 ms (stage 305362.0: task 883086))<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 305363.0: task 883112))<br>remote bytes read total (min, med, max (stageId: taskId))<br>8.3 MiB (250.9 KiB, 293.7 KiB, 305.7 KiB (stage 305363.0: task 883112))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>245 ms (4 ms, 6 ms, 21 ms (stage 305363.0: task 883113))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.3 MiB (546.5 KiB, 556.1 KiB, 569.1 KiB (stage 305362.0: task 883083))" tooltip="Exchange hashpartitioning(worklistShardItemId#3385611L, 30), REPARTITION_BY_NUM, [plan_id=974551]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.2 s (32 ms, 35 ms, 61 ms (stage 305362.0: task 883080))";
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>677 ms (18 ms, 20 ms, 34 ms (stage 305362.0: task 883086))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 305362.0: task 883082))<br>number of output rows: 479,444<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.5, 1.5, 1.5 (stage 305362.0: task 883082))" tooltip="HashAggregate(keys=[demandChannel#3385614, shardId#3385610, kpis#3385616, version#3385612, qty#3385613, worklistShardItemId#3385611L, demandStream#3385615], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 479,444<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 479,444<br>local bytes read total (min, med, max (stageId: taskId))<br>7.4 MiB (227.5 KiB, 239.9 KiB, 279.6 KiB (stage 305362.0: task 883094))<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>308.2 MiB (9.9 MiB, 10.2 MiB, 10.6 MiB (stage 305361.0: task 883043))<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>125 ms (2 ms, 2 ms, 23 ms (stage 305361.0: task 883043))<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 305362.0: task 883082))<br>remote bytes read total (min, med, max (stageId: taskId))<br>8.5 MiB (265.5 KiB, 306.5 KiB, 315.0 KiB (stage 305362.0: task 883083))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>254 ms (4 ms, 8 ms, 16 ms (stage 305362.0: task 883081))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>15.9 MiB (523.6 KiB, 543.3 KiB, 557.9 KiB (stage 305361.0: task 883043))" tooltip="Exchange hashpartitioning(demandChannel#3385614, shardId#3385610, kpis#3385616, version#3385612, qty#3385613, worklistShardItemId#3385611L, demandStream#3385615, 30), ENSURE_REQUIREMENTS, [plan_id=974547]"];
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 305361.0: task 883045))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>8.4 s (159 ms, 233 ms, 628 ms (stage 305361.0: task 883047))<br>peak memory total (min, med, max (stageId: taskId))<br>375.5 MiB (12.5 MiB, 12.5 MiB, 13.0 MiB (stage 305361.0: task 883043))<br>number of output rows: 479,444<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.5, 1.5, 1.5 (stage 305361.0: task 883045))" tooltip="HashAggregate(keys=[demandChannel#3385614, shardId#3385610, knownfloatingpointnormalized(transform(kpis#3385616, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3389879)) null else named_struct(label, lambda arg#3389879.label, dateTime, lambda arg#3389879.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3389879.value)))), lambda arg#3389879, false))) AS kpis#3385616, version#3385612, knownfloatingpointnormalized(normalizenanandzero(qty#3385613)) AS qty#3385613, worklistShardItemId#3385611L, demandStream#3385615], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n8.4 s (159 ms, 233 ms, 628 ms (stage 305361.0: task 883047))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 479,444" tooltip="Scan ExistingRDD[shardId#3385610,worklistShardItemId#3385611L,version#3385612,qty#3385613,demandChannel#3385614,demandStream#3385615,kpis#3385616]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}