Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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.

8 changes: 0 additions & 8 deletions docs/reference/query-languages/esql/esql-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
::::

Expand Down Expand Up @@ -753,10 +749,6 @@ FROM Left
## `MV_EXPAND` [esql-mv_expand]

::::{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.
::::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@
String version() default "";

String description() default "";

boolean serverless() default true;
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,22 @@
package org.elasticsearch.xpack.esql.expression.function;

public enum FunctionAppliesToLifecycle {
PREVIEW,
BETA,
DEVELOPMENT,
DEPRECATED,
COMING,
DISCONTINUED,
UNAVAILABLE,
GA
PREVIEW(true),
BETA(false),
DEVELOPMENT(false),
DEPRECATED(true),
COMING(true),
DISCONTINUED(false),
UNAVAILABLE(false),
GA(true);

private final boolean serverless;

FunctionAppliesToLifecycle(boolean serverless) {
this.serverless = serverless;
}

public FunctionAppliesToLifecycle serverlessLifecycle() {
return serverless ? GA : this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) }
examples = @Example(file = "string", tag = "values-grouped")
)
public Values(
Source source,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ public class Match extends FullTextFunction implements OptionalArgument, PostOpt
appliesTo = {
@FunctionAppliesTo(
lifeCycle = FunctionAppliesToLifecycle.COMING,
version = "9.1.0",
description = "Support for optional named parameters is only available from 9.1.0"
description = "Support for optional named parameters is only available in serverless, or in a future {{es}} release"
) }
)
public Match(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ public class QueryString extends FullTextFunction implements OptionalArgument {
appliesTo = {
@FunctionAppliesTo(
lifeCycle = FunctionAppliesToLifecycle.COMING,
version = "9.1.0",
description = "Support for optional named parameters is only available from 9.1.0"
description = "Support for optional named parameters is only available in serverless, or in a future {{es}} release"
) }
)
public QueryString(
Expand Down
Loading