andygrove opened a new pull request, #3227: URL: https://github.com/apache/datafusion-comet/pull/3227
## Summary - Adds planning-time check in CometExecRule to prevent native write when input data source is not a CometNativeExec (i.e., produces non-Arrow data like OnHeapColumnVector) - Improves error message in Utils.scala to explain the issue and suggest workarounds - Adds test to verify fallback behavior works correctly Closes #3215 ## Test plan - [x] Added test `"native write falls back when scan produces non-Arrow data"` in CometParquetWriterSuite - [x] Test verifies that when `native_comet` scan doesn't support complex types, the native write falls back to Spark instead of failing at runtime - [x] All existing tests pass 🤖 Generated with [Claude Code](https://claude.ai/code) -- 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]
