digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n1.1 s (0 ms, 0 ms, 208 ms (stage 1656124.0: task 4359568))";
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>27 ms (0 ms, 0 ms, 5 ms (stage 1656124.0: task 4359576))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 1656124.0: task 4359596))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#16692471], functions=[max(version#16692473)])"];
}
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.3 KiB<br>merged fetch fallback count: 0<br>local blocks read: 25<br>remote merged chunks fetched: 0<br>remote blocks read: 5<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 1656123.0: task 4359499))<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 1656123.0: task 4359515))<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: 480.0 B<br>number of partitions: 30<br>remote reqs duration: 11 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 1656123.0: task 4359499))" tooltip="Exchange hashpartitioning(shardId#16692471, 30), ENSURE_REQUIREMENTS, [plan_id=4962813]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n3.9 s (8 ms, 48 ms, 363 ms (stage 1656123.0: task 4359514))";
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>912 ms (7 ms, 36 ms, 60 ms (stage 1656123.0: task 4359515))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1656123.0: task 4359499))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#16692471], functions=[partial_max(version#16692473)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 407,472" tooltip="InMemoryTableScan [shardId#16692471, version#16692473]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 407,472<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 407,472<br>local bytes read total (min, med, max (stageId: taskId))<br>7.2 MiB (213.3 KiB, 249.8 KiB, 259.4 KiB (stage 1656123.0: task 4359547))<br>merged fetch fallback count: 0<br>local blocks read: 470<br>remote merged chunks fetched: 0<br>remote blocks read: 430<br>data size total (min, med, max (stageId: taskId))<br>261.9 MiB (8.5 MiB, 8.7 MiB, 8.9 MiB (stage 1656122.0: task 4359461))<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>76 ms (2 ms, 2 ms, 3 ms (stage 1656122.0: task 4359467))<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 1656123.0: task 4359499))<br>remote bytes read total (min, med, max (stageId: taskId))<br>6.6 MiB (209.7 KiB, 219.6 KiB, 256.1 KiB (stage 1656123.0: task 4359496))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>67 ms (1 ms, 2 ms, 4 ms (stage 1656123.0: task 4359545))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>13.7 MiB (456.3 KiB, 469.6 KiB, 476.6 KiB (stage 1656122.0: task 4359461))" tooltip="Exchange hashpartitioning(worklistShardItemId#16692472L, 30), REPARTITION_BY_NUM, [plan_id=4962784]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.6 s (29 ms, 51 ms, 222 ms (stage 1656122.0: task 4359447))";
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>934 ms (17 ms, 32 ms, 49 ms (stage 1656122.0: task 4359453))<br>peak memory total (min, med, max (stageId: taskId))<br>315.0 MiB (10.5 MiB, 10.5 MiB, 10.5 MiB (stage 1656122.0: task 4359450))<br>number of output rows: 407,472<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.4, 1.4, 1.5 (stage 1656122.0: task 4359449))" tooltip="HashAggregate(keys=[demandChannel#16692475, shardId#16692471, kpis#16692477, version#16692473, qty#16692474, worklistShardItemId#16692472L, demandStream#16692476], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 407,472<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 407,472<br>local bytes read total (min, med, max (stageId: taskId))<br>6.2 MiB (180.4 KiB, 188.7 KiB, 251.4 KiB (stage 1656122.0: task 4359461))<br>merged fetch fallback count: 0<br>local blocks read: 416<br>remote merged chunks fetched: 0<br>remote blocks read: 484<br>data size total (min, med, max (stageId: taskId))<br>261.9 MiB (8.5 MiB, 8.7 MiB, 9.0 MiB (stage 1656121.0: task 4359364))<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>70 ms (2 ms, 2 ms, 2 ms (stage 1656121.0: task 4359390))<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 1656122.0: task 4359450))<br>remote bytes read total (min, med, max (stageId: taskId))<br>7.3 MiB (211.0 KiB, 275.2 KiB, 283.5 KiB (stage 1656122.0: task 4359466))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>78 ms (1 ms, 3 ms, 5 ms (stage 1656122.0: task 4359460))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>13.5 MiB (451.7 KiB, 462.2 KiB, 475.6 KiB (stage 1656121.0: task 4359364))" tooltip="Exchange hashpartitioning(demandChannel#16692475, shardId#16692471, kpis#16692477, version#16692473, qty#16692474, worklistShardItemId#16692472L, demandStream#16692476, 30), ENSURE_REQUIREMENTS, [plan_id=4962780]"];
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 1656121.0: task 4359368))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>12.3 s (160 ms, 263 ms, 1.1 s (stage 1656121.0: task 4359365))<br>peak memory total (min, med, max (stageId: taskId))<br>315.0 MiB (10.5 MiB, 10.5 MiB, 10.5 MiB (stage 1656121.0: task 4359368))<br>number of output rows: 407,472<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.4, 1.4, 1.5 (stage 1656121.0: task 4359414))" tooltip="HashAggregate(keys=[demandChannel#16692475, shardId#16692471, knownfloatingpointnormalized(transform(kpis#16692477, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#16692564)) null else named_struct(label, lambda arg#16692564.label, dateTime, lambda arg#16692564.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#16692564.value)))), lambda arg#16692564, false))) AS kpis#16692477, version#16692473, knownfloatingpointnormalized(normalizenanandzero(qty#16692474)) AS qty#16692474, worklistShardItemId#16692472L, demandStream#16692476], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n12.3 s (160 ms, 263 ms, 1.1 s (stage 1656121.0: task 4359365))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 407,472" tooltip="Scan ExistingRDD[shardId#16692471,worklistShardItemId#16692472L,version#16692473,qty#16692474,demandChannel#16692475,demandStream#16692476,kpis#16692477]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}