coderfender commented on code in PR #3541:
URL: https://github.com/apache/datafusion-comet/pull/3541#discussion_r2820116734


##########
spark/src/test/scala/org/apache/spark/sql/CometTestBase.scala:
##########
@@ -332,6 +332,38 @@ abstract class CometTestBase
     }
   }
 
+//  inspired from spark-testing-base
+  protected def assertDataFrameEquals(
+      df: => DataFrame,
+      checkNativeOperators: Boolean = true): Unit = {
+
+    var sparkDf: DataFrame = null
+    withSQLConf(CometConf.COMET_ENABLED.key -> "false") {
+      sparkDf = datasetOfRows(spark, df.logicalPlan)
+    }
+    val cometDf = datasetOfRows(spark, df.logicalPlan)
+
+//    schema match check

Review Comment:
   Agreed. I fixed comments to make sure the spaces are consistent



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to