Move ES|QL sample command from snapshot to tech preview#129540
Move ES|QL sample command from snapshot to tech preview#129540jan-elastic merged 5 commits intoelastic:mainfrom
Conversation
There was a problem hiding this comment.
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) |
alex-spies
left a comment
There was a problem hiding this comment.
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>
* 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
No description provided.