Show the Stage ID and Task ID that corresponds to the max metric
digraph G {
0 [labelType="html" label="<br><b>AdaptiveSparkPlan</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (2)\n \nduration: 1 ms";
2 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build: 0 ms<br>number of output rows: 1"];
}
3 [labelType="html" label="<b>Exchange</b><br><br>shuffle records written: 8<br>local merged chunks fetched: 0<br>shuffle write time total (min, med, max (stageId: taskId))<br>3 ms (0 ms, 0 ms, 0 ms (stage 98.0: task 284))<br>remote merged bytes read: 0.0 B<br>local merged blocks fetched: 0<br>corrupt merged block chunks: 0<br>remote merged reqs duration: 0 ms<br>remote merged blocks fetched: 0<br>records read: 8<br>local bytes read: 480.0 B<br>fetch wait time: 0 ms<br>remote bytes read: 0.0 B<br>merged fetch fallback count: 0<br>local blocks read: 8<br>remote merged chunks fetched: 0<br>remote blocks read: 0<br>data size total (min, med, max (stageId: taskId))<br>256.0 B (0.0 B, 32.0 B, 32.0 B (stage 98.0: task 284))<br>local merged bytes read: 0.0 B<br>number of partitions: 1<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>480.0 B (0.0 B, 58.0 B, 65.0 B (stage 98.0: task 285))"];
subgraph cluster4 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: total (min, med, max (stageId: taskId))\n20.3 s (1.1 s, 2.5 s, 4.0 s (stage 98.0: task 283))";
5 [labelType="html" label="<b>HashAggregate</b><br><br>time in aggregation build total (min, med, max (stageId: taskId))<br>20.3 s (1.1 s, 2.5 s, 4.0 s (stage 98.0: task 283))<br>number of output rows: 8"];
6 [labelType="html" label="<br><b>Project</b><br><br>"];
7 [labelType="html" label="<b>Filter</b><br><br>number of output rows: 19,713"];
}
8 [labelType="html" label="<b>Scan csv </b><br><br>number of output rows: 19,713<br>number of files read: 5<br>metadata time: 0 ms<br>size of files read: 928.8 MiB"];
2->0;
3->2;
5->3;
6->5;
7->6;
8->7;
}
9
AdaptiveSparkPlan isFinalPlan=true
HashAggregate(keys=[], functions=[sum(cast(isnull(end_station_id#703) as int)), sum(cast(isnull(end_lat#27) as int)), sum(cast(isnull(end_lng#28) as int))])
HashAggregate(keys=[], functions=[partial_sum(cast(isnull(end_station_id#703) as int)), partial_sum(cast(isnull(end_lat#27) as int)), partial_sum(cast(isnull(end_lng#28) as int))])
Project [cast(end_station_id#24 as float) AS end_station_id#703, end_lat#27, end_lng#28]