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 gate —
StorageConfig.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
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.
storage.warehouse.enabledinstorage.conf(defaultfalse, overridable via theSTORAGE_WAREHOUSE_ENABLEDenv var).StorageConfig.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
warehousesEnabledto decide whether to showthe UI, accept the API calls, and route a run to a chosen warehouse.
Task Type