dongjoon-hyun commented on a change in pull request #28173:
[SPARK-31389][SQL][TESTS] Add codegen-off test coverage for some tests in
SQLMetricsSuite
URL: https://github.com/apache/spark/pull/28173#discussion_r410939829
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/metric/SQLMetricsSuite.scala
##########
@@ -82,11 +82,14 @@ class SQLMetricsSuite extends SharedSparkSession with
SQLMetricsTestUtils {
test("Filter metrics") {
// Assume the execution plan is
// PhysicalRDD(nodeId = 1) -> Filter(nodeId = 0)
- val df = person.filter('age < 25)
- testSparkPlanMetrics(df, 1, Map(
- 0L -> (("Filter", Map(
- "number of output rows" -> 1L))))
- )
+ Seq((0L, false), (1L, true)).foreach { case (nodeId, enableWholeStage) =>
Review comment:
Ur, `nodeId` is not a metric, isn't it?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]