[AURON #2183] Implement native support for ORC InsertIntoHiveTable writes#2191
Open
weimingdiit wants to merge 1 commit intoapache:masterfrom
Open
[AURON #2183] Implement native support for ORC InsertIntoHiveTable writes#2191weimingdiit wants to merge 1 commit intoapache:masterfrom
weimingdiit wants to merge 1 commit intoapache:masterfrom
Conversation
4682ae0 to
65f7ae7
Compare
cxzl25
reviewed
Apr 13, 2026
| Shims.get.createNativeParquetInsertIntoHiveTableExec(cmd, sortedChild) | ||
| Shims.get.createNativeParquetInsertIntoHiveTableExec(cmd, sortInsertChild(cmd, child)) | ||
|
|
||
| case DataWritingCommandExec(cmd: InsertIntoHiveTable, child) |
Contributor
There was a problem hiding this comment.
Currently Auron only has auron.enable.data.writing to control whether writing is converted to Native, but it is not enabled for different formats. It is recommended to add it for separate control.
Contributor
Author
There was a problem hiding this comment.
Good point. I changed the write gating to support separate format-level controls on top of the existing global spark.auron.enable.data.writing switch. The converter now checks spark.auron.enable.data.writing.parquet and spark.auron.enable.data.writing.orc before converting InsertIntoHiveTable.
65f7ae7 to
bc8c720
Compare
…ble writes Signed-off-by: weimingdiit <weimingdiit@gmail.com>
bc8c720 to
28946b0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Closes #2183
Rationale for this change
Auron already supports native Parquet InsertIntoHiveTable writes, but ORC Hive writes still fall back to Spark’s regular execution path. This leaves native write coverage incomplete for a common Hive storage format.
This PR adds native support for ORC InsertIntoHiveTable writes so eligible Hive ORC write workloads can stay on the native path instead of falling back.
What changes are included in this PR?
This PR:
Are there any user-facing changes?
Yes.
Hive table writes using ORC may now remain on the native execution path when they match the supported InsertIntoHiveTable write pattern, instead of falling back to Spark’s regular write execution.
How was this patch tested?
CI.