Skip to content

refactor(s3tables): derive catalog configuration from properties - #3103

Draft
blackmwk wants to merge 1 commit into
apache:mainfrom
blackmwk:ir-3097-s3tables-properties
Draft

refactor(s3tables): derive catalog configuration from properties#3103
blackmwk wants to merge 1 commit into
apache:mainfrom
blackmwk:ir-3097-s3tables-properties

Conversation

@blackmwk

@blackmwk blackmwk commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

What changes are included in this PR?

  • Replace S3TablesCatalogConfig with crate-private S3TablesCatalogProperties derived through the shared Properties macro.
  • Keep builder-only client injection and overrides on S3TablesCatalogBuilder, then resolve them into typed catalog properties with load properties taking precedence.
  • Store the catalog name and resolved typed properties directly in S3TablesCatalog.
  • Preserve fail-fast catalog-name and table-bucket-ARN validation.
  • Forward the complete raw property map to AWS configuration, FileIO, and KMS, matching the finalized Memory catalog pattern and Java-compatible behavior.
  • Add focused coverage for parsing, defaults, builder/property precedence, validation, and downstream raw-property forwarding.

Are these changes tested?

  • cargo test -p iceberg-catalog-s3tables --lib (25 passed)
  • cargo clippy -p iceberg-catalog-s3tables --all-targets -- -D warnings
  • cargo public-api -p iceberg-catalog-s3tables --all-features -ss | diff - crates/catalog/s3tables/public-api.txt
  • cargo fmt --all -- --check
  • git diff --check

AI Disclosure

This change was developed with assistance from OpenAI Codex. The contributor reviewed the resulting diff and test output.

@blackmwk
blackmwk force-pushed the ir-3097-s3tables-properties branch from deba379 to af75761 Compare September 4, 2026 03:06
Use the shared property derive for S3 Tables settings while retaining builder precedence and downstream AWS properties.

Tracks [apache#3097](apache#3097).

Generated-by: Codex
@blackmwk
blackmwk force-pushed the ir-3097-s3tables-properties branch from af75761 to 9cdbaaa Compare September 4, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(s3tables): derive catalog configuration from properties

1 participant