kbendick commented on issue #2586:
URL: https://github.com/apache/iceberg/issues/2586#issuecomment-840356830


   I'm not necessarily opposed to the idea, but support for geospatial types 
seems like something that would need to be added to the various query engines 
(Trino, spark, etc).
   
   If they supported geospatial data structures, or if they even had the 
geospatial functions like postgres-gis does, then I think it would definitely 
make sense to add support for them into Iceberg.
   
   However, Iceberg is simply a table format for use by the various big data 
query engines (spark, Trino, flink, hive, ...). Without 1st class support for 
the geospatial types in those engines, I can't see what you'd be able to do 
with the stored geometry data types other than fall back to binary or string 
types for manipulation.
   
   It's spark / Trino that is responsible for the query processing. Iceberg is 
more for the table definition as well as the source and the sink (and 
occasionally things like specialized joins, specialized commands to update the 
tables metadata which goes along with being a table definition, etc).
   
   So I can't see support for geometric shapes being added into iceberg unless 
the major query engines that we support added them.
   
   I know there's spark-gis (spark is very popular so there are many spark 
libraries), but is geospatial data supported outside of 3rd party libs in 
spark? Like, does Trino have support for geometry operations (intersections, 
overlaps, contains, whatever)?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to