Skip to content

refactor(rest): derive catalog configuration from properties #3100

Description

@blackmwk

Part of apache/iceberg-rust#3094.

Is your feature request related to a problem or challenge?

The REST catalog manually parses URI and warehouse properties at initial load and while merging server defaults and overrides, alongside OAuth, headers, storage, and injected runtime state.

Describe the solution you would like

Use the Properties derive macro for the REST catalog property projection while preserving client and server precedence, injected clients, arbitrary REST and storage properties, and secret-redacting debug output.

Acceptance criteria:

  • Public REST catalog builder APIs remain unchanged.
  • Server defaults, client configuration, and server overrides retain their current precedence.
  • OAuth, header, FileIO, and KMS properties remain available downstream.
  • Injected clients and redacted Debug output remain unchanged.
  • Focused unit tests cover parsing, merge precedence, retention, and redaction.

Willingness to contribute

I can contribute to this feature independently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions