Hi all,

TBH I'd be in favor of dropping polaris.behavior-changes and moving
everything under polaris.features.

AFAIR these "behavior changes" were meant to be "internal
configuration flags for non-feature behavior changes". But what
defines "internal" and "non-feature" is largely a matter of taste.
E.g. why is VALIDATE_VIEW_LOCATION_OVERLAP an "internal" flag?

I think it would be just easier to consider everything a feature flag,
and document which ones can have subtle effects and why.

Thanks,
Alex

On Fri, Nov 27, 2026 at 1:28 PM Ayush Saxena <[email protected]> wrote:
>
> Hi Vignesh,
>
> I'd go with honoring the documented prefix, as in #6195. The docs for these
> keys only exist under in-dev/unreleased, so few users can have copied them,
> and docs that describe settings the code ignores are the bigger problem.
>
> One thing worth checking in #6195: two test profiles already set
> polaris.behavior-changes."ALLOW_NAMESPACE_CUSTOM_LOCATION" to true, the 
> default
> Iceberg catalog profile and the authz base profile. That flag defaults to 
> false,
> so those suites run with it off today and would get it on once the prefix is
> honored. Could you confirm the affected tests still assert what they did 
> before?
>
> -Ayush
>
> On Fri, 27 Nov 2026 at 17:33, vignesh a <[email protected]> wrote:
> >
> > Hi all,
> >
> > While working on [1], I noticed that [2] added a polaris.behavior-changes
> > prefix, and the generated docs list those flags under it.
> >
> > DefaultConfigurationStore only reads polaris.features, so setting them
> > under the documented prefix does nothing today. RealmConfig just falls
> > back to the code default. The same key under polaris.features works fine.
> >
> > [1] makes the store read the documented prefix so the docs and the code
> > agree. Nothing in Helm or application.properties sets it, so default
> > installs don't change.
> >
> > The one behavior change: if someone already copied the documented keys,
> > those would start taking effect.
> >
> > I see two ways to go: honor the documented prefix as [1] does, or drop
> > polaris.behavior-changes and document those flags under polaris.features
> > only.
> >
> > I lean toward the first since it matches what users already read, but
> > I'm fine either way. Which would people prefer? I'll update [1] to
> > match.
> >
> > Thanks,
> > Vignesh
> >
> > [1] https://github.com/apache/polaris/pull/6195
> > [2] https://github.com/apache/polaris/pull/1124

Reply via email to