-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following [CALCITE-4354], added 'calcite.experimental.allow.field.ind… #2267
Conversation
…ex.access' feature flag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @asolimando !
LGTM
One minor comment would be to see if we can enable the property by default during tests so that we have better coverage. I guess it should be doable to pass this to the gradle scripts somewhere. I can check it out when I will merge the PR.
core/src/main/java/org/apache/calcite/config/CalciteSystemProperty.java
Outdated
Show resolved
Hide resolved
Thanks, that's indeed a good idea. So far none of the CI-profiles were failing, so I guess we can activate the feature flag for all of them, and disable it in the feature we add a JVM with the problematic symptoms. Not sure where the best place to activate the flag is, but |
There is a test failure for the last commit: https://ci.appveyor.com/project/ApacheSoftwareFoundation/calcite/builds/36376813/job/5k2lubas8qbehk8o But it looks unrelated to me:
I am pretty sure I saw a "relaunch test" button somewhere sparing the need for an empty commit to retrigger tests, but I can't find it anymore. |
…eature flag (Alessandro Solimando) The runtime implementation for index based access is experimental since it is JVM-dependent (see CALCITE-2489), thus it is disabled by default. Nevertheless, the property is enabled by default during tests for better coverage. Close apache#2267
…eature flag (Alessandro Solimando) The runtime implementation for index based access is experimental since it is JVM-dependent (see CALCITE-2489), thus it is disabled by default. Nevertheless, the property is enabled by default during tests for better coverage. Close apache#2267
…ex.access' feature flag
Index-based field access for struct is experimental as it relies on field order which is JVM-dependent (see CALCITE-2489) and is disabled by default, it can be activated via 'calcite.experimental.allow.field.index.access=true'.