Shekharrajak opened a new pull request, #3531:
URL: https://github.com/apache/datafusion-comet/pull/3531
## Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases. You can
link an issue to this PR using the GitHub syntax. For example `Closes #123`
indicates that this PR will close issue #123.
-->
Closes #2957
## Rationale for this change
source operators like RangeExec (from spark.range()) produce InternalRow
format, not Arrow format. The native writer requires Arrow-formatted input
(requiresNativeChildren = true), so the conversion fails.
## What changes are included in this PR?
Previously, users had to manually enable
spark.comet.sparkToColumnar.enabled=true to convert RangeExec to Arrow format.
This fix automates this conversion when native write is requested, making
INSERT OVERWRITE DIRECTORY work out of the box without additional configuration.
## How are these changes tested?
Unit tests : basic with RangeExec source , aggregation, compression
--
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]