cloud-fan commented on code in PR #50040: URL: https://github.com/apache/spark/pull/50040#discussion_r1973575824
########## sql/core/src/test/scala/org/apache/spark/sql/DataFrameWriterV2Suite.scala: ########## @@ -841,20 +841,24 @@ class DataFrameWriterV2Suite extends QueryTest with SharedSparkSession with Befo } test("SPARK-51281: create/replace file source tables") { + def checkResults(df: DataFrame): Unit = { + checkAnswer(df, spark.range(10).toDF()) + } Review Comment: let's not over-engineering. `spark.range(10)` is already very short. -- 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. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org