|
@@ -388,16 +388,7 @@ public class EsqlFunctionRegistry {
|
|
|
def(StYMax.class, StYMax::new, "st_ymax"),
|
|
|
def(StYMin.class, StYMin::new, "st_ymin"),
|
|
|
def(StX.class, StX::new, "st_x"),
|
|
|
- def(StY.class, StY::new, "st_y"),
|
|
|
- def(StGeohash.class, StGeohash::new, "st_geohash"),
|
|
|
- def(StGeohashToLong.class, StGeohashToLong::new, "st_geohash_to_long"),
|
|
|
- def(StGeohashToString.class, StGeohashToString::new, "st_geohash_to_string"),
|
|
|
- def(StGeotile.class, StGeotile::new, "st_geotile"),
|
|
|
- def(StGeotileToLong.class, StGeotileToLong::new, "st_geotile_to_long"),
|
|
|
- def(StGeotileToString.class, StGeotileToString::new, "st_geotile_to_string"),
|
|
|
- def(StGeohex.class, StGeohex::new, "st_geohex"),
|
|
|
- def(StGeohexToLong.class, StGeohexToLong::new, "st_geohex_to_long"),
|
|
|
- def(StGeohexToString.class, StGeohexToString::new, "st_geohex_to_string") },
|
|
|
+ def(StY.class, StY::new, "st_y") },
|
|
|
// conditional
|
|
|
new FunctionDefinition[] { def(Case.class, Case::new, "case") },
|
|
|
// null
|
|
@@ -465,7 +456,16 @@ public class EsqlFunctionRegistry {
|
|
|
def(Delay.class, Delay::new, "delay"),
|
|
|
def(Rate.class, Rate::withUnresolvedTimestamp, "rate"),
|
|
|
def(Term.class, bi(Term::new), "term"),
|
|
|
- def(Knn.class, tri(Knn::new), "knn") } };
|
|
|
+ def(Knn.class, tri(Knn::new), "knn"),
|
|
|
+ def(StGeohash.class, StGeohash::new, "st_geohash"),
|
|
|
+ def(StGeohashToLong.class, StGeohashToLong::new, "st_geohash_to_long"),
|
|
|
+ def(StGeohashToString.class, StGeohashToString::new, "st_geohash_to_string"),
|
|
|
+ def(StGeotile.class, StGeotile::new, "st_geotile"),
|
|
|
+ def(StGeotileToLong.class, StGeotileToLong::new, "st_geotile_to_long"),
|
|
|
+ def(StGeotileToString.class, StGeotileToString::new, "st_geotile_to_string"),
|
|
|
+ def(StGeohex.class, StGeohex::new, "st_geohex"),
|
|
|
+ def(StGeohexToLong.class, StGeohexToLong::new, "st_geohex_to_long"),
|
|
|
+ def(StGeohexToString.class, StGeohexToString::new, "st_geohex_to_string") } };
|
|
|
}
|
|
|
|
|
|
public EsqlFunctionRegistry snapshotRegistry() {
|