All Products
Search
Document Center

ApsaraDB RDS:ST_H3FromText

Last Updated:Mar 28, 2026

Converts an H3-encoded string to the h3grid data type.

Syntax

h3grid ST_H3FromText(text h3code);

Parameters

ParameterTypeDescription
h3codetextThe H3-encoded grid object to convert.

Examples

SELECT ST_H3FromText('884a126689fffff');

Output:

     st_h3fromtext
------------------------
 010100FFFF9F6826A18408