Github user lossyrob commented on the issue:
https://github.com/apache/spark/pull/16478
Using geospatial data types with Spark SQL require UDTs, and solutions are
hacking around the fact that they are private to the package. e.g.:
-
https://github.com/s22s/geotrellis-spark-sql/blob/master/src/main/scala/org/apache/spark/sql/gt/types/AbstractTileUDT.scala#L32
-
https://github.com/locationtech/geomesa/blob/master/geomesa-spark/geomesa-spark-sql/src/main/scala/org/apache/spark/sql/SQLTypes.scala#L70
[GeoTrellis](https://geotrellis.io/) and [GeoMesa](http://www.geomesa.org/)
wrote this code as a way to get around UDTs not being public available, with
the idea that we'd fix things up once the API went back to being public. As you
can see by how much code is written against it, it is very useful and it works.
We'd really like to see this feature and API become public as it's very
essential to our work.
Let me know if there's any help I can give.
/cc @jnh5y @metasim
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]