Apache Pinot Docs
Search…
latest
toSphericalGeography
This section contains reference documentation for the toSphericalGeography function.
Converts a Geometry object to a spherical geography object.

Signature

toSphericalGeography(geometryObject)

Usage Examples

1
select toSphericalGeography(
2
STPOINT(-122, 37)
3
) AS value
4
from ignoreMe
Copied!
value
80c05e8000000000004042800000000000
You can create geometry objects using the STPOINT and ST_GeomFromText functions.
Last modified 15d ago
Copy link