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

Signature

toGeometry(geographyObject)

Usage Examples

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