digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n6 ms (0 ms, 0 ms, 4 ms (stage 332012.0: task 933010))";
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 332012.0: task 933010))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 332012.0: task 933010))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3572037], functions=[max(version#3572039)])"];
}
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: 1344.0 B<br>merged fetch fallback count: 0<br>local blocks read: 14<br>remote merged chunks fetched: 0<br>remote blocks read: 16<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 332011.0: task 932968))<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>16 ms (0 ms, 0 ms, 0 ms (stage 332011.0: task 932976))<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: 1536.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 332011.0: task 932968))" tooltip="Exchange hashpartitioning(shardId#3572037, 30), ENSURE_REQUIREMENTS, [plan_id=1021973]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n735 ms (11 ms, 13 ms, 110 ms (stage 332011.0: task 932970))";
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>453 ms (9 ms, 11 ms, 56 ms (stage 332011.0: task 932976))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 332011.0: task 932968))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3572037], functions=[partial_max(version#3572039)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 479,444" tooltip="InMemoryTableScan [shardId#3572037, version#3572039]"];
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.3 MiB (212.9 KiB, 329.8 KiB, 342.5 KiB (stage 332011.0: task 932992))<br>merged fetch fallback count: 0<br>local blocks read: 456<br>remote merged chunks fetched: 0<br>remote blocks read: 444<br>data size total (min, med, max (stageId: taskId))<br>308.2 MiB (10.2 MiB, 10.3 MiB, 10.5 MiB (stage 332010.0: task 932930))<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, 6 ms (stage 332010.0: task 932928))<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>4 ms (0 ms, 0 ms, 3 ms (stage 332011.0: task 932982))<br>remote bytes read total (min, med, max (stageId: taskId))<br>8.0 MiB (217.7 KiB, 230.4 KiB, 342.0 KiB (stage 332011.0: task 932970))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>127 ms (1 ms, 2 ms, 39 ms (stage 332011.0: task 932982))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.3 MiB (550.2 KiB, 556.4 KiB, 565.8 KiB (stage 332010.0: task 932930))" tooltip="Exchange hashpartitioning(worklistShardItemId#3572038L, 30), REPARTITION_BY_NUM, [plan_id=1021944]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.9 s (32 ms, 54 ms, 136 ms (stage 332010.0: task 932931))";
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>861 ms (19 ms, 25 ms, 51 ms (stage 332010.0: task 932948))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 332010.0: task 932928))<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 332010.0: task 932928))" tooltip="HashAggregate(keys=[demandChannel#3572041, shardId#3572037, kpis#3572043, version#3572039, qty#3572040, worklistShardItemId#3572038L, demandStream#3572042], 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>6.9 MiB (178.6 KiB, 270.2 KiB, 280.4 KiB (stage 332010.0: task 932959))<br>merged fetch fallback count: 0<br>local blocks read: 390<br>remote merged chunks fetched: 0<br>remote blocks read: 510<br>data size total (min, med, max (stageId: taskId))<br>308.2 MiB (9.8 MiB, 10.3 MiB, 10.6 MiB (stage 332009.0: task 932810))<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>86 ms (2 ms, 2 ms, 3 ms (stage 332009.0: task 932903))<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 332010.0: task 932928))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.1 MiB (268.0 KiB, 275.0 KiB, 373.7 KiB (stage 332010.0: task 932930))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>187 ms (4 ms, 4 ms, 34 ms (stage 332010.0: task 932937))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.0 MiB (525.5 KiB, 545.8 KiB, 561.9 KiB (stage 332009.0: task 932810))" tooltip="Exchange hashpartitioning(demandChannel#3572041, shardId#3572037, kpis#3572043, version#3572039, qty#3572040, worklistShardItemId#3572038L, demandStream#3572042, 30), ENSURE_REQUIREMENTS, [plan_id=1021940]"];
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 332009.0: task 932812))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>10.5 s (174 ms, 256 ms, 858 ms (stage 332009.0: task 932886))<br>peak memory total (min, med, max (stageId: taskId))<br>376.5 MiB (12.5 MiB, 12.5 MiB, 13.0 MiB (stage 332009.0: task 932810))<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 332009.0: task 932812))" tooltip="HashAggregate(keys=[demandChannel#3572041, shardId#3572037, knownfloatingpointnormalized(transform(kpis#3572043, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3572584)) null else named_struct(label, lambda arg#3572584.label, dateTime, lambda arg#3572584.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3572584.value)))), lambda arg#3572584, false))) AS kpis#3572043, version#3572039, knownfloatingpointnormalized(normalizenanandzero(qty#3572040)) AS qty#3572040, worklistShardItemId#3572038L, demandStream#3572042], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n10.5 s (174 ms, 256 ms, 858 ms (stage 332009.0: task 932886))";
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#3572037,worklistShardItemId#3572038L,version#3572039,qty#3572040,demandChannel#3572041,demandStream#3572042,kpis#3572043]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}