substrait-io / substrait

A cross platform way to express data transformation, relational algebra, standardized record expression and plans.
https://substrait.io
Apache License 2.0
1.16k stars 150 forks source link

feat: add geometric data types and functions #543

Closed richtia closed 11 months ago

richtia commented 1 year ago

PR to add new geometric data types and functions.

richtia commented 1 year ago

Thanks for the feedback @paleolimbot! For now i'll stick with just adding a new geometry extension type you suggested. That also makes the new function specs easier.

richtia commented 1 year ago

@EpsilonPrime i'll update the description for st_makeline, the geometries shouldn't be entirely arbitrary, they should both either be a point, a multipoint (collection of points), or a linestring (points that are already connected to each other)

https://postgis.net/docs/en/ST_MakeLine.html