Replies: 3 comments 5 replies
-
Additionally I think we are mixing encoding and column type in the new spec. |
Beta Was this translation helpful? Give feedback.
-
Parquet doesn't have a union type, so it's hard to encode native geometries of unknown type in the way GeoArrow defines them. |
Beta Was this translation helpful? Give feedback.
-
We're just settling in to using GeoArrow to encode things in Parquet and I think we're still learning about what is or isn't faster. Eventually, we will probably do one of:
|
Beta Was this translation helpful? Give feedback.
-
Hi folks,
I was just reading through the 1.1 spec.which will add GeoArrow support.
It seems, that only columns that are restricted to a certain geometry type, like point or polygon, can use this encoding.
Why do we have this restriction? For WKB this restriction does not exist, since it encodes the type of the geometry.
Wouldn't it make sense to also just encode the geometry type for GeoArrow as well (i.e. one byte in the beginning).
From a performance point of view it should not make a difference. After reading the type an implementation can cast to the concrete type or just ignore the type,if the whole column has a non-generic geometry type.
Beta Was this translation helpful? Give feedback.
All reactions