Skip to content

Commit 00284b6

Browse files
committed
remove unused flag
1 parent fd7c63b commit 00284b6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/metric/SQLMetricsTestUtils.scala

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,19 +193,16 @@ trait SQLMetricsTestUtils extends SQLTestUtils {
193193
* @param expectedNumOfJobs number of jobs that will run
194194
* @param expectedMetrics the expected metrics. The format is
195195
* `nodeId -> (operatorName, metric name -> metric value)`.
196-
* @param enableWholeStage enable whole-stage code generation or not.
197196
*/
198197
protected def testSparkPlanMetrics(
199198
df: DataFrame,
200199
expectedNumOfJobs: Int,
201-
expectedMetrics: Map[Long, (String, Map[String, Any])],
202-
enableWholeStage: Boolean = false): Unit = {
200+
expectedMetrics: Map[Long, (String, Map[String, Any])]): Unit = {
203201
val expectedMetricsPredicates = expectedMetrics.mapValues { case (nodeName, nodeMetrics) =>
204202
(nodeName, nodeMetrics.mapValues(expectedMetricValue =>
205203
(actualMetricValue: Any) => expectedMetricValue.toString === actualMetricValue))
206204
}
207-
testSparkPlanMetricsWithPredicates(
208-
df, expectedNumOfJobs, expectedMetricsPredicates, enableWholeStage)
205+
testSparkPlanMetricsWithPredicates(df, expectedNumOfJobs, expectedMetricsPredicates)
209206
}
210207

211208
/**

0 commit comments

Comments
 (0)