to_geohex.md 484 B

% This is generated by ESQL's AbstractFunctionTestCase. Do not edit it. See ../README.md for how to regenerate it.

TO GEOHEX

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)