ST_ASTEXT (Lakehouse v2)
Converts a geometry to its WKT (Well-Known Text) representation.
Analyze Syntax
Section titled “Analyze Syntax”func.st_astext(<geometry>)Analyze Examples
Section titled “Analyze Examples”func.st_astext(func.st_point(1, 2))
┌───────────────┐│ 'POINT (1 2)' │└───────────────┘SQL Syntax
Section titled “SQL Syntax”ST_ASTEXT(<geometry>)SQL Examples
Section titled “SQL Examples”SELECT ST_ASTEXT(ST_POINT(1, 2));
┌─────────────┐│ POINT (1 2) │└─────────────┘