Skip to content

[BYO-S3] Feature flag (storage.warehouse.enabled, default off) #6930

Description

@mengw15

Task Summary

Part of #6870. Add one on/off switch that hides the entire warehouse feature until it is fully
built. It defaults off, so merging these PRs changes nothing for users.

  • The switch — a new config key storage.warehouse.enabled in storage.conf (default
    false, overridable via the STORAGE_WAREHOUSE_ENABLED env var).
  • Derived gateStorageConfig.warehousesEnabled = storage.warehouse.enabled && icebergCatalogType == "rest";
    it is on only when the switch is on and the deployment uses the Lakekeeper (REST) catalog,
    since per-user warehouses need it.

On its own this changes nothing; the later PRs check warehousesEnabled to decide whether to show
the UI, accept the API calls, and route a run to a chosen warehouse.

Task Type

  • Other (feature implementation)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions