digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n77 ms (0 ms, 5 ms, 7 ms (stage 1656097.0: task 4359259))";
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>38 ms (0 ms, 0 ms, 7 ms (stage 1656097.0: task 4359259))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 1656097.0: task 4359259))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#16691989], functions=[max(version#16691991)])"];
}
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: 960.0 B<br>merged fetch fallback count: 0<br>local blocks read: 10<br>remote merged chunks fetched: 0<br>remote blocks read: 20<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 1656096.0: task 4359233))<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 1656096.0: task 4359235))<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: 1920.0 B<br>number of partitions: 30<br>remote reqs duration: 2 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 1656096.0: task 4359233))" tooltip="Exchange hashpartitioning(shardId#16691989, 30), ENSURE_REQUIREMENTS, [plan_id=4962726]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n5.7 s (10 ms, 340 ms, 379 ms (stage 1656096.0: task 4359243))";
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>1.2 s (8 ms, 42 ms, 64 ms (stage 1656096.0: task 4359231))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 1656096.0: task 4359233))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#16691989], functions=[partial_max(version#16691991)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 407,672" tooltip="InMemoryTableScan [shardId#16691989, version#16691991]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 407,672<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 407,672<br>local bytes read total (min, med, max (stageId: taskId))<br>4.6 MiB (120.6 KiB, 157.8 KiB, 197.6 KiB (stage 1656096.0: task 4359242))<br>merged fetch fallback count: 0<br>local blocks read: 300<br>remote merged chunks fetched: 0<br>remote blocks read: 600<br>data size total (min, med, max (stageId: taskId))<br>262.0 MiB (8.5 MiB, 8.8 MiB, 8.9 MiB (stage 1656095.0: task 4359212))<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>129 ms (2 ms, 2 ms, 22 ms (stage 1656095.0: task 4359202))<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 1656096.0: task 4359233))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.2 MiB (273.8 KiB, 315.8 KiB, 350.9 KiB (stage 1656096.0: task 4359254))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>363 ms (4 ms, 8 ms, 36 ms (stage 1656096.0: task 4359258))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>13.8 MiB (459.8 KiB, 470.5 KiB, 477.3 KiB (stage 1656095.0: task 4359212))" tooltip="Exchange hashpartitioning(worklistShardItemId#16691990L, 30), REPARTITION_BY_NUM, [plan_id=4962697]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n4.0 s (29 ms, 188 ms, 257 ms (stage 1656095.0: task 4359208))";
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>1.1 s (17 ms, 40 ms, 57 ms (stage 1656095.0: task 4359205))<br>peak memory total (min, med, max (stageId: taskId))<br>315.0 MiB (10.5 MiB, 10.5 MiB, 10.5 MiB (stage 1656095.0: task 4359213))<br>number of output rows: 407,672<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 1656095.0: task 4359212))" tooltip="HashAggregate(keys=[demandChannel#16691993, shardId#16691989, kpis#16691995, version#16691991, qty#16691992, worklistShardItemId#16691990L, demandStream#16691994], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 407,672<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 407,672<br>local bytes read total (min, med, max (stageId: taskId))<br>4.5 MiB (149.1 KiB, 154.4 KiB, 160.4 KiB (stage 1656095.0: task 4359202))<br>merged fetch fallback count: 0<br>local blocks read: 300<br>remote merged chunks fetched: 0<br>remote blocks read: 600<br>data size total (min, med, max (stageId: taskId))<br>262.0 MiB (8.5 MiB, 8.8 MiB, 9.1 MiB (stage 1656094.0: task 4359170))<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 1656094.0: task 4359179))<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 1656095.0: task 4359213))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.0 MiB (300.4 KiB, 309.4 KiB, 316.8 KiB (stage 1656095.0: task 4359212))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>197 ms (2 ms, 7 ms, 21 ms (stage 1656095.0: task 4359215))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>13.6 MiB (449.4 KiB, 463.7 KiB, 480.6 KiB (stage 1656094.0: task 4359170))" tooltip="Exchange hashpartitioning(demandChannel#16691993, shardId#16691989, kpis#16691995, version#16691991, qty#16691992, worklistShardItemId#16691990L, demandStream#16691994, 30), ENSURE_REQUIREMENTS, [plan_id=4962693]"];
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 1656094.0: task 4359169))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>16.6 s (181 ms, 767 ms, 1.2 s (stage 1656094.0: task 4359194))<br>peak memory total (min, med, max (stageId: taskId))<br>315.0 MiB (10.5 MiB, 10.5 MiB, 10.5 MiB (stage 1656094.0: task 4359169))<br>number of output rows: 407,672<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 1656094.0: task 4359181))" tooltip="HashAggregate(keys=[demandChannel#16691993, shardId#16691989, knownfloatingpointnormalized(transform(kpis#16691995, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#16692082)) null else named_struct(label, lambda arg#16692082.label, dateTime, lambda arg#16692082.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#16692082.value)))), lambda arg#16692082, false))) AS kpis#16691995, version#16691991, knownfloatingpointnormalized(normalizenanandzero(qty#16691992)) AS qty#16691992, worklistShardItemId#16691990L, demandStream#16691994], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n16.6 s (181 ms, 767 ms, 1.2 s (stage 1656094.0: task 4359194))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 407,672" tooltip="Scan ExistingRDD[shardId#16691989,worklistShardItemId#16691990L,version#16691991,qty#16691992,demandChannel#16691993,demandStream#16691994,kpis#16691995]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}