Skip to content

Implement new with_read_only Zarr Store method#1021

Merged
paraseba merged 2 commits intomainfrom
push-xunmkkymuzsy
Jul 1, 2025
Merged

Implement new with_read_only Zarr Store method#1021
paraseba merged 2 commits intomainfrom
push-xunmkkymuzsy

Conversation

@paraseba
Copy link
Copy Markdown
Collaborator

This new method is not really implementable in Icechunk. If the user created a readonly session there is no real good way to turn it into a writable session, and viceversa.

The implementation we are writing "lies" in this sense. It's pretending to return a new store with the requested readonly-ness, but not really.

This new method is not really implementable in Icechunk. If the user
created a readonly session there is no real good way to turn it into a
writable session, and viceversa.

The implementation we are writing "lies" in this sense. It's pretending
to return a new store with the requested readonly-ness, but not really.
Copy link
Copy Markdown
Collaborator

@dcherian dcherian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add an FAQ entry saying that if you want true read-only create a readonly_session

@paraseba paraseba merged commit c9d4ec7 into main Jul 1, 2025
11 checks passed
@paraseba paraseba deleted the push-xunmkkymuzsy branch July 1, 2025 01:15
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.

3 participants