Skip to content

Batch store - #603

Merged
FrancescAlted merged 35 commits into
mainfrom
batch-store
Mar 20, 2026
Merged

FrancescAlted merged 35 commits into
mainfrom
batch-store

Conversation

@FrancescAlted

Copy link
Copy Markdown
Member

This introduces a new BatchStore class that allows to store arbitrary objects (as long as they can be serialized with msgpack or arrow) using compression. This needs the latest improvements in the C-Blosc2 library.

Preserve user vlmeta when BatchStore recreates its empty backing
SChunk during initial layout inference, avoid persisting empty
batch_lengths metadata that breaks vlmeta.getall() on empty stores,
and keep user meta/vlmeta when copy(storage=...) is used.

Add BatchStore regression tests covering:
- vlmeta preservation during inferred layout initialization
- clear()/delete-last on empty stores
- metadata preservation on copy(storage=...)
@FrancescAlted
FrancescAlted merged commit f0b928f into main Mar 20, 2026
17 checks passed
@FrancescAlted
FrancescAlted deleted the batch-store branch April 12, 2026 04:53
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

Successfully merging this pull request may close these issues.

1 participant