Skip to content

feat: expose native PyIceberg catalog access - #364

Open
konstantinoscs wants to merge 1 commit into
feature/tow-2644-support-inheritance-and-caching-of-credentials-on-the-sdkfrom
feature/tow-2703-expose-the-native-pyiceberg-access
Open

feat: expose native PyIceberg catalog access#364
konstantinoscs wants to merge 1 commit into
feature/tow-2644-support-inheritance-and-caching-of-credentials-on-the-sdkfrom
feature/tow-2703-expose-the-native-pyiceberg-access

Conversation

@konstantinoscs

@konstantinoscs konstantinoscs commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add the public tower.load_catalog() API through the optional Iceberg feature.
  • Resolve one Tower-managed catalog independently per call and return the unwrapped native PyIceberg Catalog.
  • Default to read access, require explicit read-write mode for mutations, and keep provider credentials fixed for the returned handle.
  • Map authentication, permission, not-found, unsupported-catalog, and connection failures to documented Storage exceptions.
  • Remove the legacy automatic default-catalog provisioning retry.
  • Document the API, authentication precedence, inheritance, and expiry behavior in the package reference.

Stack

Testing

  • 134 focused Storage and Tables tests passed.
  • 249 full-suite tests passed, 10 skipped.
  • Black and mypy passed.
  • Exact local dependency versions: PyArrow 23.0.1 and PyIceberg 0.11.1.

Add tower.load_catalog for one-shot Tower-managed catalog resolution with read-only access by default and explicit read-write mode. Return the native PyIceberg catalog without retaining Tower resolver state.

Map Tower control-plane failures to documented Storage exceptions, remove the legacy default-catalog provisioning retry, and cover isolation, expiry, provider errors, and optional exports.
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: aeefbd83-c73b-4f59-b3e5-c20de4fb583a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

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.

1 participant