Apache Pinot Docs
Search…
latest
Configuration Reference
ST_AsBinary
This section contains reference documentation for the ST_AsBinary function.
Returns the WKB representation of the geometry.

Signature

ST_AsBinary(geometryObject)

Usage Examples

1
select ST_AsBinary(
2
STPOINT(-122, 37)
3
) AS value
4
from ignoreMe
Copied!
value
0000000001c05e8000000000004042800000000000
1
select ST_AsBinary(
2
ST_GeogFromText('LINESTRING (30 10, 10 30, 40 40)')
3
) AS value
4
from ignoreMe
Copied!
value
000000000200000003403e00000000000040240000000000004024000000000000403e00000000000040440000000000004044000000000000
Last modified 5mo ago
Copy link