H3_TO_PARENT (Lakehouse v1)
Returns the parent index containing the h3 at resolution parent_res. Returning 0 means an error occurred.
Analyze Syntax
Section titled “Analyze Syntax”func.h3_to_parent(h3, parent_res)Analyze Examples
Section titled “Analyze Examples”func.h3_to_parent(635318325446452991, 12)
┌───────────────────────────────────────────┐│ func.h3_to_parent(635318325446452991, 12) │├───────────────────────────────────────────┤│ 630814725819082751 │└───────────────────────────────────────────┘SQL Syntax
Section titled “SQL Syntax”H3_TO_PARENT(h3, parent_res)SQL Examples
Section titled “SQL Examples”SELECT H3_TO_PARENT(635318325446452991, 12);
┌──────────────────────────────────────┐│ h3_to_parent(635318325446452991, 12) │├──────────────────────────────────────┤│ 630814725819082751 │└──────────────────────────────────────┘