ST_LINEFROMTEXT (Lakehouse v2)
Cria uma geometria de linha a partir de uma cadeia de caracteres WKT.
Sintaxe de Analyze
Seção intitulada “Sintaxe de Analyze”func.st_linefromtext(<wkt>)Exemplos de Analyze
Seção intitulada “Exemplos de Analyze”func.st_linefromtext('LINESTRING (0 0, 1 1, 2 2)')
┌────────────┐│ (geometry) │└────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”ST_LINEFROMTEXT(<wkt>)Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT ST_ASTEXT(ST_LINEFROMTEXT('LINESTRING (0 0, 1 1, 2 2)'));
┌────────────────────────────┐│ LINESTRING (0 0, 1 1, 2 2) │└────────────────────────────┘