Show the Stage ID and Task ID that corresponds to the max metric
digraph G {
0 [labelType="html" label="<br><b>CollectLimit</b><br><br>"];
subgraph cluster1 {
isCluster="true";
label="WholeStageCodegen (1)\n \nduration: 0 ms";
2 [labelType="html" label="<b>Scan JDBCRelation((SELECT TOP 1 1 AS has_row FROM dbo.fact_cm_smelter_overview) AS probe) [numPartitions=1] </b><br><br>number of output rows: 1"];
}
2->0;
}
3
CollectLimit 1
Scan JDBCRelation((SELECT TOP 1 1 AS has_row FROM dbo.fact_cm_smelter_overview) AS probe) [numPartitions=1] [has_row#211413] PushedFilters: [], ReadSchema: struct<has_row:int>
== Physical Plan ==
CollectLimit (2)
+- * Scan JDBCRelation((SELECT TOP 1 1 AS has_row FROM dbo.fact_cm_smelter_overview) AS probe) [numPartitions=1] (1)
(1) Scan JDBCRelation((SELECT TOP 1 1 AS has_row FROM dbo.fact_cm_smelter_overview) AS probe) [numPartitions=1] [codegen id : 1]
Output [1]: [has_row#211413]
ReadSchema: struct<has_row:int>
(2) CollectLimit
Input [1]: [has_row#211413]
Arguments: 1