digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n3 ms (0 ms, 0 ms, 3 ms (stage 305185.0: task 882763))";
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>2 ms (0 ms, 0 ms, 2 ms (stage 305185.0: task 882763))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 305185.0: task 882763))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3385871], functions=[max(version#3385873)])"];
}
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 305184.0: task 882732))<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>28 ms (0 ms, 0 ms, 10 ms (stage 305184.0: task 882745))<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 305184.0: task 882732))" tooltip="Exchange hashpartitioning(shardId#3385871, 30), ENSURE_REQUIREMENTS, [plan_id=974126]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n274 ms (8 ms, 8 ms, 33 ms (stage 305184.0: task 882743))";
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>224 ms (6 ms, 7 ms, 31 ms (stage 305184.0: task 882743))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 305184.0: task 882732))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3385871], functions=[partial_max(version#3385873)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 351,756" tooltip="InMemoryTableScan [shardId#3385871, version#3385873]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 351,756<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 351,756<br>local bytes read total (min, med, max (stageId: taskId))<br>10.4 MiB (342.0 KiB, 357.4 KiB, 369.7 KiB (stage 305184.0: task 882741))<br>merged fetch fallback count: 0<br>local blocks read: 780<br>remote merged chunks fetched: 0<br>remote blocks read: 120<br>data size total (min, med, max (stageId: taskId))<br>226.1 MiB (7.4 MiB, 7.6 MiB, 7.7 MiB (stage 305183.0: task 882712))<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>100 ms (1 ms, 2 ms, 14 ms (stage 305183.0: task 882714))<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 305184.0: task 882732))<br>remote bytes read total (min, med, max (stageId: taskId))<br>1627.6 KiB (50.6 KiB, 54.0 KiB, 57.4 KiB (stage 305184.0: task 882758))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>134 ms (3 ms, 3 ms, 28 ms (stage 305184.0: task 882740))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>12.0 MiB (401.8 KiB, 411.5 KiB, 416.9 KiB (stage 305183.0: task 882712))" tooltip="Exchange hashpartitioning(worklistShardItemId#3385872L, 30), REPARTITION_BY_NUM, [plan_id=974097]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.0 s (25 ms, 28 ms, 137 ms (stage 305183.0: task 882702))";
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>532 ms (14 ms, 16 ms, 28 ms (stage 305183.0: task 882709))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 305183.0: task 882692))<br>number of output rows: 351,756<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.4, 1.4, 1.4 (stage 305183.0: task 882692))" tooltip="HashAggregate(keys=[demandChannel#3385875, shardId#3385871, kpis#3385877, version#3385873, qty#3385874, worklistShardItemId#3385872L, demandStream#3385876], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 351,756<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 351,756<br>local bytes read total (min, med, max (stageId: taskId))<br>4.5 MiB (142.7 KiB, 148.6 KiB, 187.9 KiB (stage 305183.0: task 882722))<br>merged fetch fallback count: 0<br>local blocks read: 342<br>remote merged chunks fetched: 0<br>remote blocks read: 558<br>data size total (min, med, max (stageId: taskId))<br>226.1 MiB (7.3 MiB, 7.5 MiB, 7.7 MiB (stage 305182.0: task 882643))<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>80 ms (1 ms, 2 ms, 16 ms (stage 305182.0: task 882653))<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 305183.0: task 882692))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.4 MiB (212.2 KiB, 257.6 KiB, 262.6 KiB (stage 305183.0: task 882712))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>197 ms (4 ms, 5 ms, 19 ms (stage 305183.0: task 882702))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>11.9 MiB (389.7 KiB, 405.1 KiB, 416.2 KiB (stage 305182.0: task 882643))" tooltip="Exchange hashpartitioning(demandChannel#3385875, shardId#3385871, kpis#3385877, version#3385873, qty#3385874, worklistShardItemId#3385872L, demandStream#3385876, 30), ENSURE_REQUIREMENTS, [plan_id=974093]"];
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 305182.0: task 882650))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>5.2 s (135 ms, 171 ms, 251 ms (stage 305182.0: task 882644))<br>peak memory total (min, med, max (stageId: taskId))<br>255.0 MiB (8.5 MiB, 8.5 MiB, 8.5 MiB (stage 305182.0: task 882650))<br>number of output rows: 351,756<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.4, 1.4, 1.4 (stage 305182.0: task 882650))" tooltip="HashAggregate(keys=[demandChannel#3385875, shardId#3385871, knownfloatingpointnormalized(transform(kpis#3385877, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3388741)) null else named_struct(label, lambda arg#3388741.label, dateTime, lambda arg#3388741.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3388741.value)))), lambda arg#3388741, false))) AS kpis#3385877, version#3385873, knownfloatingpointnormalized(normalizenanandzero(qty#3385874)) AS qty#3385874, worklistShardItemId#3385872L, demandStream#3385876], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n5.2 s (135 ms, 171 ms, 251 ms (stage 305182.0: task 882644))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 351,756" tooltip="Scan ExistingRDD[shardId#3385871,worklistShardItemId#3385872L,version#3385873,qty#3385874,demandChannel#3385875,demandStream#3385876,kpis#3385877]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}