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

Unified GeometryArray Arrow union type without generic #829

Open
kylebarron opened this issue Oct 10, 2024 · 0 comments
Open

Unified GeometryArray Arrow union type without generic #829

kylebarron opened this issue Oct 10, 2024 · 0 comments

Comments

@kylebarron
Copy link
Member

Right now all native-encoded arrays have a parameterization. And they are parameterized over both geometry type and dimension.

Arc<dyn NativeArray> doesn't have a parameterization, but it isn't an arrow type, it's a Rust concept on top of Arrow-native arrays. You couldn't define an Arc<dyn NativeArray> in an Arrow schema.

But we could have a union type that contains all geometry types and all dimensions. Ref geoarrow/geoarrow#43 (comment)

Then we can always represent any arbitrary Geometry input, while still having a fixed schema.

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