coderfender commented on code in PR #3351:
URL: https://github.com/apache/datafusion-comet/pull/3351#discussion_r2795575194
##########
spark/src/test/scala/org/apache/comet/parquet/CometParquetWriterSuite.scala:
##########
@@ -466,6 +737,11 @@ class CometParquetWriterSuite extends CometTestBase {
s"Expected exactly one CometNativeWriteExec in the plan, but found
$nativeWriteCount:\n${plan.treeString}")
}
+ private def checkCometNativeWriter(op: => Unit): Unit = {
+ val plan = captureWritePlan(_ => op, "")
+ assertHasCometNativeWriteExec(plan)
+ }
+
Review Comment:
@comphead , I wrote this simple util to match our other test patterns to
verify that comet native writer is being used.
--
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]