Trino Functions
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
SDF is now a part of dbt Labs. Get live CTA previews, inline errors, and mesh support natively in the dbt platform. Learn more Β· Migrate to Fusion
bing_tilefunction bing_tile(bigint, bigint, bigint) returns bingtile
function bing_tile(varchar) returns bingtile
bing_tile_atfunction bing_tile_at(double, double, bigint) returns bingtile
bing_tile_coordinatesfunction bing_tile_coordinates(bingtile) returns row(x bigint, y bigint)
bing_tile_polygonfunction bing_tile_polygon(bingtile) returns geometry
bing_tile_quadkeyfunction bing_tile_quadkey(bingtile) returns varchar
bing_tile_zoom_levelfunction bing_tile_zoom_level(bingtile) returns tinyint
bing_tiles_aroundfunction bing_tiles_around(double, double, bigint) returns array<bingtile>
function bing_tiles_around(double, double, bigint, double) returns array<bingtile>
convex_hull_aggfunction convex_hull_agg(geometry) returns geometry
from_encoded_polylinefunction from_encoded_polyline(varchar) returns geometry
from_geojson_geometryfunction from_geojson_geometry(varchar) returns sphericalgeography
geometry_from_hadoop_shapefunction geometry_from_hadoop_shape(varbinary) returns geometry
geometry_invalid_reasonfunction geometry_invalid_reason(geometry) returns varchar
geometry_nearest_pointsfunction geometry_nearest_points(geometry, geometry) returns row(c0 geometry, c1 geometry)
geometry_to_bing_tilesfunction geometry_to_bing_tiles(geometry, bigint) returns array<bingtile>
geometry_unionfunction geometry_union(array<geometry>) returns geometry
geometry_union_aggfunction geometry_union_agg(geometry) returns geometry
great_circle_distancefunction great_circle_distance(double, double, double, double) returns double
line_interpolate_pointfunction line_interpolate_point(geometry, double) returns geometry
line_interpolate_pointsfunction line_interpolate_points(geometry, double) returns array<geometry>
line_locate_pointfunction line_locate_point(geometry, geometry) returns double
simplify_geometryfunction simplify_geometry(geometry, double) returns geometry
ST_Areafunction ST_Area(geometry) returns double
function ST_Area(sphericalgeography) returns double
ST_AsBinaryfunction ST_AsBinary(geometry) returns varbinary
ST_AsTextfunction ST_AsText(geometry) returns varchar
ST_Boundaryfunction ST_Boundary(geometry) returns geometry
ST_Bufferfunction ST_Buffer(geometry, double) returns geometry
ST_Centroidfunction ST_Centroid(geometry) returns geometry
ST_Containsfunction ST_Contains(geometry, geometry) returns boolean
ST_ConvexHullfunction ST_ConvexHull(geometry) returns geometry
ST_CoordDimfunction ST_CoordDim(geometry) returns tinyint
ST_Crossesfunction ST_Crosses(geometry, geometry) returns boolean
ST_Differencefunction ST_Difference(geometry, geometry) returns geometry
ST_Dimensionfunction ST_Dimension(geometry) returns tinyint
ST_Disjointfunction ST_Disjoint(geometry, geometry) returns boolean
ST_Distancefunction ST_Distance(geometry, geometry) returns double
function ST_Distance(sphericalgeography, sphericalgeography) returns double
ST_EndPointfunction ST_EndPoint(geometry) returns geometry
ST_Envelopefunction ST_Envelope(geometry) returns geometry
ST_EnvelopeAsPtsfunction ST_EnvelopeAsPts(geometry) returns array<geometry>
ST_Equalsfunction ST_Equals(geometry, geometry) returns boolean
ST_ExteriorRingfunction ST_ExteriorRing(geometry) returns geometry
ST_Geometriesfunction ST_Geometries(geometry) returns array<geometry>
ST_GeometryFromTextfunction ST_GeometryFromText(varchar) returns geometry
ST_GeometryNfunction ST_GeometryN(geometry, bigint) returns geometry
ST_GeometryTypefunction ST_GeometryType(geometry) returns varchar
ST_GeomFromBinaryfunction ST_GeomFromBinary(varbinary) returns geometry
ST_InteriorRingNfunction ST_InteriorRingN(geometry, bigint) returns geometry
ST_InteriorRingsfunction ST_InteriorRings(geometry) returns array<geometry>
ST_Intersectionfunction ST_Intersection(geometry, geometry) returns geometry
ST_Intersectsfunction ST_Intersects(geometry, geometry) returns boolean
ST_IsClosedfunction ST_IsClosed(geometry) returns boolean
ST_IsEmptyfunction ST_IsEmpty(geometry) returns boolean
ST_IsRingfunction ST_IsRing(geometry) returns boolean
ST_IsSimplefunction ST_IsSimple(geometry) returns boolean
ST_IsValidfunction ST_IsValid(geometry) returns boolean
ST_Lengthfunction ST_Length(geometry) returns double
function ST_Length(sphericalgeography) returns double
ST_LineFromTextfunction ST_LineFromText(varchar) returns geometry
ST_LineStringfunction ST_LineString(array<geometry>) returns geometry
ST_MultiPointfunction ST_MultiPoint(array<geometry>) returns geometry
ST_NumGeometriesfunction ST_NumGeometries(geometry) returns bigint
ST_NumInteriorRingfunction ST_NumInteriorRing(geometry) returns bigint
ST_NumPointsfunction ST_NumPoints(geometry) returns bigint
ST_Overlapsfunction ST_Overlaps(geometry, geometry) returns boolean
ST_Pointfunction ST_Point(double, double) returns geometry
ST_PointNfunction ST_PointN(geometry, bigint) returns geometry
ST_Pointsfunction ST_Points(geometry) returns array<geometry>
ST_Polygonfunction ST_Polygon(varchar) returns geometry
ST_Relatefunction ST_Relate(geometry, geometry, varchar) returns boolean
ST_StartPointfunction ST_StartPoint(geometry) returns geometry
ST_SymDifferencefunction ST_SymDifference(geometry, geometry) returns geometry
ST_Touchesfunction ST_Touches(geometry, geometry) returns boolean
ST_Unionfunction ST_Union(geometry, geometry) returns geometry
ST_Withinfunction ST_Within(geometry, geometry) returns boolean
ST_Xfunction ST_X(geometry) returns double
ST_XMaxfunction ST_XMax(geometry) returns double
ST_XMinfunction ST_XMin(geometry) returns double
ST_Yfunction ST_Y(geometry) returns double
ST_YMaxfunction ST_YMax(geometry) returns double
ST_YMinfunction ST_YMin(geometry) returns double
to_encoded_polylinefunction to_encoded_polyline(geometry) returns varchar
to_geojson_geometryfunction to_geojson_geometry(sphericalgeography) returns varchar
to_geometryfunction to_geometry(sphericalgeography) returns geometry
to_spherical_geographyfunction to_spherical_geography(geometry) returns sphericalgeography