Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22284#discussion_r214227196
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/metric/SQLMetricsSuite.scala
 ---
    @@ -497,6 +497,17 @@ class SQLMetricsSuite extends SparkFunSuite with 
SQLMetricsTestUtils with Shared
         }
       }
     
    +  test("SPARK-25278: output metrics are wrong for plans repeated in the 
query") {
    +    val name = "demo_view"
    --- End diff --
    
    Wrap the code with `withView`?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to