From 406cdf70f4957f27a86858927ec6f1c56837dea5 Mon Sep 17 00:00:00 2001 From: Mark Tozzi Date: Mon, 2 Dec 2024 09:56:29 -0500 Subject: [PATCH] Function name formatting Co-authored-by: Bogdan Pintea --- .../java/org/elasticsearch/xpack/esql/core/type/DataType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java index 94d95b59429d1..5b08a88f5eb48 100644 --- a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java +++ b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java @@ -86,7 +86,7 @@ * sorting and the other binary comparisons. Make sure these functions all * have CSV tests that run against indexed data. *
  • Add conversion functions as appropriate. Almost all types should - * support TO_STRING, and should have a TO_TYPE function that accepts a + * support ToString, and should have a "ToType" function that accepts a * string. There may be other logical conversions depending on the nature * of the type. Make sure to add the conversion function to the * TYPE_TO_CONVERSION_FUNCTION map in EsqlDataTypeConverter. Make sure the