-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Move ES|QL sample command from snapshot to tech preview #129540
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
Move ES|QL sample command from snapshot to tech preview #129540
Conversation
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.
Pull Request Overview
This PR moves the ES|QL SAMPLE command and its related parameter support from being enabled only on snapshot builds to always enabled as part of tech preview.
- Removes conditional enabling based on Build.current().isSnapshot() for SAMPLE_V3
- Removes conditional enabling based on Build.current().isSnapshot() for PARAMETER_FOR_SAMPLE
Comments suppressed due to low confidence (2)
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java:1085
- Since the conditional flag has been removed for SAMPLE_V3, please update the Javadoc to reflect that it is now part of the tech preview rather than available only on snapshot builds.
SAMPLE_V3,
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java:1210
- Since the conditional flag has been removed for PARAMETER_FOR_SAMPLE, please update its associated documentation to indicate that this capability is now available in tech preview.
PARAMETER_FOR_SAMPLE;
Pinging @elastic/ml-core (Team:ML) |
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.
Documentation already updated in #129350.
@jan-elastic, this change only enables the SAMPLE tests in non-SNAPSHOT builds - to actually enable it, you'll need to update the grammar and move SAMPLE out of the dev commands/stop guarding it behind this.isDevVersion()
.
Should this be backported to 8.19, too? |
d5d0631
to
2d383cc
Compare
All of SAMPLE still needs to be backported; that's on my todo list for this week |
2d383cc
to
567b937
Compare
567b937
to
479a84a
Compare
* Move ES|QL sample command from snapshot to tech preview * dev_sample -> sample * fix test * fix grammar
* Move ES|QL sample command from snapshot to tech preview * dev_sample -> sample * fix test * fix grammar
* ES|QL random sampling (#125570) * test: check ES|QL SAMPLE capability before running analyzer/parser tests (#127382) This commit resolves release test failures by checking the ES|QL SAMPLE capability before running the tests. * Fix ES|QL sample csv tests (#127838) * Remove optional seed from ES|QL SAMPLE (#128887) * Remove optional seed from ES|QL SAMPLE * make it clear that seed is for testing * rename ES|QL sample capability (#129193) * remove stats correction from ES|QL sample (#129319) * remove stats correction from ES|QL sample * [CI] Auto commit changes from spotless --------- Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co> * Allow parameter for ES|QL SAMPLE (#129392) * Allow parameter for ES|QL SAMPLE * fix test to work around issue #120272 * remove unused postAnalysisVerification * docs * [CI] Auto commit changes from spotless * fix usage * Move ES|QL sample command from snapshot to tech preview (#129540) * Move ES|QL sample command from snapshot to tech preview * dev_sample -> sample * fix test * fix grammar --------- Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
No description provided.