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

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
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions Bot added the stale label Oct 5, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

@github-actions github-actions Bot closed this Oct 12, 2026
@blackmwk blackmwk reopened this Oct 14, 2026
@blackmwk blackmwk removed the stale label Oct 14, 2026

This branch has not been deployed

No deployments
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