Skip to content

Commit 9abbba4

Browse files
committed
add info about GA on 9.2.0
1 parent 71958fc commit 9abbba4

File tree

2 files changed

+7
-1
lines changed
  • docs/reference/query-languages/esql/_snippets/functions/layout
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/date

2 files changed

+7
-1
lines changed

docs/reference/query-languages/esql/_snippets/functions/layout/day_name.md

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/date/DayName.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
import org.elasticsearch.xpack.esql.core.tree.Source;
2121
import org.elasticsearch.xpack.esql.core.type.DataType;
2222
import org.elasticsearch.xpack.esql.expression.function.Example;
23+
import org.elasticsearch.xpack.esql.expression.function.FunctionAppliesTo;
24+
import org.elasticsearch.xpack.esql.expression.function.FunctionAppliesToLifecycle;
2325
import org.elasticsearch.xpack.esql.expression.function.FunctionInfo;
2426
import org.elasticsearch.xpack.esql.expression.function.Param;
2527
import org.elasticsearch.xpack.esql.expression.function.scalar.EsqlConfigurationFunction;
@@ -44,7 +46,8 @@ public class DayName extends EsqlConfigurationFunction {
4446
@FunctionInfo(
4547
returnType = "keyword",
4648
description = "Returns the name of the weekday for date based on the configured Locale.",
47-
examples = @Example(file = "date", tag = "docsDayName")
49+
examples = @Example(file = "date", tag = "docsDayName"),
50+
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.GA, version = "9.2.0") }
4851
)
4952
public DayName(
5053
Source source,

0 commit comments

Comments
 (0)