digraph G {
subgraph cluster0 {
isCluster="true";
id="cluster0";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n986 ms (0 ms, 1 ms, 193 ms (stage 341339.0: task 949110))";
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>11 ms (0 ms, 0 ms, 3 ms (stage 341339.0: task 949099))<br>peak memory total (min, med, max (stageId: taskId))<br>9.5 MiB (256.0 KiB, 256.0 KiB, 2.3 MiB (stage 341339.0: task 949099))<br>number of output rows: 1<br>number of sort fallback tasks: 0<br>avg hash probes per key: 1" tooltip="HashAggregate(keys=[shardId#3614460], functions=[max(version#3614462)])"];
}
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: 1440.0 B<br>merged fetch fallback count: 0<br>local blocks read: 15<br>remote merged chunks fetched: 0<br>remote blocks read: 15<br>data size total (min, med, max (stageId: taskId))<br>1200.0 B (40.0 B, 40.0 B, 40.0 B (stage 341338.0: task 949077))<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 341338.0: task 949085))<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: 1440.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 341338.0: task 949077))" tooltip="Exchange hashpartitioning(shardId#3614460, 30), ENSURE_REQUIREMENTS, [plan_id=1037358]"];
subgraph cluster3 {
isCluster="true";
id="cluster3";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n1.3 s (10 ms, 16 ms, 108 ms (stage 341338.0: task 949077))";
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>695 ms (9 ms, 15 ms, 52 ms (stage 341338.0: task 949073))<br>peak memory total (min, med, max (stageId: taskId))<br>7.5 MiB (256.0 KiB, 256.0 KiB, 256.0 KiB (stage 341338.0: task 949077))<br>number of output rows: 30<br>number of sort fallback tasks: 0<br>avg hash probes per key: 0" tooltip="HashAggregate(keys=[shardId#3614460], functions=[partial_max(version#3614462)])"];
}
5 [id="node5" labelType="html" label="<b>InMemoryTableScan</b><br><br>number of output rows: 479,444" tooltip="InMemoryTableScan [shardId#3614460, version#3614462]"];
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.1 MiB (251.8 KiB, 287.0 KiB, 307.5 KiB (stage 341338.0: task 949074))<br>merged fetch fallback count: 0<br>local blocks read: 450<br>remote merged chunks fetched: 0<br>remote blocks read: 450<br>data size total (min, med, max (stageId: taskId))<br>308.2 MiB (10.2 MiB, 10.3 MiB, 10.5 MiB (stage 341337.0: task 949041))<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>92 ms (2 ms, 2 ms, 5 ms (stage 341337.0: task 949048))<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 341338.0: task 949077))<br>remote bytes read total (min, med, max (stageId: taskId))<br>8.2 MiB (254.1 KiB, 283.1 KiB, 304.3 KiB (stage 341338.0: task 949091))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>123 ms (1 ms, 4 ms, 10 ms (stage 341338.0: task 949082))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.3 MiB (548.4 KiB, 555.6 KiB, 564.6 KiB (stage 341337.0: task 949041))" tooltip="Exchange hashpartitioning(worklistShardItemId#3614461L, 30), REPARTITION_BY_NUM, [plan_id=1037329]"];
subgraph cluster7 {
isCluster="true";
id="cluster7";
label="WholeStageCodegen (2)\n \nduration: total (min, med, max (stageId: taskId))\n2.4 s (33 ms, 65 ms, 162 ms (stage 341337.0: task 949047))";
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>963 ms (20 ms, 31 ms, 52 ms (stage 341337.0: task 949045))<br>peak memory total (min, med, max (stageId: taskId))<br>375.0 MiB (12.5 MiB, 12.5 MiB, 12.5 MiB (stage 341337.0: task 949044))<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 341337.0: task 949044))" tooltip="HashAggregate(keys=[demandChannel#3614464, shardId#3614460, kpis#3614466, version#3614462, qty#3614463, worklistShardItemId#3614461L, demandStream#3614465], 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.8 MiB (176.6 KiB, 270.5 KiB, 277.3 KiB (stage 341337.0: task 949062))<br>merged fetch fallback count: 0<br>local blocks read: 380<br>remote merged chunks fetched: 0<br>remote blocks read: 520<br>data size total (min, med, max (stageId: taskId))<br>308.2 MiB (9.8 MiB, 10.3 MiB, 10.6 MiB (stage 341336.0: task 949017))<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>89 ms (2 ms, 2 ms, 3 ms (stage 341336.0: task 949011))<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 341337.0: task 949044))<br>remote bytes read total (min, med, max (stageId: taskId))<br>9.2 MiB (266.7 KiB, 277.1 KiB, 371.6 KiB (stage 341337.0: task 949057))<br>number of partitions: 30<br>remote reqs duration total (min, med, max (stageId: taskId))<br>217 ms (4 ms, 6 ms, 14 ms (stage 341337.0: task 949044))<br>remote bytes read to disk: 0.0 B<br>shuffle bytes written total (min, med, max (stageId: taskId))<br>16.0 MiB (525.6 KiB, 545.9 KiB, 561.8 KiB (stage 341336.0: task 949017))" tooltip="Exchange hashpartitioning(demandChannel#3614464, shardId#3614460, kpis#3614466, version#3614462, qty#3614463, worklistShardItemId#3614461L, demandStream#3614465, 30), ENSURE_REQUIREMENTS, [plan_id=1037325]"];
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 341336.0: task 949014))<br>time in aggregation build total (min, med, max (stageId: taskId))<br>13.5 s (157 ms, 553 ms, 799 ms (stage 341336.0: task 949012))<br>peak memory total (min, med, max (stageId: taskId))<br>376.5 MiB (12.5 MiB, 12.5 MiB, 13.0 MiB (stage 341336.0: task 949017))<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 341336.0: task 949014))" tooltip="HashAggregate(keys=[demandChannel#3614464, shardId#3614460, knownfloatingpointnormalized(transform(kpis#3614466, lambdafunction(knownfloatingpointnormalized(if (isnull(lambda arg#3623877)) null else named_struct(label, lambda arg#3623877.label, dateTime, lambda arg#3623877.dateTime, value, knownfloatingpointnormalized(normalizenanandzero(lambda arg#3623877.value)))), lambda arg#3623877, false))) AS kpis#3614466, version#3614462, knownfloatingpointnormalized(normalizenanandzero(qty#3614463)) AS qty#3614463, worklistShardItemId#3614461L, demandStream#3614465], functions=[])"];
subgraph cluster11 {
isCluster="true";
id="cluster11";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n13.5 s (157 ms, 553 ms, 799 ms (stage 341336.0: task 949012))";
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#3614460,worklistShardItemId#3614461L,version#3614462,qty#3614463,demandChannel#3614464,demandStream#3614465,kpis#3614466]"];
}
2->1;
4->2;
5->4;
6->5;
8->6;
9->8;
10->9;
12->10;
}