Skip to content

Commit 09fb70e

Browse files
committed
StX and StY are not preview
1 parent 8347cd5 commit 09fb70e

File tree

5 files changed

+2
-11
lines changed
  • docs/reference/query-languages/esql
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/spatial

5 files changed

+2
-11
lines changed

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

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

docs/reference/query-languages/esql/kibana/definition/functions/st_x.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/kibana/definition/functions/st_y.json

Lines changed: 1 addition & 1 deletion
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/spatial/StX.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
import org.elasticsearch.xpack.esql.core.tree.Source;
1919
import org.elasticsearch.xpack.esql.core.type.DataType;
2020
import org.elasticsearch.xpack.esql.expression.function.Example;
21-
import org.elasticsearch.xpack.esql.expression.function.FunctionAppliesTo;
22-
import org.elasticsearch.xpack.esql.expression.function.FunctionAppliesToLifecycle;
2321
import org.elasticsearch.xpack.esql.expression.function.FunctionInfo;
2422
import org.elasticsearch.xpack.esql.expression.function.Param;
2523
import org.elasticsearch.xpack.esql.expression.function.scalar.UnaryScalarFunction;
@@ -43,8 +41,6 @@ public class StX extends UnaryScalarFunction {
4341

4442
@FunctionInfo(
4543
returnType = "double",
46-
preview = true,
47-
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW) },
4844
description = "Extracts the `x` coordinate from the supplied point.\n"
4945
+ "If the points is of type `geo_point` this is equivalent to extracting the `longitude` value.",
5046
examples = @Example(file = "spatial", tag = "st_x_y")

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public class StY extends UnaryScalarFunction {
4141

4242
@FunctionInfo(
4343
returnType = "double",
44-
preview = true,
4544
description = "Extracts the `y` coordinate from the supplied point.\n"
4645
+ "If the points is of type `geo_point` this is equivalent to extracting the `latitude` value.",
4746
examples = @Example(file = "spatial", tag = "st_x_y")

0 commit comments

Comments
 (0)