paleolimbot commented on code in PR #8801:
URL: https://github.com/apache/arrow-rs/pull/8801#discussion_r2501443214
##########
parquet-geospatial/src/types.rs:
##########
@@ -0,0 +1,87 @@
+use arrow_schema::{Schema, SchemaBuilder, extension::ExtensionType};
+
+use crate::crs::Crs;
+
+pub struct Geometry {
+ crs: Crs,
+}
+
+impl Geometry {
Review Comment:
It may help to have just one `struct Wkb { crs: Crs, edges: String }` that
implements `ExtensionType`. Then your `try_extension_type::<Wkb>()` below will
parse the edges for you and let you choose geometry or geography for the
Parquet type.
--
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]