Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support writing geometry type from Spark to Snowflake #498

Open
jimmyzzxhlh opened this issue Mar 21, 2023 · 0 comments
Open

Support writing geometry type from Spark to Snowflake #498

jimmyzzxhlh opened this issue Mar 21, 2023 · 0 comments

Comments

@jimmyzzxhlh
Copy link

If I use Spark to read a GeoJson or shape file into a dataframe, and then write the dataframe into Snowflake, I got the following error:

IllegalArgumentException: Don't know how to save StructField(geometry,org.apache.spark.sql.sedona_sql.UDT.GeometryUDT@22bc24e2,true) of type geometry to Snowflake

It'll be really great if we can support geometry type: https://docs.snowflake.com/en/sql-reference/data-types-geospatial#geometry-data-type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant