-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Refine ESQL docs handling of applies_to #125835
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
Changes from all commits
1c3ddc7
338ad98
0613bfd
895431f
6aa5510
bc6da1a
a979b81
7cad5a7
e283662
8983eaf
f682702
8899713
45032bb
90609b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -666,10 +666,6 @@ FROM employees | |
| ## `LOOKUP JOIN` [esql-lookup-join] | ||
|
|
||
| ::::{warning} | ||
| ```{applies_to} | ||
| stack: preview 9.0, coming 9.1 | ||
| serverless: preview | ||
| ``` | ||
| This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. | ||
| :::: | ||
|
|
||
|
|
@@ -753,10 +749,6 @@ FROM Left | |
| ## `MV_EXPAND` [esql-mv_expand] | ||
|
|
||
| ::::{warning} | ||
| ```{applies_to} | ||
| stack: preview 9.0, coming 9.1 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, good catch. This is in preview way longer than 9.0, and it's not coming to 9.1 as far as I know. MV_EXPAND was already in place in 8.11, when ESQL went into tech preview - at least there's an 8.11 PR that mentions it: #100598 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added these originally as examples to discuss with people, but failed to remove them. Based on current discussions, we should remove any version statements, even if the feature is available in serverless, as there is no guarrantee if it will come out in any particular stateful version. |
||
| serverless: preview | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this tag should still apply (but I agree this shouldn't be placed here). |
||
| ``` | ||
| This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. | ||
| :::: | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,4 +17,6 @@ | |
| String version() default ""; | ||
|
|
||
| String description() default ""; | ||
|
|
||
| boolean serverless() default true; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,8 +23,6 @@ | |
| import org.elasticsearch.xpack.esql.core.tree.Source; | ||
| import org.elasticsearch.xpack.esql.core.type.DataType; | ||
| import org.elasticsearch.xpack.esql.expression.function.Example; | ||
| import org.elasticsearch.xpack.esql.expression.function.FunctionAppliesTo; | ||
| import org.elasticsearch.xpack.esql.expression.function.FunctionAppliesToLifecycle; | ||
| import org.elasticsearch.xpack.esql.expression.function.FunctionInfo; | ||
| import org.elasticsearch.xpack.esql.expression.function.FunctionType; | ||
| import org.elasticsearch.xpack.esql.expression.function.Param; | ||
|
|
@@ -86,8 +84,7 @@ public class Values extends AggregateFunction implements ToAggregator { | |
| a [Circuit Breaker Error](docs-content://troubleshoot/elasticsearch/circuit-breaker-errors.md). | ||
| ::::""", | ||
| type = FunctionType.AGGREGATE, | ||
| examples = @Example(file = "string", tag = "values-grouped"), | ||
| appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW) } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file has both the old and new approaches to tech-preview, so I removed the new one until we make a final decision on how to deal with tech-preview warnings in general. They are all over the place, not just here, so this function was just an experiment to see what it looked like. |
||
| examples = @Example(file = "string", tag = "values-grouped") | ||
| ) | ||
| public Values( | ||
| Source source, | ||
|
|
||
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.
I agree that this maybe shouldn't be in the tech preview warning, but I don't know if these tags should be removed altogether. Maybe @leemthompo can suggest a better position?