% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.
Converts an input value to a geohex
value.
A string will only be successfully converted if it respects the
geohex
format, as described for the
geohex grid aggregation.
ROW string = "841f059ffffffff"
| EVAL geohex = TO_GEOHEX(string)