Bigquery 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
s2_cellidfrompointfunction s2_cellidfrompoint(geography) returns bigint
s2_coveringcellidsfunction s2_coveringcellids(geography) returns array<bigint>
st_anglefunction st_angle(geography, geography, geography) returns double
st_areafunction st_area(geography) returns double
function st_area(geography, bool) returns double
st_asbinaryfunction st_asbinary(geography) returns bytes
st_asgeojsonfunction st_asgeojson(geography) returns string
st_astextfunction st_astext(geography) returns string
st_azimuthfunction st_azimuth(geography, geography) returns double
st_boundaryfunction st_boundary(geography) returns geography
st_boundingboxfunction st_boundingbox(geography) returns geography
st_bufferfunction st_buffer(geography, double) returns geography
function st_buffer(geography, double, double) returns geography
st_bufferwithtolerancefunction st_bufferwithtolerance(geography, double, double) returns
st_centroidfunction st_centroid(geography) returns geography
st_centroid_aggfunction st_centroid_agg(geography) returns geography
st_closestpointfunction st_closestpoint(geography, geography) returns geography
function st_closestpoint(geography, geography, bool) returns geography
st_clusterdbscanfunction st_clusterdbscan(geography, double, bigint) returns bigint
st_containsfunction st_contains(geography, geography) returns bool
st_convexhullfunction st_convexhull(geography) returns geography
st_coveredbyfunction st_coveredby(geography, geography) returns bool
st_coversfunction st_covers(geography, geography) returns bool
st_differencefunction st_difference(geography, geography) returns geography
st_dimensionfunction st_dimension(geography) returns bigint
st_disjointfunction st_disjoint(geography, geography) returns bool
st_distancefunction st_distance(geography, geography) returns double
function st_distance(geography, geography, bool) returns double
st_dumpfunction st_dump(geography) returns geography
function st_dump(geography, bigint) returns geography
st_dwithinfunction st_dwithin(geography, geography, double) returns bool
st_endpointfunction st_endpoint(geography) returns geography
st_equalsfunction st_equals(geography, geography) returns bool
st_exteriorringfunction st_exteriorring(geography) returns geography
st_geogfromfunction st_geogfrom(string) returns geography
function st_geogfrom(bytes) returns geography
st_geogfromgeojsonfunction st_geogfromgeojson(string) returns geography
st_geogfromtextfunction st_geogfromtext(string, bool) returns geography
function st_geogfromtext(string) returns geography
st_geogfromwkbfunction st_geogfromwkb(bytes) returns geography
function st_geogfromwkb(string) returns geography
st_geogpointfunction st_geogpoint(double, double) returns geography
st_geogpointfromgeohashfunction st_geogpointfromgeohash(string) returns geography
function st_geogpointfromgeohash(string, double, double) returns geography
st_geohashfunction st_geohash(geography) returns string
function st_geohash(geography, bigint) returns string
st_geometrytypefunction st_geometrytype(geography) returns string
st_interiorringsfunction st_interiorrings(geography) returns array<geography>
st_intersectionfunction st_intersection(geography, geography) returns geography
st_intersectsfunction st_intersects(geography, geography) returns bool
st_intersectsboxfunction st_intersectsbox(geography, double, double, double, double) returns bool
st_isclosedfunction st_isclosed(geography) returns bool
st_iscollectionfunction st_iscollection(geography) returns bool
st_isemptyfunction st_isempty(geography) returns bool
st_isringfunction st_isring(geography) returns bool
st_lengthfunction st_length(geography) returns double
function st_length(geography, bool) returns double
st_linelocatepointfunction st_linelocatepoint(geography, geography) returns double
st_makelinefunction st_makeline(geography, geography) returns geography
st_makepolygonfunction st_makepolygon(geography) returns geography
function st_makepolygon(geography, array<geography>) returns geography
st_makepolygonorientedfunction st_makepolygonoriented(array<geography>) returns geography
st_maxdistancefunction st_maxdistance(geography, geography) returns double
function st_maxdistance(geography, geography, bool) returns double
st_npointsfunction st_npoints(geography) returns bigint
st_numgeometriesfunction st_numgeometries(geography) returns bigint
st_numpointsfunction st_numpoints(geography) returns bigint
st_perimeterfunction st_perimeter(geography) returns double
function st_perimeter(geography, bool) returns double
st_pointnfunction st_pointn(geography, bigint) returns geography
st_simplifyfunction st_simplify(geography, bigint) returns geography
st_snaptogridfunction st_snaptogrid(geography, double) returns
st_startpointfunction st_startpoint(geography) returns geography
st_touchesfunction st_touches(geography, geography) returns bool
st_unionfunction st_union(geography, geography) returns geography
st_union_aggfunction st_union_agg(geography) returns geography
st_withinfunction st_within(geography, geography) returns bool
st_xfunction st_x(geography) returns double
st_yfunction st_y(geography) returns double