kylebarron commented on issue #4472:
URL: https://github.com/apache/arrow-rs/issues/4472#issuecomment-1749805039

   I'm taking a stab at migrating my [`geoarrow-rs` 
crate](https://github.com/geoarrow/geoarrow-rs) (which implements the [GeoArrow 
extension array spec](https://geoarrow.org/)) from arrow2 to arrow-rs, and 
wanted to add that I'm feeling the omission of a `DataType::Extension` variant 
in arrow-rs.
   
   In particular, a geospatial algorithm would have to return a `Field` with 
_every operation_, because the physical layout of a `LineStringArray` is 
exactly the same as that of a `MultiPointArray` (and 
`PolygonArray`/`MultiLineStringArray`). Maybe this is nitpicking, but it I've 
liked the level of abstraction of having the extension metadata on the 
`DataType`, because the operations on the array are separate from a named 
column in a table.


-- 
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]

Reply via email to