All Products
Search
Document Center

ApsaraDB RDS:ST_H3FromInt

Last Updated:Sep 27, 2023

This topic describes the ST_H3FromInt function. This function converts an H3-encoded object of the long integer type into an object of the H3Grid data type.

Syntax

h3grid ST_H3FromInt(bigint   code)

Parameters

Parameter

Description

code

The H3-encoded grid object of the BigInt type.

Examples

select st_h3fromint(613792635565375487);

      st_h3fromint      
------------------------
 010100FFFF9F6826A18408