Skip to content

ORC: Remove unused conf field from OrcFileAppender#16345

Open
wombatu-kun wants to merge 1 commit into
apache:mainfrom
wombatu-kun:orc-orcfileappender-cleanup
Open

ORC: Remove unused conf field from OrcFileAppender#16345
wombatu-kun wants to merge 1 commit into
apache:mainfrom
wombatu-kun:orc-orcfileappender-cleanup

Conversation

@wombatu-kun
Copy link
Copy Markdown
Contributor

@wombatu-kun wombatu-kun commented May 15, 2026

Summary

Removes the unused conf field from OrcFileAppender (TODO in source). The tests in TestTableProperties are reworked to verify the configured ORC codec end-to-end via OrcFile.createReader instead of reflecting into
the appender.

The previous tests asserted on four property keys (STRIPE_SIZE, BLOCK_SIZE, COMPRESS, COMPRESSION_STRATEGY). All four are propagated by the same straight-line code in ORC.WriteBuilder.build() — four adjacent OrcConf.XXX.set(conf, …) calls with no branching. A passing end-to-end check on the codec therefore implicitly confirms the rest: there is no realistic regression where one of these property copies breaks while the others survive.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the ORC label May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant