Hi all, +1 on dropping polaris.behavior-changes and putting those flags under polaris.features.
The prefix was never actually read, so nobody's relying on it. Internal vs feature is a bit of taste anyway, and one prefix is easier to document. The surprise right now is docs describing keys the code ignores - moving them under polaris.features fixes that. Thanks, Prithvi On Sat, Nov 28, 2026 at 1:01 AM Dmitri Bourlatchkov via dev < [email protected]> wrote: > Hi All, > > I am also in favour of dropping support for the polaris.behavior-changes > config prefix as I commented in GH [1]. > > My understanding is that they did not actually work very well, so we're not > losing much by removing that prefix. > > I believe it should be possible to migrate > existing BehaviorChangeConfiguration options to FeatureConfiguration. > > To second Alex's point, any user-visible behaviour change cannot be > considered internal, at least not in Polaris, which is an OSS project. In > other words, any user-visible behaviour flag is a "feature" of the project. > > +1 to being more diligent with docs describing feature flags. > > Cheers, > Dmitri. > > [1] https://github.com/apache/polaris/pull/6195#discussion_r4712091980 > > On Fri, Nov 27, 2026 at 9:15 AM Alex Dutra via dev <[email protected] > > > wrote: > > > 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 > > >
