digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n4 ms (0 ms, 0 ms, 4 ms (stage 305010.0: task 882371))";
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>4 ms (0 ms, 0 ms, 4 ms (stage 305010.0: task 882371))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 305010.0: task 882371))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3385567], functions=[max(version#3385569)])"];
}
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 305009.0: task 882328))<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 305009.0: task 882355))<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 305009.0: task 882328))" tooltip="Exchange hashpartitioning(shardId#3385567, 30), ENSURE_REQUIREMENTS, [plan_id=973646]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n130 ms (4 ms, 4 ms, 5 ms (stage 305009.0: task 882331))";
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>88 ms (2 ms, 3 ms, 4 ms (stage 305009.0: task 882355))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 305009.0: task 882328))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3385567], functions=[partial_max(version#3385569)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 159,872" tooltip="InMemoryTableScan [shardId#3385567, version#3385569]"];
6 [id="node6" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 159,872<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 159,872<br>local bytes read total (min, med, max (stageId: taskId))<br>5.4 MiB (176.6 KiB, 182.5 KiB, 191.5 KiB (stage 305009.0: task 882331))<br>merged fetch fallback count: 0<br>local blocks read: 870<br>remote merged chunks fetched: 0<br>remote blocks read: 30<br>data size total (min, med, max (stageId: taskId))<br>102.8 MiB (3.3 MiB, 3.4 MiB, 3.5 MiB (stage 305008.0: task 882304))<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>59 ms (1 ms, 1 ms, 2 ms (stage 305008.0: task 882311))<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 305009.0: task 882328))<br>remote bytes read total (min, med, max (stageId: taskId))<br>182.0 KiB (4.7 KiB, 6.2 KiB, 7.4 KiB (stage 305009.0: task 882343))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>92 ms (2 ms, 3 ms, 5 ms (stage 305009.0: task 882355))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>5.5 MiB (182.0 KiB, 189.3 KiB, 194.1 KiB (stage 305008.0: task 882304))" tooltip="Exchange hashpartitioning(worklistShardItemId#3385568L, 30), REPARTITION_BY_NUM, [plan_id=973617]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n641 ms (14 ms, 16 ms, 128 ms (stage 305008.0: task 882311))";
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>280 ms (8 ms, 8 ms, 19 ms (stage 305008.0: task 882296))<br>peak memory total (min, med, max (stageId: taskId))<br>127.5 MiB (4.3 MiB, 4.3 MiB, 4.3 MiB (stage 305008.0: task 882296))<br>number of output rows: 159,872<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.2, 1.2, 1.2 (stage 305008.0: task 882296))" tooltip="HashAggregate(keys=[demandChannel#3385571, shardId#3385567, kpis#3385573, version#3385569, qty#3385570, worklistShardItemId#3385568L, demandStream#3385572], functions=[])"];
}
9 [id="node9" labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 159,872<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 159,872<br>local bytes read total (min, med, max (stageId: taskId))<br>1568.3 KiB (48.0 KiB, 50.2 KiB, 103.6 KiB (stage 305008.0: task 882311))<br>merged fetch fallback count: 0<br>local blocks read: 249<br>remote merged chunks fetched: 0<br>remote blocks read: 651<br>data size total (min, med, max (stageId: taskId))<br>102.8 MiB (3.3 MiB, 3.4 MiB, 3.6 MiB (stage 305007.0: task 882251))<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>59 ms (1 ms, 1 ms, 3 ms (stage 305007.0: task 882286))<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 305008.0: task 882296))<br>remote bytes read total (min, med, max (stageId: taskId))<br>4.0 MiB (80.1 KiB, 139.1 KiB, 143.9 KiB (stage 305008.0: task 882325))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>134 ms (3 ms, 4 ms, 6 ms (stage 305008.0: task 882297))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>5.6 MiB (181.3 KiB, 190.0 KiB, 195.6 KiB (stage 305007.0: task 882285))" tooltip="Exchange hashpartitioning(demandChannel#3385571, shardId#3385567, kpis#3385573, version#3385569, qty#3385570, worklistShardItemId#3385568L, demandStream#3385572, 30), ENSURE_REQUIREMENTS, [plan_id=973613]"];
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 305007.0: task 882251))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>3.7 s (96 ms, 110 ms, 187 ms (stage 305007.0: task 882252))<br>peak memory total (min, med, max (stageId: taskId))<br>127.5 MiB (4.3 MiB, 4.3 MiB, 4.3 MiB (stage 305007.0: task 882251))<br>number of output rows: 159,872<br>number of sort fallback tasks: 0<br>avg hash probes per key (min, med, max (stageId: taskId)):<br>(1.2, 1.2, 1.2 (stage 305007.0: task 882251))" tooltip="HashAggregate(keys=[demandChannel#3385571, shardId#3385567, knownfloatingpointnormalized(transform(kpis#3385573, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3387603)) null else named_struct(label, lambda arg#3387603.label, dateTime, lambda arg#3387603.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3387603.value)))), lambda arg#3387603, false))) AS kpis#3385573, version#3385569, knownfloatingpointnormalized(normalizenanandzero(qty#3385570)) AS qty#3385570, worklistShardItemId#3385568L, demandStream#3385572], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n3.7 s (96 ms, 110 ms, 187 ms (stage 305007.0: task 882252))";
tooltip="WholeStageCodegen (1)";
12 [id="node12" labelType="html" label="<b>Scan ExistingRDD</b><br><br>number of output rows: 159,872" tooltip="Scan ExistingRDD[shardId#3385567,worklistShardItemId#3385568L,version#3385569,qty#3385570,demandChannel#3385571,demandStream#3385572,kpis#3385573]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}