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

Add generic Array / ArrayView abstraction #198

Closed
5 tasks done
Tracked by #238 ...
chmp opened this issue Jul 18, 2024 · 1 comment
Closed
5 tasks done
Tracked by #238 ...

Add generic Array / ArrayView abstraction #198

chmp opened this issue Jul 18, 2024 · 1 comment

Comments

@chmp
Copy link
Owner

chmp commented Jul 18, 2024

Introduce a generic Array / ArrayView abstraction that encapsulates the in-memory format in arrow independently from any concrete arrow implementation.

Motivation

Having a small, common abstraction layer makes it simpler to

  • Support different concrete arrow implementations (e.g. for Make features additive #52)
  • Support different constructors of arrow arrays (serde or manual builders)

Design

Implement an Array / ArrayView Enum with variants for all supported data types. The arrays should be "open" for direct modification to allow construction outside of serde_arrow. The information should be included without redudancy (e.g., no separate length field for the validity bitmap and the overall array).

Store any field metadata that cannot be reconstructed from the array separately (name, nullable, metadata).

Steps

@chmp
Copy link
Owner Author

chmp commented Aug 7, 2024

Finished with #210

@chmp chmp closed this as completed Aug 7, 2024
@chmp chmp mentioned this issue Sep 30, 2024
10 tasks
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