Hi all,

+1 to the homes Dmitri proposed for FileIO and page size.

[1] copies rest-page-size from catalog entity properties when it
is set. Landing that copy would teach operators to store an Iceberg key
on the catalog, and a later change would then ignore it.

Yufei is right that table-default.* should stay off GET /v1/config.
Polaris already applies those defaults when a table is created, and
they show up in table metadata [2].

I'll reshape #6089 so the Polaris pagination flags are the home.
rest-page-size stays on the wire, and table-default.* stays off this
endpoint. FileIO from storage config can follow separately.

Thanks,
Vignesh

[1] https://github.com/apache/polaris/pull/6089
[2]
https://github.com/apache/polaris/blob/53a1b60125c4d61ec5d7a372ef9b18e008ee2e13/runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/LocalIcebergCatalog.java#L334-L335

On Wed, 25 Nov 2026 at 06:54, Yufei Gu <[email protected]> wrote:

> Do we need to send table-default.* as part of  /v1/config response?
> table-default.* sets defaults for new Iceberg tables, For example,
> setting table-default.write.object-storage.enabled=true on the catalog
> gives new tables write.object-storage.enabled=true unless the create
> request specifies a different value. Polaris applies the defaults on
> the server, and clients receive the resulting properties in the table
> metadata. I didn't see any reason to send them via the `/v1/config`
> endpoint.
>
> I'd suggest clarifying what should be sent first by checking Iceberg
> documentation and client behaviors. Then figure out how we derive them
> from the catalog properties, or a new way to define them in catalog if
> they are missing.
>
> Yufei
>
>
> Yufei
>
>
> On Mon, Nov 23, 2026 at 4:46 PM Dmitri Bourlatchkov via dev
> <[email protected]> wrote:
> >
> > Hi Vignesh, everybody,
> >
> > This thread opens a valid issue for discussion, but I'm not sure the
> > current diff in PR [6089] is the best way to address it.
> >
> > I think we perhaps need to consider how it looks from the user's
> > perspective.
> >
> > The /v1/config endpoint provides default values and overrides for the
> > client-side Iceberg catalog properties.
> >
> > On the Polaris side the question is where we think the best place is to
> > keep those properties.
> >
> > Here is my proposal:
> >
> > * For FileIO-related settings use the approach proposed in [5756], i.e.
> > derive those properties from Storage Configuration
> >
> > * For table defaults, it may be fine to reuse current public Catalog
> > properties, but strictly filter them down by prefix. Ideally these
> > properties should be scoped by table technology, e.g.
> > "iceberg.table-default." (because Polaris may host different table
> types).
> >
> > * For page size, etc., use native Polaris feature flags to dervive those
> > values. Do not use Catalog properties for that at all (if set by the
> user,
> > ignore with a warning).
> >
> > * Do not send any other Catalog properties to clients.
> >
> > WDYT?
> >
> > Thanks,
> > Dmitri.
> >
> > [5756] https://github.com/apache/polaris/pull/5756
> >
> > [6089] https://github.com/apache/polaris/pull/6089
> >
> > On Fri, Nov 13, 2026 at 8:27 AM vignesh a <[email protected]>
> wrote:
> >
> > > Hi Dmitri,
> > >
> > > +1 on catalog entity properties staying off Iceberg
> > > clients automatically. StorageAccessConfig is the
> > > later source for client FileIO on GET /v1/config.
> > >
> > > I'll take this in steps. For the first step, I've
> > > built the Iceberg defaults from the client-facing
> > > set Yufei listed on #5246 [1]. Defaults now carry
> > > rest-page-size and rest-metrics-reporting-enabled
> > > when they're set on the catalog. prefix and
> > > namespace-separator stay in overrides.
> > >
> > > Everything else stays on Management GET catalog:
> > > polaris.config.*, the registered catalog config
> > > keys including the legacy unprefixed names JB
> > > listed, default-base-location, table-default.*
> > > and leftover custom keys. Catalog-level FileIO
> > > keys stay off Iceberg defaults there.
> > >
> > > That first step is up as #6089 [2], with a
> > > CHANGELOG entry and GetConfigTest coverage of the
> > > defaults. Listing StorageAccessConfig on
> > > /v1/config can follow after, with the move from
> > > catalog entity properties to storage config.
> > >
> > > Thanks,
> > > Vignesh
> > >
> > > [1] https://github.com/apache/polaris/pull/5246#discussion_r4420704567
> > > [2] https://github.com/apache/polaris/pull/6089
> > >
> > > On Fri, 13 Nov 2026 at 06:02, Dmitri Bourlatchkov via dev <
> > > [email protected]> wrote:
> > >
> > > > Hi Vignesh,
> > > >
> > > > Thanks for starting this proposal.
> > > >
> > > > I agree with your plan, but I think we need to take it one step
> further.
> > > >
> > > > I believe /v1/config responses only need to list
> > > > properties from StorageAccessConfig.
> > > >
> > > > I think Catalog _entity_ properties do not need to go to Iceberg
> clients
> > > > automatically. StorageAccessConfig should be sufficient for allowing
> > > > clients to operate.
> > > >
> > > > That said, we probably need [5756] before we can implement that
> proposal.
> > > >
> > > > So, we can probably do this transition in several steps. First,
> remove
> > > what
> > > > we can now. Then implement [5756], then instruct users on how to move
> > > from
> > > > Catalog properties to Storage Config properties.
> > > >
> > > > WDYT?
> > > >
> > > > Thanks,
> > > > Dmitri.
> > > >
> > > > [5756] https://github.com/apache/polaris/pull/5756
> > > >
> > > > On Sat, Nov 7, 2026 at 6:32 AM vignesh a <[email protected]>
> wrote:
> > > >
> > > > > Hi all,
> > > > >
> > > > > Iceberg REST GET /v1/config is how clients bootstrap a
> > > > > catalog [1]. After #5246 [2], a 200 still returns the full
> > > > > catalog properties bag; the endpoint gate is off by default.
> > > > > The CHANGELOG says that default will not flip until
> > > > > client-facing catalog configuration is defined [3]. I'd like
> > > > > to define it.
> > > > >
> > > > > Today a 200 puts CatalogEntity.getPropertiesAsMap() into
> > > > > ConfigResponse.defaults. Overrides already carry prefix and the
> > > > > namespace separator; endpoints and the optional
> > > > > idempotency-key-lifetime are separate fields. Storage config,
> > > > > connection config and secrets live in internal properties and
> > > > > are already omitted.
> > > > >
> > > > > What still goes out in defaults is the whole public properties
> > > > > map: default-base-location, operator custom keys, Iceberg
> > > > > catalog properties, and polaris.config.* catalog overrides
> > > > > (drop-with-purge, unstructured locations, list pagination,
> > > > > credential vending, and so on).
> > > > >
> > > > > Management GET catalog is a separate API, gated by
> > > > > CATALOG_READ_PROPERTIES. Iceberg GET /v1/config exists for REST
> > > > > clients to configure the catalog and HTTP client [1]. I read
> > > > > polaris.config.* as server/operator policy, not Iceberg client
> > > > > configuration. Stripping keys Spark or other clients actually
> > > > > consume would be a breaking change, and I'd rather not add a
> > > > > second privilege (GET_CATALOG_CONFIG_PROPERTIES). One authorized
> > > > > 200, with a defined bag.
> > > > >
> > > > > The plan I have in mind:
> > > > >
> > > > > Keep default-base-location, custom keys and Iceberg catalog
> > > > > properties in /v1/config defaults..
> > > > > Drop polaris.config.* keys from the Iceberg response; they
> > > > > stay available via Management GET catalog.
> > > > > Leave overrides, endpoints and idempotency-key-lifetime as is.
> > > > > Document the contract, then consider flipping
> > > > > ENFORCE_CATALOG_CONFIG_AUTHORIZATION [3]..
> > > > >
> > > > > If any polaris.config.* key is consumed by an Iceberg client
> > > > > today, it should stay in defaults; please name it here.
> > > > >
> > > > > Thoughts?
> > > > >
> > > > > Thanks,
> > > > > *Vignesh*
> > > > >
> > > > > [1] Iceberg REST spec, GET /v1/config (defaults, then client
> > > > >     config, then overrides)
> > > > > [2] https://github.com/apache/polaris/pull/5246
> > > > > [3] https://github.com/apache/polaris/issues/5684
> > > > >
> > > >
> > >
>

Reply via email to