Repository navigation
feat: Partially implement file commit protocol for native Parquet writes - #2828
Merged
Merged
Conversation
andygrove
force-pushed
the
file-commit
branch
from
November 26, 2025 14:39
204d8f3 to
1ec3563
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2828 +/- ##
============================================
+ Coverage 56.12% 59.15% +3.02%
- Complexity 976 1486 +510
============================================
Files 119 167 +48
Lines 11743 15282 +3539
Branches 2251 2531 +280
============================================
+ Hits 6591 9040 +2449
- Misses 4012 4949 +937
- Partials 1140 1293 +153 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
andygrove
marked this pull request as ready for review
November 26, 2025 21:51
wForget
reviewed
Nov 27, 2025
wForget
reviewed
Nov 27, 2025
wForget
reviewed
Nov 27, 2025
Member
Author
|
Thanks for the feedback so far @wForget. I have pushed some updates. Could you take another look when you have time? |
wForget
reviewed
Dec 2, 2025
wForget
reviewed
Dec 2, 2025
| try { | ||
| // Use Spark's SQLHadoopMapReduceCommitProtocol | ||
| val committerClass = | ||
| classOf[org.apache.spark.sql.execution.datasources.SQLHadoopMapReduceCommitProtocol] |
Member
There was a problem hiding this comment.
The commit protocol class is configurable in spark. We should add a fallback when the configuration is not SQLHadoopMapReduceCommitProtocol.
wForget
approved these changes
Dec 2, 2025
wForget
left a comment
Member
There was a problem hiding this comment.
Thanks @andygrove , overall looks good to me
peter-toth
approved these changes
Dec 2, 2025
Member
Author
|
Thanks @wForget @peter-toth @mbutrovich! |
Closed
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?
Part of #2827
Rationale for this change
This PR is another incremental step towards supporting native Parquet writes.
What changes are included in this PR?
File Commit Protocol Implementation Status
✅ Implemented:
Protobuf & Native Code:
JVM Commit Protocol Integration:
Commit message collection
Error Handling:
❌ Still TODO:
Feature Completeness:
Validation:
How are these changes tested?
Existing UT passes, and I see file committer log messages.