szehon-ho opened a new pull request, #53227: URL: https://github.com/apache/spark/pull/53227
### What changes were proposed in this pull request? Add Geometry toWKB and fromWKB methods. These will serialize and deserialize Geometry objects to and from WKB (Well Known Binary) standard. We implement our own reader/writer to add compile time dependency on JTS from Spark ### Why are the changes needed? Read geometry stored as WKB in external data sources like Iceberg, and also for users who are interested in utils to convert from and to WKB. ### Does this PR introduce _any_ user-facing change? No, feature is not enabled yet. ### How was this patch tested? Unit tests ### Was this patch authored or co-authored using generative AI tooling? Yes claude 4.5 sonnet -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
