Adding SparkSQLProperty for split-size#228
Merged
shanthoosh merged 1 commit intolinkedin:openhouse-1.5.2from Jan 8, 2026
Merged
Adding SparkSQLProperty for split-size#228shanthoosh merged 1 commit intolinkedin:openhouse-1.5.2from
shanthoosh merged 1 commit intolinkedin:openhouse-1.5.2from
Conversation
53524f8 to
095afa4
Compare
abhisheknath2011
approved these changes
Jan 8, 2026
Member
abhisheknath2011
left a comment
There was a problem hiding this comment.
Thanks for the quick PR.
teamurko
approved these changes
Jan 8, 2026
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.
Description
In Hive, we relied on the session-level config spark.sql.files.maxPartitionBytes to control file split sizes, and this was widely adopted across many flows at LinkedIn. As we transition to Iceberg, the equivalent setting is read.split.target-size, but it can't be set via session configs. This creates a gap—our current options are either to update thousands of jobs to pass this value through OPTIONS, or to set the table property spark.sql.iceberg.split-size directly on the tables and apply the config to all the jobs. Both of which is suboptimal.
Back-port PR: apache/iceberg#13677
Same changes done in spark-3.1 for openhouse-1.2.0 branch #190
Testing
./gradlew clean && ./gradlew build